Anomalous integral

  • Thread starter catellanos
  • Start date
  • #1

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 wich doesn't make sence 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:

Answers and Replies

  • #2
263
0
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:
  • #3
@Hernaner28
Floor's not even a continuous function, much less differentiable that cant possibly be a primitive for [itex] \sqrt{1-\sin{x}} [/itex].
 
  • #4
Dick
Science Advisor
Homework Helper
26,263
619
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.
 
  • #5
Thank you very much guys, your contributions were very valuable; particularly thank you Dick, with your observation I solved my trouble
 

Related Threads on Anomalous integral

  • Last Post
Replies
2
Views
4K
  • Last Post
Replies
12
Views
807
  • Last Post
Replies
1
Views
887
  • Last Post
Replies
1
Views
923
  • Last Post
Replies
4
Views
726
  • Last Post
Replies
10
Views
1K
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
14
Views
3K
  • Last Post
Replies
13
Views
3K
  • Last Post
Replies
5
Views
2K
Top