Tutorials › Calculus II › Sine-Power Recurrences on Arbitrary Intervals

Reduction Formulas · Tutorial 91 of 998

Sine-Power Recurrences on Arbitrary Intervals

Learn to reduce definite sine-power integrals on arbitrary intervals while correctly carrying endpoint contributions through each step.

Intermediate 9 min read

What You'll Learn

  • State the sine-power recurrence for an interval with arbitrary real endpoints.
  • Derive the recurrence by integration by parts and simplify its boundary term.
  • Identify when endpoint contributions vanish and when they must be retained.
  • Apply the recurrence repeatedly while keeping track of each boundary contribution.
  • Check reduced integrals using direct antiderivatives.

Why the Interval Endpoints Matter

On a definite integral, integration by parts produces not only a new integral but also a boundary term. For sine powers, that term may disappear on a particular interval, such as \([0,\pi/2]\). On a general interval \([u,v]\), however, it usually does not. Dropping it can change the value of the integral even when the reduction of the remaining integral is carried out correctly.

This tutorial develops the sine-power recurrence with both endpoints visible. Throughout, \(n\) is an integer with \(n\ge 2\), and \(u,v\in\mathbb R\) with \(u\le v\). Define

$$ I_n(u,v)=\int_u^v \sin^n x\,dx. $$

The interval can cross zeros of sine or cosine; no assumption that the integrand is positive is needed. The power \(n\) is an integer, so \(\sin^n x\) is well-defined for every real \(x\).

The Recurrence with Its Boundary Contribution

Theorem: For every integer \(n\ge2\) and real endpoints \(u\le v\), $$ I_n(u,v)=\frac{n-1}{n}I_{n-2}(u,v) +\frac{\sin^{n-1}u\cos u-\sin^{n-1}v\cos v}{n}. $$

The first term reduces the exponent by two. The second term records the values at the two ends of the interval. In particular, it is the value at \(u\) minus the value at \(v\), divided by \(n\); this order follows from evaluating an antiderivative at the upper endpoint and subtracting its value at the lower endpoint.

The two starting integrals needed to use the recurrence are

$$ I_0(u,v)=v-u, \qquad I_1(u,v)=\cos u-\cos v. $$

The first follows by integrating \(1\). For the second, an antiderivative of \(\sin x\) is \(-\cos x\), so \(I_1=[-\cos x]_u^v=\cos u-\cos v\). Repeated reduction eventually reaches one of these two cases, according to whether \(n\) is even or odd.

Why the Formula Works

Write \(\sin^n x=\sin^{n-1}x\sin x\), and use integration by parts with \(a(x)=\sin^{n-1}x\) and \(db=\sin x\,dx\). Then \(da=(n-1)\sin^{n-2}x\cos x\,dx\) and \(b=-\cos x\). Integration by parts on \([u,v]\) gives

$$ I_n(u,v) = \left[-\sin^{n-1}x\cos x\right]_u^v +(n-1)\int_u^v\sin^{n-2}x\cos^2x\,dx. $$

Use \(\cos^2x=1-\sin^2x\) in the remaining integral. This turns it into a difference of two sine-power integrals:

$$ \begin{aligned} I_n(u,v) &=\left[-\sin^{n-1}x\cos x\right]_u^v +(n-1)\int_u^v\sin^{n-2}x(1-\sin^2x)\,dx\\ &=\left[-\sin^{n-1}x\cos x\right]_u^v +(n-1)\bigl(I_{n-2}(u,v)-I_n(u,v)\bigr). \end{aligned} $$

Move the term involving \(I_n\) on the right to the left. The resulting coefficient on the left is \(1+(n-1)=n\). Also, evaluating the bracket gives the lower-end value minus the upper-end value:

$$ \begin{aligned} nI_n(u,v) &= (n-1)I_{n-2}(u,v) +\sin^{n-1}u\cos u-\sin^{n-1}v\cos v. \end{aligned} $$

Dividing by \(n\) proves the stated recurrence. The boundary contribution is not an optional adjustment: it is the integration-by-parts term, and it is part of the identity for every choice of endpoints.

Worked Example: A Fourth Power on \([0,\pi/3]\)

