Class 12 Maths, Worked in Full Past papersGet updates
Chapter 7 · Integrals

Miscellaneous · Q35: ∫0π/2sin⁡3x dx=23\int_0^{\pi/2}\sin^3x\,dx=\frac23

Miscellaneous ExerciseDefinite integrals by substitution · Miscellaneous Exercise
The question

Prove that

∫0π/2sin⁡3x dx=23\int_0^{\pi/2} \sin^3 x\,dx = \frac23
Exam answer

Let I=∫0π/2sin⁡3x dxI = \displaystyle\int_0^{\pi/2}\sin^3 x\,dx⁠.

I=∫0π/2(1−cos⁡2x)sin⁡x dxI = \int_0^{\pi/2}(1 - \cos^2 x)\sin x\,dx

Put cos⁡x=t\cos x = t⁠. Then −sin⁡x dx=dt-\sin x\,dx = dt⁠.

When x=0x = 0⁠, t=1t = 1⁠; when x=π2x = \frac{\pi}{2}⁠, t=0t = 0⁠.

I=−∫10(1−t2) dtI = -\int_1^0(1 - t^2)\,dt

Swapping the limits removes the minus sign:

I=∫01(1−t2) dt=[t−t33]01=(1−13)−0\begin{aligned} I &= \int_0^1(1 - t^2)\,dt \\ &= \left[t - \frac{t^3}{3}\right]_0^1 \\ &= \left(1 - \frac13\right) - 0 \end{aligned}

∴ I=23=RHS\therefore\ I = \dfrac23 = \text{RHS}⁠. Hence proved.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

An odd power of sine can be split as one sin⁡x\sin x times an even power, and the even power can be written in cosines: sin⁡3x=(1−cos⁡2x)sin⁡x\sin^3 x = (1 - \cos^2 x)\sin x⁠. The single sin⁡x\sin x together with dxdx is (minus) the differential of cos⁡x\cos x⁠, so the substitution t=cos⁡xt = \cos x turns the integral into a polynomial in tt⁠.

Given, to show, and the plan
Given
I=∫0π/2sin⁡3x dxI = \displaystyle\int_0^{\pi/2} \sin^3 x\,dx⁠.
To show
I=23I = \frac23⁠.
Plan
(1) Continuity. (2) Split off one sin⁡x\sin x and use sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x⁠. (3) Substitute t=cos⁡xt = \cos x⁠, change the limits. (4) Integrate the polynomial. (5) Check the antiderivative by differentiating. (6) Cross-check with the triple-angle identity.

Basics you need

1Pythagorean identity

sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x⁠. Basics: trigonometric identities

2Substitution with changed limits (Section 7.9)

With t=cos⁡xt = \cos x⁠, dt=−sin⁡x dxdt = -\sin x\,dx⁠; the limits become cos⁡0=1\cos 0 = 1 and cos⁡π2=0\cos\frac{\pi}{2} = 0⁠. Basics: substitution

3Swapping the limits (P1)

∫abf=−∫baf\int_a^b f = -\int_b^a f (Section 7.10, P1). It absorbs the minus sign of dtdt⁠. Lesson: properties of definite integrals

4Triple angle (for the cross-check)

sin⁡3x=3sin⁡x−4sin⁡3x\sin 3x = 3\sin x - 4\sin^3 x⁠, so sin⁡3x=3sin⁡x−sin⁡3x4\sin^3 x = \frac{3\sin x - \sin 3x}{4}⁠. Basics: trigonometric identities

