TExcelTAD
Home › School Calculus: Limits, Derivatives & Integrals › Integrating Trigonometric Powers and Reductions

Integrating Trigonometric Powers and Reductions

Trigonometric integrals involving powers and products of sine, cosine, tangent, and secant appear throughout physics, structural engineering, signal analysis, and advanced geometry. While simple trigonometric antiderivatives such as ∫cos⁡x dx=sin⁡x+C\int \cos x \, dx = \sin x + C are solved immediately from memory, composite products such as ∫sin⁡3xcos⁡2x dx\int \sin^3 x \cos^2 x \, dx or ∫sin⁡4x dx\int \sin^4 x \, dx require systematic algebraic transformation before any antiderivative can be found.

On paper, every trigonometric power integral can be solved by following a clear decision tree that pairs Pythagorean identities with either uu-substitution or power-reduction (half-angle) identities.


1. Concepts & The Paper Decision Tree

Products of Sine and Cosine: ∫sin⁡mxcos⁡nx dx\int \sin^m x \cos^n x \, dx

When evaluating integrals of the form ∫sin⁡mxcos⁡nx dx\int \sin^m x \cos^n x \, dx where m,n∈N0m, n \in \mathbb{N}_0, examine the parity (odd or even) of the exponents:

Case 1: Exponent of sin⁡x is odd (m=2k+1)  ⟹  Split off sin⁡x dx and set u=cos⁡xCase 2: Exponent of cos⁡x is odd (n=2k+1)  ⟹  Split off cos⁡x dx and set u=sin⁡xCase 3: Both exponents are even (m,n both even)  ⟹  Use power-reducing half-angle formulas\begin{aligned} \text{Case 1: Exponent of } \sin x \text{ is odd } (m = 2k + 1) &\implies \text{Split off } \sin x \, dx \text{ and set } u = \cos x \\ \text{Case 2: Exponent of } \cos x \text{ is odd } (n = 2k + 1) &\implies \text{Split off } \cos x \, dx \text{ and set } u = \sin x \\ \text{Case 3: Both exponents are even } (m, n \text{ both even}) &\implies \text{Use power-reducing half-angle formulas} \end{aligned}
PatternAlgebraic Identity UsedSubstitution on Papersin⁡x has odd powersin⁡2x=1−cos⁡2xu=cos⁡x,du=−sin⁡x dxcos⁡x has odd powercos⁡2x=1−sin⁡2xu=sin⁡x,du=cos⁡x dxBoth powers evensin⁡2x=1−cos⁡2x2,cos⁡2x=1+cos⁡2x2No substitution; expand and reduce\begin{array}{|l|l|l|} \hline \textbf{Pattern} & \textbf{Algebraic Identity Used} & \textbf{Substitution on Paper} \\ \hline \sin x \text{ has odd power} & \sin^2 x = 1 - \cos^2 x & u = \cos x, \quad du = -\sin x \, dx \\ \hline \cos x \text{ has odd power} & \cos^2 x = 1 - \sin^2 x & u = \sin x, \quad du = \cos x \, dx \\ \hline \text{Both powers even} & \sin^2 x = \frac{1 - \cos 2x}{2}, \quad \cos^2 x = \frac{1 + \cos 2x}{2} & \text{No substitution; expand and reduce} \\ \hline \end{array}

Products of Tangent and Secant: ∫tan⁡mxsec⁡nx dx\int \tan^m x \sec^n x \, dx

For tangent and secant combinations, recall the derivative pairs:

  • ddx(tan⁡x)=sec⁡2x\frac{d}{dx}(\tan x) = \sec^2 x
  • ddx(sec⁡x)=sec⁡xtan⁡x\frac{d}{dx}(\sec x) = \sec x \tan x
  • Fundamental identity: 1+tan⁡2x=sec⁡2x  ⟺  tan⁡2x=sec⁡2x−11 + \tan^2 x = \sec^2 x \iff \tan^2 x = \sec^2 x - 1
Power of sec⁡x is even (n=2k)  ⟹  Save sec⁡2x dx, convert rest to tan⁡x, set u=tan⁡xPower of tan⁡x is odd (m=2k+1)  ⟹  Save sec⁡xtan⁡x dx, convert rest to sec⁡x, set u=sec⁡x\begin{aligned} \text{Power of } \sec x \text{ is even } (n = 2k) &\implies \text{Save } \sec^2 x \, dx, \text{ convert rest to } \tan x, \text{ set } u = \tan x \\ \text{Power of } \tan x \text{ is odd } (m = 2k + 1) &\implies \text{Save } \sec x \tan x \, dx, \text{ convert rest to } \sec x, \text{ set } u = \sec x \end{aligned}

