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

Exercise 7.10 · Q11: ∫−π/2π/2sin⁡2x dx\int_{-\pi/2}^{\pi/2}\sin^2x\,dx

Exercise 7.10Properties of definite integrals (P7, P4) · Section 7.10
The question

By using the properties of definite integrals, evaluate the integrals in Exercises 1 to 19.

11. ∫−π2π2sin⁡2x dx\displaystyle\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}\sin^2 x\,dx

Exam answer

Let I=∫−π2π2sin⁡2x dxI = \displaystyle\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}\sin^2 x\,dx and f(x)=sin⁡2xf(x) = \sin^2 x⁠.

f(−x)=sin⁡2(−x)f(-x) = \sin^2(-x) =sin⁡2x=f(x)= \sin^2 x = f(x)⁠, so ff is even.

Using ∫−aaf(x) dx=2∫0af(x) dx\displaystyle\int_{-a}^{a} f(x)\,dx = 2\int_0^a f(x)\,dx for even ff⁠,

I=2∫0π2sin⁡2x dx…(i)I = 2\int_0^{\frac{\pi}{2}}\sin^2 x\,dx\quad\ldots(\text{i})

Using ∫0af(x) dx=∫0af(a−x) dx\displaystyle\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx⁠,

I=2∫0π2sin⁡2(π2−x)dx=2∫0π2cos⁡2x dx…(ii)\begin{aligned} I &= 2\int_0^{\frac{\pi}{2}}\sin^2\left(\frac{\pi}{2} - x\right)dx \\ &= 2\int_0^{\frac{\pi}{2}}\cos^2 x\,dx\quad\ldots(\text{ii}) \end{aligned}

Adding (i) and (ii),

2I=2∫0π2(sin⁡2x+cos⁡2x)dx=2∫0π21 dx=2⋅π2=π\begin{aligned} 2I &= 2\int_0^{\frac{\pi}{2}}\left(\sin^2 x + \cos^2 x\right)dx \\ &= 2\int_0^{\frac{\pi}{2}}1\,dx = 2\cdot\frac{\pi}{2} = \pi \end{aligned}

∴ I=π2\therefore\ I = \dfrac{\pi}{2}⁠.

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

The one idea this problem is built on

The interval [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right] is symmetric about 0, and sin⁡2x\sin^2 x is an even function: its graph is its own mirror image in the yy-axis. Property P7(i) then says the integral is twice the integral over the right half [0,π2]\left[0, \frac{\pi}{2}\right]⁠, and that half was found in Question 1's way: it is π4\frac{\pi}{4}⁠.

Given, to find, and the plan
Given
I=∫−π/2π/2sin⁡2x dxI = \int_{-\pi/2}^{\pi/2}\sin^2 x\,dx⁠.
To find
The exact value of II⁠, and its decimal value.
Plan
Check continuity; show sin⁡2x\sin^2 x is even; apply P7(i) with a=π2a = \frac{\pi}{2}⁠; evaluate ∫0π/2sin⁡2x dx\int_0^{\pi/2}\sin^2 x\,dx by P4; double. Confirm with the double-angle formula.

Basics you need

1Even and odd functions

ff is even if f(−x)=f(x)f(-x) = f(x) for all xx (graph symmetric in the yy-axis); odd if f(−x)=−f(x)f(-x) = -f(x)⁠. Basics: symmetry and mirror images

2Property P7 (Section 7.10)

(i) ∫−aaf(x) dx=2∫0af(x) dx\int_{-a}^{a} f(x)\,dx = 2\int_0^a f(x)\,dx if ff is even; (ii) ∫−aaf(x) dx=0\int_{-a}^{a} f(x)\,dx = 0 if ff is odd. Lesson: properties of definite integrals

3Property P4 (Section 7.10)

∫0af(x) dx=∫0af(a−x) dx\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx⁠. Lesson: properties of definite integrals

4Trigonometric facts

sin⁡(−x)=−sin⁡x\sin(-x) = -\sin x⁠, sin⁡(π2−x)=cos⁡x\sin\left(\frac{\pi}{2} - x\right) = \cos x⁠, sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1⁠. Basics: trigonometric identities

