Leave lesson

Pure · Integration

1 / 9

Integrating with trigonometric identities

Integrals like sin²x, cos²x and tan²x that have no direct rule — rewritten with the double-angle and Pythagorean identities into things you can integrate term by term.

Pure · Integration

Integrating with trigonometric identities

Integrals like sin²x, cos²x and tan²x that have no direct rule — rewritten with the double-angle and Pythagorean identities into things you can integrate term by term.

Why it works

There is no entry in the integral table for sin2x\sin^2 x, and you cannot just "reverse a derivative" to find one — sin2xdx\int \sin^2 x\,dx is not 13sin3x\tfrac13\sin^3 x (try differentiating that and you get sin2xcosx\sin^2 x\cos x, not sin2x\sin^2 x). The way through is to rewrite the integrand using a trig identity until every term is something you can integrate.

Squares of sine and cosine come from rearranging the double-angle identities for cos2x\cos 2x: cos2x=12sin2x    sin2x=12(1cos2x),\cos 2x = 1 - 2\sin^2 x \;\Rightarrow\; \sin^2 x = \tfrac12(1 - \cos 2x), cos2x=2cos2x1    cos2x=12(1+cos2x).\cos 2x = 2\cos^2 x - 1 \;\Rightarrow\; \cos^2 x = \tfrac12(1 + \cos 2x). The right-hand sides are just a constant plus a multiple of cos2x\cos 2x — both standard integrals. So sin2xdx=12(1cos2x)dx=12x14sin2x+c.\int \sin^2 x\,dx = \int \tfrac12(1 - \cos 2x)\,dx = \tfrac12 x - \tfrac14\sin 2x + c.

tan2x\tan^2 x uses the Pythagorean identity sec2x=1+tan2x\sec^2 x = 1 + \tan^2 x, so tan2x=sec2x1\tan^2 x = \sec^2 x - 1, giving tan2xdx=(sec2x1)dx=tanxx+c.\int \tan^2 x\,dx = \int (\sec^2 x - 1)\,dx = \tan x - x + c.

The general move is always the same: if you can't integrate it, reach for an identity that turns it into something you can — a double-angle identity to kill a square, a Pythagorean identity to swap tan2\tan^2 for sec2\sec^2, or a product-to-double- angle step such as 2sinxcosx=sin2x2\sin x\cos x = \sin 2x.