Tutorials › Calculus II › Powers of Multiple-Angle Sines and Cosines

Sine and Cosine Powers · Tutorial 115 of 998

Powers of Multiple-Angle Sines and Cosines

Rescale the angle first, then use the parity of the power to choose an efficient integration method and keep the limits consistent.

Beginner 10 min read

What You'll Learn

  • Rescale a multiple-angle argument using a change of variable
  • Integrate odd powers by separating one sine or cosine factor
  • Handle even powers with power-reduction identities
  • Transform both endpoints in a definite integral
  • Check antiderivatives by differentiating

Why the Multiple Angle Matters

A power such as \(\sin^5(3x)\) has two features that affect the calculation: the exponent and the factor multiplying \(x\) inside the trigonometric function. The exponent determines whether an odd-power substitution or an even-power identity is convenient. The factor inside the angle changes the scale of the integral and, for a definite integral, changes the limits.

The first step is therefore to rescale the angle. After that, use the familiar parity-based methods for sine and cosine powers. The extra care is to carry the scale factor through every step rather than treating the multiple-angle expression as if its angle were simply \(x\).

Definition: In this tutorial, a multiple-angle power means an integrand of the form \(\sin^m(kx)\) or \(\cos^m(kx)\), where \(m\) is a nonnegative integer and \(k\) is a nonzero constant. If \(k=0\), the integrands are constants: \(\sin^m(0)=0\) for positive \(m\), and \(\cos^m(0)=1\).

Rescale the Angle

For \(k\ne 0\), set \(u=kx\). Then \(du=k\,dx\), so \(dx=du/k\). Thus, for an indefinite integral, the scaling rule is

$$ \int \sin^m(kx)\,dx = \frac{1}{k}\int \sin^m u\,du, \qquad \int \cos^m(kx)\,dx = \frac{1}{k}\int \cos^m u\,du. $$

The factor \(1/k\) is essential. When \(k\) is negative, it remains negative; it should not be replaced by \(1/|k|\).

For a definite integral, the same substitution changes the endpoints as well as the differential. If \(x\) runs from \(a\) to \(b\), then \(u\) runs from \(ka\) to \(kb\):

$$ \int_a^b \sin^m(kx)\,dx = \frac{1}{k}\int_{ka}^{kb}\sin^m u\,du. $$

The corresponding cosine formula is identical with \(\sin^m u\) replaced by \(\cos^m u\). Keep the transformed endpoints in that order, including when \(k<0\).

Odd Powers: Save One Factor

When the exponent is odd, write it as \(m=2r+1\). For a sine power, keep one factor of \(\sin u\) and rewrite the rest using \(\sin^2u=1-\cos^2u\). This leaves a polynomial in \(\cos u\), and the remaining factor \(\sin u\,du\) is suited to the substitution \(v=\cos u\).

Method: For an odd sine power, write \(\sin^{2r+1}u=(1-\cos^2u)^r\sin u\), then use \(v=\cos u\). For an odd cosine power, write \(\cos^{2r+1}u=(1-\sin^2u)^r\cos u\), then use \(v=\sin u\). Include the factor \(1/k\) from rescaling.

Here is the general sine calculation. Expanding the polynomial gives a formula for any nonnegative integer \(r\):

$$ \begin{aligned} \int \sin^{2r+1}(kx)\,dx &=\frac{1}{k}\int (1-\cos^2u)^r\sin u\,du\\ &=-\frac{1}{k}\int (1-v^2)^r\,dv\\ &=-\frac{1}{k}\sum_{j=0}^{r}(-1)^j\binom{r}{j} \frac{\cos^{2j+1}(kx)}{2j+1}+C. \end{aligned} $$

The minus sign appears because \(dv=-\sin u\,du\). For an odd cosine power, the same expansion uses \(v=\sin u\) and has a positive sign in front of the resulting sum.

Worked Example: An Odd Sine Power with a Multiple Angle

Evaluate \(\int \sin^5(3x)\,dx\).

First let \(u=3x\), so \(dx=du/3\). Then separate one sine factor and use \(\sin^2u=1-\cos^2u\):

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

Set \(v=\cos u\), so \(dv=-\sin u\,du\), and expand:

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

To check, differentiate the result. Its derivative is \(\sin(3x)-2\cos^2(3x)\sin(3x)+\cos^4(3x)\sin(3x)\), which equals \(\sin(3x)(1-\cos^2(3x))^2=\sin^5(3x)\). The antiderivative is correct.

Even Powers: Reduce the Power

If the exponent is even, there is no single sine or cosine factor left over to pair directly with the derivative of the other function. Instead, use the power-reduction identities. The basic identities are

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

For example, squaring either identity and using the double-angle identity for \(\cos^2(2u)\) gives a sum of a constant and cosines of multiple angles. The resulting terms can be integrated one at a time. Higher even powers can be reduced by applying the same identities repeatedly.

Worked Example: A Fourth Power of Cosine

Evaluate \(\int \cos^4(2x)\,dx\).

Set \(u=2x\), so \(dx=du/2\). First reduce the fourth power:

$$ \begin{aligned} \cos^4u &=\left(\frac{1+\cos(2u)}{2}\right)^2\\ &=\frac{1+2\cos(2u)+\cos^2(2u)}{4}\\ &=\frac{1+2\cos(2u)+\frac{1+\cos(4u)}{2}}{4}\\ &=\frac{3+4\cos(2u)+\cos(4u)}{8}. \end{aligned} $$

Now integrate and restore \(u=2x\):

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

Differentiate to check: the derivative is \(3/8+\cos(4x)/2+\cos(8x)/8\). This equals \((3+4\cos(4x)+\cos(8x))/8=\cos^4(2x)\), by the reduction identity above.