2. Essential Formula Reference Box

Pythagorean Identities:sin⁡2x+cos⁡2x=1tan⁡2x+1=sec⁡2xPower-Reducing (Half-Angle):sin⁡2x=1−cos⁡2x2cos⁡2x=1+cos⁡2x2Product-to-Sum Identities:sin⁡xcos⁡x=12sin⁡2xsin⁡Acos⁡B=12[sin⁡(A−B)+sin⁡(A+B)]cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]sin⁡Asin⁡B=12[cos⁡(A−B)−cos⁡(A+B)]\begin{aligned} \textbf{Pythagorean Identities:} & \quad \sin^2 x + \cos^2 x = 1 \\ & \quad \tan^2 x + 1 = \sec^2 x \\ \textbf{Power-Reducing (Half-Angle):} & \quad \sin^2 x = \frac{1 - \cos 2x}{2} \\ & \quad \cos^2 x = \frac{1 + \cos 2x}{2} \\ \textbf{Product-to-Sum Identities:} & \quad \sin x \cos x = \frac{1}{2}\sin 2x \\ & \quad \sin A \cos B = \frac{1}{2}[\sin(A - B) + \sin(A + B)] \\ & \quad \cos A \cos B = \frac{1}{2}[\cos(A - B) + \cos(A + B)] \\ & \quad \sin A \sin B = \frac{1}{2}[\cos(A - B) - \cos(A + B)] \end{aligned}

3. Step-by-Step Paper Notebook Method

Step 1: Diagnose the exponents

Identify whether any exponent is odd or if all exponents are even. If both are odd, you may choose whichever substitution is simpler (usually the one with the smaller odd power).

Step 2: Separate the differential factor

Physically peel away one factor of sin⁡x dx\sin x \, dx, cos⁡x dx\cos x \, dx, sec⁡2x dx\sec^2 x \, dx, or sec⁡xtan⁡x dx\sec x \tan x \, dx on the right side of the integrand.

Step 3: Rewrite the remaining even powers

Use sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x or cos⁡2x=1−sin⁡2x\cos^2 x = 1 - \sin^2 x to write everything else in terms of your designated variable uu.

Step 4: Substitute and integrate the polynomial

Replace expressions with uu and dudu. Integrate term-by-term using the elementary power rule ∫uk du=uk+1k+1\int u^k \, du = \frac{u^{k+1}}{k+1}.

Step 5: Back-substitute into xx and append +C+ C

Replace uu with the original trigonometric function and verify the result by differentiation on rough paper.


4. Worked Paper Examples

Example 1: Odd Power of Sine (m=3m = 3, n=2n = 2)

Problem: Evaluate the indefinite integral:

∫sin⁡3xcos⁡2x dx\int \sin^3 x \cos^2 x \, dx

Step 1: Diagnose and peel off differential factor. The power of sin⁡x\sin x is odd (33). Peel off one factor of sin⁡x\sin x:

∫sin⁡3xcos⁡2x dx=∫sin⁡2xcos⁡2x⋅(sin⁡x dx)\int \sin^3 x \cos^2 x \, dx = \int \sin^2 x \cos^2 x \cdot (\sin x \, dx)

Step 2: Convert remaining even powers of sine to cosine. Using sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x:

∫(1−cos⁡2x)cos⁡2x⋅(sin⁡x dx)\int (1 - \cos^2 x) \cos^2 x \cdot (\sin x \, dx)

Step 3: Define uu-substitution. Let u=cos⁡xu = \cos x. Then:

du=−sin⁡x dx  ⟹  sin⁡x dx=−dudu = -\sin x \, dx \implies \sin x \, dx = -du

Step 4: Transform to a polynomial in uu.

∫(1−u2)u2(−du)=−∫(u2−u4) du=∫(u4−u2) du\begin{aligned} \int (1 - u^2) u^2 (-du) &= -\int (u^2 - u^4) \, du \\ &= \int (u^4 - u^2) \, du \end{aligned}

Step 5: Integrate term-by-term.

