Euler Hall — free maths guides

Partial fractions with distinct linear factors

Decompose a proper rational function with distinct linear factors. The idea in plain words, a worked example, and a check with the answers shown — part of the free Calculus II guides.

Split a rational function into pieces that integrate as logarithms

A rational functionP(x)Q(x)\frac{P(x)}{Q(x)} withQQ factored into distinct linear pieces can be written as a sum of simpler fractions:

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

Each piece integrates to a logarithm, so the method converts one hard integral into two easy ones.

Why one constant per factor. Clearing denominators gives1=A(x−b)+B(x−a)1 = A(x-b) + B(x-a). The right side has degree 1 while the left has degree 0, so two unknowns are exactly enough to match every coefficient — one for the constant term and one for thexx term. Fewer unknowns cannot satisfy both.

Two ways to find the constants.

- Cover-up. To getAA, cover the factorx−ax-a and substitutex=ax = a. This works because every other term vanishes there. - Comparing coefficients. Expand and match powers ofxx. Slower but harder to get wrong.

The hypotheses. The fraction must be PROPER (numerator degree below denominator) and the denominator must be factored. An improper fraction needs division first, which is why the previous skill's simplification comes before this one.

Why cover-up works

Look at1=A(x−b)+B(x−a)1 = A(x-b) + B(x-a) and substitutex=ax = a:

1=A(a−b)+B(a−a)=A(a−b).1 = A(a-b) + B(a-a) = A(a-b).

TheBB term vanishes because it carries a factor of(x−a)(x-a), which is zero atx=ax = a. SoA=1a−bA = \frac{1}{a-b} directly, with no algebra.

That is the whole justification: the substitution kills every term except the one whose factor you covered. It is not a trick, it is evaluation at a root.

The method generalises to any number of distinct linear factors — each root kills all but one term — which is why distinct linear factors are the easiest partial-fraction case.

Worked example: three factors

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

The form isAx−1+Bx−2+Cx−3\frac{A}{x-1} + \frac{B}{x-2} + \frac{C}{x-3} with1=A(x−2)(x−3)+B(x−1)(x−3)+C(x−1)(x−2)1 = A(x-2)(x-3) + B(x-1)(x-3) + C(x-1)(x-2).

Cover-up: -x=1x=1:1=A(−1)(−2)=2A1 = A(-1)(-2) = 2A, soA=12A = \frac12. -x=2x=2:1=B(1)(−1)=−B1 = B(1)(-1) = -B, soB=−1B = -1. -x=3x=3:1=C(2)(1)=2C1 = C(2)(1) = 2C, soC=12C = \frac12.

So the integral is12ln⁡∣x−1∣−ln⁡∣x−2∣+12ln⁡∣x−3∣+C\frac12\ln|x-1| - \ln|x-2| + \frac12\ln|x-3| + C.

The signs in the cover-up come from the products of the differences, and getting one wrong is the usual error. Substituting the root back into the ORIGINAL equation is a one-line check.

By the end you can
  • Decompose a proper rational function with distinct linear factors
  • Find the constants by cover-up and verify by substitution
  • Integrate the resulting sum as logarithms
Check yourself
  1. 1. Decompose1(x−2)(x−6)\frac{1}{(x-2)(x-6)}.
  2. 2. Integrate your answer to (1).
  3. 3. Why must the fraction be proper?
Answers

1.−1/4x−2+1/4x−6\frac{-1/4}{x-2} + \frac{1/4}{x-6}. 2.−14ln⁡∣x−2∣+14ln⁡∣x−6∣+C-\frac14\ln|x-2| + \frac14\ln|x-6| + C. 3. If the numerator's degree is at least the denominator's, the division leaves a polynomial part plus a proper remainder, and partial fractions applies only to the remainder.

Work out where to start — free, no accountAnswer six real questions — free, no account