A-level Mathematics8.6 Integrating with partial fractions

All books

8.6 Integrating with partial fractions — Learn

Prerequisites: splitting a rational expression into partial fractions from Section 2.8; the standard integral of 1x\dfrac{1}{x} and the laws of logarithms from Sections 8.1 and 6.3.

By the end of this section you can: split a rational expression with linear factors into partial fractions; integrate each fraction to a logarithm; handle a repeated linear factor; and divide first when the top has the same or a higher degree than the bottom.

1. From a fraction to logarithms

A fraction of the form Ax−a\dfrac{A}{x - a} integrates to a logarithm:

∫Ax−adx=Aln⁡∣x−a∣+C.\int \frac{A}{x - a}dx = A\ln|x - a| + C.

Here AA and aa are constants, and CC is the constant of integration.

When the denominator is a product of linear factors, split the fraction into partial fractions first. Each partial fraction then integrates to its own logarithm.

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

First split into partial fractions. Write

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

Multiply both sides by (x−1)(x+2)(x - 1)(x + 2):

1=A(x+2)+B(x−1).1 = A(x + 2) + B(x - 1).

Substitute x=1x = 1: 1=3A1 = 3A, so A=13A = \dfrac{1}{3}. Substitute x=−2x = -2: 1=−3B1 = -3B, so B=−13B = -\dfrac{1}{3}. Therefore

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

Now integrate each term:

∫1(x−1)(x+2)dx=13ln⁡∣x−1∣−13ln⁡∣x+2∣+C.\int \frac{1}{(x - 1)(x + 2)}dx = \frac{1}{3}\ln|x - 1| - \frac{1}{3}\ln|x + 2| + C.

By the laws of logarithms this can also be written as 13ln⁡∣x−1x+2∣+C\dfrac{1}{3}\ln\left|\dfrac{x - 1}{x + 2}\right| + C.

Example 2. Find ∫5x+1(x−1)(x+2)dx\displaystyle\int \frac{5x + 1}{(x - 1)(x + 2)}dx.

Write

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}.

Then 5x+1=A(x+2)+B(x−1)5x + 1 = A(x + 2) + B(x - 1). Substitute x=1x = 1: 6=3A6 = 3A, so A=2A = 2. Substitute x=−2x = -2: −9=−3B-9 = -3B, so B=3B = 3. Then

∫5x+1(x−1)(x+2)dx=2ln⁡∣x−1∣+3ln⁡∣x+2∣+C.\int \frac{5x + 1}{(x - 1)(x + 2)}dx = 2\ln|x - 1| + 3\ln|x + 2| + C.

2. A repeated linear factor

A repeated factor needs its own separate fraction for each power.

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

Write

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

Multiply by x(x−1)2x(x - 1)^2:

1=A(x−1)2+Bx(x−1)+Cx.1 = A(x - 1)^2 + Bx(x - 1) + Cx.

Substitute x=0x = 0: 1=A1 = A. Substitute x=1x = 1: 1=C1 = C. Compare the coefficients of x2x^2: 0=A+B0 = A + B, so B=−1B = -1. Therefore

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

The fraction with (x−1)2(x - 1)^2 integrates with the power rule, not to a logarithm.

3. Division first when the degree is too high

Partial fractions need the degree of the top to be lower than the degree of the bottom. If it is not, divide first.

Example 4. Find ∫x2+1x(x−1)dx\displaystyle\int \frac{x^2 + 1}{x(x - 1)}dx.

The top has degree 22 and the bottom has degree 22, so divide first:

x2+1x2−x=1+x+1x2−x.\frac{x^2 + 1}{x^2 - x} = 1 + \frac{x + 1}{x^2 - x}.

Now split the remainder. Write

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

so x+1=A(x−1)+Bxx + 1 = A(x - 1) + Bx. Substitute x=0x = 0: 1=−A1 = -A, so A=−1A = -1. Substitute x=1x = 1: 2=B2 = B. Then

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

Integrate term by term:

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

You should now be able to

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.