Section 6.5 Partial Fraction Decomposition
In this section we investigate the antiderivatives of rational functions. Recall that rational functions are functions of the form f(x)=p(x)q(x),f(x)=p(x)q(x), where p(x)p(x) and q(x)q(x) are polynomials and q(x)≠0.q(x)≠0. Such functions arise in many contexts, one of which is the solving of certain fundamental differential equations.Key Idea 6.5.2. Partial Fraction Decomposition.
Let p(x)q(x) be a rational function, where the degree of p is less than the degree of q.
-
Linear Terms: Let (x−a) divide q(x), where (x−a)n is the highest power of (x−a) that divides q(x). Then the decomposition of p(x)q(x) will contain the sum
A1(x−a)+A2(x−a)2+⋯+An(x−a)n. -
Quadratic Terms: Let x2+bx+c be an irreducible quadratic that divides q(x), where (x2+bx+c)n is the highest power of x2+bx+c that divides q(x). Then the decomposition of p(x)q(x) will contain the sum
B1x+C1x2+bx+c+B2x+C2(x2+bx+c)2+⋯+Bnx+Cn(x2+bx+c)n.
To find the coefficients Ai, Bi and Ci:
Multiply all fractions by q(x), clearing the denominators. Collect like terms.
Equate the resulting coefficients of the powers of x and solve the resulting system of linear equations.
Example 6.5.3. Decomposing into partial fractions.
Decompose f(x)=1(x+5)(x−2)3(x2+x+2)(x2+x+7)2 without solving for the resulting coefficients.
The denominator is already factored, as both \(x^2+x+2\) and \(x^2+x+7\) cannot be factored further. We need to decompose \(f(x)\) properly. Since \((x+5)\) is a linear term that divides the denominator, there will be a
term in the decomposition.
As \((x-2)^3\) divides the denominator, we will have the following terms in the decomposition:
The \(x^2+x+2\) term in the denominator results in a \(\ds\frac{Ex+F}{x^2+x+2}\) term.
Finally, the \((x^2+x+7)^2\) term results in the terms
All together, we have
Solving for the coefficients \(A\text{,}\) \(B \ldots J\) would be a bit tedious but not “hard.”
Example 6.5.4. Decomposing into partial fractions.
Perform the partial fraction decomposition of 1x2−1.
The denominator factors into two linear terms: \(x^2-1 = (x-1)(x+1)\text{.}\) Thus
To solve for \(A\) and \(B\text{,}\) first multiply through by \(x^2-1 = (x-1)(x+1)\text{:}\)
by collecting like terms.
The next step is key. Note the equality we have:
For clarity's sake, rewrite the left hand side as
On the left, the coefficient of the \(x\) term is 0; on the right, it is \((A+B)\text{.}\) Since both sides are equal, we must have that \(0=A+B\text{.}\)
Likewise, on the left, we have a constant term of 1; on the right, the constant term is \((A-B)\text{.}\) Therefore we have \(1=A-B\text{.}\)
We have two linear equations with two unknowns. This one is easy to solve by hand, leading to
If we add these two equations, we get \(2A=1 \Rightarrow A=1/2\text{.}\) Substitution into the first equation gives \(B=-1/2\text{.}\)
Thus
Example 6.5.5. Decomposing into partial fractions using the Heaviside method.
Perform the partial fraction decomposition of 1x2−1.
As we saw in Example 6.5.4,
To solve for \(A\) and \(B\) using the Heaviside method, we will build to a common denominator:
Now since the denomiators match, we will only consider the numerator equation (essentially if we multiply both sides of the equation by \((x-1)(x+1)\text{,}\) we will clear the denomiators):
Now we substitute in “convenient” values of \(x\text{.}\) When \(x=1\text{,}\) we get \(1=2A \Rightarrow A=1/2\text{.}\) When \(x=-1\text{,}\) we get \(1=-2B \Rightarrow B=-1/2\text{.}\)
You may note that \(x=1\) and \(x=-1\) were not in the domain of the original fraction. However,
is an identity, meaning it is true for all values of \(x\text{,}\) even those for which the equation is undefined. We could have chosen any values of \(x\) to substitute. Whenever possible, we choose values of \(x\) that will make one of the factors zero. In this way, we can avoid solving a system of equations.
Thus as in Example 6.5.3, we get
Example 6.5.6. Integrating using partial fractions.
Use partial fraction decomposition to integrate ∫1(x−1)(x+2)2dx.
We decompose the integrand as follows, as described by Key Idea 6.5.2:
To solve for \(A\text{,}\) \(B\) and \(C\text{,}\) we multiply both sides by \((x-1)(x+2)^2\text{:}\)
Now we collect like terms:
We have
leading to the equations
These three equations of three unknowns lead to a unique solution:
Thus
Each can be integrated with a simple substitution with \(u=x-1\) or \(u=x+2\) (or by directly applying Key Idea 6.1.5 as the denominators are linear functions). The end result is
Example 6.5.8. Integrating using partial fractions.
Use partial fraction decomposition to integrate ∫x3(x−5)(x+3)dx.
Key Idea 6.5.2 presumes that the degree of the numerator is less than the degree of the denominator. Since this is not the case here, we begin by using polynomial division to reduce the degree of the numerator. We omit the steps, but encourage the reader to verify that
Using Key Idea 6.5.2, we can rewrite the new rational function as:
for appropriate values of \(A\) and \(B\text{.}\) Clearing denominators, we have
This implies that:
\begin{align*} 19\amp = A+B\\ 30\amp = 3A-5B.\\ \end{align*}Solving this system of linear equations gives
\begin{align*} 125/8 \amp =A\\ 27/8 \amp =B\text{.} \end{align*}We can now integrate.
Example 6.5.9. Integrating using partial fractions.
Use partial fraction decomposition to evaluate ∫7x2+31x+54(x+1)(x2+6x+11)dx.
The degree of the numerator is less than the degree of the denominator so we begin by applying Key Idea 6.5.2. We have:
Now clear the denominators.
\begin{align*} 7x^2+31x+54 \amp = A(x^2+6x+11) + (Bx+C)(x+1) \end{align*}Now, letting \(x=-1\) we have \(30 = 6A \Rightarrow A=5\text{.}\) When \(x=0\text{,}\) \(54 = 11A+C\text{.}\) But we know that \(A=1\text{,}\) so \(54 =55+C \Rightarrow C=-1\) Finally, we choose \(x=1\) (with \(A=5, C=-1\)) we have \(92=90+(B-1)(2)\Rightarrow B=2\text{.}\)
Thus
The first term of this new integrand is easy to evaluate; it leads to a \(5\ln\abs{x+1}\) term. The second term is not hard, but takes several steps and uses substitution techniques.
The integrand \(\ds \frac{2x-1}{x^2+6x+11}\) has a quadratic in the denominator and a linear term in the numerator. This leads us to try substitution. Let \(u = x^2+6x+11\text{,}\) so \(du = (2x+6)\, dx\text{.}\) The numerator is \(2x-1\text{,}\) not \(2x+6\text{,}\) but we can get a \(2x+6\) term in the numerator by adding 0 in the form of “\(7-7\text{.}\)”
We can now integrate the first term with substitution, leading to a \(\ln\abs{x^2+6x+11}\) term. The final term can be integrated using arctangent. (We can tell there is no further factoring for this quadratic since the denominator has no real solutions). First, complete the square in the denominator:
An antiderivative of the latter term can be found using Theorem 6.1.20 and substitution:
Let's start at the beginning and put all of the steps together.
As with many other problems in calculus, it is important to remember that one is not expected to “see” the final answer immediately after seeing the problem. Rather, given the initial problem, we break it down into smaller problems that are easier to solve. The final answer is a combination of the answers of the smaller problems.
Exercises Exercises
Terms and Concepts
1.
Fill in the blank: Partial Fraction Decomposition is a method of rewriting functions.
2.
It is sometimes necessary to use polynomial division before using Partial Fraction Decomposition.
True
False
3.
Decompose 1x2−3x without solving for the coefficients, as done in Example 6.5.3.
4.
Decompose 7−xx2−9 without solving for the coefficients, as done in Example 6.5.3.
5.
Decompose x−3x2−7 without solving for the coefficients, as done in Example 6.5.3.
6.
Decompose 2x+5x3+7x without solving for the coefficients, as done in Example 6.5.3.
In the following exercises, evaluate the indefinite integral.
7.
∫7x+7x2+3x−10dx
8.
∫7x−2x2+xdx
9.
∫−43x2−12dx
10.
∫6x+43x2+4x+1dx
11.
∫x+7(x+5)2dx
12.
∫−3x−20(x+8)2dx
13.
∫9x2+11x+7x(x+1)2dx
14.
∫−12x2−x+33(x−1)(x+3)(3−2x)dx
15.
∫94x2−10x(7x+3)(5x−1)(3x−1)dx
16.
∫x2+x+1x2+x−2dx
17.
∫x3x2−x−20dx
18.
∫2x2−4x+6x2−2x+3dx
19.
∫1x3+2x2+3xdx
20.
∫x2+x+5x2+4x+10dx
21.
∫12x2+21x+3(x+1)(3x2+5x−1)dx
22.
∫6x2+8x−4(x−3)(x2+6x+10)dx
23.
∫2x2+x+1(x+1)(x2+9)dx
24.
∫x2−20x−69(x−7)(x2+2x+17)dx
25.
∫9x2−60x+33(x−9)(x2−2x+11)dx
26.
∫6x2+45x+121(x+2)(x2+10x+27)dx