Tutorials › Calculus II › Integrating Sine-Even, Cosine-Odd Products

Sine and Cosine Powers · Tutorial 106 of 998

Integrating Sine-Even, Cosine-Odd Products

Use the odd cosine power to create a direct substitution, then expand and integrate the resulting polynomial in sine.

Beginner 8 min read

What You'll Learn

  • Recognize products with an even sine exponent and an odd cosine exponent.
  • Separate one cosine factor and rewrite the remaining cosine power using the Pythagorean identity.
  • Apply the substitution \(u=\sin x\) and identify the resulting polynomial integral.
  • Use the binomial theorem to express the general antiderivative.
  • Check an antiderivative by differentiating it.
  • Avoid the common error of substituting without first accounting for the remaining cosine factors.

Introduction

When an integrand contains powers of both sine and cosine, the parity of the exponents can point to a convenient substitution. In this tutorial, the sine exponent is even and the cosine exponent is odd. The odd cosine power supplies a factor of \(\cos x\,dx\), which is exactly the differential produced by substituting \(u=\sin x\).

The remaining cosine factors can be rewritten using \(\cos^2 x=1-\sin^2 x\). After the substitution, the integrand is a polynomial in \(u\), so the integration reduces to the power rule.

Key idea: For an even power of sine multiplied by an odd power of cosine, save one factor of \(\cos x\), convert the remaining cosine factors into powers of \(1-\sin^2 x\), and substitute \(u=\sin x\).

The Pattern and Its Conditions

Consider integrals of the form

$$ \int \sin^m x\,\cos^n x\,dx, $$

where \(m\) is a nonnegative even integer and \(n\) is a positive odd integer. Write the exponents as \(m=2k\) and \(n=2j+1\), where \(k\) and \(j\) are nonnegative integers. Then separate one cosine factor:

$$ \sin^{2k}x\,\cos^{2j+1}x = \sin^{2k}x\,\cos^{2j}x\,\cos x. $$

The remaining cosine power is even, so it can be written using the Pythagorean identity:

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

Now the substitution \(u=\sin x\) has differential \(du=\cos x\,dx\). The factor saved from the odd cosine power supplies that differential. The transformed integrand is \(u^{2k}(1-u^2)^j\), a polynomial in \(u\) because \(j\) is a nonnegative integer.

Definition: In this method, “even sine, odd cosine” means an integrand \(\sin^{2k}x\cos^{2j+1}x\), with \(k,j\) nonnegative integers. The substitution \(u=\sin x\) is useful because the odd cosine power contains the factor \(\cos x\,dx\).

A General Derivation

The binomial theorem expands \((1-u^2)^j\) as a finite sum. This gives a direct formula for the antiderivative and also explains why the method always produces a polynomial calculation for the stated exponents.

1
Separate the differential factor.
Write \(\cos^{2j+1}x=\cos^{2j}x\cos x\), retaining \(\cos x\,dx\).
2
Convert the remaining cosine power.
Use \(\cos^{2j}x=(1-\sin^2 x)^j\).
3
Substitute and expand.
Set \(u=\sin x\), so the integral becomes \(\int u^{2k}(1-u^2)^j\,du\).
4
Integrate each power.
Expand the finite polynomial and apply the power rule term by term.

More explicitly, the binomial theorem gives \((1-u^2)^j=\sum_{r=0}^{j}(-1)^r\binom{j}{r}u^{2r}\). Multiplying by \(u^{2k}\) and integrating each term yields the following antiderivative:

$$ \int \sin^{2k}x\,\cos^{2j+1}x\,dx = \sum_{r=0}^{j} \frac{(-1)^r\binom{j}{r}}{2k+2r+1} \sin^{2k+2r+1}x+C. $$

Here \(C\) is an arbitrary constant. This formula follows from the substitution above and the power rule; it is not a separate technique. To verify it, differentiate the sum. Differentiating each term contributes a factor of \(\cos x\) from the chain rule:

$$ \begin{aligned} \frac{d}{dx} \left[ \sum_{r=0}^{j} \frac{(-1)^r\binom{j}{r}}{2k+2r+1} \sin^{2k+2r+1}x \right] &= \cos x\sum_{r=0}^{j}(-1)^r\binom{j}{r}\sin^{2k+2r}x\\ &= \sin^{2k}x\,\cos x \sum_{r=0}^{j}(-1)^r\binom{j}{r}\sin^{2r}x\\ &= \sin^{2k}x\,\cos x(1-\sin^2 x)^j\\ &= \sin^{2k}x\,\cos^{2j+1}x. \end{aligned} $$

