Integral of $\sqrt{1-\sin{x}}$: Wrong Result?

  • Thread starter Thread starter catellanos
  • Start date Start date
  • Tags Tags
    Integral
catellanos
Messages
2
Reaction score
0

Homework Statement


I need to calculate [tex]\int_0^{2\pi} \sqrt{1-\sin{x}}\, dx[/tex] when I compute the indefinite integral I get [tex]2\sqrt{\sin{x}+1}+C[/tex] but when I evaluate it into the integration limits it turns out to be 0 which doesn't make sense since the original function is clearly positive...I already tested this result in wolfram alpha and my calculation of the definite integral is perfect but when I tested the definite integral wolfram computed its value to be [tex]4\sqrt{2}[/tex]. I can't find out what's wrong with my procedure. Please help!

Homework Equations


The Attempt at a Solution

 
Last edited:
Physics news on Phys.org
The indefinite integral you computed is not right I guess. Wolfram Alpha shows that but when I do it in Derive I get another thing which verifies the result 4sqrt2...

This is what I get (no idea what floor is, guess it's the function?)

$$\frac{{2\cos x}}{{\sqrt {1 - \sin x} }} - 4\sqrt 2 \cdot FLOOR\left( {\frac{1}{4} - \frac{x}{{2\pi }}} \right)$$
 
Last edited:
@Hernaner28
Floor's not even a continuous function, much less differentiable that can't possibly be a primitive for [itex]\sqrt{1-\sin{x}}[/itex].
 
When you computed the antiderivative you replaced [itex]\sqrt{\cos^2 x}[/itex] with [itex]\cos x[/itex]. That's only correct if cos(x) is positive. cos(x) isn't positive on [0,2pi]. I'd suggest you split the integral up.
 
Thank you very much guys, your contributions were very valuable; particularly thank you Dick, with your observation I solved my trouble
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 105 ·
4
Replies
105
Views
14K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K