Example 23:
Find .
Let .
Put . Then .
Using ,
.
Want the reason behind every step, the basics and the checks?
The book has ready-made answers for exactly three square-root integrals: , and (Section 7.6.2). A general quadratic under the root is turned into one of these by completing the square: . After the shift the integral is , which is formula (ii) with .
- Given
- The integrand . It is defined for every real , because (Step 1) .
- To find
- All antiderivatives , that is, one antiderivative plus an arbitrary constant C.
- Plan
- Complete the square; substitute ; use formula 7.6.2 (ii) with ; return to ; differentiate the answer to confirm it gives back the integrand.
Basics you need
For any number , . Expanding the bracket gives , so subtracting puts us back where we started. This removes the middle term . Basics: completing the square
If for a constant , then , so and . Nothing gets stretched, so no extra factor appears. Basics: substitution
The book obtains it by integrating by parts with 1 as the second function (Section 7.6.2). Step 5 below re-proves it for our case by differentiating. Lesson: integration by parts
and (chain rule). Basics: logarithms and 1/x
Solution
Complete the square under the root
Here , so and . Split the 5 as :
So the integral is . Since a square is never negative, : the root is defined, and positive, for every real .
None of the three standard formulas has a middle term like . Completing the square hides that term inside a single square , and what is left over, , is a positive constant, which we write as with . The sign of the leftover decides the formula: here, so formula (ii).Check the square by expanding: . Basics: completing the squareShift: put
Let . Then , so , and
The new variable absorbs the "" so that the integrand looks exactly like the standard one. Because the derivative of is 1, the differential needs no correction factor: simply becomes .Apply formula 7.6.2 (ii) with
With we have and . Formula (ii), written in the letter , gives
The formula holds for any letter used as the variable, so we may apply it in . The only care needed is the coefficient of the log: it is , not . It happens to equal here, but only because ; in general always compute .Formula 7.6.2 (ii) is the one with inside the root and a log in the answer; the one with has instead (used in Example 24). Lesson: integration by partsReturn to
Replace by and by (Step 1):
Where it is valid. The root is defined for all real (Step 1). The quantity inside the log is never zero; it is in fact always positive, because , so . Hence the answer holds for every real , and the bars could even be dropped.
The question was asked in , so the answer must be in . Writing back as (rather than ) matches the book's printed form.Check: differentiate the answer
Write and , so that and, by the chain rule, .
First term, by the product rule:
Second term, by the chain rule for :
Add them, using :
And , the integrand. The constant C differentiates to 0. The answer is confirmed.
An antiderivative is defined by the property that its derivative is the integrand, so differentiating is the complete check. It also proves formula 7.6.2 (ii) in this case without the integration by parts.
valid for every real . This is exactly the book's answer.
Call the answer without C . Then and , so . A direct numerical integration of from 0 to 1 gives the same 2.5107167. Also, the symmetric difference quotient of at (step 0.0001 on each side, so ) gives 3.6055513, and .
- Taking . The constant 5 is not the of the formula; only what is left after completing the square is: .
- Choosing the wrong formula. A leftover gives the log formula (ii). The formula belongs to .
- Forgetting to shift inside the log. The log contains , which is , not .
- Using in front of the root. The factor is .
- Dropping "+ C". An indefinite integral is a whole family of antiderivatives.
- : complete the square, shift, then match one of the three formulas of Section 7.6.2 by the sign pattern under the root.
- After a shift , every in the formula becomes , including the one inside the log.
- Differentiating the answer is a complete check, and here it takes only a few lines once you name .
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Step 1 | Completing the square (Basics) | |
| Step 2 | Integration by substitution, Section 7.3.1 (Lesson) | |
| formula | Step 3 | Section 7.6.2 (ii), proved by parts (Lesson) |
| , so the log's argument is positive | Step 4 | Square roots are increasing |
| Product rule, chain rule, | Step 5 | Chapter 5; standard formula (xii), Section 7.2 |
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 →