∫(u4−u2) du=u55−u33+C\int (u^4 - u^2) \, du = \frac{u^5}{5} - \frac{u^3}{3} + C

Step 6: Back-substitute u=cos⁡xu = \cos x.

∫sin⁡3xcos⁡2x dx=cos⁡5x5−cos⁡3x3+C\int \sin^3 x \cos^2 x \, dx = \frac{\cos^5 x}{5} - \frac{\cos^3 x}{3} + C

Example 2: Both Powers Even (m=2m = 2, n=2n = 2)

Problem: Evaluate the indefinite integral:

∫sin⁡2xcos⁡2x dx\int \sin^2 x \cos^2 x \, dx

Step 1: Diagnose. Both powers are even (m=2,n=2m = 2, n = 2). Substitution cannot be applied directly. We must use power-reduction identities.

Step 2: Apply the double-angle identity. Notice that sin⁡xcos⁡x=12sin⁡2x\sin x \cos x = \frac{1}{2}\sin 2x. Therefore:

sin⁡2xcos⁡2x=(sin⁡xcos⁡x)2=(12sin⁡2x)2=14sin⁡22x\sin^2 x \cos^2 x = (\sin x \cos x)^2 = \left(\frac{1}{2}\sin 2x\right)^2 = \frac{1}{4}\sin^2 2x

Step 3: Apply the half-angle formula to sin⁡22x\sin^2 2x. Using sin⁡2θ=1−cos⁡2θ2\sin^2 \theta = \frac{1 - \cos 2\theta}{2} with θ=2x\theta = 2x:

sin⁡22x=1−cos⁡(4x)2\sin^2 2x = \frac{1 - \cos(4x)}{2}

Substitute this into the integrand:

sin⁡2xcos⁡2x=14⋅(1−cos⁡4x2)=18(1−cos⁡4x)\sin^2 x \cos^2 x = \frac{1}{4} \cdot \left(\frac{1 - \cos 4x}{2}\right) = \frac{1}{8}(1 - \cos 4x)

Step 4: Integrate term-by-term on paper.

∫sin⁡2xcos⁡2x dx=∫18(1−cos⁡4x) dx=18∫1 dx−18∫cos⁡4x dx=18x−18(sin⁡4x4)+C=x8−sin⁡4x32+C\begin{aligned} \int \sin^2 x \cos^2 x \, dx &= \int \frac{1}{8}(1 - \cos 4x) \, dx \\ &= \frac{1}{8} \int 1 \, dx - \frac{1}{8} \int \cos 4x \, dx \\ &= \frac{1}{8}x - \frac{1}{8} \left(\frac{\sin 4x}{4}\right) + C \\ &= \frac{x}{8} - \frac{\sin 4x}{32} + C \end{aligned}

Example 3: Tangent and Secant Combination (∫tan⁡3xsec⁡3x dx\int \tan^3 x \sec^3 x \, dx)

Problem: Evaluate the indefinite integral:

∫tan⁡3xsec⁡3x dx\int \tan^3 x \sec^3 x \, dx

Step 1: Diagnose. The power of tan⁡x\tan x is odd (33). Peel off sec⁡xtan⁡x dx\sec x \tan x \, dx to prepare for u=sec⁡xu = \sec x:

∫tan⁡3xsec⁡3x dx=∫tan⁡2xsec⁡2x⋅(sec⁡xtan⁡x dx)\int \tan^3 x \sec^3 x \, dx = \int \tan^2 x \sec^2 x \cdot (\sec x \tan x \, dx)

Step 2: Convert tan⁡2x\tan^2 x into secants. Using tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1:

∫(sec⁡2x−1)sec⁡2x⋅(sec⁡xtan⁡x dx)\int (\sec^2 x - 1) \sec^2 x \cdot (\sec x \tan x \, dx)

Step 3: Substitute u=sec⁡xu = \sec x. Then du=sec⁡xtan⁡x dxdu = \sec x \tan x \, dx:

∫(u2−1)u2 du=∫(u4−u2) du=u55−u33+C\begin{aligned} \int (u^2 - 1) u^2 \, du &= \int (u^4 - u^2) \, du \\ &= \frac{u^5}{5} - \frac{u^3}{3} + C \end{aligned}

Step 4: Back-substitute u=sec⁡xu = \sec x.

