8 Techniques of Integration

8.4 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), where p(x) and q(x) are polynomials and q(x)0. Such functions arise in many contexts, one of which is the solving of certain fundamental differential equations.

We begin with an example that demonstrates the motivation behind this section. Consider the integral 1x2-1dx. We do not have a simple formula for this (if the denominator were x2+1, we would recognize the antiderivative as being the arctangent function). It can be solved using Trigonometric Substitution, but note how the integral is easy to evaluate once we realize:

1x2-1=1/2x-1-1/2x+1.

Thus

1x2-1dx =1/2x-1dx-1/2x+1dx
=12ln|x-1|-12ln|x+1|+C.

This section teaches how to decompose

1x2-1into1/2x-1-1/2x+1.

We start with a rational function f(x)=p(x)q(x), where p and q do not have any common factors. We first consider the degree of p and q.

  • If the deg(p)deg(q) then we use polynomial long division to divide q into p to determine a remainder r(x) where deg(r)<deg(q). We then write f(x)=s(x)+r(x)q(x) and apply partial fraction decomposition to r(x)q(x).

  • If the deg(p)<deg(q) we can apply partial fraction decomposition to p(x)q(x) without additional work.

Partial fraction decomposition is based on an algebraic theorem that guarantees that any polynomial, and hence q, can use real numbers to factor into the product of linear and irreducible quadratic factors. margin: An irreducible quadratic is one that cannot factor into linear terms with real coefficients. Λ The following Key Idea states how to decompose a rational function into a sum of rational functions whose denominators are all of lower degree than q.

Key Idea 8.4.1 Partial Fraction Decomposition

Let p(x)q(x) be a rational function, where deg(p)<deg(q).

  1. (a)

    Factor 𝐪(𝐱): Write q(x) as the product of its linear and irreducible quadratic factors of the form (ax+b)m and (ax2+bx+c)n where m and n are the highest powers of each factor that divide q.

    • Linear Terms: For each linear factor of q(x) the decomposition of p(x)q(x) will contain the following terms:

      A1(ax+b)+A2(ax+b)2+Am(ax+b)m
    • Irreducible Quadratic Terms: For each irreducible quadratic factor of q(x) the decomposition of p(x)q(x) will contain the following terms:

      B1x+C1(ax2+bx+c)+B2x+C2(ax2+bx+c)2+Bnx+Cn(ax2+bx+c)n
  2. (b)

    Finding the Coefficients 𝐀𝐢, 𝐁𝐢, and 𝐂𝐢:

    • Set p(x)q(x) equal to the sum of its linear and irreducible quadratic terms.

      p(x)q(x)=A1(ax+b)+Am(ax+b)m+B1x+C1(ax2+bx+c)+Bnx+Cn(ax2+bx+c)n
    • Multiply this equation by the factored form of q(x) and simplify to clear the denominators.

    • Solve for the coefficients Ai,Bi, and Ci by

      1. (a)

        multiplying out the remaining terms and collecting like powers of x, equating the resulting coefficients and solving the resulting system of linear equations, or

      2. (b)

        substituting in values for x that eliminate terms so the simplified equation can be solved for a coefficient.

The following examples will demonstrate how to put this Key Idea into practice. In Example 8.4.1, we focus on the setting up the decomposition of a rational function.

Example 8.4.1 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.

SolutionThe denominator is already factored, as both x2+x+2 and x2+x+7 are irreducible quadratics. We need to decompose f(x) properly. Since (x+5) is a linear factor that divides the denominator, there will be a

Ax+5

term in the decomposition.

As (x-2)3 divides the denominator, we will have the following terms in the decomposition:

Bx-2,C(x-2)2andD(x-2)3.

The x2+x+2 term in the denominator results in a Ex+Fx2+x+2 term.

Finally, the (x2+x+7)2 term results in the terms

Gx+Hx2+x+7andIx+J(x2+x+7)2.

All together, we have

1(x+5)(x-2)3(x2+x+2)(x2+x+7)2=Ax+5+Bx-2+C(x-2)2+D(x-2)3+Ex+Fx2+x+2+Gx+Hx2+x+7+Ix+J(x2+x+7)2

Solving for the coefficients A, B, …, J would be a bit tedious but not “hard.” In the next example we demonstrate solving for the coefficients using both methods given in Key Idea 8.4.1.

Example 8.4.2 Decomposing into partial fractions

Perform the partial fraction decomposition of 1x2-1.

SolutionThe denominator can be written as the product of two linear factors: x2-1=(x-1)(x+1). Thus

1x2-1=Ax-1+Bx+1. (8.4.1)

Using the method described in Key Idea 8.4.1 2(a) to solve for A and B, first multiply through by x2-1=(x-1)(x+1):

1 =A(x-1)(x+1)x-1+B(x-1)(x+1)x+1
=A(x+1)+B(x-1) (8.4.2)
=Ax+A+Bx-B
=(A+B)x+(A-B)  collect like terms.

