Integrating sin² x and cos² x
Using the double angle formulas to integrate sin²x and cos²x, integrals such as sin²(ax), the area of a circle by the substitution x = sin θ, and a summary of the standard integrals.
There is no chain-rule pattern for $\sin^2 x$: the derivative of $\sin x$ is missing. The trick is to rewrite the square using a trig identity so that no squares are left, and then it integrates in one line.
Squares of sine and cosine
From Year 11, $\cos2x = 1 - 2\sin^2 x = 2\cos^2 x - 1$. Rearrange each version:
Now each right side is a constant plus a plain cosine, which you can integrate:
$$\int \sin^2 x\,dx = \frac{x}{2} - \frac{\sin2x}{4} + C \qquad \int \cos^2 x\,dx = \frac{x}{2} + \frac{\sin2x}{4} + C$$
Evaluate $\displaystyle\int_0^{\pi/2} \sin^2 x\,dx$.
Find $\displaystyle\int \cos^2 3x\,dx$.
Other powers
$\tan^2 x$: use $\tan^2 x = \sec^2 x - 1$, so $\displaystyle\int \tan^2 x\,dx = \tan x - x + C$.
Odd powers: keep one factor aside and convert the rest with $\sin^2 x + \cos^2 x = 1$. Then the reverse chain rule finishes it.
Evaluate $\displaystyle\int_0^{\pi/2} \sin^3 x\,dx$.
A trigonometric substitution
The area under the semicircle $y = \sqrt{r^2 - x^2}$ should be $\tfrac12\pi r^2$. Calculus can now prove it.
Use $x = 2\sin\theta$ to evaluate $\displaystyle\int_0^2 \sqrt{4 - x^2}\,dx$.
Summary of the standard integrals
| Integrand | Primitive (plus $C$) |
|---|---|
| $\sin^2 ax$ | $\dfrac{x}{2} - \dfrac{\sin2ax}{4a}$ |
| $\cos^2 ax$ | $\dfrac{x}{2} + \dfrac{\sin2ax}{4a}$ |
| $\tan^2 x$ | $\tan x - x$ |
| $\dfrac{1}{\sqrt{a^2 - x^2}}$ | $\sin^{-1}\dfrac{x}{a}$ |
| $\dfrac{1}{a^2 + x^2}$ | $\dfrac1a\tan^{-1}\dfrac{x}{a}$ |
Your turn
Evaluate $\displaystyle\int_0^{\pi/4} \tan^2 x\,dx$ exactly.
Show the working
$\displaystyle\int_0^{\pi/4} (\sec^2 x - 1)\,dx = \Big[\tan x - x\Big]_0^{\pi/4} = 1 - \dfrac{\pi}{4}$.
Which identity is correct?
From $\cos2x = 1 - 2\sin^2 x$: $2\sin^2 x = 1 - \cos2x$, so $\sin^2 x = \tfrac12(1 - \cos2x)$. Option 1 is $\cos^2 x$.
Evaluate $\displaystyle\int_0^{\pi} \sin^2 x\,dx$, correct to $2$ decimal places.
$\left[\tfrac{x}{2} - \tfrac{\sin2x}{4}\right]_0^{\pi} = \tfrac{\pi}{2} - 0 \approx 1.57$.
Evaluate $\displaystyle\int_0^{\pi/4} \cos^2 x\,dx$, correct to $2$ decimal places.
$\left[\tfrac{x}{2} + \tfrac{\sin2x}{4}\right]_0^{\pi/4} = \tfrac{\pi}{8} + \tfrac14 \approx 0.393 + 0.25 = 0.64$.
$\displaystyle\int \cos^2 3x\,dx =$
$\cos^2 3x = \tfrac12(1 + \cos6x)$, and $\displaystyle\int \tfrac12\cos6x\,dx = \tfrac{\sin6x}{12}$.
Evaluate $\displaystyle\int_0^{\pi/6} \sin^2 2x\,dx$, correct to $2$ decimal places.
$\sin^2 2x = \tfrac12(1 - \cos4x)$, with primitive $\tfrac{x}{2} - \tfrac{\sin4x}{8}$. Value: $\tfrac{\pi}{12} - \tfrac{\sin(2\pi/3)}{8} = 0.2618 - 0.1083 \approx 0.15$.
Evaluate $\displaystyle\int_0^{\pi/2} \sin^3 x\,dx$, correct to $2$ decimal places.
$\sin^3 x = \sin x - \sin x\cos^2 x$, with primitive $-\cos x + \tfrac13\cos^3 x$. Value: $0 - \left(-1 + \tfrac13\right) = \tfrac23 \approx 0.67$.
Evaluate $\displaystyle\int_0^{\pi/3} \tan^2 x\,dx$, correct to $2$ decimal places.
$\tan^2 x = \sec^2 x - 1$, so the value is $\Big[\tan x - x\Big]_0^{\pi/3} = \sqrt3 - \tfrac{\pi}{3} \approx 1.732 - 1.047 = 0.68$.
Which of these is not a primitive of $\sin x\cos x$?
The derivative of $\tfrac12\sin2x$ is $\cos2x$, not $\sin x\cos x$. The other three differ from each other only by constants (for example $\tfrac12\sin^2 x = \tfrac14 - \tfrac14\cos2x$), so all are valid primitives.
Exam style: use $x = 3\sin\theta$ to evaluate $\displaystyle\int_0^3 \sqrt{9 - x^2}\,dx$, correct to $2$ decimal places.
$dx = 3\cos\theta\,d\theta$, limits $0$ to $\tfrac{\pi}{2}$, and $\sqrt{9 - 9\sin^2\theta} = 3\cos\theta$. The integral becomes $9\displaystyle\int_0^{\pi/2} \cos^2\theta\,d\theta = 9 \times \tfrac{\pi}{4} = \tfrac{9\pi}{4} \approx 7.07$, a quarter of a circle of radius $3$.
Exam style: the region under $y = \sin x$ from $x = 0$ to $x = \pi$ is rotated about the $x$-axis. The volume is $\pi\displaystyle\int_0^{\pi} \sin^2 x\,dx$. Find it correct to $2$ decimal places.
$\displaystyle\int_0^{\pi} \sin^2 x\,dx = \tfrac{\pi}{2}$, so the volume is $\pi \times \tfrac{\pi}{2} = \tfrac{\pi^2}{2} \approx 4.93$.
Coaching Centre