Example 38:
Find
Let be the given integral.
By parts in the first integral, with as the first function and 1 as the second:
Again by parts, with as the first function and 1 as the second:
Using (ii) in (i):
.
Want the reason behind every step, the basics and the checks?
Neither part can be integrated on its own with the functions of this course. But integrating by parts produces , and integrating that by parts once more produces , which is exactly cancelled by the second part of the given integrand. The question was built so that the impossible pieces cancel.
- Given
- The integrand , with the natural logarithm.
- To find
- Its indefinite integral, and where the answer is valid.
- Plan
- (1) Domain: . (2) Split into two integrals. (3) Parts on . (4) Parts on . (5) Cancel. (6) Check by differentiating.
Basics you need
In words: first function times integral of the second, minus the integral of (derivative of the first times integral of the second). Lesson: integration by parts
When the integrand is a single function whose derivative is simple but whose integral is unknown (like or ), write it as that function times 1, and take 1 as the second function: its integral is .
and . Basics: logarithms and 1/x
is defined only for ; exactly when . Basics: logarithms
Solution
Where is the integrand defined?
needs , that is . For such , , so is defined too. The integrand is continuous on , and we work on that interval.
A logarithm of a logarithm needs two conditions: for the inner , and for the outer one. The second is the stronger. (The term alone would also make sense for , but the sum needs both terms.), since and is increasing.Split the integral
The integral of a sum is the sum of the integrals (Property III, Section 7.2.1). We will work on the first integral and leave the second untouched, waiting for the cancellation.Parts on , with 1 as the second function
Write . First function , second function . Then and, by the chain rule,
Integration by parts gives
So
We do not know an integral of , but its derivative is simple. Taking 1 as the second function moves the work onto that derivative, and the factor from cancels the in it.Parts again on
Write . First function , second . By the chain rule,
So
The same trick again: 1 as the second function. It produces the integral , which is exactly the one already sitting in (1).with .Substitute (2) into (1): the hard integrals cancel
The minus sign in front of in (1) turns the of (2) into a minus, and it cancels the given second term. Each indefinite integral stands for a family of functions differing by constants, so "cancelling" them leaves an arbitrary constant: that is the . It can be shown that has no formula in terms of the functions of this course, which is why the cancellation is the only way through.Check: of our answer
Product rule on :
Quotient rule on :
Subtracting:
This is the integrand.
The two terms cancel in the derivative, mirroring the cancellation of the integrals in Step 5.
for . This is the textbook's answer.
At : , so the integrand is , and a numerical derivative of at gives . At : integrand , numerical . At : integrand , numerical .
Definite check:
matching numerical integration.
- Differentiating as . The chain rule adds the factor .
- Trying to integrate directly. There is no elementary formula; wait for it to cancel.
- Sign slip in Step 4. , so "minus the integral" becomes "plus", and in (1) that plus is multiplied by the minus in front of .
- Forgetting the domain. The answer is valid only for .
- "1 as the second function" turns into , useful whenever is simpler than .
- When an integrand is a sum of two awkward terms, integrating one by parts may produce the other with the opposite sign.
- Equivalently: . Here is chosen so that is the integrand.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| needs ; | Step 1 | Properties of logarithms |
| Integral of a sum | Step 2 | Section 7.2.1, Property III |
| Integration by parts; taking 1 as the second function | Steps 3, 4 | Section 7.6 (Lesson: integration by parts) |
| Chain, product and quotient rules | Steps 3, 4, 6 | Chapter 5, Sections 5.3 and 5.3.1 |
| Constants of integration combine into one | Step 5 | Section 7.2.1, Property II |
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 →