MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Incorrect integral in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg91382] Re: [mg91362] Incorrect integral in Mathematica
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Tue, 19 Aug 2008 07:15:23 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

This has been fixed.

$Version

6.0 for Mac OS X x86 (64-bit) (May 21, 2008)

Integrate[
 Exp[-x^2/(2 w^2)] Exp[-(y - y0)^2/(2 z^2)],
 {x, -Infinity, Infinity},
 {y, -Infinity, Infinity},
 Assumptions -> {w > 0, z > 0}]

2*Pi*w*z


Bob Hanlon


---- Eran Mukamel <emukamel at stanford.edu> wrote: 
=============
Hi All,

I'm getting a nonsensical answer of 0 for the following integral in Mathematica 5.0 (Mac OSX):

Integrate[Exp[-x^2/(2w^2)]Exp[-(y - y0)^2/(2z^2)],
  {x, -Infinity, Infinity}, {y, -Infinity, Infinity}]

The result should be (2 Pi w z).  Any ideas why this fails?

Thanks in advance, Eran




  • Prev by Date: Re: Incorrect integral in Mathematica
  • Next by Date: Re: Fastest way to check inequality
  • Previous by thread: Re: Incorrect integral in Mathematica
  • Next by thread: Re: Incorrect integral in Mathematica