Stuck on this? Solve it with AI
Calculus · real student question

Find the indefinite integral of sin^(2n)(x) for a positive integer n. Give a reduction formula, an explicit closed form, and the cases n = 1, 2, 3.

Question

Find

∫sin⁡2n(x) dx\int\sin^{2n}(x)\,dx

for a positive integer nn. Give a reduction formula, an explicit closed form, and write out the cases n=1,2,3n=1,2,3.

Step-by-step solution

  1. Why a reduction formula rather than a substitution. For an odd power of sine you peel off one factor and substitute u=cos⁡xu=\cos x. That trick fails for an even power 2n2n, because no single sine is left over. The standard route is instead integration by parts, which lowers the exponent by two and produces a recursion.

  2. State the reduction formula. Writing sin⁡mx=sin⁡m−1x⋅sin⁡x\sin^{m}x=\sin^{m-1}x\cdot\sin x and integrating by parts gives the classical result

    ∫sin⁡mx dx=−sin⁡m−1xcos⁡xm+m−1m∫sin⁡m−2x dx.\int\sin^{m}x\,dx=-\frac{\sin^{m-1}x\cos x}{m}+\frac{m-1}{m}\int\sin^{m-2}x\,dx.

    With m=2nm=2n and In=∫sin⁡2nx dxI_{n}=\int\sin^{2n}x\,dx this becomes

    In=−sin⁡2n−1x cos⁡x2n+2n−12n In−1,I0=∫1 dx=x.I_{n}=-\frac{\sin^{2n-1}x\,\cos x}{2n}+\frac{2n-1}{2n}\,I_{n-1},\qquad I_{0}=\int 1\,dx=x.

    Each application drops the power by 22, so after nn steps you land on I0=xI_{0}=x — which is why an even power always leaves a bare xx term in the answer.

  3. Get an explicit closed form from the power-reduction identity. Expanding sin⁡2nx\sin^{2n}x in cosines of multiple angles,

    sin⁡2nx=122n(2nn)+122n−1∑k=0n−1(−1)n−k(2nk)cos⁡(2(n−k)x),\sin^{2n}x=\frac{1}{2^{2n}}\binom{2n}{n}+\frac{1}{2^{2n-1}}\sum_{k=0}^{n-1}(-1)^{n-k}\binom{2n}{k}\cos\bigl(2(n-k)x\bigr),

    every term of which integrates instantly. The constant term (2nn)/22n\binom{2n}{n}/2^{2n} is the mean value of sin⁡2n\sin^{2n} over a period, and it is what becomes the xx term.

  4. Integrate term by term. Using ∫cos⁡(λx) dx=sin⁡(λx)λ\int\cos(\lambda x)\,dx=\frac{\sin(\lambda x)}{\lambda} with λ=2(n−k)\lambda=2(n-k):

    ∫sin⁡2nx dx=(2nn)22n x+122n∑k=0n−1(−1)n−k(2nk)sin⁡(2(n−k)x)n−k+C.\int\sin^{2n}x\,dx=\frac{\binom{2n}{n}}{2^{2n}}\,x+\frac{1}{2^{2n}}\sum_{k=0}^{n-1}(-1)^{n-k}\binom{2n}{k}\frac{\sin\bigl(2(n-k)x\bigr)}{n-k}+C.

    The extra factor 12\tfrac12 from 12(n−k)\tfrac{1}{2(n-k)} is what turns 22n−12^{2n-1} into 22n2^{2n} in the denominator.

  5. Write out the first three cases. Running either formula for n=1,2,3n=1,2,3:

    ∫sin⁡2x dx=x2−sin⁡2x4+C,\int\sin^{2}x\,dx=\frac{x}{2}-\frac{\sin 2x}{4}+C,

    ∫sin⁡4x dx=3x8−sin⁡2x4+sin⁡4x32+C,\int\sin^{4}x\,dx=\frac{3x}{8}-\frac{\sin 2x}{4}+\frac{\sin 4x}{32}+C,

    ∫sin⁡6x dx=5x16−15sin⁡2x64+3sin⁡4x64−sin⁡6x192+C.\int\sin^{6}x\,dx=\frac{5x}{16}-\frac{15\sin 2x}{64}+\frac{3\sin 4x}{64}-\frac{\sin 6x}{192}+C.

    The leading coefficients 12,38,516\tfrac12,\tfrac38,\tfrac{5}{16} are exactly (2nn)/22n\binom{2n}{n}/2^{2n}, matching the Wallis pattern.

  6. Check numerically. Evaluating the closed form on [0,1.3][0,1.3] against Simpson quadrature: n=1n=1 gives 0.52112465700.5211246570 both ways, n=2n=2 gives 0.33101669910.3310166991, n=3n=3 gives 0.23881668240.2388166824. All three agree to ten digits ✓.

Answer

∫sin⁡2nx dx=−sin⁡2n−1x cos⁡x2n+2n−12n∫sin⁡2n−2x dx=(2nn)22nx+122n∑k=0n−1(−1)n−k(2nk)sin⁡(2(n−k)x)n−k+C\int\sin^{2n}x\,dx=-\frac{\sin^{2n-1}x\,\cos x}{2n}+\frac{2n-1}{2n}\int\sin^{2n-2}x\,dx=\frac{\binom{2n}{n}}{2^{2n}}x+\frac{1}{2^{2n}}\sum_{k=0}^{n-1}(-1)^{n-k}\binom{2n}{k}\frac{\sin(2(n-k)x)}{n-k}+C

Need to solve a different problem like this? Open the solver →