The third equality uses the binomial theorem in reverse, and the last uses \(1-\sin^2 x=\cos^2 x\). Thus differentiating the proposed antiderivative recovers the original integrand.

Worked Examples

Worked Example: Integrating \(\sin^2 x\cos^3 x\)

Separate one cosine factor and convert the remaining square:

$$ \begin{aligned} \int \sin^2 x\cos^3 x\,dx &=\int \sin^2 x\cos^2 x\cos x\,dx\\ &=\int \sin^2 x(1-\sin^2 x)\cos x\,dx. \end{aligned} $$

Set \(u=\sin x\), so \(du=\cos x\,dx\). The integral becomes

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

Check by differentiation:

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

The derivative is the original integrand.

Worked Example: Integrating \(\sin^4 x\cos^5 x\)

Keep one cosine factor. The four cosine factors left over form a square of \(\cos^2 x\):

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

Use \(u=\sin x\), \(du=\cos x\,dx\), and expand the square:

$$ \begin{aligned} \int u^4(1-u^2)^2\,du &=\int u^4(1-2u^2+u^4)\,du\\ &=\int (u^4-2u^6+u^8)\,du\\ &=\frac{u^5}{5}-\frac{2u^7}{7}+\frac{u^9}{9}+C\\ &=\frac{\sin^5 x}{5}-\frac{2\sin^7 x}{7}+\frac{\sin^9 x}{9}+C. \end{aligned} $$

Differentiate to check all three terms:

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

This confirms the antiderivative.

Worked Example: Integrating \(\sin^2 x\cos^7 x\)

There are seven cosine factors, so save one and rewrite the other six as \((\cos^2 x)^3\):

$$ \begin{aligned} \int \sin^2 x\cos^7 x\,dx &=\int \sin^2 x\cos^6 x\cos x\,dx\\ &=\int \sin^2 x(1-\sin^2 x)^3\cos x\,dx. \end{aligned} $$

With \(u=\sin x\) and \(du=\cos x\,dx\), expand the cube and multiply by \(u^2\):

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

For the check, differentiate and factor the resulting polynomial:

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

The check returns exactly the original integrand.

A Common Mistake

A frequent error is to recognize \(u=\sin x\) but forget that the substitution requires the factor \(\cos x\,dx\). For example, the following calculation is incorrect:

$$ \int \sin^2 x\cos^3 x\,dx \;\not=\; \int u^2(1-u^2)^3\,du. $$

The right side has converted all three cosine factors into powers of \(1-u^2\), but it has not retained a cosine factor to supply \(du=\cos x\,dx\). It also uses the wrong power of \(1-u^2\): after saving one cosine, only two cosine factors remain, giving \(\cos^2 x=1-\sin^2 x\). The corrected transformation is

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

Before substituting, count the cosine factors: save exactly one for the differential, then convert the remaining even power using \(\cos^2 x=1-\sin^2 x\).

When This Method Fits

The method applies directly when the exponents are nonnegative integers, the sine exponent is even, and the cosine exponent is odd. The odd cosine exponent is essential to the simple substitution because it leaves a factor \(\cos x\,dx\) after the other cosine factors are rewritten. If both exponents are even, this particular substitution does not produce a polynomial integral in the same way; that case calls for a different approach.

For the stated parity pattern, the calculation follows a reliable sequence: factor off one cosine, replace each remaining pair of cosine factors by \(1-\sin^2 x\), substitute \(u=\sin x\), expand, and integrate term by term. Differentiation then provides a direct check of the result.

Check Your Understanding

For each question, identify the saved factor and use the parity pattern to decide how the substitution works.

  1. In \(\int \sin^4 x\cos^3 x\,dx\), what factor should be saved for \(du\), and what expression replaces the remaining cosine power?
  2. After setting \(u=\sin x\), what polynomial integrand results from \(\int \sin^2 x\cos^5 x\,dx\)?
  3. Use the general formula to write an antiderivative for \(\int \cos^3 x\,dx\), taking \(k=0\).
  4. Why can the substitution \(u=\sin x\) be used directly for an odd power of cosine, but not by this same procedure for an even power of cosine?
  5. What should you differentiate to check a proposed antiderivative?

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