Dear user and developers,

I'm new to sympy and tried a few things out, of course I stumbled across 
smth I coudln't understand.
So here is my question:

If I define an expression like
g=sqrt(a/pi)*exp(-a*x**2)
and integrate it like
integrate(g,(x,-oo,oo))
I get the expected result (1).

But if I integrate an expression like
g=sqrt(1/a/pi)*exp(-x**2/a)
and integrate it the same way I get 
( a * sqrt(1/a) ) / sqrt(polar_lift(a))

I must admit I'm a little bit frightened by the polar_lift function because 
I've never heard of it, but it seems to give the argument of a complex 
number. Is this correct?
But then I don't understand why for
a=Symbol('a',real=True)
g=sqrt(1/a/pi)*exp(-x**2/a)
simplify(integrate(g,(x,-oo,oo)))
I still don't get 1 as a result.

Would be nice to know.
Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/b8b2b9f1-596c-416d-a0e9-bb3d17bb6b15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to