Tutorials › Calculus II › Choosing a Method for Mixed Power Integrals

Sine and Cosine Powers · Tutorial 123 of 998

Choosing a Method for Mixed Power Integrals

Use the exponents and the form of the integrand to choose an efficient method for mixed sine-cosine power integrals.

Beginner 9 min read

What You'll Learn

  • Decide when an odd sine or cosine factor makes substitution effective
  • Convert the remaining even trigonometric power using a Pythagorean identity
  • Recognize when power reduction is the natural choice for even exponents
  • Use product-to-sum to simplify products of different-frequency cosine terms
  • Check an antiderivative by differentiating it

Why the Choice of Method Matters

A mixed power integral has the form \(\int \sin^m x\cos^n x\,dx\), where \(m\) and \(n\) are nonnegative integers. The same integral can sometimes be approached in more than one way, but the exponent pattern often points to a shorter route.

The first question is whether either exponent is odd. An odd power leaves one sine or cosine factor available to pair with the differential of the other function. If both exponents are even, there is no such leftover factor, so power-reduction identities are usually the natural starting point. Product-to-sum can be useful when those identities produce products of different-frequency terms.

Key strategy: For nonnegative integer powers, first inspect the parity of \(m\) and \(n\). If one exponent is odd, try substitution using that function. If both are even, use power reduction; if the resulting expression contains products at different frequencies, consider product-to-sum.

Odd Exponents Suggest Substitution

Suppose \(m\) is odd. Write \(m=2k+1\), where \(k\) is a nonnegative integer, and separate one sine factor: \(\sin^{2k+1}x=\sin^{2k}x\sin x\). Use \(\sin^2x+\cos^2x=1\) to rewrite the remaining even power as \(\sin^{2k}x=(1-\cos^2x)^k\). Then \(u=\cos x\) gives \(du=-\sin x\,dx\), turning the integral into a polynomial integral in \(u\).

If instead \(n\) is odd, write \(\cos^n x=\cos^{2j}x\cos x\), use \(\cos^{2j}x=(1-\sin^2x)^j\), and set \(u=\sin x\), so \(du=\cos x\,dx\). Either route applies on any interval where the functions are defined; the substitution identities themselves hold for all real \(x\).

Why the substitution works: The Pythagorean identity expresses the even power as a polynomial in the function used as \(u\). The remaining odd factor supplies exactly the differential \(du\), up to a minus sign when \(u=\cos x\).

Worked Example: An Odd Power of Sine

Evaluate \(\int \sin^5x\cos^2x\,dx\). Since the sine exponent is odd, keep one factor \(\sin x\,dx\) and rewrite the other four sine factors:

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

Set \(u=\cos x\), so \(du=-\sin x\,dx\). Then

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

To check, differentiate the result. Its derivative is \[ \sin x\cos^2x-2\sin x\cos^4x+\sin x\cos^6x =\sin x\cos^2x(1-\cos^2x)^2 =\sin^5x\cos^2x, \] as required.

Worked Example: An Odd Power of Cosine

Evaluate \(\int \sin^2x\cos^5x\,dx\). Keep one factor \(\cos x\,dx\), and convert the other four cosine factors using \(\cos^2x=1-\sin^2x\):

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

Let \(u=\sin x\), so \(du=\cos x\,dx\). Expanding and integrating gives

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

Differentiating gives \[ \cos x\sin^2x-2\cos x\sin^4x+\cos x\sin^6x =\cos x\sin^2x(1-\sin^2x)^2 =\sin^2x\cos^5x. \] This agrees with the integrand.

When both exponents are odd, either factor can be reserved. It is worth checking both possibilities: one may produce a simpler polynomial than the other. The method does not depend on choosing a unique substitution; it depends on matching the reserved factor to the differential of the chosen variable.

When Both Exponents Are Even

If \(m\) and \(n\) are both even, there is no single leftover sine or cosine factor to pair with a differential. Instead, use the power-reduction identities \(\sin^2x=(1-\cos 2x)/2\) and \(\cos^2x=(1+\cos 2x)/2\), repeatedly as needed. These identities replace even powers by sums involving multiples of the angle. The resulting terms are constants or trigonometric functions whose antiderivatives are direct.

For a simple mixed even-power integral, a double-angle identity can shorten the calculation. The identity \(\sin 2x=2\sin x\cos x\) implies \(\sin^2x\cos^2x=\frac14\sin^2 2x\). Reducing the remaining sine square then gives a constant term and one cosine term.

Worked Example: Both Exponents Even

Evaluate \(\int \sin^2x\cos^2x\,dx\). First combine the factors using \(\sin 2x=2\sin x\cos x\), then apply \(\sin^2\theta=(1-\cos 2\theta)/2\):

$$ \begin{aligned} \sin^2x\cos^2x &=\frac14\sin^2 2x\\ &=\frac18(1-\cos 4x). \end{aligned} $$