Solution

  1. The integrand is continuous on [0,π2][0, \frac{\pi}{2}]

    sin⁡3x\sin^3 x is a power of the continuous function sin⁡x\sin x⁠, so it is continuous everywhere, and Theorem 2 of Section 7.8.3 applies.

    Every definite integral starts with this check; here nothing can fail.
  2. Split off one sin⁡x\sin x

    sin⁡3x=sin⁡2x⋅sin⁡x=(1−cos⁡2x)sin⁡x.\sin^3 x = \sin^2 x\cdot\sin x = (1 - \cos^2 x)\sin x .
    We want the integrand to look like "a function of cos⁡x\cos x" times "the derivative of cos⁡x\cos x". The derivative of cos⁡x\cos x is −sin⁡x-\sin x⁠, so we keep one sin⁡x\sin x aside for the differential and convert the remaining even power sin⁡2x\sin^2 x into cosines. This works for any odd power of sine.
    sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1⁠. Basics: trigonometric identities
  3. Substitute t=cos⁡xt = \cos x and change the limits

    Put t=cos⁡xt = \cos x⁠, so dt=−sin⁡x dxdt = -\sin x\,dx⁠, that is sin⁡x dx=−dt\sin x\,dx = -dt⁠. At x=0x = 0⁠, t=1t = 1⁠; at x=π2x = \frac{\pi}{2}⁠, t=0t = 0⁠. Then

    I=∫10(1−t2)(−dt)=∫01(1−t2) dt.\begin{aligned} I &= \int_1^0 (1 - t^2)(-dt) \\ &= \int_0^1 (1 - t^2)\,dt . \end{aligned}
    The second line uses P1: swapping the limits changes the sign, which cancels the minus from dtdt⁠. The substitution is valid on the whole interval: cos⁡x\cos x is differentiable and decreasing on [0,π2][0, \frac{\pi}{2}] (its derivative −sin⁡x≤0-\sin x \le 0⁠), so it maps [0,π2][0, \frac{\pi}{2}] onto [0,1][0, 1] once, running backwards.
    Section 7.9; P1, Section 7.10. Lesson: integration by substitution
  4. Integrate the polynomial

    I=[t−t33]01=(1−13)−0=23.I = \Big[t - \tfrac{t^3}{3}\Big]_0^1 = \left(1 - \tfrac13\right) - 0 = \tfrac23 .

    This is the required result.

    Power rule (standard formula (i), Section 7.2) and Theorem 2. Size check: sin⁡3x\sin^3 x rises from 0 to 1 on [0,π2][0, \frac{\pi}{2}]⁠, an interval of length about 1.571, and stays small for a while (since cubing shrinks numbers below 1), so an area of about 0.667, less than half of 1×1.5711 \times 1.571⁠, is reasonable.
  5. Check: the antiderivative in xx

    Back in xx⁠, ∫sin⁡3x dx\int\sin^3 x\,dx =−(t−t33)+C= -\left(t - \frac{t^3}{3}\right) + C =−cos⁡x+cos⁡3x3+C= -\cos x + \frac{\cos^3 x}{3} + C⁠. Differentiate:

    ddx(−cos⁡x+cos⁡3x3)=sin⁡x+cos⁡2x (−sin⁡x)=sin⁡x (1−cos⁡2x)=sin⁡3x ✓\begin{aligned} &\frac{d}{dx}\left(-\cos x + \tfrac{\cos^3 x}{3}\right) \\ &= \sin x + \cos^2 x\,(-\sin x) \\ &=\sin x\,(1 - \cos^2 x) = \sin^3 x \ ✓ \end{aligned}

    valid for every real xx⁠. Evaluating it directly: at π2\frac{\pi}{2} it is 0+0=00 + 0 = 0⁠; at 00 it is −1+13=−23-1 + \frac13 = -\frac23⁠; difference 23\frac23 ✓.

    The indefinite integral in tt is ∫(1−t2)(−dt)\int(1 - t^2)(-dt)⁠, which carries the minus sign. The chain rule on cos⁡3x3\frac{\cos^3 x}{3} gives cos⁡2x⋅(−sin⁡x)\cos^2 x\cdot(-\sin x)⁠.
  6. Cross-check with the triple-angle identity

    From sin⁡3x=3sin⁡x−4sin⁡3x\sin 3x = 3\sin x - 4\sin^3 x⁠: sin⁡3x=34sin⁡x−14sin⁡3x\sin^3 x = \frac34\sin x - \frac14\sin 3x⁠. So

    I=[−34cos⁡x+112cos⁡3x]0π/2=(0+0)−(−34+112)=812=23 ✓\begin{aligned} I &= \Big[-\tfrac34\cos x + \tfrac{1}{12}\cos 3x\Big]_0^{\pi/2} \\ &= (0 + 0) - \left(-\tfrac34 + \tfrac{1}{12}\right) = \tfrac{8}{12} = \tfrac23 \ ✓ \end{aligned}

    The two antiderivatives are in fact identical: using cos⁡3x=4cos⁡3x−3cos⁡x\cos 3x = 4\cos^3 x - 3\cos x⁠,

    −34cos⁡x+112cos⁡3x=−34cos⁡x+13cos⁡3x−14cos⁡x=−cos⁡x+cos⁡3x3.\begin{aligned} &-\tfrac34\cos x + \tfrac{1}{12}\cos 3x \\ &= -\tfrac34\cos x + \tfrac13\cos^3 x - \tfrac14\cos x \\ &= -\cos x + \tfrac{\cos^3 x}{3} . \end{aligned}
    This is the method of Section 7.3.2 (integration using trigonometric identities). cos⁡3π2=0\cos\frac{3\pi}{2} = 0 and cos⁡0=1\cos 0 = 1⁠. A second, independent method that gives the same number is strong evidence that the proof is right.
    ∫sin⁡kx dx=−cos⁡kxk+C\int\sin kx\,dx = -\frac{\cos kx}{k} + C⁠. Basics: trigonometric identities