Worked Example: A Fourth Power on \([0,\pi/3]\)

Evaluate \(I_4(0,\pi/3)=\int_0^{\pi/3}\sin^4x\,dx\) using the recurrence, retaining the endpoint terms.

First apply the recurrence with \(n=4\):

$$ I_4(0,\pi/3) =\frac34 I_2(0,\pi/3) +\frac{\sin^3(0)\cos(0)-\sin^3(\pi/3)\cos(\pi/3)}{4}. $$

Since \(\sin 0=0\), \(\cos 0=1\), \(\sin(\pi/3)=\sqrt3/2\), and \(\cos(\pi/3)=1/2\), the boundary term is

$$ \frac{0-(\sqrt3/2)^3(1/2)}{4} =\frac{-3\sqrt3/16}{4} =-\frac{3\sqrt3}{64}. $$

Now reduce \(I_2\) with \(n=2\):

$$ \begin{aligned} I_2(0,\pi/3) &=\frac12 I_0(0,\pi/3) +\frac{\sin(0)\cos(0)-\sin(\pi/3)\cos(\pi/3)}{2}\\ &=\frac12\left(\frac{\pi}{3}\right) +\frac{0-(\sqrt3/2)(1/2)}{2}\\ &=\frac{\pi}{6}-\frac{\sqrt3}{8}. \end{aligned} $$

Substitute this value into the reduction for \(I_4\):

$$ \begin{aligned} I_4(0,\pi/3) &=\frac34\left(\frac{\pi}{6}-\frac{\sqrt3}{8}\right)-\frac{3\sqrt3}{64}\\ &=\frac{\pi}{8}-\frac{3\sqrt3}{32}-\frac{3\sqrt3}{64}\\ &=\frac{\pi}{8}-\frac{9\sqrt3}{64}. \end{aligned} $$

Check by direct integration. Since \(\sin^4x=(3-4\cos 2x+\cos 4x)/8\), an antiderivative is \(3x/8-\sin 2x/4+\sin 4x/32\). At \(x=\pi/3\) this is \(\pi/8-\sqrt3/8-\sqrt3/64=\pi/8-9\sqrt3/64\); at \(x=0\) it is zero. The difference agrees with the recurrence result.

When Does the Boundary Term Vanish?

For a particular exponent \(n\), the boundary contribution is zero precisely when

$$ \sin^{n-1}u\cos u=\sin^{n-1}v\cos v. $$

It is enough, but not necessary, for both endpoint values to be zero. For example, an endpoint where \(\sin x=0\) makes the product zero, and an endpoint where \(\cos x=0\) does so as well. If only one endpoint makes the product zero, the other endpoint may still contribute. More generally, the two products can be equal even when neither is zero.

Thus the recurrence on \([0,\pi/2]\) has no boundary contribution: at \(0\), the sine factor is zero, while at \(\pi/2\), the cosine factor is zero. That endpoint behavior is special to that interval. It is not a reason to omit the term on a different interval.

Worked Example: A Second Power on a Symmetric Interval

Worked Example: A Second Power on a Symmetric Interval

Evaluate \(\int_{\pi/4}^{3\pi/4}\sin^2x\,dx\). Here the two endpoint products are nonzero, so their difference must be computed.

Set \(n=2\), \(u=\pi/4\), and \(v=3\pi/4\). The recurrence gives

$$ I_2(\pi/4,3\pi/4) =\frac12 I_0(\pi/4,3\pi/4) +\frac{\sin(\pi/4)\cos(\pi/4)-\sin(3\pi/4)\cos(3\pi/4)}{2}. $$

The lower endpoint product is \((\sqrt2/2)(\sqrt2/2)=1/2\). The upper endpoint product is \((\sqrt2/2)(-\sqrt2/2)=-1/2\). Also \(I_0=3\pi/4-\pi/4=\pi/2\). Therefore

$$ I_2(\pi/4,3\pi/4) =\frac12\left(\frac{\pi}{2}\right) +\frac{1/2-(-1/2)}{2} =\frac{\pi}{4}+\frac12. $$

