Exercise 7.7 · Q6:
Integrate the function
Let .
Put . Then .
Using
.
Want the reason behind every step, the basics and the checks?
Completing the square gives , a square minus a square. After this is with , and formula 7.6.2 (i) gives the answer, with the log term subtracted. The leftover is a perfect square here (), so is a whole number.
- Given
- The integrand .
- To find
- , and where the answer is valid.
- Plan
- (1) Complete the square. (2) Find the domain. (3) Put . (4) Apply 7.6.2 (i) with and return to . (5) Differentiate back.
Basics you need
For , equals , plus ; derived by parts in Section 7.6.2 (see also Exercise 7.7 Q4). Lesson: integration by parts
Solution
Complete the square
Half of 4 is 2 and . We added 4 to complete the square, so we subtract it again: . The leftover is negative, so the shape is with .Completing the square, Section 7.4 (7). Basics: completing the squareThe domain
We need , that is :
gives ; gives . The same comes from factorising: , which is outside the roots and . For the integrand is not real.Put
Then and
A shift has derivative 1, so ; the domain becomes .Integration by substitution, Section 7.3.1. Basics: substitutionApply 7.6.2 (i) with and return to
With and :
. The modulus matters: for , and the root is smaller than , so the expression inside the log is negative. It is never 0, because would give on squaring.Formula 7.6.2 (i). Lesson: integration by partsCheck: differentiate the answer
Write , , so where . Then
So the derivative of our answer is
, so , and is the integrand. This works on both pieces of the domain (for and for ); at and the integrand is 0 and the answer's one-sided slope is 0 too.Product rule; chain rule; standard formula (xii), Section 7.2. Basics: logarithms and 1/x
valid for and for . (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. One interval is taken on each piece of the domain:
| Interval | Sum of thin strips | |
|---|---|---|
- Leftover instead of . After adding 4 we must subtract 4: .
- Adding the log term. For a square minus , formula 7.6.2 (i) subtracts .
- Coefficient instead of . The coefficient is with , not .
- Complete the square, read off the sign pattern, then pick 7.6.2 (i), (ii) or (iii).
- The domain of is : two pieces; the answer works on both.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Completing the square | Steps 1, 2 | Section 7.4 (7) (Basics: completing the square) |
| Substitution | Step 3 | Section 7.3.1 |
| formula | Step 4 | Formula 7.6.2 (i), Section 7.6.2 |
| Step 5 | 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 →