Exercise 7.3 · Q22:
Find the integral of the function
Let .
Assuming , and multiplying and dividing by it,
Using ,
Dividing by , and using ,
, where .
The answer key's form needs ; if , the integral is .
Want the reason behind every step, the basics and the checks?
The constant is the difference of the two angles: . So multiply and divide by and expand with the subtraction formula. The product in the denominator then splits into , and each tangent integrates to a logarithm.
- Given
- , where , are constants; defined wherever and .
- To find
- .
- Plan
- (1) Domain, and the condition . (2) Write as and expand. (3) Multiply and divide by and split. (4) Integrate the tangents. (5) Differentiate back. (6) The case .
Basics you need
for all real , . Basics: trigonometric identities for integrals
(Section 7.3.1, result (i)), which is the same as . With , , the same holds for . Basics: logarithms and 1/x
for .
Solution
Where is the integrand defined, and what we assume
We need and , that is, and ( an integer). We work on an interval avoiding all these points.
The method divides by , so in Steps 2 to 5 we assume
The remaining case is treated in Step 6.
The textbook's answer has in a denominator, so it silently assumes this condition. Stating it, and covering the other case, makes the solution complete.Write using the two angles
Since ,
The denominator contains and . Expanding the sine of the difference of these two angles produces exactly those cosines in each term, which is what will let us cancel. Although appears inside, the left side is the constant .Multiply and divide by , then split
Write , a non-zero constant. Then
Replace the top by its expansion from Step 2 and split:
So
Multiplying by changes nothing (allowed because ). After the expansion, cancels in the first fraction and cancels in the second, which is valid because both are non-zero on our interval.Integrate the two tangents
By Section 7.3.1 (i), with the substitution (so ), , and likewise for . Hence
is a constant, so it stays outside (Property (IV)), and the difference is integrated term by term (Property (V)). The minus sign in front of turns into . Finally the two logarithms combine into the logarithm of a quotient., Section 7.3.1; Properties (IV), (V), Section 7.2.1. Lesson: integration by substitutionCheck: differentiate the answer back
By the chain rule,
and similarly for . Let be our answer without , and again . Then
The second line is the split of Step 3 read backwards (put the two tangents over the common denominator and use Step 2 for the numerator). This is the integrand, so the answer is correct whenever .
Chain rule (Theorem 4, Section 5.3.1); Property (I), Section 7.2.1. Basics: integration undoes differentiationThe excluded case
If , then , so . The integrand becomes , and
Here the two cosines are the same function up to sign, so no splitting is needed: standard formula (iv) with does it. This case is not covered by the textbook's formula, which would have in a denominator.; standard formula (iv), Section 7.2.
valid when , on any interval where and are non-zero. (If , the integral is .) (Textbook answer: .)
Take , , so . Let be the answer without and look near with :
- and .
- Slope estimate: .
- Integrand at : .
They agree.
- Using and then mixing up the signs. With you get and the answer , which is the same function. Choose one order and keep it.
- Treating as depending on . It is a constant, even when written as .
- Forgetting carries a minus sign.
- Ignoring the case . The formula then breaks down; the integral is a tangent instead.
- For or : multiply and divide by , written as the sine of the difference of the two angles.
- Multiplying by a cleverly chosen 1 is a standard way to split a product into a difference.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Steps 2, 5 | Class XI trigonometry (Basics: trigonometric identities) | |
| Step 3 | Definition | |
| Step 4 | Section 7.3.1, result (i) | |
| Constants out; of a linear combination | Step 4 | Properties (IV), (V), Section 7.2.1 |
| Step 4 | Laws of logarithms | |
| Chain rule | Step 5 | Theorem 4, Section 5.3.1 |
| Differentiation undoes integration | Step 5 | Property (I), Section 7.2.1 |
| ; | Step 6 | Class XI; standard formula (iv), 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 →