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

Sine and Cosine Powers · Tutorial 105 of 998

Integrating Sine-Odd, Cosine-Even Products

Save one sine factor, rewrite the other sine powers using cosine, and substitute cosine to integrate this parity pattern reliably.

Beginner 9 min read

What You'll Learn

  • Recognize when the sine-odd, cosine-even substitution applies
  • Rewrite the remaining sine power using the Pythagorean identity
  • Carry out the substitution with the correct negative sign
  • Use the binomial theorem to express the general antiderivative
  • Check an antiderivative by differentiating it
  • Identify and correct a common sign error

Introduction

When an integrand contains powers of both sine and cosine, the parity of the exponents often points to a useful method. In this tutorial, the sine exponent is odd and the cosine exponent is even. The odd sine power provides a factor that pairs naturally with the derivative of cosine.

The method is direct: save one factor of sine, convert every remaining sine factor into cosine using \(\sin^2(x)=1-\cos^2(x)\), and substitute \(u=\cos(x)\). Because \(du=-\sin(x)\,dx\), keeping track of a minus sign is essential.

Core idea: For an odd positive power of sine and an even nonnegative power of cosine, save one sine factor and use \(u=\cos(x)\).

When the Method Applies

Consider an indefinite integral of the form \(\int \sin^m(x)\cos^n(x)\,dx\), where the exponents are integers, \(m\) is odd and positive, and \(n\) is even and nonnegative. Write \(m=2k+1\) and \(n=2\ell\), where \(k\) and \(\ell\) are nonnegative integers. Then

$$ \int \sin^{2k+1}(x)\cos^{2\ell}(x)\,dx. $$

The odd power \(2k+1\) allows us to separate one factor of \(\sin(x)\). The remaining sine power is even, so it can be rewritten entirely in terms of cosine. The substitution \(u=\cos(x)\) then turns the integral into a polynomial integral.

Definition: In this method, a sine-odd, cosine-even product means \(\sin^m(x)\cos^n(x)\) with \(m\) a positive odd integer and \(n\) a nonnegative even integer. The cosine exponent may be zero.

The Substitution and Its Sign

Start by separating one sine factor. The remaining sine exponent, \(2k\), is even, so apply the identity \(\sin^2(x)=1-\cos^2(x)\):

$$ \sin^{2k+1}(x)\cos^{2\ell}(x) = \sin(x)\bigl(\sin^2(x)\bigr)^k\cos^{2\ell}(x) = \sin(x)\bigl(1-\cos^2(x)\bigr)^k\cos^{2\ell}(x). $$

Now let \(u=\cos(x)\). Differentiating gives \(du=-\sin(x)\,dx\), or equivalently \(\sin(x)\,dx=-du\). This converts the integral into

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

The minus sign comes from the derivative of cosine. The expression \((1-u^2)^k u^{2\ell}\) is a polynomial in \(u\), so it can be expanded and integrated term by term.

General Formula and Justification

The binomial theorem gives \((1-u^2)^k=\sum_{j=0}^{k}(-1)^j\binom{k}{j}u^{2j}\). Multiplying by \(u^{2\ell}\), integrating each power, and restoring \(u=\cos(x)\) yields a general antiderivative.

Theorem: For nonnegative integers \(k\) and \(\ell\),
$$ \int \sin^{2k+1}(x)\cos^{2\ell}(x)\,dx = -\sum_{j=0}^{k}(-1)^j\binom{k}{j} \frac{\cos^{2\ell+2j+1}(x)}{2\ell+2j+1}+C. $$

Here \(C\) is an arbitrary constant of integration. Each denominator is positive, since \(\ell\) and \(j\) are nonnegative integers.

