Partial Fraction
Partial Fraction
One way of finding A and B begins by "clearing fractions", i.e., multiplying both
sides by the common denominator (x − 8)(x + 5). This yields
In order to decompose
The fact that x2 + 2x + 4 cannot be factored using real numbers can be seen by
observing that the discriminant 22 − 4(1)(4) is negative. Thus we seek scalars A,
B, C such that
The multiplicity of the first-degree factor (x − 4) is more than 1. In such cases, the
partial fraction decomposition takes the following form:
Repeated factors in the denominator generally
(where the " " may be any polynomial of sufficiently small degree) the partial
fraction decomposition looks like this:
with the irreducible quadratic factor x2 + 1 in the denominator (where again, the
" " may be any polynomial of sufficiently small degree), the partial fraction
decomposition looks like this:
and a similar pattern holds for any other irreducible quadratic factor.
Examples
• As an introductory example we take the rational function
x
x2 −1
This by the difference of two squares identity can also be written as
x
( x + 1)( x − 1)
A B x
+ =
2
( x + 1) ( x − 1) ( x − 1)
A( x − 1) + B( x + 1) = x
Ax − A + Bx + B = x
We know that the constants on one side of an expression must equal those on the
other side. On the left hand side, the constants are −A and B, and on the right, the
constant is simply 0. So, comparing constants on both sides of the expression, we
can see that
B − A = 0,
i.e. A = B.
Now, in the same way, we know that the number of x terms on the left must equal
the number of x's on the right. Therefore, looking at x terms on both sides,
Ax + Bx = x,
therefore
A+B=1
and so, given that A = B, we can say that
A + A = 1, so 2A = 1 and A = ½ = B.
Finally we find
1 1
x 2 + 2
=
( x 2 − 1) ( x + 1) ( x − 1)
Example 1
q(x) = x2 + 2x − 3 = (x + 3)(x − 1)
1 = A(x − 1) + B(x + 3)
Substituting x = -3 and x = 1 into this equation gives A = -1/4 and B = 1/4, so that
Example 2
>> ( x3 + 16) − ( x3 − 4 x 2 + 8 x)
>> 4 x 2 − 8 x + 16
4 x 2 − 8 x + 16
= 1+
x3 − 4 x + 8x
4 x 2 − 8 x + 16 = ( A + B ) x 2 + (C − 4 A) x + 8 A
We see that
16 = 8A , so A = 2
4 = A + B = 2 + B, so B = 2
2 2x + 0
Finally: f (x ) = 1 + +
x x2 − 4x + 8
The following example illustrates almost all the "tricks" one would need to use
short of consulting a computer algebra system.
Example 3
We present in the sequel a list of methods for finding the coefficients occuring in
the r.h.s. sums of the above equation for f(x)=p(x)/q(x)=..., to which we shall refer
to by (PFD).
For some of the methods it would be useful if p and/or q were already written in
factored form.
If ai is a simple pole of f, i.e. ji=1, then one multiplies (PFD) by (x-ai) and takes the
limit x→ai. On the r.h.s. only Ai1 "survives", which is therefore given by
Still using the same idea, but going to the complex root of x²+b x+c, one gets in
the same way coefficients (from real and imaginary part of the
previous equation for A which is now an equation for B x+C).
All coefficients relative to one pole can be obtained "in one step" by making a
change of variables t = x - ai (i.e. replacing x by t + ai) and then (long) dividing the
"new" p by the "new" q, with the "pure" power tji removed.
Method of derivatives
Instead of making the change of variables and using long division, one can
obtain a recursive formula involving derivatives of p and qi at x = ai.
General methods
Besides the above methods to obtain a particular coefficient, there are several
general methods to get one ore more equations involving one or several of the
coefficients, which should then allow to determine the remaining unknown
coefficients:
• method of particular values: this just consists in putting x equal to particular fixed
values (0, ±1, ±2...), and thus obtaining numerical equations for the coefficients.
• method of limits: multiply both sides of (PFD), after subtracting known terms
(especially the polynomial), by the highest possible power of x such that
lim(x→∞) still is finite, and take this limit
• method of identification: the "final rescue", put all of the r.h.s. on the common
denominator q(x) and identify coefficients of alike powers in the numerator on the
r.h.s. and p(x) on the l.h.s.