Single-Variable-Calculus · Unit 23 · Video 2 · Interactive Practice

Partial Fractions with a Repeated Linear Factor

IKey Formulas

FormulaNameHow to find it
P(x)(x−a)2(x−b)=Ax−a+B(x−a)2+Cx−b\dfrac{P(x)}{(x-a)^2(x-b)} = \dfrac{A}{x-a} + \dfrac{B}{(x-a)^2} + \dfrac{C}{x-b}Setup for a repeated factorOne term for each power of x−ax - a
B=P(a)a−bB = \dfrac{P(a)}{a-b}Top-power coefficientCover the whole (x−a)2(x-a)^2, set x=ax = a
AALower-power coefficientPut in an easy unused value, such as x=0x = 0
∫B(x−a)2 dx=−Bx−a+c\displaystyle\int \frac{B}{(x-a)^2}\,dx = -\frac{B}{x-a} + cThe squared pieceA power, not a logarithm

Key Insight: x2+2(x−1)2(x+2)=1/3x−1+1(x−1)2+2/3x+2\dfrac{x^2+2}{(x-1)^2(x+2)} = \dfrac{1/3}{x-1} + \dfrac{1}{(x-1)^2} + \dfrac{2/3}{x+2} — cover-up gives the 11 and the 23\tfrac{2}{3}; the 13\tfrac{1}{3} comes from putting in x=0x = 0.

IIVisualization 1 — Why the Setup Needs Every Power

The setup is right exactly when all three coefficients of the leftover numerator can be made zero.

IIIVisualization 2 — Which Coefficients Cover-Up Reaches

Covering a factor works only when the left side, times that factor, has a finite limit at the root.

IVQuiz Questions

Problem 1 · The Setup for a Cube

Which is the correct partial-fraction setup for 3x+1(x+1)3(x−2)\dfrac{3x+1}{(x+1)^3(x-2)}?

✅ Correct! The factor x+1x + 1 appears to the third power, so it gets three terms; x−2x - 2 gets one. Four unknowns for a degree-4 denominator.
❌ Not quite. Only the highest power is there. Like the base-two digits of 716\tfrac{7}{16}, the lower powers need their own slots.
❌ Not quite. The terms must run up to the highest power, (x+1)3(x+1)^3; with this setup the common denominator never contains (x+1)3(x+1)^3.
❌ Not quite. That has only three unknowns for a degree-4 denominator. Each numerator over a power of x+1x + 1 is a constant, one term per power.
Show solution

The fraction is proper: degree 11 over degree 44. A factor raised to the power kk needs one term for each power from 11 to kk, each with a constant numerator:

3x+1(x+1)3(x−2)=Ax+1+B(x+1)2+C(x+1)3+Dx−2.\frac{3x+1}{(x+1)^3(x-2)} = \frac{A}{x+1} + \frac{B}{(x+1)^2} + \frac{C}{(x+1)^3} + \frac{D}{x-2}.

There are four unknowns, matching the degree 44 of the denominator.

Problem 2 · Cover the Whole Square

Given: x+3(x−2)2(x+1)=Ax−2+B(x−2)2+Cx+1\dfrac{x+3}{(x-2)^2(x+1)} = \dfrac{A}{x-2} + \dfrac{B}{(x-2)^2} + \dfrac{C}{x+1} — find BB.

✅ Correct! Cover (x−2)2(x-2)^2 and set x=2x = 2: 2+32+1=53\dfrac{2 + 3}{2 + 1} = \dfrac{5}{3}.
❌ Not quite. 55 is the numerator at x=2x = 2; the factor x+1x + 1 is not covered and equals 33 there.
❌ Not quite. That is CC, from covering x+1x + 1 at x=−1x = -1: 2(−3)2=29\dfrac{2}{(-3)^2} = \dfrac{2}{9}.
❌ Not quite. That is AA, the lower-power coefficient: cover-up cannot reach it.
Show solution

Multiply both sides by (x−2)2(x-2)^2:

x+3x+1=A(x−2)+B+C(x−2)2x+1.\frac{x+3}{x+1} = A(x-2) + B + \frac{C(x-2)^2}{x+1}.

At x=2x = 2 the AA and CC terms vanish, so B=53B = \dfrac{5}{3}.