∫tan⁡3xsec⁡3x dx=sec⁡5x5−sec⁡3x3+C\int \tan^3 x \sec^3 x \, dx = \frac{\sec^5 x}{5} - \frac{\sec^3 x}{3} + C

5. Common Mistakes & Paper Traps

[!WARNING]

  1. The Forgotten Negative Sign with Cosine Substitution: When setting u=cos⁡xu = \cos x, remember that du=−sin⁡x dxdu = -\sin x \, dx. Forgetting the minus sign when replacing sin⁡x dx\sin x \, dx leads to an exact sign reversal in the final answer.
  2. Double-Angle Squaring Errors: When squaring (1−cos⁡2x2)2\left(\frac{1 - \cos 2x}{2}\right)^2, students frequently write 1−cos⁡22x4\frac{1 - \cos^2 2x}{4}, forgetting the middle cross term −2cos⁡2x-2\cos 2x. The correct expansion is 1−2cos⁡2x+cos⁡22x4\frac{1 - 2\cos 2x + \cos^2 2x}{4}.
  3. Applying Power Reduction When an Odd Power Exists: If an odd power is present, such as in ∫sin⁡4xcos⁡3x dx\int \sin^4 x \cos^3 x \, dx, never use power reduction! Peeling off cos⁡x dx\cos x \, dx and setting u=sin⁡xu = \sin x solves the integral in 33 lines, whereas half-angle reduction leads to pages of messy algebra.
  4. Linear Frequency Scaling: When integrating cos⁡(4x)\cos(4x), remember the chain-rule factor: ∫cos⁡(4x) dx=14sin⁡(4x)+C\int \cos(4x) \, dx = \frac{1}{4}\sin(4x) + C, not 4sin⁡(4x)+C4\sin(4x) + C.

6. Pencil & Paper Practice

Try these three problems on your own notepad before reading the solutions.

Practice 1

Evaluate ∫cos⁡3x dx\int \cos^3 x \, dx.

Practice 2

Evaluate ∫sin⁡4x dx\int \sin^4 x \, dx.

Practice 3

Evaluate ∫tan⁡3x dx\int \tan^3 x \, dx.


7. Solutions to Practice Problems

Solution to Practice 1

  1. The exponent of cos⁡x\cos x is odd (33). Split off one factor of cos⁡x\cos x:
    ∫cos⁡3x dx=∫cos⁡2x⋅cos⁡x dx=∫(1−sin⁡2x)cos⁡x dx\int \cos^3 x \, dx = \int \cos^2 x \cdot \cos x \, dx = \int (1 - \sin^2 x) \cos x \, dx
  2. Set u=sin⁡xu = \sin x, so du=cos⁡x dxdu = \cos x \, dx:
    ∫(1−u2) du=u−u33+C\int (1 - u^2) \, du = u - \frac{u^3}{3} + C
  3. Back-substitute u=sin⁡xu = \sin x:
    ∫cos⁡3x dx=sin⁡x−sin⁡3x3+C\int \cos^3 x \, dx = \sin x - \frac{\sin^3 x}{3} + C

Solution to Practice 2

  1. The power is even (44). Rewrite as (sin⁡2x)2(\sin^2 x)^2:
    sin⁡4x=(1−cos⁡2x2)2=1−2cos⁡2x+cos⁡22x4\sin^4 x = \left(\frac{1 - \cos 2x}{2}\right)^2 = \frac{1 - 2\cos 2x + \cos^2 2x}{4}
  2. Apply the power-reducing identity to the remaining cos⁡22x\cos^2 2x:
    cos⁡22x=1+cos⁡4x2\cos^2 2x = \frac{1 + \cos 4x}{2}
  3. Substitute this back into the numerator:
    sin⁡4x=14(1−2cos⁡2x+1+cos⁡4x2)=14(1−2cos⁡2x+12+12cos⁡4x)=14(32−2cos⁡2x+12cos⁡4x)=38−12cos⁡2x+18cos⁡4x\begin{aligned} \sin^4 x &= \frac{1}{4} \left( 1 - 2\cos 2x + \frac{1 + \cos 4x}{2} \right) \\ &= \frac{1}{4} \left( 1 - 2\cos 2x + \frac{1}{2} + \frac{1}{2}\cos 4x \right) \\ &= \frac{1}{4} \left( \frac{3}{2} - 2\cos 2x + \frac{1}{2}\cos 4x \right) \\ &= \frac{3}{8} - \frac{1}{2}\cos 2x + \frac{1}{8}\cos 4x \end{aligned}
  4. Integrate each term on paper:
    ∫sin⁡4x dx=∫(38−12cos⁡2x+18cos⁡4x)dx=38x−12(sin⁡2x2)+18(sin⁡4x4)+C=38x−14sin⁡2x+132sin⁡4x+C\begin{aligned} \int \sin^4 x \, dx &= \int \left(\frac{3}{8} - \frac{1}{2}\cos 2x + \frac{1}{8}\cos 4x\right) dx \\ &= \frac{3}{8}x - \frac{1}{2}\left(\frac{\sin 2x}{2}\right) + \frac{1}{8}\left(\frac{\sin 4x}{4}\right) + C \\ &= \frac{3}{8}x - \frac{1}{4}\sin 2x + \frac{1}{32}\sin 4x + C \end{aligned}

