Exercise 7.7 · Q8:
Integrate the function
Let .
Put . Then .
Using
.
Want the reason behind every step, the basics and the checks?
There is no constant term, but completing the square still works and creates one:
That is "square minus " with , so after formula 7.6.2 (i) applies, with the log term subtracted.
- 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 . (5) Return to . (6) Differentiate back.
Basics you need
Half the coefficient of is ; its square is . Add and subtract . Basics: completing the square
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
. We added , so we subtract it again. The leftover is negative: shape with .Completing the square, Section 7.4 (7). Basics: completing the squareThe domain
We need :
A product of two factors is when both have the same sign (or one is 0): both gives ; both gives . Equivalently . For the integrand is not real.Put
Then and
A shift has derivative 1, so .Integration by substitution, Section 7.3.1. Basics: substitutionApply 7.6.2 (i) with
Here and :
. The log term is subtracted because the root is "square minus ".Formula 7.6.2 (i). Lesson: integration by partsReturn to
With : and . So
. The modulus is needed: for , and the root is smaller than , so the inside of the log is negative there. It is never 0 (that would need after squaring).Check: differentiate the answer
Write , , so where . Then
So the derivative of our answer is, since ,
and , so the numerator is . This holds on both pieces, and ; 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 | |
|---|---|---|
- "No constant, so no completing the square." The constant appears when you complete the square: .
- Coefficient or in front of the log. It is .
- Writing . The log contains , not .
- Even with no constant is completed to .
- Square minus a positive number: formula 7.6.2 (i), log subtracted, domain in two pieces.
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 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 →