Trig integrating with absolute values:

Zeth
Messages
23
Reaction score
0

Homework Statement


\int_0 ^\pi \sqrt{1-\sin^2 x} dx


Homework Equations



1 - \sin^2 x = \cos^2 x

The Attempt at a Solution



I don't know how to treat this since cos changes sign half way across the integral. I know the answer should be 2 but I keep getting 0 every which way I try.
 
Physics news on Phys.org
\int_0 ^\pi \sqrt{1-\sin^2 x} dx= \int_0 ^\pi |{\cos (x)}| dx

So you find where the 0= \cos (x) on the interval (0,\pi) and then integrate separately.

i.e, \int_0 ^\pi |{\cos (x)}| dx = \int_0 ^{\frac{\pi}{2} }\cos (x) dx - \int_{\frac{\pi}{2}}^\pi \cos (x) dx
 
Last edited:
You can split the integral over the two intervals, can't you?
 
Zeth said:
I know the answer should be 2 but I keep getting 0 every which way I try.

Are you sure :)? Certainly the area is 2, but the integral gives you the Signed area. As neutrino said, splitting the integral into 2 gives the area :), as long as you take the absolute value of the negative value you will get from the integral between pi/2 and pi.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top