For completeness: C=−1+3(−1−2)2=29C = \dfrac{-1+3}{(-1-2)^2} = \dfrac{2}{9}, and since the numerator has no x2x^2 term, A+C=0A + C = 0, so A=−29A = -\dfrac{2}{9}. Check at x=0x = 0: 34\dfrac{3}{4} on the left, and A−2+B4+C=19+512+29=34\dfrac{A}{-2} + \dfrac{B}{4} + C = \dfrac{1}{9} + \dfrac{5}{12} + \dfrac{2}{9} = \dfrac{3}{4}. ✓

Problem 3 · The Coefficient Cover-Up Can't Reach

Given: 2x+1x(x+1)2=Ax+1+B(x+1)2+Cx\dfrac{2x+1}{x(x+1)^2} = \dfrac{A}{x+1} + \dfrac{B}{(x+1)^2} + \dfrac{C}{x} — find AA.

✅ Correct! With B=1B = 1 and C=1C = 1 from cover-up, putting in x=1x = 1 gives 34=A2+14+1\tfrac{3}{4} = \tfrac{A}{2} + \tfrac{1}{4} + 1, so A=−1A = -1.
❌ Not quite. 11 is what cover-up gives for BB and for CC. Covering a single x+1x + 1 leaves Bx+1\tfrac{B}{x+1}, which blows up at x=−1x = -1, so it says nothing about AA.
❌ Not quite. The numerator has no x2x^2 term, so A+C=0A + C = 0 — and C=1C = 1, not 00.
❌ Not quite. 34\tfrac{3}{4} is the left side at x=1x = 1; AA comes from solving the equation that value gives.
Show solution

Cover-up for the reachable coefficients:

C=2(0)+1(0+1)2=1,B=2(−1)+1−1=1.C = \frac{2(0)+1}{(0+1)^2} = 1, \qquad B = \frac{2(-1)+1}{-1} = 1.

Put in an unused value, x=1x = 1 (x=0x = 0 and x=−1x = -1 are used up):

31⋅4=A2+14+11⟹A2=34−54=−12⟹A=−1.\frac{3}{1 \cdot 4} = \frac{A}{2} + \frac{1}{4} + \frac{1}{1} \quad\Longrightarrow\quad \frac{A}{2} = \frac{3}{4} - \frac{5}{4} = -\frac{1}{2} \quad\Longrightarrow\quad A = -1.

Problem 4 · Integrate the Pieces

Find ∫dxx2(x−1)\displaystyle\int \frac{dx}{x^2(x-1)}.

✅ Correct! 1x2(x−1)=−1x−1x2+1x−1\dfrac{1}{x^2(x-1)} = -\dfrac{1}{x} - \dfrac{1}{x^2} + \dfrac{1}{x-1}, and ∫−dxx2=1x\displaystyle\int -\frac{dx}{x^2} = \frac{1}{x}.
❌ Close, but check the squared piece. ∫−x−2 dx=+x−1\displaystyle\int -x^{-2}\,dx = +x^{-1}.
❌ Not quite. Cover-up on x−1x - 1 at x=1x = 1 gives +1+1, so ln⁡∣x−1∣\ln|x-1| comes with a plus sign.
❌ Not quite. A constant over x2x^2 integrates by the power rule, not to a logarithm.
Show solution

Set up: 1x2(x−1)=Ax+Bx2+Cx−1\dfrac{1}{x^2(x-1)} = \dfrac{A}{x} + \dfrac{B}{x^2} + \dfrac{C}{x-1}.

Cover-up: C=112=1C = \dfrac{1}{1^2} = 1; covering the whole x2x^2 at x=0x = 0 gives B=10−1=−1B = \dfrac{1}{0 - 1} = -1.

Remaining coefficient: the numerator 11 has no x2x^2 term, so A+C=0A + C = 0 and A=−1A = -1. (Check at x=2x = 2: 14=−12−14+1\tfrac{1}{4} = -\tfrac{1}{2} - \tfrac{1}{4} + 1. ✓)

Integrate:

∫(−1x−1x2+1x−1)dx=−ln⁡∣x∣+1x+ln⁡∣x−1∣+c.\int\left(-\frac{1}{x} - \frac{1}{x^2} + \frac{1}{x-1}\right)dx = -\ln|x| + \frac{1}{x} + \ln|x-1| + c.

Solved: 0 / 4