# How to calculate $\int_0^{2\pi} \sqrt{1 - \sin^2 \theta}\;\mathrm d\theta$

How to calculate:

$$\int_0^{2\pi} \sqrt{1 - \sin^2 \theta}\;\mathrm d\theta$$

-
You could use the Pythagorean identity to simplify your integrand... –  Ｊ. Ｍ. May 17 '11 at 16:13
The identity $1 - \sin^2{\theta} = \cos^2{\theta}$ should prove useful =) –  Adrián Barquero May 17 '11 at 16:14
Additionally, you could reduce it to the integral $$2\int_{\pi/2}^{3\pi/2}\sqrt{1-\sin^2\theta}\mathrm d\theta$$ –  Ｊ. Ｍ. May 17 '11 at 16:15
More elaborate hint: don't blindly use the Pythagorean identity. Plot the integrand and then apply the identity accordingly. –  Ｊ. Ｍ. May 17 '11 at 16:20
@J.M.: Is the potential pitfall blindly using the trig identity, or thinking that $\sqrt{x^2}=x$ rather than $\sqrt{x^2}=|x|$? –  Isaac May 17 '11 at 22:22
show 1 more comment

Hint: note that $$\sqrt{1-\sin^2\theta}=\sqrt{\cos^2\theta}=|\cos\theta|.$$

-

Use the fact that $\cos^{2}\theta = 1-\sin^{2}\theta$ and the fact that integral of $\cos\theta$ is $\sin\theta$. Also $\sqrt{1-\sin^{2}\theta} = |\cos{\theta}|$. And note that $\cos\theta$ is positive in the first and the fourth quadrant.

-
The integral of $\cos{\theta}$ is $\sin{\theta}$ not $-\sin{\theta}$ :) –  Osama Gamal May 17 '11 at 16:33
@Osama: Sorry. I have rectified it now. Thanks for pointing out. –  user9413 May 17 '11 at 16:34