Example 17:
Find
Let .
Taking as the first function and as the second, by parts:
.
Want the reason behind every step, the basics and the checks?
The integrand is a product of two functions, and no basic formula fits it. Integration by parts trades for a new integral in which has been differentiated (to 1) while has been integrated (to ). Differentiating makes it simpler, and integrating does not make it harder, so the new integral, , is easy. Choosing the two functions the other way round would make things worse.
- Given
- The integrand , defined and continuous for every real .
- To find
- .
- Plan
- (1) Recall the integration by parts formula. (2) Choose the first and second functions. (3) Apply the formula. (4) See what the opposite choice does. (5) See why no constant is needed for the integral of the second function. (6) Differentiate back.
Basics you need
From the product rule , integrating both sides gives (Section 7.6, equation (1))
With as the first function and as the second:
Standard formulae (ii) and (iii): and . Basics: trigonometric functions
, used for the final check. Basics: integration undoes differentiation
Solution
Why integration by parts?
is a product of an algebraic function () and a trigonometric one (). It is not in the list of standard formulae, it is not a sum we can split, and no simple substitution turns it into a standard form. Integration by parts is the method designed for exactly this kind of product.
The formula comes from reading the product rule backwards: since , the integral of one of the two products, , can be traded for the integral of the other, . It helps when the second integral is easier than the first.Section 7.6: "the integral of the product of two functions = (first function) × (integral of the second function) − integral of [(differential coefficient of the first function) × (integral of the second function)]". Lesson: integration by partsChoose the first and second functions
Take
Then and .
The first function gets differentiated, the second gets integrated. Differentiating turns it into the constant 1, which removes the troublesome factor; integrating just gives , no harder. This is the book's Remark (iii): a power of or a polynomial is usually taken as the first function.Apply the formula
After one use of the formula the remaining integral is , a standard one. The minus in front of it and the minus in multiply to give .(formula (iii)). Basics: trigonometric functionsWhat the opposite choice would do
Suppose instead (first) and (second). Then and , so
This is true, but the new integral contains instead of : it is harder than the one we started with.
Integrating raises its power, so the algebraic factor grows instead of disappearing. The formula is always correct; the choice only decides whether it is useful. That is why the order of the two functions matters.(power rule, formula (i)). Lesson: integration by partsWhy no constant in
In Step 3 we wrote , without a constant. If we used for any constant :
The terms cancel, so adding a constant there changes nothing.
This is the book's Remark (ii). The extra from the first part is removed by from the second part. Only one constant, , is needed, at the very end.Check: differentiate the answer
By the product rule, . So
The derivative is the integrand, for every real . Integration by parts is the product rule run backwards, so it is natural that the product rule confirms the answer.Product rule; . Basics: integration undoes differentiation
valid for every real . This is the book's answer.
At a point. At : the integrand is ; the derivative of our answer is , the same
Over an interval. On :
Numerical integration of over gives to ten decimal places, the same.
- Choosing as the first function. The new integral gets harder (Step 4).
- Sign of the last term. , not .
- Writing . The integral of a product is not the product of the integrals: differentiates to something else.
- By parts: first function differentiated, second integrated. Choose the first so that differentiating simplifies it.
- No constant is needed when integrating the second function; add one at the end.
- Integration by parts does not finish every product. The book's Remark (i) gives . Strictly, does have antiderivatives on : it is continuous there, and by Theorem 1 of Section 7.8.2 (stated in the book without proof) its area function is one. What is true is that no antiderivative can be written with the functions of this chapter (a result beyond this book), so no choice of first and second function finishes it.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Integration by parts formula | Steps 1, 3, 4, 5 | Section 7.6, equation (1) and the rule after it (Lesson: integration by parts) |
| Choice of first function (polynomial first) | Step 2 | Remark (iii) after Example 17, Section 7.6 |
| No constant needed for | Step 5 | Remark (ii) after Example 17, Section 7.6 |
| ; ; | Steps 3, 4 | Standard formulae (ii), (iii), (i), Section 7.2 |
| Product rule | Steps 1, 6 | Chapter 5, Section 5.3 |
| A continuous function has an antiderivative (its area function) | Take-away 3 | First fundamental theorem (Theorem 1), Section 7.8.2, stated without proof |
| has no antiderivative built from the functions of this chapter | Take-away 3 | Beyond this book (stated, not proved) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →