Calculus/Integration techniques/Partial Fraction Decomposition

From testwiki
Jump to navigation Jump to search

Template:Calculus/Top Nav

Suppose we want to find 3x+1x2+xdx . One way to do this is to simplify the integrand by finding constants A and B so that

3x+1x2+x=3x+1x(x+1)=Ax+Bx+1 .

This can be done by cross multiplying the fraction which gives

3x+1x(x+1)=A(x+1)+Bxx(x+1)

As both sides have the same denominator we must have

3x+1=A(x+1)+Bx

This is an equation for x so it must hold whatever value x is. If we put in x=0 we get A=1 and putting x=1 gives =B=2 so B=2 . So we see that

3x+1x2+x=1x+2x+1

Returning to the original integral

3x+1x2+xdx =dxx+2x+1dx
=dxx+2dxx+1
=ln|x|+2ln|x+1|+C

Rewriting the integrand as a sum of simpler fractions has allowed us to reduce the initial integral to a sum of simpler integrals. In fact this method works to integrate any rational function.

Method of Partial Fractions

To decompose the rational function P(x)Q(x):

  • Step 1 Use long division (if necessary) to ensure that the degree of P(x) is less than the degree of Q(x) (see Breaking up a rational function in section Template:Calculus/map page).
  • Step 2 Factor Q(x) as far as possible.
  • Step 3 Write down the correct form for the partial fraction decomposition (see below) and solve for the constants.

To factor Q(x) we have to write it as a product of linear factors (of the form ax+b) and irreducible quadratic factors (of the form ax2+bx+c with b24ac<0).

Some of the factors could be repeated. For instance if Q(x)=x36x2+9x we factor Q(x) as

Q(x)=x(x26x+9)=x(x3)(x3)=x(x3)2

It is important that in each quadratic factor we have b24ac<0 , otherwise it is possible to factor that quadratic piece further. For example if Q(x)=x33x2+2x then we can write

Q(x)=x(x23x+2)=x(x1)(x2)


We will now show how to write P(x)Q(x) as a sum of terms of the form

A(ax+b)k and Ax+B(ax2+bx+c)k

Exactly how to do this depends on the factorization of Q(x) and we now give four cases that can occur.

Q(x) is a product of linear factors with no repeats

This means that Q(x)=(a1x+b1)(a2x+b2)(anx+bn) where no factor is repeated and no factor is a multiple of another.

For each linear term we write down something of the form A(ax+b) , so in total we write

P(x)Q(x)=A1a1x+b1+A2a2x+b2++Ananx+bn

Template:ExampleRobox Find 1+x2(x+3)(x+5)(x+7)dx

Here we have P(x)=1+x2 , Q(x)=(x+3)(x+5)(x+7) and Q(x) is a product of linear factors. So we write

1+x2(x+3)(x+5)(x+7)=Ax+3+Bx+5+Cx+7

Multiply both sides by the denominator

1+x2=A(x+5)(x+7)+B(x+3)(x+7)+C(x+3)(x+5)

Substitute in three values of x to get three equations for the unknown constants,

x=31+32=24Ax=51+52=22Bx=71+72=(4)(2)C

so A=54 , B=132 , C=254 , and

1+x2(x+3)(x+5)(x+7)=54x+12132x+10+254x+28

We can now integrate the left hand side.

1+x2(x+3)(x+5)(x+7)dx=54ln|x+3|132ln|x+5|+254ln|x+7|+C Template:Robox/Close

Exercises

Evaluate the following by the method partial fraction decomposition. Template:Question-answer

Template:Question-answer Template:Noprint

Q(x) is a product of linear factors some of which are repeated

If (ax+b) appears in the factorisation of Q(x) k-times then instead of writing the piece Aax+b we use the more complicated expression

A1ax+b+A2(ax+b)2+A3(ax+b)3++Ak(ax+b)k

Template:ExampleRobox Find dx(x+1)(x+2)2

Here P(x)=1 and Q(x)=(x+1)(x+2)2 We write

1(x+1)(x+2)2=Ax+1+Bx+2+C(x+2)2

Multiply both sides by the denominator 1=A(x+2)2+B(x+1)(x+2)+C(x+1)

Substitute in three values of x to get 3 equations for the unknown constants,

x=01=22A+2B+Cx=11=Ax=21=C

so A=1 , B=1 , C=1 and

1(x+1)(x+2)2=1x+11x+21(x+2)2

We can now integrate the left hand side.

dx(x+1)(x+2)2=ln|x+1|ln|x+2|+1x+2+C

We now simplify the fuction with the property of Logarithms.

ln|x+1|ln|x+2|+1x+2+C=ln|x+1x+2|+1x+2+C

Template:Robox/Close

Exercise

Template:Question-answer Template:Noprint

Q(x) contains some quadratic pieces which are not repeated

If ax2+bx+c appears we use Ax+Bax2+bx+c .

Exercises

Evaluate the following using the method of partial fractions. Template:Question-answer

Template:Question-answer Template:Noprint

Q(x) contains some repeated quadratic factors

If ax2+bx+c appears k-times then use

A1x+B1ax2+bx+c+A2x+B2(ax2+bx+c)2+A3x+B3(ax2+bx+c)3++Akx+Bk(ax2+bx+c)k

Exercise

Evaluate the following using the method of partial fractions. Template:Question-answer Template:Noprint

Template:Calculus/Top Nav Template:Calculus/TOC