Tutorials › Calculus II › Sine And Cosine Powers By Parity

Integration Strategy · Tutorial 11 of 998

Sine And Cosine Powers By Parity

Use exponent parity to choose an efficient method for integrating pure and mixed powers of sine and cosine.

Beginner 9 min read

What You'll Learn

  • Classify pure and mixed sine–cosine powers by whether their exponents are odd or even.
  • Separate one factor from an odd power and use a substitution that matches its derivative.
  • Apply power-reduction identities when both exponents are even.
  • Work through pure powers and mixed powers using the appropriate parity method.
  • Detect and correct a substitution error caused by treating \(dx\) as \(du\).

Why Exponent Parity Guides the Method

An integral involving powers of sine and cosine often becomes simpler as soon as you inspect the exponents. If either exponent is odd, one factor can be saved for a substitution, while the remaining even power can be rewritten using \(\sin^2 x+\cos^2 x=1\). If both exponents are even, there is no single factor that naturally pairs with the derivative of the other function; power-reduction identities are usually the better choice.

This strategy applies to integrals of \(\sin^m x\cos^n x\), where \(m\) and \(n\) are nonnegative integers. The exponents determine the algebraic rewrite; the substitution or identity then makes the integral manageable.

Definition: The parity of an integer exponent is whether it is even or odd. For example, \(5\) is odd and \(4\) is even. For a sine–cosine power integral, first check the parity of each exponent, including an exponent of zero, which is even.

The Parity-Based Decision

For an odd exponent, separate one factor of the function with that exponent. The remaining power is even, so it can be expressed using the square of the other function. The separated factor supplies the differential for a substitution.

For example, if the sine exponent is odd, write \(m=2r+1\), where \(r\) is a nonnegative integer. Then

$$ \sin^m x=\sin^{2r}x\sin x =(1-\cos^2 x)^r\sin x. $$

Now \(u=\cos x\) gives \(du=-\sin x\,dx\), so the integral becomes a polynomial integral in \(u\), possibly multiplied by another integer power of \(u\). If instead the cosine exponent is odd, write \(n=2s+1\) and use \(u=\sin x\).

Method rule: If either exponent is odd, save one factor of that function and use the Pythagorean identity to rewrite the remaining even power. If both exponents are even, use power reduction. When both are odd, either substitution route can work.

When both exponents are even, use

$$ \sin^2 x=\frac{1-\cos 2x}{2}, \qquad \cos^2 x=\frac{1+\cos 2x}{2}. $$

These identities follow from \(\cos 2x=\cos^2 x-\sin^2 x\) together with \(\sin^2 x+\cos^2 x=1\). Replacing each squared factor this way reduces the powers and produces sums or products of cosines with multiple angles. Those expressions can be integrated using standard trigonometric identities.

Why the Odd-Power Substitution Works

The substitution is not a guess: it follows from the chain rule in reverse. Suppose the sine exponent is odd, so the integral has the form \(\int \sin^{2r+1}x\cos^n x\,dx\). Separate one \(\sin x\), and rewrite the other sine factors as powers of \(1-\cos^2x\). With \(u=\cos x\) and \(du=-\sin x\,dx\), this gives

$$ \int \sin^{2r+1}x\cos^n x\,dx = -\int (1-u^2)^r u^n\,du. $$

The expression on the right is a polynomial in \(u\) when \(r\) and \(n\) are nonnegative integers. After integrating it, substituting \(u=\cos x\) back produces an antiderivative. Differentiating that result applies the chain rule and reverses the substitution, which is why the method works.

Worked Example: An Odd Sine Power and an Even Cosine Power

Evaluate \(\int \sin^3 x\cos^2 x\,dx\). The sine exponent is odd, so save one factor of \(\sin x\), rewrite \(\sin^2x=1-\cos^2x\), and let \(u=\cos x\). Since \(du=-\sin x\,dx\),