The next step is key. For clarity’s sake, rewrite the equality we have as

0x+1=(A+B)x+(A-B).

On the left, the coefficient of the x term is 0; on the right, it is (A+B). Since both sides are equal for all values of x, we must have that 0=A+B. Likewise, on the left, we have a constant term of 1; on the right, the constant term is (A-B). Therefore we have 1=A-B.

We have two linear equations with two unknowns. This one is easy to solve by hand, leading to

A+B=0A-B=1    A=1/2B=-1/2.

Thus

1x2-1=1/2x-1-1/2x+1.

Before solving for A and B using the method described in Key Idea 8.4.1 2(b), we note that Equations (8.4.1) and (8.4.2) are not equivalent. Only the second equation holds for all values of x, including x=-1 and x=1, by continuity of polynomials. Thus, we can choose values for x that eliminate terms in the polynomial to solve for A and B.

1=A(x+1)+B(x-1).

If we choose x=-1,

1 =A(0)+B(-2)
B =-12.

Next choose x=1:

1 =A(2)+B(0)
A =12.

Resulting in the same decomposition as above.

In Example 8.4.3, we solve for the decomposition coefficients using the system of linear equations (method 2a). The margin note explains how to solve using substitution (method 2b).

Example 8.4.3 Integrating using partial fractions

Use partial fraction decomposition to integrate 1(x-1)(x+2)2dx.

SolutionWe decompose the integrand as follows, as described by Key Idea 8.4.1:

1(x-1)(x+2)2=Ax-1+Bx+2+C(x+2)2. (8.4.3)

To solve for A, B and C, we multiply both sides by (x-1)(x+2)2 and collect like terms: margin: Note: Equations (8.4.3) and (8.4.4) are not equivalent for x=1 and x=-2. However, due to the continuity of polynomials we can let x=1 to simplify the right hand side to A(1+2)2=9A. Since the left hand side is still 1, we have 1=9A, so that A=1/9. Likewise,when x=-2; this leads to the equation 1=-3C. Thus C=-1/3. Knowing A and C, we can find the value of B by choosing yet another value of x, such as x=0, and solving for B. Λ

1 =A(x+2)2+B(x-1)(x+2)+C(x-1) (8.4.4)
=Ax2+4Ax+4A+Bx2+Bx-2B+Cx-C
=(A+B)x2+(4A+B+C)x+(4A-2B-C)

We have

0x2+0x+1=(A+B)x2+(4A+B+C)x+(4A-2B-C)

leading to the equations

A+B=0,4A+B+C=0and4A-2B-C=1.

These three equations of three unknowns lead to a unique solution:

A=1/9,B=-1/9andC=-1/3.

Thus

1(x-1)(x+2)2dx=1/9x-1dx+-1/9x+2dx+-1/3(x+2)2dx.

Each can be integrated with a simple substitution with u=x-1 or u=x+2. The end result is

1(x-1)(x+2)2dx=19ln|x-1|-19ln|x+2|+13(x+2)+C.
Example 8.4.4 Integrating using partial fractions

Use partial fraction decomposition to integrate x3(x-5)(x+3)dx.

SolutionKey Idea 8.4.1 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

x3(x-5)(x+3)=x+2+19x+30(x-5)(x+3).

Using Key Idea 8.4.1, we can rewrite the new rational function as:

19x+30(x-5)(x+3)=Ax-5+Bx+3

for appropriate values of A and B. Clearing denominators, we have

19x+30=A(x+3)+B(x-5).

As in the previous examples we choose values of x to eliminate terms in the polynomial. If we choose x=-3,

19(-3)+30 =A(0)+B(-8)
B =278.

Next choose x=5:

19(5)+30 =A(8)+B(0)
A =1258.

We can now integrate:

x3(x-5)(x+3)dx =(x+2+125/8x-5+27/8x+3)dx
=x22+2x+1258ln|x-5|+278ln|x+3|+C.

Before the next example we remind the reader of a rational integrand evaluated by trigonometric substitution:

1x2+a2dx=1atan-1(xa)+C.
Example 8.4.5 Integrating using partial fractions

Use partial fraction decomposition to evaluate 7x2+31x+54(x+1)(x2+6x+11)dx.

SolutionThe degree of the numerator is less than the degree of the denominator so we begin by applying Key Idea 8.4.1. We have:

7x2+31x+54(x+1)(x2+6x+11) =Ax+1+Bx+Cx2+6x+11.
Now clear the denominators.
7x2+31x+54 =A(x2+6x+11)+(Bx+C)(x+1).

Again, we choose values of x to eliminate terms in the polynomial. If we choose x=-1,

30 =6A+(-B+C)(0)
A =5.

Although none of the other terms can be zeroed out, we continue by letting A=5 and substituting helpful values of x. Choosing x=0, we notice

54 =55+C
C =-1.

Finally, choose x=1 (any value other than -1 and 0 can be used, 1 is easy to work with)

