Check out my new book on sequences and series!
You can read it on your Kindle, iPad, or Android device.
Click to see
Calculus Sequences and Series:
Problems and Solutions
There are some situations when it’s useful to write a rational function (a quotient of polynomials) as a sum of simpler such functions. As an example, we can see by cross multiplying that

Partial fraction decomposition (often called just partial fractions) allows us to go backward, to figure out how to write
as a sum. It works like this: given a rational function whose denominator has higher degree than its numerator, we factor the denominator. Then we write the fraction as a sum of fractions whose denominators are the factors of the original denominator. The numerators of these fractions are yet to be determined, so we usually write them with variables
,
, and so on, whose values we have to figure out. Then we add together these fractions, getting an equation in the variables
,
, and so on by setting the numerator equal to the original numerator. Finally, we use this equation to solve for the
,
, and so on.
It sounds complicated, but it’s usually pretty simple. Let’s take a look at an example:
![Rendered by QuickLaTeX.com \[ \frac{1}{x^2-5x+6} \]](http://thecalculusblog.com/wp-content/ql-cache/quicklatex.com-257b1f0c8feaecee056fdbd2a5363726_l3.png)
We can factor
. So we want to find numbers
and
such that
![Rendered by QuickLaTeX.com \[ \frac{1}{x^2-5x+6} = \frac{A}{x-2} + \frac{B}{x-3}. \]](http://thecalculusblog.com/wp-content/ql-cache/quicklatex.com-57afadedf30e71b6d29af3b4ce13fdc5_l3.png)
To do this, cross multiply to get
![Rendered by QuickLaTeX.com \[ \frac{A}{x-2} + \frac{B}{x-3} = \frac{A(x-3) + B(x-2)}{(x-2)(x-3)}. \]](http://thecalculusblog.com/wp-content/ql-cache/quicklatex.com-13a60f3b37b55e4a3c0274b372b2e8c9_l3.png)
Since we want this to be equal to the original fraction, and their denominators are equal, their numerators must be equal as well. Therefore we have the equation
. This holds for every value of
. It’s convenient to put in the values
and
. When
, we get
. When
, we get
. Putting these back in for
and
we get the desired decomposition
![Rendered by QuickLaTeX.com \[ \frac{1}{x^2-5x+6} = \frac{-1}{x-2} + \frac{1}{x-3}. \]](http://thecalculusblog.com/wp-content/ql-cache/quicklatex.com-e6f36ba8c9382343c945b0ed0b501cdc_l3.png)
Not too hard, huh?
What if there’s a repeated factor in the denominator? For example, how can we write
![Rendered by QuickLaTeX.com \[ \frac{x+1}{(x-1)^2} \]](http://thecalculusblog.com/wp-content/ql-cache/quicklatex.com-966a976b8c2c2b3d53e58444513dbf76_l3.png)
as a sum of simpler fractions? When there are repeated factors in the denominator, we have to repeat these factors in the sum as well: here we’ll take
![Rendered by QuickLaTeX.com \[ \frac{x+1}{(x-1)^2} = \frac{A}{x-1} + \frac{B}{(x-1)^2} \]](http://thecalculusblog.com/wp-content/ql-cache/quicklatex.com-54347a6a54aea4fb450b4ebc507399e0_l3.png)
as our decomposition. Cross multiplying we get

The numerator must be equal to the original numerator, so we see that
. Putting in
we get
, and so
. Therefore
![Rendered by QuickLaTeX.com \[ \frac{x+1}{(x-1)^2} = \frac{1}{x-1} + \frac{2}{(x-1)^2}. \]](http://thecalculusblog.com/wp-content/ql-cache/quicklatex.com-75695a3e0fd9e7d34769276c752e9d3a_l3.png)
Finally, we need to see what happens if there is an irreducible polynomial (one with no real roots, such as
) in the denominator. Here we have to take the numerator to be a degree 1 function instead of a constant. For example, let’s take a look at
![Rendered by QuickLaTeX.com \[ \frac{2x+2}{(x-1)(x^2+1)}. \]](http://thecalculusblog.com/wp-content/ql-cache/quicklatex.com-7e051414ccd6e6c862d9d580aa06dcfa_l3.png)
We want to write this as
![Rendered by QuickLaTeX.com \[ \frac{A}{x-1}+\frac{Bx+C}{x^2+1}. \]](http://thecalculusblog.com/wp-content/ql-cache/quicklatex.com-aaaee43cb22feb60d16312a6645bc804_l3.png)
Note the linear term in the numerator of the second fraction. Cross multiplying we get
![Rendered by QuickLaTeX.com \[ \frac{A}{x-1}+\frac{Bx+C}{x^2+1} = \frac{A(x^2+1) + (Bx+C)(x-1)}{(x-1)(x^2+1)}. \]](http://thecalculusblog.com/wp-content/ql-cache/quicklatex.com-518f42c314a11b6ec278a5c72d003cfd_l3.png)
The numerator of this is the same as the numerator of the original fraction, so
. Solving for
,
, and
, we get
,
, and
, so that
![Rendered by QuickLaTeX.com \[ \frac{2x+2}{(x-1)(x^2+1)} = \frac{2}{x-1}+\frac{-2}{x^2+1}. \]](http://thecalculusblog.com/wp-content/ql-cache/quicklatex.com-fa5fa6156484552c13db951d8c2f4bdb_l3.png)
You can read more about partial fractions at wikipedia.