Decision guideCalculus IIIntermediate11 min read

How to choose an identity for a trigonometric integral

The parity of sine, cosine, secant, and tangent powers tells you what to save and what to convert.

sinmxcosnxdx\int\sin^m x\cos^n x\,dx
Decision guide

A practical comparison that turns a vague choice into a repeatable test.

Reviewed July 11, 2026
DecisionStart here

For sine and cosine, save one factor when a power is odd; use power-reduction identities when both are even. For secant and tangent, save sec² for tangent substitution or sec·tan for secant substitution.

01

Sine and cosine powers

An odd sine power lets you save one sin x and convert the remaining even power with sin²x = 1 − cos²x. Then u = cos x matches the saved differential.

If both powers are even, neither derivative is available directly, so half-angle identities reduce the powers.

02

Secant and tangent powers

An even secant power suggests saving sec²x and converting the rest with sec²x = 1 + tan²x. An odd tangent power often pairs with a saved sec x tan x after converting tangent squares.

Exceptional canonical integrals, especially sec³x, need their own integration-by-parts argument.

03

Identities should create a derivative

Do not expand trig expressions at random. The goal is to expose a factor that becomes du while expressing the rest in the matching variable.

Worked exampleUse an odd sine power

Evaluate ∫ sin³x cos²x dx.

1sin3x=sinx(1cos2x)\sin^3x=\sin x(1-\cos^2x)

Save one sine and convert the even remainder.

2u=cosx,du=sinxdxu=\cos x,\qquad du=-\sin x\,dx

The saved factor becomes the differential.

3(1u2)u2du-\int(1-u^2)u^2\,du

Integrate a polynomial in u.

Resultcos3x3+cos5x5+C\boxed{-\frac{\cos^3x}{3}+\frac{\cos^5x}{5}+C}
Watch for

Common mistakes

  1. Using a half-angle identity when an odd power already provides a substitution.
  2. Saving a factor but failing to convert every remaining trig function.
  3. Assuming all secant powers follow the same pattern as tangent powers.
Keep

Three takeaways

  1. Parity drives the first choice.
  2. Save a factor that becomes du.
  3. Use identities to convert the remaining expression to one trig function.