a lecture on the partial fraction decomposition method


1 Integrating Rational Functions

A rational functionMathworldPlanetmath is a function of the form y=p(x)q(x) where p(x) and q(x) are polynomialsMathworldPlanetmathPlanetmathPlanetmath (with real coefficients). Here we are interested in how to solve the integralPlanetmathPlanetmath

p(x)q(x)𝑑x

We already know how to integrate some functions of this type. As we know, the chain ruleMathworldPlanetmath tells us that the derivative of y=ln(g(x)) is y=g(x)g(x), where g(x) is any other function. Therefore:

g(x)g(x)𝑑x=ln|g(x)|+C. (1)
Example 1.1.
2x+1x2+x+1𝑑x=ln|x2+x+1|+C.
Example 1.2.

Equation (1) may also be used to integrate any function of the form y=abx+c, for any constants a,b,c. Indeed:

abx+c𝑑x=abbbx+c𝑑x=abln|bx+c|+C

or alternatively use a substitution u=bx+c.

Example 1.3.

Using a substitution we may also integrate any function of the form y=a(bx+c)n, namely u=bx+c does the job. For example, using u=2x+1, du=2dx:

3(2x+1)4𝑑x=321u4𝑑u=-121u3+C=-12(2x+1)3+C.
Example 1.4.

The derivative of the arc tangent function, y=arctanx, is y=11+x2. Therefore:

11+x2𝑑x=arctanx+C.

Thus, for any constant a, using a substitution x=au one may integrate

1a2+x2𝑑x=1aarctanxa+C.

You may also use the arctangent function to integrate other functions, by completing the square of the denominator. For example, x2+2x+2=1+(x+1)2, thus:

1x2+2x+2𝑑x=11+(x+1)2𝑑x=arctan(x+1)+C.
Example 1.5.

The arctangent also allows us to integrate another family of functions, namely:

bx+ca2+x2𝑑x.

The trick is to use the favorite strategy of Napoleon: divide and conquer, i.e. we break the fraction into a sum of two (here we pick a=1 for simplicity):

bx+c1+x2𝑑x=bx1+x2𝑑x+c1+x2𝑑x=b2ln|1+x2|+carctanx+C.

2 Partial Fraction Decomposition

The objective of this method is to reduce any integral of the type p(x)q(x)𝑑x to a sum of integrals of the types described in the previous sectionsPlanetmathPlanetmath. For example:

Example 2.1.

We would like to solve the following integral:

2x2+3x-4𝑑x.

First, we factor the denominator:

x2+3x-4=(x+4)(x-1)

In order to integrate, we are going to express the fraction in the integrand as a sum:

2x2+3x-4=Ax+4+Bx-1

for some constants A,B to be determined. The right hand side (after realizing a common denominator) adds up to A(x-1)+B(x+4)(x+4)(x-1). Therefore, in order to have an equality we need the numerators to be equal:

A(x-1)+B(x+4)=2 (2)

for all values of x (i.e. this should be an equality of polynomials). Thus, we can substitute values of x and obtain equations relating A and B and hopefully we’ll be able to determine the value of the constants. The easiest values to pick are the roots of the denominator of the original fraction. In this case, when we plug x=1 in Eq. (2) we get 5B=2, and so B=2/5. When we plug x=-4 we obtain -5A=2 and so A=-2/5, and we are done! Now we can finish the integral:

2x2+3x-4𝑑x = -2/5x+4𝑑x+2/5x-1𝑑x
= -25ln|x+4|+25ln|x-1|+C=25ln|x-1x+4|+C.

The method. The goal of the method, as explained above, is to express any fraction p(x)q(x) as the sum of partial fractions of the types discussed in the previous section.

  1. 1.

    If the degree of p(x) is larger than the degree of q(x) then use polynomial division to divide and obtain a quotient t(x) and remainder r(x) polynomials such that p(x)=q(x)t(x)+r(x). Thus

    p(x)q(x)=t(x)+r(x)q(x)

    where the degree of r is lower than the degree of q. Now use the partial fraction decomposition with r(x)/q(x).

  2. 2.

    Factor the denominator, q(x), into irreducible polynomialsMathworldPlanetmath (over ). Thus, we may express q(x) as a product of linear polynomials (perhaps to a power other than 1) and irreduciblePlanetmathPlanetmath quadratic polynomials.

  3. 3.

    If a linear factor (x-a) to the first power appears in the denominator of q(x), the partial fraction decomposition should have a term A(x-a), for some constant A to be determined.

  4. 4.

    If a linear factor to the nth power, say (x-b)n appears in the denominator of q(x), the partial fraction decomposition should have terms

    B1(x-b)+B2(x-b)2++Bn(x-b)n

    for some n constants B1,B2,,Bn to be determined.

  5. 5.

    If a quadratic polynomial ax2+bx+c to the nth power appears in the factorization of q(x), i.e. (ax2+bx+c)n is a factor of q(x), then the partial fraction decomposition should have terms

    C1x+D1ax2+bx+c+C2x+D2(ax2+bx+c)2++Cnx+Dn(ax2+bx+c)n

    for some constants Ci,Di to be determined.

  6. 6.

    Once you have the sum of all appropriate partial fractions (see above), group together all these partial fractions into one fraction P(x)q(x) (use a minimum common multiple for the denominator! The minimum common multiple will actually be q(x)). In order to have an equality you need to find appropriate constants A,B, such that p(x)=P(x). For this, plug values of x to obtain equations relating the constants.

Example 2.2.

Suppose we want to find the partial fraction decomposition of:

3x+2(x-1)(x-2)(x-3)2(1+x2)

Then, we need constants A,B,C,D,E,F such that

3x+2(x-1)(x-2)(x-3)2(1+x2)=Ax-1+Bx-2+Cx-3+D(x-3)2+Ex+F1+x2.

The next step would be to add up all the partial fractions into one big fraction

P(x)(x-1)(x-2)(x-3)2(1+x2)

and find constants A,B,C,D,E,F such that P(x)=3x+2 for all x.

Title a lecture on the partial fraction decomposition method
Canonical name ALectureOnThePartialFractionDecompositionMethod
Date of creation 2013-03-22 15:39:12
Last modified on 2013-03-22 15:39:12
Owner alozano (2414)
Last modified by alozano (2414)
Numerical id 5
Author alozano (2414)
Entry type Feature
Classification msc 26A42
Classification msc 28-00
Related topic ALectureOnIntegrationBySubstitution
Related topic ALectureOnIntegrationByParts
Related topic ALectureOnTrigonometricIntegralsAndTrigonometricSubstitution
Related topic PartialFractionsOfExpressions
Related topic PartialFractionsForPolynomials