| Today: 7.4: Integration of rational functions and
Supp. 4: Partial fraction expansion Next: 7.7: Approximate integration | 
Our goal today is to compute integrals of the form
 
 .
This is called partial fraction expansion.
.
This is called partial fraction expansion. 
 can be factored as a constant
  times a product of linear factors
 can be factored as a constant
  times a product of linear factors  and irreducible quadratic
  factors
 and irreducible quadratic
  factors  .
.
Note that 
 , where
, where
 ,
, 
 are complex conjugates.
 are complex conjugates.
Types of rational functions 
 .  To do a
partial fraction expansion, first make sure
.  To do a
partial fraction expansion, first make sure 
 using long division.  Then there are four possible situation,
each of increasing generality (and difficulty):
using long division.  Then there are four possible situation,
each of increasing generality (and difficulty):
 is a product of distinct linear factors;
 is a product of distinct linear factors;
 is a product of linear factors, some of which are repeated;
 is a product of linear factors, some of which are repeated;
 is a product of distinct irreducible quadratic factors,
along with linear factors some of which may be repeated; and,
 is a product of distinct irreducible quadratic factors,
along with linear factors some of which may be repeated; and,
 is has repeated irreducible quadratic factors, along with
possibly some linear factors which may be repeated.
 is has repeated irreducible quadratic factors, along with
possibly some linear factors which may be repeated.
The general partial fraction expansion theorem is beyond the scope of this course. However, you might find the following special case and its proof interesting.
 ,
,  and
 and  are polynomials that are relatively
prime (have no factor in common). Then there
exists polynomials
 are polynomials that are relatively
prime (have no factor in common). Then there
exists polynomials  and
 and  such that
 such that
 
 and
 and  are relatively prime, using the Euclidean
  algorithm (long division), we can find polynomials
 are relatively prime, using the Euclidean
  algorithm (long division), we can find polynomials  and
 and  such that
 
 such that
    
 
 and multiplying  by
 and multiplying  by  yields
 yields
 
 
 
 and remainder of
and remainder of  .
This means that
.
This means that
 
 
 .  
A clever way to find
.  
A clever way to find  is to substitute
appropriate values in, as follows.
We have
 is to substitute
appropriate values in, as follows.
We have 
 
 on both sides we have (taking a limit):
 on both sides we have (taking a limit):
 
 
|  |  | |
|  | 
 .
By the partial fraction theorem, there are constants
.
By the partial fraction theorem, there are constants
 such that
 such that
 
 term, since otherwise 
the common denominator would be
 term, since otherwise 
the common denominator would be 
 . 
We have
. 
We have
|  | ![$\displaystyle = \left[ f(x) (x-3)\right]_{x=3} = \frac{x^2}{(x+2)^2}\vert _{x=3} = \frac{9}{25},$](img764.png) | |
|  | ![$\displaystyle = \left[ f(x) (x+2)^2\right]_{x=-2} = -\frac{4}{5}.$](img766.png) | 
 !
For example,
!
For example,
 
Instead, we use that we know  and
 and  , 
and evaluate at another value of
, 
and evaluate at another value of  , say 0.
, say 0.
 
 .
Thus finally,
.
Thus finally,
|  |  | |
|  constant  | 
 .
Notice that
.
Notice that  is a factor, since
 is a factor, since  is a root.
We have
 is a root.
We have 
 
 such that
 such that
 
 
 by factoring the quadratic over
the complex numbers and getting complex number
answers.  Instead, we evaluate
 by factoring the quadratic over
the complex numbers and getting complex number
answers.  Instead, we evaluate  at a couple of values.
For example, at
 at a couple of values.
For example, at  we get
 we get
 
 . 
Next, use
. 
Next, use  to get
 to get  .
.
|  |  | |
|  |  | 
 
|  |  | |
|  | 
 
 
 , so
, so  and
 and 
 .
Then
.
Then 
|  |  | |
|  | ||
|  | 
|  |  | |
|  | 
| Discuss second quiz problem. 
Problem: Compute 
   
 Simplify the inside part requires some imagination: 
 
 | 
William Stein 2006-03-15