WordGPT

Integral of sin²x from 0 to π

Exercise · Level 2 (Easy)

Compute the integral.

∫0πsin⁡2x dx\int_0^{\pi} \sin^2 x\,dx

wordgptpro.com

Solution

  1. The double-angle formula cos⁡2x=1−2sin⁡2x\cos 2x = 1-2\sin^2 x gives

    sin⁡2x=1−cos⁡2x2\sin^2 x=\frac{1-\cos 2x}{2}
    (1)
  2. Integrate term by term. The antiderivative of cos⁡2x\cos 2x is 12sin⁡2x\tfrac12\sin 2x:

    ∫0π1−cos⁡2x2 dx=[x2−sin⁡2x4]0π=π2−0\begin{aligned}&\int_0^{\pi}\frac{1-\cos 2x}{2}\,dx\\&=\Big[\frac{x}{2}-\frac{\sin 2x}{4}\Big]_0^{\pi}\\&=\frac{\pi}{2}-0\end{aligned}
    (2)
Answerπ2\frac{\pi}{2}

wordgptpro.com

Need a hint?

Rewrite sin²x with the double-angle formula so that no square is left.

The integral of sin²x from 0 to π is π/2 ≈ 1.5708.

How to work it out

  1. The double-angle formula cos⁡2x=1−2sin⁡2x\cos 2x = 1-2\sin^2 x gives

    sin⁡2x=1−cos⁡2x2\sin^2 x=\frac{1-\cos 2x}{2}
    (1)
  2. Integrate term by term. The antiderivative of cos⁡2x\cos 2x is 12sin⁡2x\tfrac12\sin 2x:

    ∫0π1−cos⁡2x2 dx=[x2−sin⁡2x4]0π=π2−0\begin{aligned}&\int_0^{\pi}\frac{1-\cos 2x}{2}\,dx\\&=\Big[\frac{x}{2}-\frac{\sin 2x}{4}\Big]_0^{\pi}\\&=\frac{\pi}{2}-0\end{aligned}
    (2)
LaTeX source of the formulas on this page
\[ \frac{\pi}{2} \]
\[ \sin^2 x=\frac{1-\cos 2x}{2} \]
\[ \int_0^{\pi}\frac{1-\cos 2x}{2}\,dx=\Big[\frac{x}{2}-\frac{\sin 2x}{4}\Big]_0^{\pi}=\frac{\pi}{2}-0 \]

Questions

What is the answer to: Integral of sin²x from 0 to π?

The integral of sin²x from 0 to π is π/2 ≈ 1.5708.

What is the key idea?

Powers of sine and cosine become easy once the double-angle formula removes the square.

Is there a hint?

Rewrite sin²x with the double-angle formula so that no square is left.

Related problems

More integral problems

    Integral of sin²x from 0 to π: answer and solution | WordGPT