Euler Hall — free maths guides

Partial fractions with a repeated linear factor

Write the correct form for a repeated linear factor. The idea in plain words, a worked example, and a check with the answers shown — part of the free Calculus II guides.

A squared factor needs two terms

When a linear factor appears twice, the decomposition needs a term for EACH power:

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

Why two terms. One term cannot match. Clearing denominators in the formAx−a\frac{A}{x-a} alone gives1=A(x−a)1 = A(x-a), which is impossible. With two terms,1=A(x−a)+B1 = A(x-a) + B, and the coefficient comparison works:A=0A = 0 andB=1B = 1.

The general rule. A factor(x−a)n(x-a)^n contributesnn terms,A1x−a+A2(x−a)2+⋯+An(x−a)n\frac{A_1}{x-a} + \frac{A_2}{(x-a)^2} + \cdots + \frac{A_n}{(x-a)^n}.

How the two kinds of term integrate. The first gives a logarithm; the second gives a power:

∫Ax−a dx=Aln⁡∣x−a∣+C,∫B(x−a)2 dx=−Bx−a+C.\int\frac{A}{x-a}\,dx = A\ln|x-a| + C, \qquad \int\frac{B}{(x-a)^2}\,dx = -\frac{B}{x-a} + C.

So a repeated factor produces a logarithm AND a rational term. Forgetting the second is the usual error, because it looks like it should also be a logarithm.

Cover-up still works for the highest power. Multiply through by(x−a)n(x-a)^n and setx=ax = a to getAnA_n; the remaining constants need coefficient comparison.

Whynn terms for(x−a)n(x-a)^n

Count degrees. After clearing denominators, the identity has the original numerator on the left. On the right, a factor(x−a)n(x-a)^n in the denominator must be matched by a polynomial of degreenn in the numerator of that part — and a polynomial of degreenn hasn+1n+1 coefficients, one of which is absorbed by the overall structure, leavingnn constants.

Concretely forn=2n = 2: one termAx−a\frac{A}{x-a} givesA(x−a)A(x-a) after clearing, which has only thexx coefficient free. Two terms giveA(x−a)+BA(x-a) + B, which has both thexx coefficient and the constant free — exactly what a general numerator of degree 1 needs.

Fewer terms than powers cannot match a general numerator, which is why the form is forced rather than conventional.

Worked example: a repeated factor and a distinct one

Decompose1(x−1)(x−2)2\frac{1}{(x-1)(x-2)^2}.

Form:Ax−1+Bx−2+C(x−2)2\frac{A}{x-1} + \frac{B}{x-2} + \frac{C}{(x-2)^2}.

Clearing:1=A(x−2)2+B(x−1)(x−2)+C(x−1)1 = A(x-2)^2 + B(x-1)(x-2) + C(x-1).

  • -x=1x = 1:1=A(−1)2=A1 = A(-1)^2 = A, soA=1A = 1.
  • -x=2x = 2:1=C(1)=C1 = C(1) = C, soC=1C = 1.
  • - Compare thex2x^2 coefficients: left is 0, right isA+B=1+BA + B = 1 + B, soB=−1B = -1.

So the integral isln⁡∣x−1∣−ln⁡∣x−2∣−1x−2+C\ln|x-1| - \ln|x-2| - \frac{1}{x-2} + C.

The third constant needed the coefficient comparison because cover-up only finds the constants for the highest powers and the distinct factors. That division of labour is worth expecting.

By the end you can
  • Write the correct form for a repeated linear factor
  • Find the constants by cover-up and coefficient comparison
  • Integrate a repeated factor as a logarithm plus a reciprocal
Check yourself
  1. 1. Decompose1(x−1)2\frac{1}{(x-1)^2}.
  2. 2. Integrate your answer to (1).
  3. 3. Decomposex(x−3)2\frac{x}{(x-3)^2}.
Answers
  1. 1.1(x−1)2\frac{1}{(x-1)^2} withA=0A = 0,B=1B = 1.
  2. 2.−1x−1+C-\frac{1}{x-1} + C.
  3. 3.1x−3+3(x−3)2\frac{1}{x-3} + \frac{3}{(x-3)^2}.
Work out where to start — free, no accountAnswer six real questions — free, no account