Solution

  1. The integrand is continuous

    sin⁡x\sin x is continuous for every real xx⁠, so sin⁡2x\sin^2 x is continuous on [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]⁠. Label

    I=∫−π2π2sin⁡2x dx.I = \int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}\sin^2 x\,dx .
    P7 and P4 are applied to functions continuous on the closed interval, so that every integral below is a finite number.
    A product of continuous functions (sin⁡x⋅sin⁡x\sin x \cdot \sin x⁠) is continuous.
  2. sin⁡2x\sin^2 x is an even function

    Let f(x)=sin⁡2xf(x) = \sin^2 x⁠. For every real xx⁠:

    f(−x)=(sin⁡(−x))2=(−sin⁡x)2=sin⁡2x=f(x).\begin{aligned}f(-x) &= \big(\sin(-x)\big)^2 = (-\sin x)^2 \\ &= \sin^2 x = f(x) .\end{aligned}
    This is the condition of P7(i), checked for an arbitrary xx⁠, not just at a few points. sin⁡\sin itself is odd, and squaring removes the minus sign. (The interval [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right] has the form [−a,a][-a, a] with a=π2a = \frac{\pi}{2}⁠, which is the other requirement of P7.)
    sin⁡(−x)=−sin⁡x\sin(-x) = -\sin x (sine is odd); (−u)2=u2(-u)^2 = u^2⁠. Basics: symmetry and mirror images
  3. Apply P7(i) with a=π2a = \frac{\pi}{2}

    I=2∫0π2sin⁡2x dx.I = 2\int_0^{\frac{\pi}{2}}\sin^2 x\,dx .
    For an even function the part over [−π2,0]\left[-\frac{\pi}{2}, 0\right] is the mirror image of the part over [0,π2]\left[0, \frac{\pi}{2}\right]⁠, so the two halves are equal and the whole is twice one half. (The book's proof: split at 0 with P2, substitute t=−xt = -x in the left half.)
  4. Evaluate the half with P4

    Let J=∫0π/2sin⁡2x dxJ = \int_0^{\pi/2}\sin^2 x\,dx⁠. By P4 with a=π2a = \frac{\pi}{2}⁠, since sin⁡2(π2−x)=cos⁡2x\sin^2\left(\frac{\pi}{2} - x\right) = \cos^2 x⁠,

    J=∫0π2cos⁡2x dx.J = \int_0^{\frac{\pi}{2}}\cos^2 x\,dx .

    Adding the two forms of JJ⁠:

    2J=∫0π2(sin⁡2x+cos⁡2x)dx=π2,J=π4.\begin{aligned}2J &= \int_0^{\frac{\pi}{2}}\left(\sin^2 x + \cos^2 x\right)dx = \frac{\pi}{2}, \\ J &= \frac{\pi}{4}.\end{aligned}
    This is exactly the argument of Question 1: on [0,π2]\left[0, \frac{\pi}{2}\right] the integrals of sin⁡2x\sin^2 x and cos⁡2x\cos^2 x are equal, and together they integrate the constant 1 over a length π2\frac{\pi}{2}⁠.
    P4, Section 7.10; sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1⁠. Exercise 7.10 Q1
  5. Double

    I=2J=2⋅π4=π2≈1.5707963.I = 2J = 2\cdot\frac{\pi}{4} = \frac{\pi}{2} \approx 1.5707963 .
    x y −π/2 π/2 1/2 1 π/4 π/4 y = sin²x mirror: y axis
    y=sin⁡2xy = \sin^2 x on [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right] is symmetric in the yy-axis. The gold region on the left is the mirror image of the blue region on the right; each has area π4\frac{\pi}{4}⁠, so the total is π2\frac{\pi}{2}⁠.
    Sense check: sin⁡2x\sin^2 x lies between 0 and 1 and has average value 12\frac12 over this interval (it equals 12\frac12 on average because sin⁡2\sin^2 and cos⁡2\cos^2 share the total 1), and the interval length is π\pi⁠; 12⋅π=π2\frac12 \cdot \pi = \frac{\pi}{2}⁠.
    Mirror images have equal areas. Basics: symmetry and mirror images
  6. A second route: the double-angle formula

    sin⁡2x=1−cos⁡2x2\sin^2 x = \frac{1 - \cos 2x}{2}⁠, with antiderivative x2−sin⁡2x4\frac{x}{2} - \frac{\sin 2x}{4} (its derivative is 12−cos⁡2x2\frac12 - \frac{\cos 2x}{2}⁠). So

    I=[x2−sin⁡2x4]−π2π2=(π4−0)−(−π4−0)=π2,\begin{aligned}I &= \left[\frac{x}{2} - \frac{\sin 2x}{4}\right]_{-\frac{\pi}{2}}^{\frac{\pi}{2}} \\ &= \left(\frac{\pi}{4} - 0\right) - \left(-\frac{\pi}{4} - 0\right) = \frac{\pi}{2},\end{aligned}

    using sin⁡π=0\sin\pi = 0 and sin⁡(−π)=0\sin(-\pi) = 0⁠.

    An independent method gives the same value, which confirms Steps 2 to 5.
    cos⁡2x=1−2sin⁡2x\cos 2x = 1 - 2\sin^2 x (Section 7.3.2 uses such identities); Theorem 2, Section 7.8.3. Basics: trigonometric identities
Result

∫−π2π2sin⁡2x dx=π2≈1.5707963\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}\sin^2 x\,dx = \frac{\pi}{2} \approx 1.5707963 (Textbook answer: π2\frac{\pi}{2}⁠. Ours is the same.)

