I Complex integral of a real integrand

spaghetti3451
Messages
1,311
Reaction score
31
I am trying to do the following integral:

$$\int_{\pi f}^{3\pi f} dx \sqrt{\cos(x/f)}.$$

Wolfram alpha - http://www.wolframalpha.com/input/?i=integrate+(cos(x))^(1/2)+dx+from+x=pi+to+3pi gives me

$$\int_{\pi f}^{3\pi f} dx \sqrt{\cos(x/f)} = 4f E(2) = 2.39628f + 2.39628if,$$

where E is the elliptic function.

Mathematica also gives me the same answer. How can the integral of a real integrand with real limits be complex?
 
Physics news on Phys.org
It cannot. Your integrand is not real.
 
  • Like
Likes spaghetti3451
got it!
 
spaghetti3451 said:
I am trying to do the following integral:

$$\int_{\pi f}^{3\pi f} dx \sqrt{\cos(x/f)}.$$

Wolfram alpha - http://www.wolframalpha.com/input/?i=integrate+(cos(x))^(1/2)+dx+from+x=pi+to+3pi gives me

$$\int_{\pi f}^{3\pi f} dx \sqrt{\cos(x/f)} = 4f E(2) = 2.39628f + 2.39628if,$$

where E is the elliptic function.
What's the meaning of 'f' in the limits of integration and in cos(x/f)? You don't have it in your Wolframalpha link. When I click the WA link you provided, it says that it doesn't understand the query, and gives a result of 1/2.
 
Mark44 said:
When I click the WA link you provided, it says that it doesn't understand the query, and gives a result of 1/2.
Remove the backslash ...
 
  • Like
Likes spaghetti3451
This question is with regards to tunneling in false vacuum decay.
Mark44 said:
What's the meaning of 'f' in the limits of integration and in cos(x/f)? You don't have it in your Wolframalpha link. When I click the WA link you provided, it says that it doesn't understand the query, and gives a result of 1/2.

##f## is a constant. Here is the link that works:

http://www.wolframalpha.com/input/?i=integrate+(cos(x))^(1/2)+dx+from+x=pi+to+3pi
 
Back
Top