**status**: open --> closed

The result of

integrate(exp(-(x^2*a^2))*cos(b*x),x,-inf,inf);

is 0 no matter if you answer that a is or is not 0. The result should be

sqrt(%pi)*exp(-b^2/(4*a^2))

Strangely, the result of

integrate(exp(-(x^2*a^2))*cos(b*x),x,0,inf);

is "und" (the integrand is even), and the result of

integrate(exp(-(x^2))*cos(b*x),x,-inf,inf);

is correct.

-----------------------------------------------------------------------------------

Maxima version: 5.21.1

Maxima build date: 16:9 6/10/2010

Host type: x86_64-unknown-linux-gnu

Lisp implementation type: GNU Common Lisp (GCL)

Lisp implementation version: GCL 2.6.7