Check it with numbers

A numerical integration over [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right] gives 1.5707963, which is π2\frac{\pi}{2}⁠; over [−π2,0]\left[-\frac{\pi}{2}, 0\right] and over [0,π2]\left[0, \frac{\pi}{2}\right] it gives 0.7853982 each, which is π4\frac{\pi}{4}⁠. At x=0.7x = 0.7⁠: sin⁡2(0.7)=sin⁡2(−0.7)\sin^2(0.7) = \sin^2(-0.7)⁠, about 0.4150164.

Common mistakes
  1. Using P7(ii) and answering 0. sin⁡x\sin x is odd, but sin⁡2x\sin^2 x is even; the integrand is never negative, so the integral cannot be 0.
  2. Forgetting the factor 2 in P7(i), which gives π4\frac{\pi}{4} instead of π2\frac{\pi}{2}⁠.
  3. Checking evenness at one point only. f(−x)=f(x)f(-x) = f(x) must hold for every xx⁠; Step 2 shows it in general.
What to take away
  1. On a symmetric interval [−a,a][-a, a]⁠, first test whether the integrand is even or odd (P7).
  2. Even powers of sin⁡x\sin x are even functions; odd powers are odd functions.
  3. ∫0π/2sin⁡2x dx=∫0π/2cos⁡2x dx=π4\int_0^{\pi/2}\sin^2 x\,dx = \int_0^{\pi/2}\cos^2 x\,dx = \frac{\pi}{4} is worth remembering.

Every fact used, and where it comes from

FactUsed inSource
sin⁡(−x)=−sin⁡x\sin(-x) = -\sin xStep 2Trigonometry (Basics)
P7(i): ∫−aaf=2∫0af\int_{-a}^{a} f = 2\int_0^a f for even ffStep 3Section 7.10 (Lesson)
P4: ∫0af(x) dx=∫0af(a−x) dx\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dxStep 4Section 7.10 (Lesson)
sin⁡(π2−x)=cos⁡x\sin\left(\frac{\pi}{2} - x\right) = \cos x⁠; sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1Step 4Trigonometry (Basics)
∫0π/2sin⁡2x dx=π4\int_0^{\pi/2}\sin^2 x\,dx = \frac{\pi}{4}Steps 4 and 5Exercise 7.10 Q1; Example 29 uses P7(i) for sin⁡2x\sin^2 x
sin⁡2x=1−cos⁡2x2\sin^2 x = \frac{1 - \cos 2x}{2}Step 6Double-angle formula; Section 7.3.2
∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)Step 6Theorem 2, Section 7.8.3 (Lesson)
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 →