Lesson 6 of 8 · 16 min

Partial fractions

Split a fraction with two distinct linear factors in the denominator into two simpler fractions, then integrate each one to a log.

What you will be able to do

  • Write px+q(x−α)(x−β)\frac{px + q}{(x - \alpha)(x - \beta)} as Ax−α+Bx−β\frac{A}{x - \alpha} + \frac{B}{x - \beta} and find AA and BB.
  • Factorise a quadratic denominator first when it is not already factorised.
  • Integrate the partial fractions and simplify with log laws, including definite integrals.

Adding fractions is a Year 8 skill:

1x+1+1x−2=(x−2)+(x+1)(x+1)(x−2)=2x−1(x+1)(x−2)\frac{1}{x + 1} + \frac{1}{x - 2} = \frac{(x - 2) + (x + 1)}{(x + 1)(x - 2)} = \frac{2x - 1}{(x + 1)(x - 2)}

Integrating the left side is easy: ln⁡∣x+1∣+ln⁡∣x−2∣+c\ln|x + 1| + \ln|x - 2| + c. Integrating the right side directly is not obvious. Partial fractions runs the addition backwards, so you can integrate the simple pieces.

Key idea

Partial fractions

If α≠β\alpha \neq \beta and the numerator has degree less than 22, there are constants AA and BB with

px+q(x−α)(x−β)=Ax−α+Bx−β\frac{px + q}{(x - \alpha)(x - \beta)} = \frac{A}{x - \alpha} + \frac{B}{x - \beta}

Then

∫px+q(x−α)(x−β) dx=Aln⁡∣x−α∣+Bln⁡∣x−β∣+c\int \frac{px + q}{(x - \alpha)(x - \beta)}\,dx = A\ln|x - \alpha| + B\ln|x - \beta| + c
Interactive

Build the fraction from two pieces

Each slider controls how strongly the curve shoots off at one asymptote. That is why each partial fraction belongs to one linear factor.

Finding A and B

  1. Write the form

    5x+1(x−1)(x+2)=Ax−1+Bx+2\frac{5x + 1}{(x - 1)(x + 2)} = \frac{A}{x - 1} + \frac{B}{x + 2}

  2. Multiply through by the denominator

    5x+1=A(x+2)+B(x−1)5x + 1 = A(x + 2) + B(x - 1). This holds for every xx.

  3. Substitute the root of each factor

    x=1x = 1: 6=3A6 = 3A, so A=2A = 2. x=−2x = -2: −9=−3B-9 = -3B, so B=3B = 3.

  4. Check

    Recombine, or compare coefficients of xx: A+B=5A + B = 5.

Find AA and BB such that 5(x−1)(x+4)=Ax−1+Bx+4\frac{5}{(x - 1)(x + 4)} = \frac{A}{x - 1} + \frac{B}{x + 4}.

Worked example

Integrate 7(x−3)(x+4)\frac{7}{(x - 3)(x + 4)} with partial fractions

  • Simple familiar
  • Technology free

Determine ∫7(x−3)(x+4) dx\int \frac{7}{(x - 3)(x + 4)}\,dx.

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Write Ax−α+Bx−β\frac{A}{x - \alpha} + \frac{B}{x - \beta} and multiply through.

  2. Substitute x=αx = \alpha and x=βx = \beta.

  3. Integrate each term to a log; combine with log laws.

Watch out for

  • Getting the sign of BB wrong: at x=−4x = -4, x−3=−7x - 3 = -7.

Hence, or otherwise, determine ∫5(x−1)(x+4) dx\int \frac{5}{(x - 1)(x + 4)}\,dx.

Reads asYour answer shows here as maths.

Tip

Factorise first, and watch the coefficient of x

If the denominator is a quadratic like x2−9x^2 - 9, factorise it to (x−3)(x+3)(x - 3)(x + 3) before you start. If a factor is 2x+12x + 1, remember that ∫12x+1 dx=12ln⁡∣2x+1∣+c\int \frac{1}{2x + 1}\,dx = \frac{1}{2}\ln|2x + 1| + c, not ln⁡∣2x+1∣+c\ln|2x + 1| + c.

Worked example

Evaluate ∫01x+5x2+4x+3 dx\int_0^1 \frac{x + 5}{x^2 + 4x + 3}\,dx

  • Complex familiar
  • Technology free

Evaluate ∫01x+5x2+4x+3 dx\int_0^1 \frac{x + 5}{x^2 + 4x + 3}\,dx, giving your answer in the form ln⁡(k)\ln(k).

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Factorise the denominator.

  2. Find AA and BB, integrate to logs.

  3. Substitute the limits and simplify with log laws.

Watch out for

  • Trying the log pattern: the derivative of x2+4x+3x^2 + 4x + 3 is 2x+42x + 4, which is not a constant multiple of x+5x + 5.

Common mistake

Partial fractions are not always needed

2x−1(x+1)(x−2)\frac{2x - 1}{(x + 1)(x - 2)} has denominator x2−x−2x^2 - x - 2, whose derivative is 2x−12x - 1. So it is also f′(x)f(x)\frac{f'(x)}{f(x)}, and ∫=ln⁡∣x2−x−2∣+c\int = \ln|x^2 - x - 2| + c, which equals ln⁡∣x+1∣+ln⁡∣x−2∣+c\ln|x + 1| + \ln|x - 2| + c. Check for the log pattern before reaching for partial fractions; it can save a minute.

Going further: when the fraction is improper

If the numerator's degree is not less than the denominator's, divide first. For example,

x2x2−1=1+1x2−1=1+12(1x−1−1x+1)\frac{x^2}{x^2 - 1} = 1 + \frac{1}{x^2 - 1} = 1 + \frac{1}{2}\left(\frac{1}{x - 1} - \frac{1}{x + 1}\right)

so ∫x2x2−1 dx=x+12ln⁡∣x−1x+1∣+c\int \frac{x^2}{x^2 - 1}\,dx = x + \frac{1}{2}\ln\left|\frac{x - 1}{x + 1}\right| + c.

Summary

  • Factorise the denominator into two distinct linear factors.

  • Write Ax−α+Bx−β\frac{A}{x - \alpha} + \frac{B}{x - \beta}, multiply through, and substitute x=αx = \alpha and x=βx = \beta.

  • Integrate each piece to a log, dividing by the coefficient of xx in each factor.

  • Combine logs with log laws, especially for exact definite integrals.

  • If the numerator is the derivative of the denominator, use ln⁡∣f(x)∣\ln|f(x)| directly.

Finished the lesson?

Try the 2 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 6 of 80% read

Save your progress with a free account