Skip to main content

Integration using partial fractions

How do you integrate an expression when there is an algebraic expression in the numerator and denominator of a fraction? Integrating using partial fractions helps you to solve this problem. Use this resource to learn how to integrate using partial fractions.

Sometimes a complex function may be integrated by breaking it up into partial fractions. The idea is that each partial fraction is an easier integral than the original.

For example:
1x2+5x+6dx=1x+2dx1x+3dx

The integrals on the right are much simpler than that on the left.

Before you dive into this resource, make sure you are confident with finding partial fractions.

Example 1 – integrating using partial fractions

Find the integral of x5x2+2x3 with respect to x.

First, find the partial fractions. Since x2+2x3=(x+3)(x1), we are dealing with the case where the denominator has two distinct linear factors. Therefore, we factorise as follows:
x5x2+2x3=x5(x+3)(x1)=Ax+3+Bx1

Now, we have to determine the constants A and B. First, add the partial fractions by finding a common denominator. In this case, it is (x+3)(x1).
Ax+3+Bx1=A(x+3)×(x1)(x1)+B(x1)×(x+3)(x+3)=A(x1)+B(x+3)(x+3)(x1)=AxA+Bx+3B(x+3)(x1)=Ax+BxA+3Bx2+2x3=(A+B)xA+3Bx2+2x3

Equating the numerators:
x5=(A+B)xA+3B

where A+B is the x term and A+3B is the constant. On the left, the coefficient of x is 1 and on the right, the coefficient is A+B. Similarly, the constant term on the left is 5 and on the right, it is A+3B.

This gives us the following simultaneous equations:
A+B=1A+3B=5

These equations are easily solved by elimination. Adding the equations, we get:
4B=4B=1

Substituting for B the first equation gives:
A1=1A=2

Finally, we have:
x5x2+2x3=2x+31x1

We can now evaluate the integral:
x5x2+2x3dx=(2x+31x1)dx=2x+3dx1x1dx=2ln|x+3|ln|x1|+c,cR=ln(x+3)2ln|x1|+c=ln(x+3)2|x1|+c

Find the integral of x23x+16x35x2+x5 with respect to x.

We, first factorise the denominator.
x35x2+x5=x2(x5)+x5=(x2+1)(x5)

In this case, we have a quadratic factor and a linear factor. Therefore, we factorise as follows:
x23x+16x35x2+x5=Ax+Bx2+1+Cx+5=(Ax+B)(x5)(x2+1)(x5)+C(x2+1)(x2+1)(x5)=Ax25Ax+Bx5B+Cx2+C(x2+1)(x+5)=(A+C)x2+(5A+B)x5B+C

Equating coefficients of x2, x and the constant gives the three equations:
A+C=15A+B=35B+C=16.

To solve them simultaneously, we can first multiply the first equation by 5.
5A+5C=5

We can add the second equation to this new equation to get: B+5C=3+5=25B+25C=10

Adding the same equation to the third equation gives:
26C=26C=1

Substituting C=1 into the first equation gives:
A+1=1A=0

Finally, substituting A=0 into the second equation gives:
B=3

Therefore, we have:
x23x+16x35x2+x5=3x2+1+1x5

We can now find the integral:
(x23x+16x35x2+x5)dx=(3x2+1+1x5)dx=1x5dx31x2+1dx=ln|x5|3tan1(x)+c,cR

Exercise – integrating using partial fractions

Perform the following integrations.

  1. 4x+9x2+x12dx
  2. 218xx2x6dx
  3. 5x25x+2(x+1)(x1)2dx

  1. ln(|3x|3|x+4|)+c
  2. 35ln|3x|375ln|x+2|+c
  3. 11x+ln((1x)2|x+1|3+c)

Keywords