Integrate returns 0
- To: mathgroup at smc.vnet.net
- Subject: [mg23888] Integrate returns 0
- From: "Felix E. Klee" <felix.klee at inka.de>
- Date: Thu, 15 Jun 2000 00:51:26 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
when I define the function
f[x_,n_]:=D[Exp[-x^2],{x,n}]^2
and execute
Integrate[f[x,n],{x,-Infinity,Infinity}]
the result is
0
However this is not correct for all parameters n since
Integrate[f[x,1],{x,-Infinity,Infinity}]
returns
Sqrt[Pi/2]
Is this a bug in Mathematica or am I doing something wrong?
TIA,
Felix