Integrate and Boole problems
- To: mathgroup at smc.vnet.net
- Subject: [mg58395] Integrate and Boole problems
- From: "Chris" <topher at csh.rit.edu>
- Date: Thu, 30 Jun 2005 04:37:32 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I'm using Mathematica 5.1 and I'm getting some inconsistent results when integrating the Boole function. For example: Integrate[Boole[((x - 1)^2 + y^2 + z^2 - 3^2)*((x + 1)^2 + y^2 + z^2 - 3^2) = 0], {x, -Infinity, Infinity}, {y, -Infinity, Infinity}, {z, -Infinity, Infinity}]; N[%] 50.2654821239234 + 3.829918318813164*^-9*I NIntegrate[Boole[((x - 1)^2 + y^2 + z^2 - 3^2)*((x + 1)^2 + y^2 + z^2 -3^2) = 0], {x, -Infinity, Infinity}, {y, -Infinity, Infinity}, {z, -Infinity, Infinity}] 108.90854533339399 - 2.749275252793041*^-29*I Am I doing something wrong or is this just a limit of the Integrate function?