Integrating Algebraic Fractions
Integrating Algebraic Fractions
Integrating Algebraic Fractions
algebraic fractions 1
mc-TY-algfrac1-2009-1
Sometimes the integral of an algebraic fraction can be found by first expressing the algebraic
fraction as the sum of its partial fractions. In this unit we will illustrate this idea. We will see
that it is also necessary to draw upon a wide variety of other techniques such as completing the
square, integration by substitution, using standard forms, and so on.
In order to master the techniques explained here it is vital that you undertake plenty of practice
exercises so that they become second nature.
After reading this text, and/or viewing the video tutorial on this topic, you should be able to:
Contents
1. Introduction 2
2. Some preliminary results 2
3. Algebraic fractions with two linear factors 3
4. Algebraic fractions with a repeated linear factor 6
5. Dealing with improper fractions 7
Key Point
The degree of a polynomial expression in x is the highest power of x appearing in the expression.
An algebraic fraction where the degree of the numerator is less than the degree of the denom-
inator is called a proper fraction. If the degree of the numerator is greater than, or equal to,
the degree of the denominator then the fraction is an improper fraction.
f ′ (x) 1
Z Z
dx = ln |f (x)| + c e.g. dx = ln |x + 1| + c ,
f (x) x+1
1 1
Z
x
dx = tan−1 + c .
a +x
2 2 a a
Integration - substitution
1 du
Z
To find dx, substitute u = x − 1, du = dx to give
(x − 1) 2 dx
1 1
Z Z
dx = du
(x − 1)2 u2
Z
= u−2 du
= −u−1 + c
1
= − +c.
x−1
where A and B are constants which we shall determine shortly. We add the two terms on the
right-hand side together again using a common denominator:
x A B
= +
(2 − x)(x + 3) (2 − x) (x + 3)
A(x + 3) + B(2 − x)
= .
(2 − x)(x + 3)
We now proceed to find the values of the constants A and B. We can do this in one of two
ways, or by mixing the two ways. The first way is to substitute particular values for x. The
second way is to separately equate coefficients of constant terms, linear terms, quadratic terms
etc. Both of these ways will be illustrated now.
Substitution of particular values for x
Because expression (1) is true for all values of x we can substitute any value we choose for x.
In particular, if we let x = 2 the second term on the right becomes zero, and everything looks
simpler:
2 = A(2 + 3) + 0
from which 5A = 2 and so
2
A= .
5
Similarly, substituting x = −3 in expression (1) makes the first term zero:
−3 = 5B
from which
3
B=− .
5
Thus the partial fractions are
x 2 3
= − .
(2 − x)(x + 3) 5(2 − x) 5(x + 3)
Both of the terms on the right can be integrated:
Z
2 3 2 −1 3 1
Z Z
− dx = − dx − dx
5(2 − x) 5(x + 3) 5 2−x 5 x+3
2 3
= − ln |2 − x| − ln |x + 3| + c .
5 5
Note that in the first of the two integrals, we have set the numerator to be −1 and compensated
for this by writing a minus sign outside the integral. We have done this because the derivative
of 2 − x is −1, so that the integral is in a standard form. So by using partial fractions we have
broken down the original integral into two separate integrals which we can then evaluate.
Equating coefficients
A second technique for finding A and B is to equate the coefficients of equivalent terms on each
side. First of all we expand the brackets in Equation (1) and collect together like terms:
x = Ax + 3A + 2B − Bx
= (A − B)x + 3A + 2B .
1=A−B. (2)
Using the laws of logarithms this can be written in the following alternative form if required:
1 x + 1 1
ln − +c.
4 x − 1 2(x − 1)
x
2 3
x −4 x
x3 − 4x
4x
so that
x3 4x
=x+ 2 .
x −4
2 x −4
Note that the denominator of the second term on the right hand side is the difference of two
squares and can be factorised as x2 − 4 = (x − 2)(x + 2). So,
4x 4x A B
= = +
x2 − 4 (x − 2)(x + 2) x−2 x+2
A(x + 2) + B(x − 2)
= .
(x − 2)(x + 2)
As before, the fractions on the left and on the right are equal for all values of x. Their denom-
inators are the same, and so too must be their numerators. So we equate the numerators to
give
4x = A(x + 2) + B(x − 2) .
Choosing x = 2 we find 8 = 4A so that A = 2. Choosing x = −2 gives −8 = −4B so that
B = 2. So with these values of A and B the integral becomes
x3
Z
2 2
Z
dx = x+ + dx
x2 − 4 x−2 x+2
x2
= + 2 ln |x − 2| + 2 ln |x + 2| + c .
2
Exercises 3
Answers
Exercises 1
3 4 5
1. (a) ln |x + 1| − ln |x + 2| + c (b) 22
ln |2x + 3| + 11
ln |x − 4| + c (c) 8
ln |x − 1| +
19
8
ln |x + 7| + c.
Exercises 2
1 1 1 1 1 1
1. (a) the partial fractions are: − − + ;
4 (x + 3) 2 16 x + 3 16 x − 1
1 1 1 1
the integral is − ln|x + |) + ln|x − 1| + C
4 x + 3 16 16
3 1 1
(b) the partial fractions are + − ;
(x + 2) 2 x+2 x+1
3
the integral is − + ln |x + 2| − ln |x + 1| + C.
x+2
1 8 1
(c) the partial fractions are + − ;
49x 7(x − 7) 2 49(x − 7)
1 8 1
the integral is ln |x| − − ln |x − 7| + C.
49 7(x − 7) 49
Exercises 3
1
1. (a) the partial fractions are −x − ;
x−1
x2
the integral is − − ln |x − 1| + C.
2
1
(b) the partial fractions are x + 2 + ;
x+1
x2
the integral is + 2x + ln |x + 1| + C.
2
1
(c) the partial fractions are 7 + ;
x−1
the integral is 7x + ln |x − 1| + C.
1 1
(d) the partial fractions are 7 + + ;
x+3 x−1
the integral is 7x + ln |x + 3| + ln |x − 1| + C.