MAT111 (Partial Fractions Long Division)
MAT111 (Partial Fractions Long Division)
MAT111 (Partial Fractions Long Division)
NOAH WHITE
The basic aim of this note is to describe how to break rational functions into pieces.
For example
x2 − 2x + 3 1 3
=1+ − .
x2 − 1 x−1 x+1
The point is that we don’t know how to integrate the left hand side, but integrating
the right hand side is easy! We will break this problem down into pieces.
In general we have two polynomials p(x) and q(x). Lets say p(x) has degree m
(this means the largest power of x is xm ) and q(x) has degree n. So that
and
p(x) A1 A2 An
= d(x) + + + ... +
q(x) (a1 x + b1 )ci (a2 x + b2 )c2 (an x + bn )cn
for some numbers Ai and ci and some polynomial r(x). The numbers ai and bi
come from factorising q(x):
Remark 1. Factorising q(x) into linear factors, as above, might not always be
possible (though it is if we use complex numbers). There is a way to deal with
this however we will sweep this under the rug for now and assume that q(x) can be
neatly factored into linear factors.
1
2 NOAH WHITE
If the above general explanation doesn’t quite make sense, here are some exam-
ples of how we would like to rewrite rational functions:
x−3 7 2
= − (1)
x2 + 3x − 4 5(x + 4) 5(x − 1)
6 1 3 2
= − + (2)
x3 − 8x2 + 19x − 12 x−1 x−3 x−4
x2 + x + 1 1 3 3
= + + (3)
x3 − 3x2 + 3x − 1 x − 1 (x − 1)2 (x − 1)
3
x4 + 4x2 + x − 5 311 64 1
=x−2+ + + (5)
3 2
x + 2x − 7x + 4 25 (x + 4) 25 (x − 1) 5 (x − 1)2
Hopefully, you will agree that the right hand side of each expression look far easier
to integrate than the left hand side!
x2 − 7x + 12 x4 − 3x3 + 12x −9
First we take the leading term of the numerator x4 − 3x3 + 12x − 9 and divide it
by the leading term of the denominator. So x4 divided by x2 is x2 .
x2
x2 − 7x + 12 x4 − 3x3 + 12x −9
Now we multiply the result, x2 by −1 and the denominator x2 − 7x + 12 and place
it underneath,
x2
x2 − 7x + 12 x4 − 3x3 + 12x −9
− x4 + 7x3 − 12x2
Now we are at a point were we cannot repeat the process anymore (since 76x is not
divisible by x2 ) so we halt. The divisor is d(x) = x2 + 4x + 16 and the remainder
is r(x) = 76x − 201.
and the factors are all distinct. That means we allow q(x) = (x − 1)(x − 2)(x − 3)
but not q(x) = (x − 1)2 (x − 3). In this case it is always true that we can find
constants A1 , A2 , . . . , An such that
p(x) A1 A2 An
= + + ... + .
q(x) a1 x + b1 a2 x + b2 an x + bn
To find these constants we simply multiply out and compare coefficients. We illus-
trate this with an example.
Example 2.
x−3 x−3 A B
= = +
x2 + 3x − 4 (x + 4)(x − 1) x+4 x−1
If we multiply this equation on both sides by (x + 4)(x − 1) we obtain
Since we are comparing two polynomials, the coefficients of every power of x must
be equal. Explicitly, looking at the coefficient of x gives A + B = 1 and looking at
the constant term gives 4B − A = −3. These are simultaneous equations which we
can solve to get
7 2
A= and B = − .
5 5
Example 3.
6 6 A B C
= = + +
x3 − 8x2 + 19x − 12 (x − 1)(x − 3)(x − 4) x−1 x−3 x−4
A = 1, B = −3 and C = 2.
PARTIAL FRACTIONS AND POLYNOMIAL LONG DIVISION 5