Here is a longer, alternative solution that does not simplify the integrand first. Instead, we will use the method of partial fractions immediately.
First, we will rewrite the integrand:

We can now cancel a factor of , leaving:

We have made a little progress. We have shown that

We want to compute

By the above computation, this integral is equal to

which is equal to

by basic properties of the integral. Now we can see why breaking the integrand up into pieces was helpful: the integral to the left of the "+" can be evaluated by making the substitution . Thus,

Now we will have to use partial fractions to compute the next integral. This means we need to find constants A, B, and C to make the following equality true:

Multiply both sides by to cancel the denominators, yielding

Now we expand the right hand side.



Now since we have an equality of polynomials, we know that their coefficients of and must be equal, as well as the constant coefficient. The polynomial on the left hand side has coefficient of and equal to zero, and constant coefficient equal to 4. Thus we get three equations:
For the coefficient of :

For the coefficient of :

For the constant coefficient:

Since A=4, we get from the coefficient equation that

Thus, B=-4. Now we can solve for C in the coefficient equation,

Thus, C=-4. Putting all of this together, we can conclude that

So:

We have succeeded in splitting up a difficult integral into three simpler ones!



where are constants.
Thus

Finally, we are able to conclude that

where the term comes from the integral we did at the very beginning. Notice two terms cancel out to get as our final answer

|