$$ \begin{aligned} \int \sin^3 x\cos^2 x\,dx &=\int (1-\cos^2 x)\cos^2 x\sin x\,dx\\ &=-\int (1-u^2)u^2\,du\\ &=-\int (u^2-u^4)\,du\\ &=-\frac{u^3}{3}+\frac{u^5}{5}+C\\ &=-\frac{\cos^3 x}{3}+\frac{\cos^5 x}{5}+C. \end{aligned} $$

Check by differentiating:

$$ \begin{aligned} \frac{d}{dx}\left(-\frac{\cos^3 x}{3}+\frac{\cos^5 x}{5}\right) &=\cos^2 x\sin x-\cos^4 x\sin x\\ &=\sin x\cos^2 x(1-\cos^2 x)\\ &=\sin^3 x\cos^2 x. \end{aligned} $$

The derivative is the original integrand, so the antiderivative is correct.

Worked Example: A Pure Odd Power of Cosine

Evaluate \(\int \cos^5 x\,dx\). Save one factor of \(\cos x\) and write \(\cos^4x=(1-\sin^2x)^2\). Let \(u=\sin x\), so \(du=\cos x\,dx\):

$$ \begin{aligned} \int \cos^5 x\,dx &=\int (1-\sin^2 x)^2\cos x\,dx\\ &=\int (1-u^2)^2\,du\\ &=\int (1-2u^2+u^4)\,du\\ &=u-\frac{2u^3}{3}+\frac{u^5}{5}+C\\ &=\sin x-\frac{2\sin^3 x}{3}+\frac{\sin^5 x}{5}+C. \end{aligned} $$

Check by differentiating:

$$ \begin{aligned} \frac{d}{dx}\left(\sin x-\frac{2\sin^3 x}{3}+\frac{\sin^5 x}{5}\right) &=\cos x-2\sin^2 x\cos x+\sin^4 x\cos x\\ &=\cos x(1-\sin^2 x)^2\\ &=\cos x\cos^4 x\\ &=\cos^5 x. \end{aligned} $$

The pure power is handled by the same parity rule as a mixed power: the remaining even power is rewritten with the Pythagorean identity.

When Both Exponents Are Even

If both exponents are even, there is no odd factor to save for a direct substitution of this kind. Instead, reduce the powers using the double-angle identities. For a product, it can also be useful to express the result as a sum of multiple-angle cosines, whose antiderivatives are immediate.

Worked Example: A Mixed Product with Both Exponents Even

Evaluate \(\int \sin^2 x\cos^2 x\,dx\). First use \(\sin^2x\cos^2x=\frac14\sin^2 2x\), then apply the power-reduction identity to \(\sin^2 2x\):

$$ \sin^2 x\cos^2 x =\frac14\sin^2 2x =\frac18(1-\cos 4x). $$

Integrate each term:

$$ \begin{aligned} \int \sin^2 x\cos^2 x\,dx &=\int \frac18(1-\cos 4x)\,dx\\ &=\frac{x}{8}-\frac{\sin 4x}{32}+C. \end{aligned} $$

For the check, differentiate the result:

$$ \frac{d}{dx}\left(\frac{x}{8}-\frac{\sin 4x}{32}\right) =\frac18-\frac{4\cos 4x}{32} =\frac18(1-\cos 4x) =\sin^2 x\cos^2 x. $$

The chain rule contributes the factor \(4\) when differentiating \(\sin 4x\); the denominator \(32\) accounts for that factor.

Worked Example: Reducing a Higher Mixed Even Power

Evaluate \(\int \sin^4 x\cos^2 x\,dx\). Both exponents are even. Write \(\sin^4x\cos^2x=(\sin^2x\cos^2x)\sin^2x\), and use \(\sin^2x\cos^2x=\frac18(1-\cos4x)\) and \(\sin^2x=\frac12(1-\cos2x)\):

