Partial fractions is the opposite of adding fractions over a common denominator. It applies to integrals of rational functions:
and are polynomials.
The idea is to break into a sum of smaller terms which are easier to integrate.
I'll start by doing a few examples to give you a feel for the procedure. Then I'll go back and explain the general method. These problems are sometimes a bit long, and require a substantial amount of algebra. Therefore, before using partial fractions, you should be sure that there isn't an easier way to do the integral.
First, I want to mention some integrals that often come up in these problems:
(Do you see how to work it out? Substitute , so .) For example,
However,
(Similar formulas hold for powers other than 2.) Once again, you can do this by letting . Some examples:
Example. Compute .
. Write
Multiply both sides by to clear denominators:
Let . I get
Let . I get
Therefore,
So
Example. Compute .
This example will show how to handle repeated factors --- in this case, . Here's what you do:
Notice that on the right side, I have two terms corresponding to , namely
Why do I need both? I mentioned that partial fractions is the opposite of combining fractions over a common denominator. So I start with and ask: What fractions combined to give this? Well, fractions of these three kinds could combine to give this:
I have to include all three in my decomposition because I have to allow for all possibilities.
Set . This gives
Set . This gives
Plugging the values for b and c back in yields
Set . This gives
Thus,
Hence,
Example. Compute .
For a repeated factor, you have one term for each power up to the power the factor is raised to. In this case, you have a term for and a term for .
Multiply to clear denominators:
Let . I get .
Let . I get .
Plug the a and c values back in:
With only b left, I can plug in any number and solve for b. I'll let :
Therefore,
Hence,
Here's another way you can proceed from the last b-equation. I'll multiply out the b-term first:
Since this is an identity, I can differentiate both sides:
(I multiplied out the b-term to avoid the Product Rule, but this isn't essential.)
Now I can recycle . Plugging in gives , so as before.
Let's repeat the point we saw in the last example: At any point in solving for the coefficients, you can plug in an arbitrary number for x, or you can differentiate both sides of the equation. You can even use both. Use whatever approach seems to be easier.
Example. Compute .
Note that
Set up the partial fractions decomposition:
Set . This gives
Set . This gives
Plug and back in to get
Now set x to any number (besides 0 or 5, which you already used). I'll use , since it makes the computations easy:
Compute the integral:
There are some cases I haven't considered yet, specifically what you do if you have a term like in the denominator. ( doesn't factor into linear factors, at least not with real numbers.)
However, I'll pause to describe the steps in the method in more detail.
Suppose and are polynomials. Consider an integral of the form
Recall that the degree of a polynomial is the highest power of the variable that occurs in it. Nonzero constants have degree 0; by convention, 0 has degree .
Step 1. If the degree of the top is greater than or equal to the degree of the bottom, divide the bottom into the top.
Step 2. You will now have an integral that looks like , where and are polynomials, and the top is smaller in degree than the bottom.
Factor the bottom of the fraction into a product of linear terms and irreducible quadratic terms.
A linear term is a term where the variable occurs only to the first power. Here are some linear terms:
An irreducible quadratic term is a quadratic term with only imaginary (complex) roots. That is, it is a quadratic which "doesn't factor". Here are some irreducible quadratic terms:
However, is not an irreducible quadratic, because it factors:
Likewise, is not irreducible:
("Ugly" factors are allowed.) And is not considered an irreducible quadratic: It is , the square of a linear term. This distinction will become important in Step 3.
You can check that a quadratic is irreducible by using the quadratic formula to find its roots. If the roots are complex numbers, the quadratic does not factor.
Step 3. Obtain the partial fractions decomposition for the fraction.
This is the heart of the partial fractions method. It is basically a lot of algebra, but it's sufficiently complicated that the best way to describe it is by doing some examples.
Step 4. Compute the integrals for the fractions you obtained in Step 3.
Since we've already seen examples which involve the decomposition in Step 3, I'll give some examples where you need to divide first.
Example. Compute .
The top has degree 3 while the bottom has degree 2. Divide the bottom into the top:
(This is "polynomial long division" --- you probably saw it [and perhaps forgot it!] in high school algebra.)
So
Integrate by substitution:
Hence,
In this problem, division simplified the integral enough that it wasn't necessary to go any further in the partial fractions procedure.
Example. Compute .
The top and the bottom have the same degree, so I must divide the bottom into the top. I could do a polynomial long division as in the previous example, but here's an algebra trick that is sometimes useful:
Therefore,
I can do easily; I need to integrate the second term. Factor the denominator: . Then
Let . I get , so .
Let . I get , so .
Thus,
Therefore,
Long division in Step 1 is a preliminary operation which puts the integral into the right form for the rest of the procedure. If you do a division, check before going on to see whether you can use a simple technique (like substitution) to do the integrals you've obtained. Sometimes you can complete the integration immediately; otherwise, you'll need to go on to Step 2.
Before I do another integral, I'll give some examples which show (as in the last integral) how you handle repeated factors (factors on the bottom that are raised to powers greater than 1).
Example. How would you try to decompose this rational function using partial fractions?
That is, what is the initial partial fractions equation? (You don't need to do an integral.)
The linear factor is repeated 4 times, and the linear factor is repeated 2 times. So you use
You could do the terms first instead. Notice that the numerator has no effect on the decomposition.
Example. How would you try to decompose this rational function using partial fractions?
That is, what is the initial partial fractions equation? (You don't need to do an integral.)
The linear factor x is repeated 3 times and the linear factor is repeated twice. Therefore, you should try to solve
Notice that the top of the fraction is irrelevant in deciding how to set up the decomposition. It only comes in during the solution process.
Notice also that " " is considered a linear term (x) raised to the third power. You get one term on the right for x, one for , and one for --- no "skipping"!
The next example shows how you might deal with an irreducible quadratic factor on the bottom.
Example. Compute .
The quadratic factor is irreducible. Here's how I try to decompose the fraction:
Thus, a quadratic factor (or a quadratic factor to a power) will produce terms on the right with "two letters" on top.
The rationale is the same as the one I gave for repeated factors. I don't know what kind of fraction to expect, so I have to take the most general case.
Clear denominators:
Let . I get , so . Plug back in:
Let . I get , so , or . Plug back in:
At this point, I've run out of "nice" numbers to plug in for x. Since I have only one letter left ("b"), I can plug another value in for x, or I can differentiate.
For example, plugging in gives
On the other hand, if I differentiate, I get
(I got two b-terms by applying the Product Rule to .) Now I can recycle an old x-value, say . Plugging this in gives , or , so again.
Thus,
The first and third terms come from basic formulas. I integrated the second term using the substitution .
You handle repeated quadratic factors just as you handle repeated linear factors.
Example. How would you try to decompose this rational function using partial fractions?
That is, what is the initial partial fractions equation? (You don't need to do an integral.)
The quadratic is irreducible. Try the decomposition
I will say candidly that you're very unlikely to have to work out something as complicated as the last example by hand: The algebra would be terrible! For something like this, you would probably use a computer algebra system.
Example. Compute .
Try the decomposition
Let . I get , so . Plug back in to obtain
Let . I get , so . Plug back in to obtain
I can differentiate both sides, or I can plug in another value of x. I'll plug in . Doing so gives , or , so .
Thus, the integral becomes
The first and third terms are integrated using basic formulas; the second term is integrated using the substitution .
In the next example, none of the "easy" approaches work completely, so I have to resort to solving systems of equations.
Example. Compute .
Try the decomposition
In this case, there is no value of x I can plug in which will allow me to solve for one of a, b, c, d immediately. Therefore, I'll have to plug in and get equations, which I'll solve simultaneously later.
Let . This gives .
Differentiate the equation to obtain
Let . This gives .
Before I differentiate again, I'll multiply the -terms in, so that I can avoid using the Product Rule:
Differentiate:
Let . This gives , or .
I now have two equations involving b and d, so I can solve for them. For instance, gives . Plug this into to obtain , or . Then gives . Thus,
Differentiate one more time and simplify:
I'll solve simultaneously with , this time using the "whole equation" approach:
Plugging into gives .
Therefore, the integral becomes
The first and third terms are integrated using basic formulas. The second term is integrated using the substitution .
In the next example, I have an irreducible quadratic with a middle term. I'll need to complete the square.
Example. Compute .
The quadratic does not factor. Try the decomposition
Let . I get , so . Plug back in to obtain
Let . I get , so . Plug back in to obtain
Differentiate:
Let . I get . so .
Therefore, the integral becomes
I'll do the second term separately, since the first term is easy. The idea is to complete the square, then do a substitution:
Hence,
The next example involves some complicated integration, which you can skip if you're not interested. But try to understand how the partial fractions decomposition is done.
Example. Compute .
First,
In this example, there's an irreducible quadratic factor . I try the decomposition
Clear denominators:
Let . Then , so . Plug it back in:
Let . I get , so . Plug it back in:
Now I can either plug in a value for x at random, or differentiate. I'll differentiate:
Differentiate again:
This gives .
Plug the values back into the original fractional decomposition:
The integral is
I'll do the integrals separately. First,
Next,
I can do the first integral using a substitution:
The second requires completing the square:
Putting the two together,
Finally, answer to the original problem is
The last problem represents the limit (or depending on your point of view, the bottom of the barrel) in terms of the complexity of problems of this type. It points out why you should try easier integration techniques before you try partial fractions. And in really complicated cases, perhaps it's best to use a computer.
Copyright 2019 by Bruce Ikenaga