MathGroup Archive 2009

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

Search the Archive

Re: Incorrect symbolic improper integral

  • To: mathgroup at
  • Subject: [mg103705] Re: Incorrect symbolic improper integral
  • From: Mariano Suárez-Alvarez <mariano.suarezalvarez at>
  • Date: Sat, 3 Oct 2009 09:02:09 -0400 (EDT)
  • References: <> <h9vflr$e6v$>

On Sep 30, 8:33 am, Daniel Lichtblau <d... at> wrote:
> jwmerr... at wrote:
> > Below is a definite integral that Mathematica does incorrectly.
> > Thought someone might like to know:
> > In[62]:= Integrate[Cos[x]/(1 + x^2), {x, -\[Infinity], \[Infinity]}]
> > Out[62]= \[Pi]/E
> > [...]
> Pi/E is correct. For one thing, it agrees with NIntegrate. For another,
> you can find and verify correctness of an antiderivative, observe it
> crosses no branch cuts, and take limits at +-infinity to verify the
> definite integral.
> Moreover I do not replicate your parametrized result.
> In[20]:= Integrate[Cos[a*x]/(1+x^2), {x,-Infinity,Infinity},
>    Assumptions -> Element[a,Reals]] // InputForm
> Out[20]//InputForm= Pi/E^Abs[a]
> I got that result, or something equivalent, in every Mathematica version
> I tried going back to 4. I may have missed some point releases. Also it
> could be a timing-dependent problem, particularly if you are running
> version 6 (where it seems to be much slower than other versions).

What is a 'time-dependent problem' in this context?

-- m

  • Prev by Date: Placing images in the coordinate system?
  • Next by Date: Re: How to store data files in packages
  • Previous by thread: Re: Re: Incorrect symbolic improper integral
  • Next by thread: Re: Incorrect symbolic improper integral