Tutorials › Calculus II › Full-Period Integrals of Even Powers

Sine and Cosine Powers · Tutorial 118 of 998

Full-Period Integrals of Even Powers

Use power-reduction expansions to find full-period integrals of even sine and cosine powers efficiently and explain why the constant term determines each result.

Beginner 8 min read

What You'll Learn

  • Identify the constant term in an even-power expansion.
  • Write the power-reduction expansions for sine and cosine to an even power.
  • Explain why the nonconstant cosine terms integrate to zero over a full period.
  • Evaluate full-period integrals using the constant term.
  • Check results by comparing the sine and cosine expansions and by estimating the average value.

Why the Constant Term Determines a Full-Period Integral

A power such as \(\cos^6 x\) is nonnegative and varies throughout a cycle, so its integral is not found by treating the power as though it were a constant. Power-reduction expansions turn the power into a constant term plus cosine terms of higher frequencies. Over a full period, those oscillating terms contribute zero net area. The remaining constant term therefore determines the integral.

This method gives exact values for integrals such as \(\int_0^{2\pi}\sin^{2m}x\,dx\) and \(\int_0^{2\pi}\cos^{2m}x\,dx\), where \(m\) is a nonnegative integer. Here, a full period means an interval of length \(2\pi\), the period of sine and cosine.

Key idea: For an even power of sine or cosine, its power-reduction expansion consists of a constant and cosine terms with positive integer frequencies. Each nonconstant term integrates to zero over \([0,2\pi]\), so the integral is \(2\pi\) times the constant term.

The Power-Reduction Expansions

For a nonnegative integer \(m\), the binomial coefficient \(\binom{2m}{k}\) counts the ways to choose \(k\) objects from \(2m\). The expansions we need are

$$ \cos^{2m}x = \frac{1}{4^m} \left[ \binom{2m}{m} + 2\sum_{j=1}^{m}\binom{2m}{m-j}\cos(2jx) \right] $$

and

$$ \sin^{2m}x = \frac{1}{4^m} \left[ \binom{2m}{m} + 2\sum_{j=1}^{m}(-1)^j\binom{2m}{m-j}\cos(2jx) \right]. $$

Both expansions have the same constant term, \(\binom{2m}{m}/4^m\). Their oscillatory terms differ in sign, but that difference does not affect a full-period integral: each cosine term has zero integral over \([0,2\pi]\).

Why the Expansions Have This Form

A short derivation from the binomial theorem explains both the coefficients and the shared constant term. Euler's formulas express cosine and sine using complex exponentials:

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

For cosine, expand \((e^{ix}+e^{-ix})^{2m}/2^{2m}\). Choosing \(k\) factors of \(e^{-ix}\) gives the term \(\binom{2m}{k}e^{i(2m-2k)x}/4^m\). The term is constant precisely when \(2m-2k=0\), or \(k=m\), so its coefficient is \(\binom{2m}{m}/4^m\). For each positive frequency \(2j\), the terms with exponents \(2j\) and \(-2j\) have equal coefficients. Combining them uses \(e^{i2jx}+e^{-i2jx}=2\cos(2jx)\), giving the cosine expansion above.

For sine, expand \((e^{ix}-e^{-ix})^{2m}/(2i)^{2m}\). The same central choice \(k=m\) gives the constant term. For a frequency \(2j\), pairing the terms with exponents \(2j\) and \(-2j\) introduces the factor \((-1)^j\). This gives the stated sine expansion. In particular, the different signs of the oscillatory terms do not change the constant coefficient.

To see why the other terms vanish on a full period, integrate a typical term directly. For any positive integer \(j\),

$$ \int_0^{2\pi}\cos(2jx)\,dx = \left[\frac{\sin(2jx)}{2j}\right]_0^{2\pi} = \frac{\sin(4\pi j)-\sin(0)}{2j} = 0. $$

The constant term integrates to itself times the interval length. Thus, integrating either expansion leaves only its constant term multiplied by \(2\pi\).

Theorem: For every nonnegative integer \(m\), $$ \int_0^{2\pi}\sin^{2m}x\,dx = \int_0^{2\pi}\cos^{2m}x\,dx = \frac{2\pi}{4^m}\binom{2m}{m}. $$

Worked Examples

Worked Example: A Full-Period Integral of a Squared Sine

Evaluate \(\int_0^{2\pi}\sin^2x\,dx\). Set \(m=1\). The sine expansion is

$$ \sin^2x = \frac{1}{4} \left[ \binom{2}{1} + 2(-1)^1\binom{2}{0}\cos(2x) \right] = \frac{1}{4}(2-2\cos(2x)) = \frac{1}{2}-\frac{1}{2}\cos(2x). $$

Integrate each term across the interval:

$$ \int_0^{2\pi}\sin^2x\,dx = \frac{1}{2}(2\pi)-\frac{1}{2}\int_0^{2\pi}\cos(2x)\,dx = \pi-\frac{1}{2} \left[\frac{\sin(2x)}{2}\right]_0^{2\pi} = \pi. $$

As a check, the theorem gives \(2\pi\binom{2}{1}/4=2\pi(2/4)=\pi\), the same value.

Worked Example: A Full-Period Integral of a Fourth Power

Evaluate \(\int_0^{2\pi}\cos^4x\,dx\). With \(m=2\), the expansion is

