Let an identity do the work
Rewrite powers and products of sin and cos as sums we can integrate.
A square of cos
Our table has ∫ cos x dx, but not ∫ cos²x dx. A square is hard to integrate directly.
What could turn cos²x into something easy?
What this lesson covers
The idea
When the integrand has powers or products of trigonometric functions, rewrite it with identities (e.g. cos²x = (1 + cos 2x)/2, 2 sin A cos B = sin(A + B) + sin(A − B)) into terms that can be integrated directly.
A square of cos
Our table has ∫ cos x dx, but not ∫ cos²x dx. A square is hard to integrate directly.
What could turn cos²x into something easy?
- An identity with cos 2x
- Squaring sin x instead
- ∫ cos²x dx = (∫ cos x dx)²
Pick the identity
For each integral, choose the identity that turns it into a sum of simple terms. These are the book's Example 7.
Identities first, then integrate
When the integrand involves trigonometric functions, use a known identity to rewrite it as a sum of terms we can integrate directly.
The book also does ∫ sin³x dx another way: sin³x = (1 − cos²x) sin x, then t = cos x. It gets −cos x + (1/3) cos³x + C, and remarks that both answers are equivalent.
- Rewrite | as
- cos²x | (1 + cos 2x)/2
- sin²x | (1 − cos 2x)/2
- 2 sin A cos B | sin (A + B) + sin (A − B)
- sin³x | (3 sin x − sin 3x)/4
Notes
For powers and products of sin and cos, rewrite with an identity first: cos²x = (1 + cos 2x)/2, sin²x = (1 − cos 2x)/2, 2 sin A cos B = sin (A + B) + sin (A − B). Then integrate term by term.
Check yourself
Which identity lets you integrate sin²x?
Exercise 7.3, Q2: ∫ sin 3x cos 4x dx = −(1/k) cos 7x + (1/2) cos x + C. Find k.
Answer: 14
∫ sin 3x cos 4x dx = 1/2 [∫ sin 7x dx − ∫ sin x dx] = 1/2 [−(1/7) cos 7x + cos x] + C = −(1/14) cos 7x + (1/2) cos x + C.
Exercise 7.3, Q1: ∫ sin²(2x + 5) dx = ?
Exercise 7.3, Q23: ∫ (sin²x − cos²x)/(sin²x cos²x) dx = ?
- sin²x + cos²x = 1. That swaps sin²x for another square, cos²x.
- sin 2x = 2 sin x cos x. It has no sin²x in it.
- sin²x = (1 − cos 2x)/2 — correct. Yes! Then ∫ sin²x dx = x/2 − (1/4) sin 2x + C.
- sin²x = (1 + cos 2x)/2. That is cos²x. For sin²x the sign is minus.
- x/2 − (1/8) sin (4x + 10) + C — correct. Yes! sin²(2x + 5) = [1 − cos (4x + 10)]/2, and ∫ cos (4x + 10) dx = (1/4) sin (4x + 10).
- x/2 − (1/4) sin (4x + 10) + C. ∫ cos (4x + 10) dx = (1/4) sin (4x + 10); with the 1/2 in front that is 1/8.
- x/2 + (1/8) sin (4x + 10) + C. sin² uses 1 − cos, so the sign is minus.
- (1/3) sin³(2x + 5) + C. Differentiate it: you get 2 sin²(2x + 5) cos (2x + 5), not sin²(2x + 5).
- tan x + cosec x + C. Split the fraction: 1/cos²x − 1/sin²x = sec²x − cosec²x.
- tan x + cot x + C — correct. Yes! The integrand is sec²x − cosec²x, and ∫ sec²x dx = tan x, ∫ cosec²x dx = −cot x.
- −tan x + cot x + C. ∫ sec²x dx = +tan x.
- tan x + sec x + C. Split the fraction: you get sec²x − cosec²x.