Integrals like $\int \sin^{3}x\cos^{2}x\,dx$ or $\int \sin^{2}x\,dx$ come up in physics, in Fourier series and inside trigonometric substitution. Two tools handle almost all of them: substitution with $u = \sin x$ or $u = \cos x$, and the power-reducing identities.
Why it works
Key idea
| Integrand | Save | Convert the rest with | Substitute |
|---|---|---|---|
| $\sin^{m}x\cos^{n}x$, $m$ odd | $\sin x\,dx$ | $\sin^{2}x = 1 - \cos^{2}x$ | $u = \cos x$ |
| $\sin^{m}x\cos^{n}x$, $n$ odd | $\cos x\,dx$ | $\cos^{2}x = 1 - \sin^{2}x$ | $u = \sin x$ |
| $\sin^{m}x\cos^{n}x$, both even | — | $\sin^{2}x = \frac{1 - \cos 2x}{2}$, $\cos^{2}x = \frac{1 + \cos 2x}{2}$ | — |
| $\tan^{m}x\sec^{n}x$, $n$ even | $\sec^{2}x\,dx$ | $\sec^{2}x = 1 + \tan^{2}x$ | $u = \tan x$ |
| $\tan^{m}x\sec^{n}x$, $m$ odd | $\sec x\tan x\,dx$ | $\tan^{2}x = \sec^{2}x - 1$ | $u = \sec x$ |
Worked example: An odd power of sine
- Save one $\sin x$: $\sin^{3}x = (1 - \cos^{2}x)\sin x$.
- Let $u = \cos x$, $du = -\sin x\,dx$: the integral becomes $-\int (1 - u^{2})u^{2}\,du = -\int (u^{2} - u^{4})\,du$.
- $$\begin{aligned} &= -\frac{u^{3}}{3} + \frac{u^{5}}{5} + C \\ &= -\frac{\cos^{3}x}{3} + \frac{\cos^{5}x}{5} + C. \end{aligned}$$
Answer: $-\frac{\cos^{3}x}{3} + \frac{\cos^{5}x}{5} + C$
Worked example: An even power
- $\int \frac{1 - \cos 2x}{2}\,dx = \frac{x}{2} - \frac{\sin 2x}{4} + C$.
- From 0 to $\pi$: $\frac{\pi}{2} - 0 - (0 - 0) = \frac{\pi}{2}$.
Answer: $\frac{x}{2} - \frac{\sin 2x}{4} + C$; the definite integral is $\frac{\pi}{2}$.
Worked example: Tangent and secant
- The power of $\tan x$ is odd: save $\sec x\tan x\,dx$, which is $d(\sec x)$.
- What is left is $\tan^{2}x = \sec^{2}x - 1$. With $u = \sec x$: $\int (u^{2} - 1)\,du = \frac{u^{3}}{3} - u + C$.
- $= \frac{\sec^{3}x}{3} - \sec x + C$.
Answer: $\frac{\sec^{3}x}{3} - \sec x + C$
Common mistake