Tutorials › Calculus II › Definite Power Integrals with Shifted Limits

Sine and Cosine Powers · Tutorial 120 of 998

Definite Power Integrals with Shifted Limits

Use the parity of the total power to translate definite sine-cosine integrals by multiples of pi or two pi without losing track of the sign.

Beginner 9 min read

What You'll Learn

  • Identify how a shift by pi changes a sine-cosine product.
  • Apply the translation rule to both limits of a definite integral.
  • Distinguish integrals shifted by pi from those shifted by two pi.
  • Reduce a shifted integral to a simpler interval before evaluating it.
  • Check a translated result by substituting the shift into the integrand.

Why shifted limits matter

A definite integral can be easier to evaluate after its interval is translated to a familiar one, such as \([0,\pi]\) or \([0,2\pi]\). For sine-cosine powers, however, translating the limits by \(\pi\) can reverse the sign of the integrand. A shift by \(2\pi\) does not.

The sign depends on the combined powers of sine and cosine. Once that dependence is clear, a translated integral can be related to an integral on a simpler interval before any integration is done.

Definition: For nonnegative integers \(m,n\) and \(a\le b\), write \(I_{m,n}(a,b)=\int_a^b \sin^m x\cos^n x\,dx\). The total power is the integer \(m+n\). A translated interval \([a+k\pi,b+k\pi]\) is obtained by shifting both endpoints by the same integer multiple \(k\pi\).

What a shift by pi does

For any integer \(k\), the angle-addition identities give \(\sin(x+k\pi)=(-1)^k\sin x\) and \(\cos(x+k\pi)=(-1)^k\cos x\). Raising these expressions to the powers \(m\) and \(n\), respectively, shows that the product changes by the factor \((-1)^{k(m+n)}\).

$$ \sin^m(x+k\pi)\cos^n(x+k\pi) = (-1)^{k(m+n)}\sin^m x\cos^n x. $$

In particular, shifting by \(\pi\) preserves the product when \(m+n\) is even and reverses its sign when \(m+n\) is odd. Shifting by \(2\pi\) preserves the product for either parity.

Theorem: For nonnegative integers \(m,n\), an integer \(k\), and \(a\le b\), \(I_{m,n}(a+k\pi,b+k\pi)=(-1)^{k(m+n)}I_{m,n}(a,b)\). Thus a shift by \(k\pi\) leaves the value unchanged if \(k(m+n)\) is even and reverses its sign if \(k(m+n)\) is odd. In particular, any shift by an integer multiple of \(2\pi\) leaves the value unchanged.

Why the translation rule works

The integrand identity explains how the function changes, but the limits must be translated consistently as well. The substitution \(x=t+k\pi\) moves the shifted interval back to the original one. Its differential is \(dx=dt\), so it introduces no additional factor.

1
Translate the variable.
In the integral over \([a+k\pi,b+k\pi]\), set \(x=t+k\pi\). The limits for \(t\) become \(a\) and \(b\).
2
Transform the integrand.
Use \(\sin(t+k\pi)=(-1)^k\sin t\) and \(\cos(t+k\pi)=(-1)^k\cos t\). The product gains the factor \((-1)^{k(m+n)}\).
3
Take the constant factor outside.
Since \(dx=dt\), the result is \((-1)^{k(m+n)}\int_a^b\sin^m t\cos^n t\,dt\), which is the stated rule.

This argument applies to positive and negative integers \(k\). It also shows why both endpoints must move together: the substitution translates the whole interval, not just one of its bounds.

Worked examples

Worked Example: An odd total power shifted by pi

Evaluate \(\int_{\pi}^{2\pi}\sin^3 x\cos^2 x\,dx\) by translating it to \([0,\pi]\).

The total power is \(3+2=5\), which is odd. The interval \([\pi,2\pi]\) is \([0,\pi]\) shifted by \(k=1\), so the translation factor is \((-1)^{1\cdot5}=-1\). First evaluate the integral on the simpler interval:

$$ \begin{aligned} I_{3,2}(0,\pi) &=\int_0^\pi \sin^3 t\cos^2 t\,dt\\ &=\int_0^\pi \sin t(1-\cos^2 t)\cos^2 t\,dt. \end{aligned} $$

Set \(u=\cos t\), so \(du=-\sin t\,dt\). At \(t=0\), \(u=1\); at \(t=\pi\), \(u=-1\). Therefore

$$ \begin{aligned} I_{3,2}(0,\pi) &=-\int_1^{-1}(1-u^2)u^2\,du\\ &=\int_{-1}^{1}(u^2-u^4)\,du\\ &=\left[\frac{u^3}{3}-\frac{u^5}{5}\right]_{-1}^{1}\\ &=\left(\frac13-\frac15\right)-\left(-\frac13+\frac15\right)\\ &=\frac{2}{15}-\left(-\frac{2}{15}\right) =\frac{4}{15}. \end{aligned} $$

Apply the shift factor to get the requested value:

$$ \int_{\pi}^{2\pi}\sin^3 x\cos^2 x\,dx =-I_{3,2}(0,\pi) =-\frac{4}{15}. $$

Check: Set \(x=t+\pi\) directly. Then \(\sin(t+\pi)=-\sin t\) and \(\cos(t+\pi)=-\cos t\), so \(\sin^3(t+\pi)\cos^2(t+\pi)=-\sin^3t\cos^2t\). Integrating for \(0\le t\le\pi\) gives \(-4/15\), as found.

