8.5 Integration by substitution and by parts — Learn
Prerequisites: the chain rule and the product rule from Section 7.7; standard integrals and the power rule for integration from Section 8.1.
By the end of this section you can: use one substitution to turn an integral into a standard form; change the limits of a definite integral when you substitute; integrate a product by parts; and choose between the two methods.
1. Substitution reverses the chain rule
The chain rule differentiates a function of a function. Substitution runs it backwards. If , then
and the integral becomes
Choose to be the inside function whose derivative also appears in the integral. Then replace every part of the integral, including , and finish with a standard integral.
Example 1. Find .
Let . Then , so . The integral becomes
Substitute back:
Example 2. Find .
Let , so . Then
Example 3. Find .
Let , so . Then
Definite integrals: change the limits
For a definite integral, change the limits to values of as you substitute. Then you never need to return to .
Example 4. Evaluate .
Let , so . Change the limits:
- when , ;
- when , .
Then
2. Integration by parts reverses the product rule
The product rule differentiates a product. Integration by parts runs it backwards. For two functions and ,
In the shorter form, with and ,
Choose to be the part that becomes simpler when differentiated. A useful order to try is logarithm, inverse trigonometric, algebraic, trigonometric, exponential. The first type on that list is usually the best choice for .
Example 5. Find .
Take and . Then and . So
Taking out the common factor gives
Example 6. Find .
Take and . Then and . So
Example 7. Find .
Write the integrand as . Take and . Then and . So
Example 8. Find .
Take and . Then and , so
The new integral needs parts again, with and :
Substitute this back:
Example 9. Evaluate .
By parts with and ,
To evaluate the definite integral, put the limits on the whole antiderivative:
Watch out. Four mistakes are common.
Not replacing . When you substitute , you must replace as well. If any or remains, the substitution is unfinished. Write and use it.
Forgetting to change the limits. For a definite integral, convert the -limits to -limits before integrating. Leaving the old limits in place gives the wrong value.
Choosing the wrong part for in by parts. If the new integral is harder than the first, swap the choice. Putting the polynomial as makes it simpler; putting the exponential as does not.
Dropping the minus sign in by parts. The formula is , with a minus. Re-check: differentiate your answer and compare it with the original integrand.
You should now be able to
- choose a substitution and find ;
- rewrite an integral completely in terms of ;
- change the limits of a definite integral when substituting;
- apply the integration by parts formula;
- use integration by parts twice when a power of is multiplied by an exponential;
- check an integral by differentiating the answer.