Solution to Practice 3

  1. Split tan⁡3x=tan⁡x⋅tan⁡2x\tan^3 x = \tan x \cdot \tan^2 x:
    ∫tan⁡3x dx=∫tan⁡x(sec⁡2x−1) dx=∫tan⁡xsec⁡2x dx−∫tan⁡x dx\int \tan^3 x \, dx = \int \tan x (\sec^2 x - 1) \, dx = \int \tan x \sec^2 x \, dx - \int \tan x \, dx
  2. For the first integral ∫tan⁡xsec⁡2x dx\int \tan x \sec^2 x \, dx, let u=tan⁡xu = \tan x, so du=sec⁡2x dxdu = \sec^2 x \, dx:
    ∫u du=u22=12tan⁡2x\int u \, du = \frac{u^2}{2} = \frac{1}{2}\tan^2 x
  3. For the second integral ∫tan⁡x dx=∫sin⁡xcos⁡x dx=−ln⁡∣cos⁡x∣=ln⁡∣sec⁡x∣\int \tan x \, dx = \int \frac{\sin x}{\cos x} \, dx = -\ln|\cos x| = \ln|\sec x|:
    −∫tan⁡x dx=−(−ln⁡∣cos⁡x∣)=ln⁡∣cos⁡x∣-\int \tan x \, dx = -(-\ln|\cos x|) = \ln|\cos x|
  4. Combine the results:
    ∫tan⁡3x dx=12tan⁡2x+ln⁡∣cos⁡x∣+C=12tan⁡2x−ln⁡∣sec⁡x∣+C\int \tan^3 x \, dx = \frac{1}{2}\tan^2 x + \ln|\cos x| + C = \frac{1}{2}\tan^2 x - \ln|\sec x| + C

Test yourself

To evaluate ∫sin⁡5xcos⁡4x dx\int \sin^5 x \cos^4 x \, dx on paper, which substitution strategy is most efficient?

  1. Use power reduction formulas on both sin⁡5x\sin^5 x and cos⁡4x\cos^4 x
  2. Split off sin⁡x dx\sin x \, dx, convert sin⁡4x\sin^4 x to (1−cos⁡2x)2(1 - \cos^2 x)^2, and set u=cos⁡xu = \cos x
  3. Split off cos⁡x dx\cos x \, dx and set u=sin⁡xu = \sin x
  4. Integrate by parts with u=sin⁡5xu = \sin^5 x and dv=cos⁡4x dxdv = \cos^4 x \, dx

What is the correct expansion of cos⁡2(3x)\cos^2(3x) using the power-reducing identity?

  1. 1−cos⁡(6x)2\frac{1 - \cos(6x)}{2}
  2. 1+cos⁡(3x)2\frac{1 + \cos(3x)}{2}
  3. 1+cos⁡(6x)2\frac{1 + \cos(6x)}{2}
  4. 1+cos⁡2(6x)2\frac{1 + \cos^2(6x)}{2}

What is the value of the indefinite integral ∫sin⁡(2x)cos⁡(2x) dx\int \sin(2x) \cos(2x) \, dx?

  1. 14sin⁡2(2x)+C\frac{1}{4}\sin^2(2x) + C
  2. 12sin⁡2(2x)+C\frac{1}{2}\sin^2(2x) + C
  3. -\frac{1}{4}\cos(4x) + C$
  4. 18sin⁡(4x)+C\frac{1}{8}\sin(4x) + C