Therefore,

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

The check is \[ \frac{d}{dx}\left(\frac{x}{8}-\frac{\sin 4x}{32}\right) =\frac18-\frac{4\cos 4x}{32} =\frac18(1-\cos 4x) =\sin^2x\cos^2x. \]

Where Product-to-Sum Fits

Power reduction may leave products of cosines with different angles. Product-to-sum identities turn such products into sums, which can be integrated term by term. In particular, \(\cos A\cos B=\frac12[\cos(A-B)+\cos(A+B)]\). This follows by adding the cosine addition identities \(\cos(A-B)=\cos A\cos B+\sin A\sin B\) and \(\cos(A+B)=\cos A\cos B-\sin A\sin B\), then dividing by \(2\).

This is not always shorter than continuing with power reduction. It is a choice to consider when different frequencies appear together; after applying the identity, check that the resulting sum is simpler. The following calculation illustrates the choice for an all-even mixed power.

Worked Example: Product-to-Sum After Power Reduction

Evaluate \(\int \sin^2x\cos^4x\,dx\). First reduce each even power:

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

Writing \(c=\cos 2x\) and \(d=\cos 4x\) temporarily, their product is \[ \sin^2x\cos^4x =\frac1{16}(1-c)(3+4c+d) =\frac1{16}(3+c+d-4c^2-cd). \] Now use \(c^2=(1+d)/2\), and use product-to-sum on \(cd=\cos 2x\cos 4x\):

$$ \begin{aligned} c^2&=\frac{1+\cos 4x}{2},\\ cd&=\frac12\bigl(\cos(2x-4x)+\cos(2x+4x)\bigr)\\ &=\frac12(\cos 2x+\cos 6x). \end{aligned} $$

Substituting these expressions into the integrand gives

$$ \begin{aligned} \sin^2x\cos^4x &=\frac1{16}\left(3+\cos 2x+\cos 4x -2-2\cos 4x-\frac12\cos 2x-\frac12\cos 6x\right)\\ &=\frac1{16}+\frac{\cos 2x}{32} -\frac{\cos 4x}{16}-\frac{\cos 6x}{32}. \end{aligned} $$

Integrate each term:

$$ \int \sin^2x\cos^4x\,dx =\frac{x}{16}+\frac{\sin 2x}{64} -\frac{\sin 4x}{64}-\frac{\sin 6x}{192}+C. $$

For the check, differentiation gives \[ \frac1{16}+\frac{2\cos 2x}{64} -\frac{4\cos 4x}{64}-\frac{6\cos 6x}{192} =\frac1{16}+\frac{\cos 2x}{32} -\frac{\cos 4x}{16}-\frac{\cos 6x}{32}, \] which is exactly the expanded integrand above. The identities used to expand it show that this is the original \(\sin^2x\cos^4x\).

A Practical Decision Process

1
Inspect the exponents.
If at least one exponent is odd, identify the corresponding leftover sine or cosine factor.
2
Try substitution for an odd exponent.
Convert the remaining even power using \(\sin^2x=1-\cos^2x\) or \(\cos^2x=1-\sin^2x\), then match the leftover factor to \(du\).
3
Reduce powers when both exponents are even.
Use half-angle or double-angle power-reduction identities until the integrand is a sum of manageable terms.
4
Use product-to-sum if frequencies multiply.
When different-angle cosine terms occur as a product, convert that product to a sum and integrate the resulting terms.
5
Check the result.
Differentiate the proposed antiderivative and simplify until it matches the original integrand.

Common Pitfall: Forgetting the Sign in the Substitution

If the reserved factor is \(\sin x\,dx\) and the substitution is \(u=\cos x\), then \(du=-\sin x\,dx\). Omitting that minus sign reverses the entire antiderivative. For instance, the first worked example would incorrectly produce \(+\cos^3x/3-2\cos^5x/5+\cos^7x/7\) if the sign were lost. Differentiating that expression gives \(-\sin^5x\cos^2x\), the negative of the required integrand. Keeping \(du=-\sin x\,dx\) in the substitution line prevents this error.

A second useful check is not to assume product-to-sum is automatically the best route for every even-power integral. If power reduction already produces a short sum, integrate it directly. The goal is an efficient valid method, not the greatest possible number of identities.

Check Your Understanding

For each question, focus on choosing and justifying a method before carrying out the calculation.

  1. For \(\int \sin^7x\cos^4x\,dx\), which factor would you reserve, and what substitution would you use?
  2. For \(\int \sin^4x\cos^6x\,dx\), why is power reduction a natural starting point?
  3. State the differential produced by \(u=\cos x\), and explain how its sign affects an integral containing \(\sin x\,dx\).
  4. What does the product-to-sum identity for \(\cos A\cos B\) produce, and why can that help after power reduction?
  5. What calculation checks that a proposed antiderivative is correct?

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