92 =90+(B-1)(2)
B =2.

Thus

7x2+31x+54(x+1)(x2+6x+11)dx=(5x+1+2x-1x2+6x+11)dx.

The first term of this new integrand is easy to evaluate; it leads to a 5ln|x+1| term. The second term is not hard, but takes several steps and uses substitution techniques.

The integrand 2x-1x2+6x+11 has a quadratic in the denominator and a linear term in the numerator. This leads us to try substitution. Let u=x2+6x+11, so du=(2x+6)dx. The numerator is 2x-1, not 2x+6, but we can get a 2x+6 term in the numerator by adding 0 in the form of “7-7.”

2x-1x2+6x+11 =2x-1+7-7x2+6x+11
=2x+6x2+6x+11-7x2+6x+11.

We can now integrate the first term with substitution, yielding ln|x2+6x+11|. The final term can be integrated using arctangent. First, complete the square in the denominator:

7x2+6x+11=7(x+3)2+2.

An antiderivative of the latter term can be found using Key Idea 8.3.1 and substitution:

7x2+6x+11dx=72tan-1(x+32)+C.

Let’s start at the beginning and put all of the steps together.

7x2+31x+54(x+1)(x2+6x+11)dx
=(5x+1+2x-1x2+6x+11)dx
=5x+1dx+2x+6x2+6x+11dx-7x2+6x+11dx
=5ln|x+1|+ln|x2+6x+11|-72tan-1(x+32)+C.

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.

Partial Fraction Decomposition is an important tool when dealing with rational functions. Note that at its heart, it is a technique of algebra, not calculus, as we are rewriting a fraction in a new form. Regardless, it is very useful in the realm of calculus as it lets us evaluate a certain set of “complicated” integrals. The next section will require the reader to determine an appropriate method for evaluating a variety of integrals.

Exercises 8.4

 

Terms and Concepts

  1. 1.

    Fill in the blank: Partial Fraction Decomposition is a method of rewriting              functions.

  2. 2.

    T/F: It is sometimes necessary to use polynomial division before using Partial Fraction Decomposition.

  3. 3.

    Decompose 1x2-3x without solving for the coefficients, as done in Example 8.4.1.

  4. 4.

    Decompose 7-xx2-9 without solving for the coefficients, as done in Example 8.4.1.

  5. 5.

    Decompose x-3x2-7 without solving for the coefficients, as done in Example 8.4.1.

  6. 6.

    Decompose 2x+5x3+7x without solving for the coefficients, as done in Example 8.4.1.

Problems

In Exercises 7–34., evaluate the indefinite integral.

  1. 7.

    7x+7x2+3x-10dx

  2. 8.

    7x-2x2+xdx

  3. 9.

    -43x2-12dx

  4. 10.

    x+7(x+5)2dx

  5. 11.

    -3x-20(x+8)2dx

  6. 12.

    9x2+11x+7x(x+1)2dx

  7. 13.

    -12x2-x+33(x-1)(x+3)(3-2x)dx

  8. 14.

    94x2-10x(7x+3)(5x-1)(3x-1)dx

  9. 15.

    x2+x+1x2+x-2dx

  10. 16.

    x3x2-x-20dx

  11. 17.

    2x2-4x+6x2-2x+3dx

  12. 18.

    1x3+2x2+3xdx

  13. 19.

    dxx4-x2

  14. 20.

    x2+x+5x2+4x+10dx

  15. 21.

    12x2+21x+3(x+1)(3x2+5x-1)dx

  16. 22.

    6x2+8x-4(x-3)(x2+6x+10)dx

  17. 23.

    1-x+2x2-x3x(x2+1)2dx

  18. 24.

    2x2+x+1(x+1)(x2+9)dx

  19. 25.

    x2-20x-69(x-7)(x2+2x+17)dx

  20. 26.

    x3+x2+2x+1(x2+1)(x2+2)dx

  21. 27.

    xx4+4x2+3dx

  22. 28.

    x-3(x2+2x+4)2dx

  23. 29.

    9x2-60x+33(x-9)(x2-2x+11)dx

  24. 30.

    6x2+45x+121(x+2)(x2+10x+27)dx

  25. 31.

    1x4-16dx

  26. 32.

    1x2+xdx

  27. 33.

    1x(x2+1)2dx

  28. 34.

    2x2(x2+1)2dx

In Exercises 35–38., evaluate the definite integral.

  1. 35.

    128x+21(x+2)(x+3)dx

  2. 36.

    0514x+6(3x+2)(x+4)dx

  3. 37.

    -11x2+5x-5(x-10)(x2+4x+5)dx

  4. 38.

    01x(x+1)(x2+2x+1)dx

  1. 39.
    Recall that ddxsinh-1x=1x2+1 Now use a trigonometric substitution to evaluate the indefinite integral 1x2+1dx and show that sinh-1x=ln(x+x2+1).
Modern Campus CMS