$$ \cos^4x = \frac{1}{16} \left[ \binom{4}{2} + 2\binom{4}{1}\cos(2x) + 2\binom{4}{0}\cos(4x) \right] = \frac{6}{16}+\frac{8}{16}\cos(2x)+\frac{2}{16}\cos(4x) = \frac{3}{8}+\frac{1}{2}\cos(2x)+\frac{1}{8}\cos(4x). $$

Integrating term by term, the two cosine integrals vanish:

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

Checking with the theorem gives \(2\pi\binom{4}{2}/16=2\pi(6/16)=3\pi/4\). The coefficient of the constant term, \(3/8\), also gives the average value of \(\cos^4x\) over this full period.

Worked Example: A Full-Period Integral of a Sixth Power

Evaluate \(\int_0^{2\pi}\sin^6x\,dx\). For \(m=3\), the central binomial coefficient is \(\binom{6}{3}=20\). The sine expansion becomes

$$ \begin{aligned} \sin^6x &= \frac{1}{64} \left[ 20-2\binom{6}{2}\cos(2x) +2\binom{6}{1}\cos(4x) -2\binom{6}{0}\cos(6x) \right]\\ &= \frac{20}{64}-\frac{30}{64}\cos(2x) +\frac{12}{64}\cos(4x)-\frac{2}{64}\cos(6x)\\ &= \frac{5}{16}-\frac{15}{32}\cos(2x) +\frac{3}{16}\cos(4x)-\frac{1}{32}\cos(6x). \end{aligned} $$

Each cosine term integrates to zero, as can also be checked using its antiderivative:

$$ \begin{aligned} \int_0^{2\pi}\sin^6x\,dx &= \frac{5}{16}(2\pi) -\frac{15}{32}\left[\frac{\sin(2x)}{2}\right]_0^{2\pi} +\frac{3}{16}\left[\frac{\sin(4x)}{4}\right]_0^{2\pi} -\frac{1}{32}\left[\frac{\sin(6x)}{6}\right]_0^{2\pi}\\ &= \frac{5\pi}{8}. \end{aligned} $$

The formula confirms this: \(2\pi\binom{6}{3}/64=2\pi(20/64)=5\pi/8\). The positive result is also consistent with \(\sin^6x\geq 0\) throughout the interval.

The Role of the Full-Period Condition

The cancellation depends on the limits. For the term \(\cos(2jx)\), the antiderivative is \(\sin(2jx)/(2j)\). Its endpoint values agree on \([0,2\pi]\), so the definite integral is zero. The same reasoning applies on any interval of length \(2\pi\), since \(\sin(2j(x+2\pi))=\sin(2jx+4\pi j)=\sin(2jx)\).

By contrast, a cosine term need not have zero integral on an interval that is not a full period. For instance, \(\int_0^\pi\cos(2x)\,dx=0\), but this happens because the endpoints also give the same sine value; it is not a reason to discard every oscillatory term for arbitrary limits. The safe procedure is to check the limits or use the full-period formula only when the interval has length \(2\pi\).

The constant coefficient also has an interpretation: over \([0,2\pi]\), the average value of a function \(f\) is \(\frac{1}{2\pi}\int_0^{2\pi}f(x)\,dx\). Therefore, the average value of either \(\sin^{2m}x\) or \(\cos^{2m}x\) over a full period is \(\binom{2m}{m}/4^m\). Since the integral is the average value multiplied by the interval length, the theorem follows in another way.

Common Mistake: Dropping Oscillatory Terms Without Checking

A tempting but incomplete calculation is to write \(\cos^4x=3/8+(1/2)\cos(2x)+(1/8)\cos(4x)\), discard the cosine terms, and conclude that the integral is \(3/8\). This is only the constant coefficient, not the integral. The constant must still be multiplied by the interval length.

On \([0,2\pi]\), the correct calculation is

$$ \int_0^{2\pi}\cos^4x\,dx = \frac{3}{8}(2\pi)+0+0 = \frac{3\pi}{4}. $$

There are two checks to make: verify that the limits make the oscillatory terms vanish, and multiply the constant term by the length of the interval. This keeps the coefficient of the constant term distinct from the integral itself.

Using the Result Efficiently

Once the expansion is understood, there is no need to write every oscillatory term when only a full-period integral is requested. Identify the exponent \(2m\), find the central binomial coefficient \(\binom{2m}{m}\), and multiply by \(2\pi/4^m\). Writing out the expansion remains useful when checking a particular case or explaining why the formula applies.

1
Check the power and interval.
The power must be an even integer power, and the interval must have length \(2\pi\) for the stated formula.
2
Set the exponent equal to \(2m\).
Then the constant coefficient in either expansion is \(\binom{2m}{m}/4^m\).
3
Multiply by the period length.
The integral is \(2\pi\binom{2m}{m}/4^m\), because all nonconstant cosine terms integrate to zero.

The method works equally for sine and cosine because their even-power expansions have the same constant term. The signs of the oscillatory terms differ, but on a full period every one of those terms contributes zero net area.

Check Your Understanding

Use the constant-term method where applicable. For each integral, identify why the oscillatory terms do or do not vanish.

  1. What is the constant term in the expansion of \(\cos^6x\)?
  2. Evaluate \(\int_0^{2\pi}\cos^2x\,dx\).
  3. Evaluate \(\int_0^{2\pi}\sin^4x\,dx\), showing the constant coefficient and the interval-length factor.
  4. Why does \(\int_0^{2\pi}\cos(4x)\,dx=0\)?
  5. What additional check is needed before applying the full-period formula to an integral with different limits?

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