$$ \begin{aligned} \sin^4x\cos^2x &=\frac1{16}(1-\cos4x)(1-\cos2x)\\ &=\frac1{16}\left(1-\cos2x-\cos4x+\cos4x\cos2x\right). \end{aligned} $$

Use the product-to-sum identity \(\cos A\cos B=\frac12[\cos(A+B)+\cos(A-B)]\). Thus \(\cos4x\cos2x=\frac12(\cos6x+\cos2x)\), and

$$ \sin^4x\cos^2x =\frac1{16}\left(1-\frac12\cos2x-\cos4x+\frac12\cos6x\right). $$

Integrating term by term gives

$$ \begin{aligned} \int \sin^4x\cos^2x\,dx &=\frac{x}{16}-\frac{\sin2x}{64} -\frac{\sin4x}{64}+\frac{\sin6x}{192}+C. \end{aligned} $$

Check by differentiating:

$$ \begin{aligned} \frac{d}{dx}\left( \frac{x}{16}-\frac{\sin2x}{64} -\frac{\sin4x}{64}+\frac{\sin6x}{192}\right) &=\frac1{16}-\frac{\cos2x}{32} -\frac{\cos4x}{16}+\frac{\cos6x}{32}\\ &=\frac1{16}\left(1-\frac12\cos2x-\cos4x+\frac12\cos6x\right)\\ &=\sin^4x\cos^2x. \end{aligned} $$

Each sine term contributes its angle factor when differentiated, which explains the denominators \(64\), \(64\), and \(192\).

A Common Substitution Mistake

A substitution changes both the variable and the differential. It is not valid to replace \(dx\) by \(du\) without deriving the relationship between them. Consider \(\int\sin^2x\cos^2x\,dx\), and try \(u=\sin x\). The tempting but incorrect calculation is

$$ \int\sin^2x\cos^2x\,dx \ \overset{\text{wrong}}{=}\ \int u^2(1-u^2)\,du. $$

This maps \(\sin^2x\) to \(u^2\) and \(\cos^2x\) to \(1-u^2\), but it incorrectly treats \(dx\) as though it were \(du\). In fact, \(du=\cos x\,dx\), so the correct transformed differential is \(\cos^2x\,dx=\cos x\,du\). The integrand becomes \(u^2\cos x\,du\), not \(u^2(1-u^2)\,du\). Locally, this can be written as \(\pm u^2\sqrt{1-u^2}\,du\), so the substitution does not directly produce a polynomial in \(u\).

The proposed wrong antiderivative, \(\frac{\sin^3x}{3}-\frac{\sin^5x}{5}\), confirms the error when differentiated:

$$ \frac{d}{dx}\left(\frac{\sin^3x}{3}-\frac{\sin^5x}{5}\right) =\sin^2x\cos x-\sin^4x\cos x =\sin^2x\cos^3x, $$

which is not \(\sin^2x\cos^2x\). For this even-even integral, power reduction provides the appropriate method.

Use the Pattern, Then Verify

Parity is a method-selection tool, not a substitute for checking the algebra. Before integrating, identify which exponents are odd and confirm that the saved factor matches the differential of the proposed substitution. If both exponents are even, reduce powers and keep track of multiple-angle factors when integrating. In every case, differentiating the proposed antiderivative is a direct check that the original integrand has been recovered.

Check Your Understanding

For each question, identify the parity pattern and decide which method fits before carrying out any integration.

  1. For \(\int\sin^5x\cos^2x\,dx\), which factor should be saved, and what substitution fits?
  2. For \(\int\sin^2x\cos^6x\,dx\), why is power reduction a natural choice?
  3. For \(\int\sin^3x\cos^3x\,dx\), which two substitution choices are available?
  4. When using \(u=\sin x\), what differential relationship must be included?
  5. Differentiate \(\frac{\sin^3x}{3}-\frac{\sin^5x}{5}\). Does it give \(\sin^2x\cos^2x\)?

Test yourself: Calculus II final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon