No standard result integrates $\sin^2x$, $\cos^2x$ or $\tan^2x$ directly — rewrite them first using a double-angle identity, and the integral becomes routine.
9 min read4 worked examples
Why identities are needed here
None of the standard results or the reverse chain rule can integrate $\sin^2x$: there's no function whose derivative is $\sin^2x$ sitting readily to hand. The fix is algebraic, not new calculus — use a trig identity to rewrite the integrand as something that is directly integrable, usually a constant plus a single sine or cosine term.
The double-angle rewrites
The double-angle identity $\cos2x = 1-2\sin^2x$ rearranges to give $\sin^2x$ in terms of $\cos2x$; the version $\cos2x=2\cos^2x-1$ does the same for $\cos^2x$.
Once rewritten this way, each term integrates using the standard results and the $f(ax+b)$ rule from earlier in this unit: the constant term gives a multiple of $x$, and the $\cos2x$ term gives a multiple of $\sin2x$.
Also useful
$\tan^2x = \sec^2x-1$, from rearranging $\sin^2x+\cos^2x=1$ (divide through by $\cos^2x$). This converts $\tan^2x$ — not directly integrable — into $\sec^2x-1$, which is.
Worked example 1
Integrating sin²x
Find $\displaystyle\int \sin^2x\,dx$.
MethodRewrite using the double-angle identity, then integrate term by term
1
$\sin^2x = \dfrac{1-\cos2x}{2}$.
Apply the double-angle rewrite — there's no direct standard result for sin²x.
Integrate each term using the f(ax+b) result, with a = 4 and a = 2 respectively.
▪ solved
A product no other technique reaches
Neither the reverse chain rule nor a direct double-angle rewrite applies to a product of two different-angle trig functions like $\sin3x\cos x$ — the sum-formula rewrite is the only route in, converting a product into a sum of two separately integrable terms.
Common mistake
Trying to integrate $\sin^2x$ or $\cos^2x$ directly with the power rule, treating them like $x^2$. Powers of trig functions don't obey the power rule — the double-angle rewrite has to come first, every time, before any integration happens.