Worked Example: An odd total power shifted by two pi

Evaluate \(\int_{2\pi}^{3\pi}\sin x\cos^2 x\,dx\). The total power is \(1+2=3\), but the shift is \(2\pi\), so the value is unchanged. Translate to \([0,\pi]\):

$$ \int_{2\pi}^{3\pi}\sin x\cos^2 x\,dx = \int_0^\pi\sin t\cos^2 t\,dt. $$

With \(u=\cos t\), \(du=-\sin t\,dt\), and the limits \(u=1\) at \(t=0\) and \(u=-1\) at \(t=\pi\), this becomes

$$ \begin{aligned} \int_0^\pi\sin t\cos^2 t\,dt &=-\int_1^{-1}u^2\,du\\ &=\int_{-1}^{1}u^2\,du\\ &=\left[\frac{u^3}{3}\right]_{-1}^{1}\\ &=\frac13-\left(-\frac13\right) =\frac23. \end{aligned} $$

Thus the shifted integral is \(2/3\). Check: Writing \(x=t+2\pi\) leaves both sine and cosine unchanged, so the integrand and the translated limits give exactly the integral on \([0,\pi]\).

Worked Example: An even total power shifted by pi

Evaluate \(\int_{\pi}^{2\pi}\sin^2 x\,dx\). Here \(m+n=2\), so shifting by \(\pi\) does not change the value. Translate the interval to \([0,\pi]\), then use the power-reduction identity \(\sin^2 t=(1-\cos 2t)/2\):

$$ \begin{aligned} \int_{\pi}^{2\pi}\sin^2 x\,dx &=\int_0^\pi\sin^2 t\,dt\\ &=\frac12\int_0^\pi(1-\cos 2t)\,dt\\ &=\frac12\left[t-\frac{\sin 2t}{2}\right]_0^\pi\\ &=\frac12\left(\pi-\frac{\sin 2\pi}{2}-0+\frac{\sin 0}{2}\right)\\ &=\frac{\pi}{2}. \end{aligned} $$

Check: Since \(\sin(t+\pi)=-\sin t\), squaring gives \(\sin^2(t+\pi)=\sin^2t\). The translated integral is therefore the integral over \([0,\pi]\), consistent with the calculation.

A reliable way to handle shifted limits

When an interval is presented as a familiar interval shifted by a multiple of \(\pi\), separate the translation from the integration. First identify the shift \(k\pi\) and translate both endpoints back. Then determine whether \(k(m+n)\) is even or odd. Only after applying the resulting factor should you evaluate the integral on the simpler interval.

1
Identify the common shift.
Express the given limits as \(a+k\pi\) and \(b+k\pi\), using the same integer \(k\).
2
Count the total power.
Add the sine and cosine exponents to find \(m+n\).
3
Set the sign.
Use \((-1)^{k(m+n)}\): an even exponent gives \(+1\), and an odd exponent gives \(-1\).
4
Evaluate on the translated interval.
Use an appropriate integration method for that interval, then include the sign factor.

The translation rule does not evaluate the integral on the simpler interval by itself. It only relates the two integrals. The integration method still depends on the powers and limits, as in the earlier material on sine and cosine powers.

A common mistake: checking only the sine power

A frequent error is to decide the sign from the sine exponent alone. For example, it would be incorrect to claim that \(\sin^2x\cos x\) is unchanged by a shift of \(\pi\) just because the sine power is even. The cosine factor also changes sign.

$$ \begin{aligned} \sin^2(x+\pi)\cos(x+\pi) &=(-\sin x)^2(-\cos x)\\ &=-\sin^2x\cos x. \end{aligned} $$

The total power is \(2+1=3\), which is odd, so the sign reverses. The correction is to count all sine and cosine factors together: the shift factor is determined by \(m+n\), not by either exponent in isolation.

Another essential detail is to shift both limits by the same amount. The formula relates \([a+k\pi,b+k\pi]\) to \([a,b]\); it does not say that changing just the upper or lower limit creates a translated copy of the original integral.

When the rule is useful

Many sine-cosine power integrals are given over intervals whose endpoints are not the most convenient ones for direct evaluation. If both endpoints are displaced by a multiple of \(\pi\), the translation formula can move the calculation to a simpler interval. It can also reveal whether two integrals have the same value or opposite values without evaluating either one.

The distinction between a shift by \(\pi\) and one by \(2\pi\) is especially important. An odd total power reverses sign under a single \(\pi\)-shift, but a \(2\pi\)-shift preserves the value. An even total power preserves the value under either shift. The total power and the amount of translation together determine the sign.

Check Your Understanding

Use the translation rule before attempting to evaluate each integral.

  1. Does \(\int_{2\pi}^{3\pi}\sin^4x\cos x\,dx\) equal, or have the opposite sign from, \(\int_0^\pi\sin^4x\cos x\,dx\)?
  2. What factor relates \(\int_{-\pi}^{0}\sin^2x\cos^4x\,dx\) to \(\int_0^\pi\sin^2x\cos^4x\,dx\)?
  3. Why does shifting an interval by \(2\pi\) leave a sine-cosine power integral unchanged, regardless of the exponents?
  4. For \(\sin^3x\cos^2x\), what factor relates the integral over \([3\pi,4\pi]\) to the integral over \([0,\pi]\)?
  5. What must be true of the two endpoints for the translation formula to apply directly?

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