Result

∫0π/2sin⁡3x dx=∫01(1−t2) dt=23,\begin{aligned} \int_0^{\pi/2} \sin^3 x\,dx &= \int_0^1 (1 - t^2)\,dt \\ &= \frac23, \end{aligned} as was to be proved.

Check it with numbers

Numerical integration (adaptive quadrature) of sin⁡3x\sin^3 x over [0,π2][0, \frac{\pi}{2}] gives 0.6666666667, and 23≈0.6666666667\frac23 \approx 0.6666666667 ✓.

Identity spot check at x=0.7x = 0.7⁠: sin⁡30.7≈0.64421773\sin^3 0.7 \approx 0.6442177^3 ≈0.2673609\approx 0.2673609⁠, and 3sin⁡0.7−sin⁡2.14\frac{3\sin 0.7 - \sin 2.1}{4} ≈1.9326531−0.86320944\approx \frac{1.9326531 - 0.8632094}{4} ≈0.2673609\approx 0.2673609 ✓.

Common mistakes
  1. Writing ∫sin⁡3x dx=sin⁡4x4\int\sin^3 x\,dx = \frac{\sin^4 x}{4}⁠. The power rule needs the derivative of the inside, cos⁡x\cos x⁠, as a factor, and it is not there.
  2. Losing the minus sign of dt=−sin⁡x dxdt = -\sin x\,dx⁠, which gives −23-\frac23⁠.
  3. Not changing the limits: with t=cos⁡xt = \cos x the lower limit becomes 1 and the upper limit 0.
What to take away
  1. Odd power of sin⁡x\sin x⁠: keep one sin⁡x\sin x for dtdt⁠, write the rest in cos⁡x\cos x⁠, put t=cos⁡xt = \cos x⁠. (For an odd power of cos⁡x\cos x⁠, swap the roles.)
  2. ∫0π/2sin⁡3x dx=∫0π/2cos⁡3x dx=23\int_0^{\pi/2}\sin^3 x\,dx = \int_0^{\pi/2}\cos^3 x\,dx = \frac23 (the second by P4).

Every fact used, and where it comes from

FactUsed inSource
A definite integral needs ff continuous on [a,b][a, b]Step 1Theorem 2 and Remark (iv), Section 7.8.3
sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 xStep 2Trigonometric functions (Class XI)
Substitution with changed limits; P1Step 3Section 7.9; Section 7.10, P1
Power rule; Theorem 2Step 4Standard formula (i), Section 7.2; Section 7.8.3
sin⁡3x=3sin⁡x−4sin⁡3x\sin 3x = 3\sin x - 4\sin^3 x⁠, cos⁡3x=4cos⁡3x−3cos⁡x\cos 3x = 4\cos^3 x - 3\cos xStep 6Trigonometric functions (Class XI); method of Section 7.3.2
P4 (take-away)Take-awaySection 7.10, P4
All decimalsCheckRecomputed (mpmath quadrature, 30 digits) in the site's verification script
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →