Integrating Trigonometric Powers

Use parity and identities to turn trigonometric products into substitutions or simpler frequencies.

Builds on Integration by Parts

The bigger question: Which integration method fits this structure?

On this page

Look for a derivative pair

For a product of sine and cosine powers, the exponents suggest a useful substitution. An odd sine power can supply a factor sin⁡x dx\sin x\,dx for u=cos⁡xu=\cos x. An odd cosine power can supply cos⁡x dx\cos x\,dx for u=sin⁡xu=\sin x. Rewrite the remaining even power with sin⁡2x+cos⁡2x=1\sin^2x+\cos^2x=1.

When both powers are even, half-angle identities reduce the exponents:

sin⁡2x=1−cos⁡2x2,\sin^2x=\frac{1-\cos2x}{2}, cos⁡2x=1+cos⁡2x2.\cos^2x=\frac{1+\cos2x}{2}.

These transformations come from the double-angle formulas. They change the integrand algebraically; no approximation is involved.

Visual guide

VISUAL GUIDEUse symmetry and a double-angle identity
The identity sin²x = (1 − cos 2x)/2 shows a nonnegative wave centered at 1/2. Over [0, π], the oscillating part cancels, leaving area π/2.0-0.20.7850.151.570.52.360.853.141.2xy
  • sin²x
  • Mean level 1/2
The identity sin²x = (1 − cos 2x)/2 shows a nonnegative wave centered at 1/2. Over [0, π], the oscillating part cancels, leaving area π/2.

Worked example: an odd power

For ∫sin⁡3xcos⁡2x dx\int\sin^3x\cos^2x\,dx, retain one sine factor and replace the other two:

sin⁡3xcos⁡2x=sin⁡x(1−cos⁡2x)cos⁡2x.\sin^3x\cos^2x=\sin x(1-\cos^2x)\cos^2x.

Let u=cos⁡xu=\cos x, so du=−sin⁡x dxdu=-\sin x\,dx. The integral becomes −∫(u2−u4)du=−u3/3+u5/5+C-\int(u^2-u^4)du=-u^3/3+u^5/5+C. Returning to xx gives −cos⁡3x/3+cos⁡5x/5+C-\cos^3x/3+\cos^5x/5+C. The negative sign originates in the cosine derivative.

PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

For ∫sin³x cos x dx, which substitution works directly?

Hint 1 · Find a starting point

Look for a factor whose derivative already appears.

Hint 2 · Take the next step

d(sin x)=cos x dx.

Show the reasoning

Answer: u=sin x

The integral becomes ∫u³ du = u⁴/4+C.

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

Worked example: two even powers

Since sin⁡2xcos⁡2x=14sin⁡2(2x)=18(1−cos⁡4x)\sin^2x\cos^2x=\tfrac14\sin^2(2x)=\tfrac18(1-\cos4x),

∫sin⁡2xcos⁡2x dx=x8−sin⁡4x32+C.\int\sin^2x\cos^2x\,dx=\frac{x}{8}-\frac{\sin4x}{32}+C.

The frequency 44 produces the extra denominator when integrating cosine. Missing that factor is easy to detect by differentiation.

Tangent and secant patterns

For tan⁡mxsec⁡nx\tan^m x\sec^n x, an even positive secant power can provide sec⁡2x dx\sec^2x\,dx for u=tan⁡xu=\tan x, using sec⁡2x=1+tan⁡2x\sec^2x=1+\tan^2x. An odd positive tangent power together with at least one secant factor can provide sec⁡xtan⁡x dx\sec x\tan x\,dx for u=sec⁡xu=\sec x.

For example, ∫tan⁡2xsec⁡2x dx=tan⁡3x/3+C\int\tan^2x\sec^2x\,dx=\tan^3x/3+C. These patterns do not cover every combination; ∫sec⁡x dx=ln⁡∣sec⁡x+tan⁡x∣+C\int\sec x\,dx=\ln|\sec x+\tan x|+C is a useful separate identity, and some cases need integration by parts. All formulas are used on intervals avoiding poles.

Practice

  1. Integrate sin⁡xcos⁡4x\sin x\cos^4x.
  2. Evaluate ∫0πsin⁡2x dx\int_0^\pi\sin^2x\,dx.
  3. Integrate tan⁡3xsec⁡2x\tan^3x\sec^2x.
Show worked solutions
  1. u=cos⁡xu=\cos x gives −cos⁡5x/5+C-\cos^5x/5+C.
  2. The half-angle identity gives [x/2−sin⁡2x/4]0π=π/2[x/2-\sin2x/4]_0^\pi=\pi/2.
  3. u=tan⁡xu=\tan x gives tan⁡4x/4+C\tan^4x/4+C on any interval where tangent is defined.
MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →