Skip to main content

3.2 Trigonometric Integrals

Updated March 2026Fiveable Content Team
Fiveable

➗Calculus II Unit 3 Review

QR code for Calculus II practice questions

3.2 Trigonometric Integrals

Trigonometric Integrals

Trigonometric integrals involve integrating products and powers of trig functions like sine, cosine, tangent, and secant. The core challenge is that you can't just use the power rule on something like sin⁡5xcos⁡2x\sin^5 x \cos^2 x. Instead, you need specific strategies depending on whether the powers are odd or even, and which trig functions are involved.

This section covers those strategies: Pythagorean identity tricks, half-angle formulas, product-to-sum conversions, and reduction formulas.

Integration of Sine and Cosine Products

The general form here is ∫sin⁡mxcos⁡nx dx\int \sin^m x \cos^n x \, dx. Your approach depends entirely on whether mm and nn are odd or even.

When at least one power is odd

If either mm or nn is odd, you can peel off one factor of that function to pair with dxdx, then convert everything remaining using the Pythagorean identity.

Steps (say nn is odd):

  1. Peel off one cos⁡x\cos x and set it aside with dxdx
  2. Rewrite the remaining cos⁡n−1x\cos^{n-1} x (now an even power) using cos⁡2x=1−sin⁡2x\cos^2 x = 1 - \sin^2 x
  3. Substitute u=sin⁡xu = \sin x, so du=cos⁡x dxdu = \cos x \, dx
  4. You now have a polynomial in uu that you can integrate with the power rule

The same logic works if mm is odd: peel off one sin⁡x\sin x, convert the rest using sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x, and substitute u=cos⁡xu = \cos x.

Example: For ∫sin⁡2xcos⁡3x dx\int \sin^2 x \cos^3 x \, dx, the cosine power (3) is odd. Peel off one cos⁡x\cos x, rewrite cos⁡2x=1−sin⁡2x\cos^2 x = 1 - \sin^2 x, and substitute u=sin⁡xu = \sin x.

When both powers are even

If both mm and nn are even, the Pythagorean identity won't help because it just trades one even power for another. Instead, use the half-angle formulas to reduce the powers:

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

Substitute these in, multiply out, and integrate. You may need to apply the half-angle formulas more than once if higher even powers remain.

Example: For ∫sin⁡2xcos⁡2x dx\int \sin^2 x \cos^2 x \, dx, replace both using half-angle formulas, then expand and simplify before integrating.

Integration of sine and cosine products, List of integrals of trigonometric functions - Wikipedia

Products with different arguments

For integrals like ∫sin⁡(mx)cos⁡(nx) dx\int \sin(mx) \cos(nx) \, dx where the arguments differ, use product-to-sum formulas:

  • sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)]\sin A \cos B = \frac{1}{2}[\sin(A+B) + \sin(A-B)]
  • cos⁡Asin⁡B=12[sin⁡(A+B)−sin⁡(A−B)]\cos A \sin B = \frac{1}{2}[\sin(A+B) - \sin(A-B)]
  • sin⁡Asin⁡B=12[cos⁡(A−B)−cos⁡(A+B)]\sin A \sin B = \frac{1}{2}[\cos(A-B) - \cos(A+B)]
  • cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]\cos A \cos B = \frac{1}{2}[\cos(A-B) + \cos(A+B)]

These convert the product into a sum of single trig functions, which you can integrate directly.

Integrals with Tangent and Secant

These follow a different set of strategies built around the identity tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1.

Powers of tangent: ∫tan⁡nx dx\int \tan^n x \, dx

For even powers, factor out tan⁡2x\tan^2 x and replace it with sec⁡2x−1\sec^2 x - 1. This breaks the integral into a piece with sec⁡2x\sec^2 x (which pairs nicely with u=tan⁡xu = \tan x) and a lower-power tangent integral.

For odd powers, the same identity works. Peel off a tan⁡2x\tan^2 x, replace with sec⁡2x−1\sec^2 x - 1, and repeat until you reduce to ∫tan⁡x dx=ln⁡∣sec⁡x∣+C\int \tan x \, dx = \ln|\sec x| + C.

Integration of sine and cosine products, Lists of integrals - Wikipedia, the free encyclopedia

Powers of secant: ∫sec⁡nx dx\int \sec^n x \, dx

Even powers are the easier case:

  1. Peel off sec⁡2x\sec^2 x and set it aside with dxdx
  2. Convert the remaining sec⁡n−2x\sec^{n-2} x using sec⁡2x=1+tan⁡2x\sec^2 x = 1 + \tan^2 x
  3. Substitute u=tan⁡xu = \tan x, so du=sec⁡2x dxdu = \sec^2 x \, dx

Odd powers (for n≥3n \geq 3) are harder and typically require integration by parts. The standard approach for ∫sec⁡3x dx\int \sec^3 x \, dx is a classic IBP problem worth memorizing:

∫sec⁡3x dx=12sec⁡xtan⁡x+12ln⁡∣sec⁡x+tan⁡x∣+C\int \sec^3 x \, dx = \frac{1}{2}\sec x \tan x + \frac{1}{2}\ln|\sec x + \tan x| + C

Products of secant and tangent: ∫sec⁡mxtan⁡nx dx\int \sec^m x \tan^n x \, dx

The strategy depends on the powers:

  • If nn is odd: Peel off sec⁡xtan⁡x\sec x \tan x (which is the derivative of sec⁡x\sec x), convert remaining tan⁡2x\tan^2 x factors to sec⁡2x−1\sec^2 x - 1, and substitute u=sec⁡xu = \sec x
  • If mm is even: Peel off sec⁡2x\sec^2 x (the derivative of tan⁡x\tan x), convert remaining sec⁡2x\sec^2 x factors to 1+tan⁡2x1 + \tan^2 x, and substitute u=tan⁡xu = \tan x

Reduction Formulas for Trigonometric Integrals

Reduction formulas let you express an integral with power nn in terms of the same integral with a lower power. They're derived using integration by parts and are especially useful for high powers.

Sine: ∫sin⁡nx dx=−1nsin⁡n−1xcos⁡x+n−1n∫sin⁡n−2x dx\int \sin^n x \, dx = -\frac{1}{n} \sin^{n-1} x \cos x + \frac{n-1}{n} \int \sin^{n-2} x \, dx

Cosine: ∫cos⁡nx dx=1ncos⁡n−1xsin⁡x+n−1n∫cos⁡n−2x dx\int \cos^n x \, dx = \frac{1}{n} \cos^{n-1} x \sin x + \frac{n-1}{n} \int \cos^{n-2} x \, dx

Tangent: ∫tan⁡nx dx=1n−1tan⁡n−1x−∫tan⁡n−2x dx\int \tan^n x \, dx = \frac{1}{n-1} \tan^{n-1} x - \int \tan^{n-2} x \, dx

Secant: ∫sec⁡nx dx=1n−1sec⁡n−2xtan⁡x+n−2n−1∫sec⁡n−2x dx\int \sec^n x \, dx = \frac{1}{n-1} \sec^{n-2} x \tan x + \frac{n-2}{n-1} \int \sec^{n-2} x \, dx

Each formula reduces the power by 2 (except tangent, which reduces by 2 as well since you go from nn to n−2n-2). You apply them repeatedly until you reach a base case you know:

  • ∫sin⁡x dx=−cos⁡x+C\int \sin x \, dx = -\cos x + C or ∫sin⁡0x dx=x+C\int \sin^0 x \, dx = x + C
  • ∫tan⁡x dx=ln⁡∣sec⁡x∣+C\int \tan x \, dx = \ln|\sec x| + C or ∫tan⁡0x dx=x+C\int \tan^0 x \, dx = x + C
  • ∫sec⁡x dx=ln⁡∣sec⁡x+tan⁡x∣+C\int \sec x \, dx = \ln|\sec x + \tan x| + C or ∫sec⁡2x dx=tan⁡x+C\int \sec^2 x \, dx = \tan x + C

Quick Strategy Summary

Integral TypeConditionStrategy
sin⁡mxcos⁡nx\sin^m x \cos^n xOne power oddPeel off one factor, Pythagorean identity, uu-sub
sin⁡mxcos⁡nx\sin^m x \cos^n xBoth powers evenHalf-angle formulas
sin⁡(mx)cos⁡(nx)\sin(mx)\cos(nx)Different argumentsProduct-to-sum formulas
tan⁡nx\tan^n xAny nnUse tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1 to reduce
sec⁡nx\sec^n xnn evenPeel off sec⁡2x\sec^2 x, sub u=tan⁡xu = \tan x
sec⁡nx\sec^n xnn oddIntegration by parts or reduction formula
sec⁡mxtan⁡nx\sec^m x \tan^n xnn oddPeel off sec⁡xtan⁡x\sec x \tan x, sub u=sec⁡xu = \sec x
sec⁡mxtan⁡nx\sec^m x \tan^n xmm evenPeel off sec⁡2x\sec^2 x, sub u=tan⁡xu = \tan x

See Fiveable more often in Google

Mark Fiveable as a preferred source and Google is more likely to show you our guides in Top Stories, with a "preferred" badge in AI Mode and AI Overviews.

Prefer us on Google