Why the Scaling Rule Works

The change of variable is not an extra trick added to the power methods. It follows from the chain rule. If \(G'(u)=g(u)\), then

$$ \frac{d}{dx}\left(\frac{1}{k}G(kx)\right) = \frac{1}{k}G'(kx)\,k = g(kx). $$

Thus an antiderivative of \(g(u)\), evaluated at \(u=kx\), must be multiplied by \(1/k\). For a definite integral, the change-of-variable rule also changes the endpoints: \(x=a\) corresponds to \(u=ka\), and \(x=b\) corresponds to \(u=kb\). This explains both the scaling factor and the transformed limits.

For example, if \(F'(u)=\sin^3u\), then differentiating \(F(kx)/k\) gives \(\sin^3(kx)\). The definite integral from \(a\) to \(b\) is \(F(kb)/k-F(ka)/k\), which is exactly \((1/k)\int_{ka}^{kb}\sin^3u\,du\).

Definite Integrals: Transform Both Limits

For an odd power, the substitution can be carried out directly in the definite integral. The limits for \(v=\cos u\) or \(v=\sin u\) must be transformed too. The next examples show two common cases: an odd power handled by substitution and an even power handled by power reduction.

Worked Example: A Definite Odd Sine Power

Evaluate \(\int_0^{\pi/6}\sin^3(3x)\,dx\).

Let \(u=3x\). The limits become \(u=0\) and \(u=\pi/2\), and \(dx=du/3\):

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

With \(v=\cos u\), the transformed limits are \(v=1\) at \(u=0\) and \(v=0\) at \(u=\pi/2\). Therefore,

$$ \begin{aligned} \frac{1}{3}\int_0^{\pi/2}(1-\cos^2u)\sin u\,du &=-\frac{1}{3}\int_1^0(1-v^2)\,dv\\ &=\frac{1}{3}\int_0^1(1-v^2)\,dv\\ &=\frac{1}{3}\left[v-\frac{v^3}{3}\right]_0^1\\ &=\frac{1}{3}\left(1-\frac{1}{3}\right) =\frac{2}{9}. \end{aligned} $$

As a check, an antiderivative is \(-\cos(3x)/3+\cos^3(3x)/9\). Its value at \(x=\pi/6\) is \(0\), and its value at \(x=0\) is \(-1/3+1/9=-2/9\). The difference is \(2/9\), as obtained above.

Worked Example: An Even Power with Transformed Limits

Evaluate \(\int_0^{\pi/4}\cos^2(4x)\,dx\).

Set \(u=4x\). The limits become \(0\) and \(\pi\), and \(dx=du/4\). Use \(\cos^2u=(1+\cos(2u))/2\):

$$ \begin{aligned} \int_0^{\pi/4}\cos^2(4x)\,dx &=\frac{1}{4}\int_0^\pi\cos^2u\,du\\ &=\frac{1}{8}\int_0^\pi(1+\cos(2u))\,du\\ &=\frac{1}{8}\left[u+\frac{\sin(2u)}{2}\right]_0^\pi\\ &=\frac{1}{8}\left(\pi+\frac{\sin(2\pi)}{2} -0-\frac{\sin(0)}{2}\right)\\ &=\frac{\pi}{8}. \end{aligned} $$

As a check, the antiderivative in \(x\) is \(x/2+\sin(8x)/16\). At \(x=\pi/4\) it is \(\pi/8\), and at \(x=0\) it is \(0\), giving the same result. Differentiating gives \(1/2+\cos(8x)/2=\cos^2(4x)\).

A Common Scaling Error

A frequent mistake is to substitute \(u=kx\) but omit the factor \(1/k\). For instance, the expression

$$ -\cos(2x)+\frac{\cos^3(2x)}{3} $$

is not an antiderivative of \(\sin^3(2x)\). Differentiating it gives \(2\sin^3(2x)\), not \(\sin^3(2x)\), because the chain rule contributes a factor of \(2\). The correction is to divide the expression by \(2\):

$$ -\frac{\cos(2x)}{2}+\frac{\cos^3(2x)}{6}+C. $$

Differentiating this corrected expression gives \(\sin(2x)-\cos^2(2x)\sin(2x)=\sin^3(2x)\). For a definite integral, omitting the transformed endpoints is a related error: both endpoints must be multiplied by \(k\), not merely the integrand adjusted.

A Practical Decision Process

1
Rescale the angle.
Set \(u=kx\), use \(dx=du/k\), and, for definite integrals, replace the endpoints \(a,b\) by \(ka,kb\).
2
Check the exponent.
If it is odd, save one sine or cosine factor and use the corresponding substitution. If it is even, use power-reduction identities.
3
Check the result.
Differentiate an antiderivative or evaluate the transformed definite integral with its limits in the correct order.

The method matters because a multiple-angle power can otherwise look more complicated than it is. Rescaling separates the frequency from the power calculation. Once the scale factor and limits are handled correctly, the parity methods apply as usual.

Check Your Understanding

For each question, pay attention to both the power and the angle scale.

  1. What substitution should be used to integrate \(\sin^7(5x)\), and what factor must multiply the resulting integral?
  2. Which identity begins the reduction of \(\cos^6(3x)\)?
  3. Under \(u=4x\), what are the transformed limits when \(x\) runs from \(-\pi/8\) to \(\pi/8\)?
  4. Evaluate \(\int_0^{\pi/4}\sin^2(2x)\,dx\) using a change of variable and power reduction.
  5. Why does an antiderivative found for \(\sin^3u\) need a scale factor when used for \(\sin^3(kx)\)?

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