Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

big imaginary error in region integration

  • To: mathgroup at
  • Subject: [mg48075] big imaginary error in region integration
  • From: o.soloviev at (Oleg Soloviev)
  • Date: Tue, 11 May 2004 05:19:57 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Hi all,

who can explain, why does Mathematica return complex number when
integrating real integrand? The imaginary part is of the same
magnitude here as the real one:
In[2]:=Integrate[x Boole[(1/2+x)^2+y^2<1/100.],{x,-1,1},{y,-1,1}]
Out[2]=-0.015708-0.0160944 I.
With exact numbers the answer is real:
In[3]:=Integrate[x Boole[(1/2+x)^2+y^2<1/100],{x,-1,1},{y,-1,1}]

With regards,

  • Prev by Date: Re: Re: Mandelbrot Set & Mathematica
  • Next by Date: Re: Re: kuen surface
  • Previous by thread: Re: Uniform design
  • Next by thread: Re: big imaginary error in region integration