For a direct check, an antiderivative of \(\sin^2x\) is \(x/2-\sin(2x)/4\). At \(3\pi/4\), its value is \(3\pi/8+1/4\); at \(\pi/4\), its value is \(\pi/8-1/4\). Subtracting gives \(\pi/4+1/2\), as required.

Worked Example: An Odd Power on \([\pi/6,\pi/2]\)

Worked Example: An Odd Power on \([\pi/6,\pi/2]\)

Evaluate \(\int_{\pi/6}^{\pi/2}\sin^3x\,dx\). This example uses the odd starting integral \(I_1\) and a nonzero lower-end contribution.

With \(n=3\), the recurrence is

$$ I_3(\pi/6,\pi/2) =\frac23 I_1(\pi/6,\pi/2) +\frac{\sin^2(\pi/6)\cos(\pi/6)-\sin^2(\pi/2)\cos(\pi/2)}{3}. $$

First, compute the lower-power integral:

$$ I_1(\pi/6,\pi/2) =\cos(\pi/6)-\cos(\pi/2) =\frac{\sqrt3}{2}-0 =\frac{\sqrt3}{2}. $$

Next, evaluate the boundary term. At the lower endpoint, \(\sin^2(\pi/6)\cos(\pi/6)=(1/2)^2(\sqrt3/2)=\sqrt3/8\). At the upper endpoint, \(\sin^2(\pi/2)\cos(\pi/2)=1\cdot0=0\). Hence

$$ I_3(\pi/6,\pi/2) =\frac23\left(\frac{\sqrt3}{2}\right)+\frac{\sqrt3/8-0}{3} =\frac{\sqrt3}{3}+\frac{\sqrt3}{24} =\frac{3\sqrt3}{8}. $$

Check using the antiderivative \(-\cos x+\cos^3x/3\). Its value at \(\pi/2\) is zero. At \(\pi/6\), it is \(-\sqrt3/2+(\sqrt3/2)^3/3=-\sqrt3/2+\sqrt3/8=-3\sqrt3/8\). The upper value minus the lower value is \(3\sqrt3/8\), matching the recurrence.

Reducing Repeatedly Without Losing Terms

When the recurrence is used more than once, each reduction has its own boundary contribution. A reliable approach is to write every step separately, then substitute the lower-power value. For instance, for \(I_4\), the reduction contains both the \(n=4\) endpoint term and the endpoint term from reducing \(I_2\). The first example shows why it is unsafe to record only the coefficient multiplying \(I_0\): the two boundary contributions are also part of the final value.

1
Choose the current exponent.
Apply the recurrence with that exponent, not with the original exponent if the integral has already been reduced.
2
Evaluate the boundary difference.
Compute the lower-end product minus the upper-end product, then divide by the current exponent.
3
Continue to a starting integral.
Reduce by two until reaching \(I_0\) or \(I_1\), and evaluate that integral on the same endpoints.
4
Check the result.
When practical, compare with a direct antiderivative or differentiate the antiderivative used for the check.

A Common Error: Dropping the Endpoint Term

A tempting but incorrect calculation is to use \(I_2(u,v)=\tfrac12 I_0(u,v)\) for every interval. That equality is valid only when the boundary difference for \(n=2\) is zero. On \([\pi/4,3\pi/4]\), it would give \(I_2=\pi/4\), because \(I_0=\pi/2\). But the correct recurrence includes the nonzero contribution \(\tfrac12\), giving \(I_2=\pi/4+1/2\). The direct antiderivative check confirms the latter.

Key takeaway: For a definite sine-power integral on arbitrary endpoints, retain the term \(\bigl(\sin^{n-1}u\cos u-\sin^{n-1}v\cos v\bigr)/n\) unless you have explicitly shown that it is zero.

Check Your Understanding

Use the recurrence and endpoint values carefully; do not assume the boundary contribution vanishes.

  1. State the recurrence for \(I_n(u,v)\), including the conditions on \(n,u,v\).
  2. For which endpoint choices does the boundary term vanish automatically because one of its factors is zero?
  3. Use the recurrence to calculate \(I_2(0,\pi/3)\).
  4. Explain why applying the recurrence on \([\pi/4,3\pi/4]\) without its boundary term gives an incorrect value.
  5. What are the two starting integrals needed to reduce all nonnegative integer sine powers?

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