Exercise 7.7 · Q3:
Integrate the function
Let .
Put . Then .
Using
.
Want the reason behind every step, the basics and the checks?
Completing the square turns any quadratic under a root into one of three standard shapes. Here , a square plus a positive number, so after it is with , and formula 7.6.2 (ii) gives the answer:
- Given
- The integrand .
- To find
- , and where the answer is valid.
- Plan
- (1) Complete the square. (2) Note the domain. (3) Put . (4) See where formula 7.6.2 (ii) comes from. (5) Apply it with and return to . (6) Differentiate back.
Basics you need
: add and subtract the square of half the coefficient of . Basics: completing the square
wherever (standard formula (xii), Section 7.2, with the chain rule). Basics: logarithms and 1/x
Solution
Complete the square
Half the coefficient of is , and . Add and subtract 4:
, so the first three terms form a perfect square and the leftover is . The sign of the leftover decides the formula: positive leftover with means 7.6.2 (ii). This is the method of Section 7.4 (7) and Example 23.Completing the square. Basics: completing the squareThe domain: every real
Since , we get for every real . So the integrand is defined (and positive) for all .
A square root needs a non-negative inside. Completing the square shows this at a glance: the smallest value of the quadratic is 2, at .Put
Then and
A shift has , so becomes with no extra factor. Now the root has the shape with .Integration by substitution, Section 7.3.1. Basics: substitutionWhere formula 7.6.2 (ii) comes from
Let and . By parts with first function and second function 1:
By 7.4 (6) the last integral is . So , and
The derivative of is . Writing makes the original integral reappear, and we solve for it. The textbook does exactly this for formula (i) in Section 7.6.2 and says (ii) follows "similarly".Integration by parts, Section 7.6; formula 7.4 (6). Lesson: integration by partsApply it with and return to
With , :
Now and , so
Undo the substitution everywhere: is the completed square from Step 1, which is again. Note that is always positive (the root is bigger than ), so the modulus could be dropped here; the textbook keeps it, and it does no harm.Formula 7.6.2 (ii). Lesson: integration by partsCheck: differentiate the answer
Write and , so and . Then
Adding, over the common denominator :
, and dividing by leaves . Then with , so the numerator is . This works for every real .Product rule; chain rule; standard formula (xii), Section 7.2. Basics: logarithms and 1/x
valid for every real . (Textbook answer: , the same.)
By Section 7.8, for our answer , on any interval where the integrand is continuous. The middle column is a computer's sum of very many thin strips, found without our answer.
| Interval | Sum of thin strips | |
|---|---|---|
- Wrong leftover. , not : we add 4 to make the square, so we must subtract 4 again.
- Using instead of 1. Here , so the log has coefficient .
- Leaving in the answer. Replace by in all three places.
- Complete the square first; the sign pattern (, or ) picks the formula.
- equals plus , plus .
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Completing the square | Steps 1, 2 | Section 7.4 (7); Example 23 (Basics: completing the square) |
| Substitution | Step 3 | Section 7.3.1 |
| Integration by parts | Step 4 | Section 7.6 |
| Step 4 | Formula 7.4 (6) | |
| formula | Steps 4, 5 | Formula 7.6.2 (ii), Section 7.6.2 |
| Step 6 | Standard formula (xii), Section 7.2 | |
| Numerical check | Section 7.8 (Lesson: definite integrals) |
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 →