To justify the result, define the polynomial antiderivative \(P(u)=-\int (1-u^2)^k u^{2\ell}\,du\), where the integral on the right is taken as an ordinary polynomial antiderivative. By construction, \(P'(u)=-(1-u^2)^k u^{2\ell}\). The chain rule then gives

$$ \frac{d}{dx}P(\cos(x)) = P'(\cos(x))\bigl(-\sin(x)\bigr) = (1-\cos^2(x))^k\cos^{2\ell}(x)\sin(x). $$

Using \(1-\cos^2(x)=\sin^2(x)\), this becomes \(\sin^{2k+1}(x)\cos^{2\ell}(x)\), the original integrand. Thus differentiating the proposed antiderivative recovers the integrand. This argument works for every real \(x\); it does not require cosine to have an inverse on the interval under consideration.

Worked Examples

Worked Example: Integrate \(\sin^5(x)\cos^2(x)\)

The sine exponent is \(5\), which is odd. Save one sine factor, then rewrite the other four powers using \(\sin^2(x)=1-\cos^2(x)\):

$$ \int \sin^5(x)\cos^2(x)\,dx = \int \sin(x)\bigl(1-\cos^2(x)\bigr)^2\cos^2(x)\,dx. $$

Set \(u=\cos(x)\), so \(\sin(x)\,dx=-du\). Expand the square and multiply by \(u^2\):

$$ -\int (1-u^2)^2u^2\,du = -\int (1-2u^2+u^4)u^2\,du = -\int (u^2-2u^4+u^6)\,du. $$

Integrate each term, then substitute \(u=\cos(x)\):

$$ -\left(\frac{u^3}{3}-\frac{2u^5}{5}+\frac{u^7}{7}\right)+C = -\frac{\cos^3(x)}{3}+\frac{2\cos^5(x)}{5}-\frac{\cos^7(x)}{7}+C. $$

Check by differentiating. The derivative of the proposed expression is

$$ \sin(x)\cos^2(x)-2\sin(x)\cos^4(x)+\sin(x)\cos^6(x) = \sin(x)\cos^2(x)\bigl(1-2\cos^2(x)+\cos^4(x)\bigr) = \sin(x)\cos^2(x)(1-\cos^2(x))^2 = \sin^5(x)\cos^2(x). $$

The derivative agrees with the integrand.

Worked Example: Integrate \(\sin^3(x)\cos^4(x)\)

Separate one sine factor and replace the remaining \(\sin^2(x)\) by \(1-\cos^2(x)\):

$$ \int \sin^3(x)\cos^4(x)\,dx = \int \sin(x)\bigl(1-\cos^2(x)\bigr)\cos^4(x)\,dx. $$

With \(u=\cos(x)\) and \(\sin(x)\,dx=-du\), the integral becomes

$$ -\int (1-u^2)u^4\,du = -\int (u^4-u^6)\,du = -\frac{u^5}{5}+\frac{u^7}{7}+C. $$

Substituting back gives

$$ -\frac{\cos^5(x)}{5}+\frac{\cos^7(x)}{7}+C. $$

For the check, differentiate and factor:

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

Again, the derivative is exactly the original integrand.

Worked Example: Integrate \(\sin(x)\cos^6(x)\)

This is the case where the sine exponent is \(1\), so there are no additional sine factors to rewrite. Let \(u=\cos(x)\), giving \(\sin(x)\,dx=-du\):

$$ \int \sin(x)\cos^6(x)\,dx = -\int u^6\,du = -\frac{u^7}{7}+C = -\frac{\cos^7(x)}{7}+C. $$

Differentiate to check:

$$ \frac{d}{dx}\left(-\frac{\cos^7(x)}{7}\right) = -\cos^6(x)\bigl(-\sin(x)\bigr) = \sin(x)\cos^6(x). $$

The result also illustrates that a zero value of \(k\) is allowed: the factor \((1-u^2)^0\) is simply \(1\).

A Reliable Step-by-Step Procedure

For an integral in this parity pattern, use the steps below. The key is to decide which factor to save before expanding anything.

1
Identify the exponents.
Confirm that the sine exponent is a positive odd integer and the cosine exponent is a nonnegative even integer.
2
Save one sine factor.
Write the sine power as \(\sin(x)\) times an even power of sine.
3
Rewrite the remaining sine power.
Replace each \(\sin^2(x)\) factor using \(\sin^2(x)=1-\cos^2(x)\).
4
Substitute cosine.
Set \(u=\cos(x)\) and replace \(\sin(x)\,dx\) by \(-du\).
5
Integrate and check.
Integrate the resulting polynomial, substitute back, and differentiate the answer to verify it.

A Common Sign Mistake

The most frequent error is replacing \(\sin(x)\,dx\) by \(du\) instead of \(-du\). For example, consider \(\int\sin^3(x)\cos^2(x)\,dx\). After saving one sine factor and setting \(u=\cos(x)\), the correct substitution is

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

An incorrect calculation drops the minus sign and writes

$$ \int (1-u^2)u^2\,du = \frac{u^3}{3}-\frac{u^5}{5}+C. $$

That gives \(\frac{\cos^3(x)}{3}-\frac{\cos^5(x)}{5}+C\), whose derivative is \(-\sin^3(x)\cos^2(x)\), not the required integrand. Keeping the minus sign instead gives

$$ -\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. $$

Differentiating this corrected answer gives \(\sin(x)\cos^2(x)-\sin(x)\cos^4(x)=\sin(x)\cos^2(x)(1-\cos^2(x))=\sin^3(x)\cos^2(x)\), as required. A derivative check quickly detects the lost-sign error.

Why the Parity Pattern Is Useful

Parity tells you which trigonometric factor can supply a convenient differential. An odd sine power leaves one \(\sin(x)\,dx\) after the other sine factors have been rewritten in terms of cosine. Since the derivative of \(\cos(x)\) is \(-\sin(x)\), this leftover factor matches the substitution exactly.

The even cosine power does not need to be converted. It becomes an ordinary even power of \(u\), and the rewritten sine factors become powers of \(1-u^2\). Consequently, the substituted expression is a polynomial, whose antiderivative follows from the power rule.

The method depends on the stated parity pattern. If the sine exponent is not odd, there may be no single sine factor left with an even remainder to rewrite in this way. If the cosine exponent is odd instead, a different choice of saved factor and substitution is appropriate. The important habit is to use the exponent pattern to guide the substitution rather than attempting to manipulate powers at random.

Takeaway: In a sine-odd, cosine-even product, save one sine, convert the remaining sine power to cosine, and substitute \(u=\cos(x)\). Include the negative sign from \(du=-\sin(x)\,dx\), then verify by differentiation.

Check Your Understanding

Use the parity pattern, show the substitution clearly, and check each antiderivative by differentiating.

  1. Evaluate \(\int\sin^3(x)\cos^2(x)\,dx\).
  2. For \(\int\sin^7(x)\cos^4(x)\,dx\), what factor should be saved, and what polynomial in \(u=\cos(x)\) results before integration?
  3. State the differential relation between \(du\) and \(\sin(x)\,dx\) when \(u=\cos(x)\). Why does it affect the sign of the answer?
  4. Differentiate \(-\frac{\cos^5(x)}{5}+\frac{\cos^7(x)}{7}\) and identify the resulting sine-cosine product.
  5. Does the method apply to \(\int\sin^4(x)\cos^3(x)\,dx\) in the form taught here? Explain which parity condition fails.

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