MathGroup Archive 2008

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

Search the Archive

Re: Integrate vs NIntegrate

  • To: mathgroup at
  • Subject: [mg89151] Re: Integrate vs NIntegrate
  • From: dh <dh at>
  • Date: Tue, 27 May 2008 07:14:49 -0400 (EDT)
  • References: <g1e35c$er3$>

Hi Armen,

the formula Inegrate[f[x],{x,a,b}]=F[a]-F[b], where F is the indefinite 

integral of f, is only valid if the integrand has no branch cuts. The 

reason is that F[x] has no knowledge about which path you want to take 

from a to b. One can therefore not count on F[a] and F[b] to lay on the 

same branch.

The remedy is not to use the indefinite integral, but to calculate the 

path integral. In your case the parametrization of the path is very 

simple because you can take x on the real axis as parameter:


hope this helps, Daniel

Armen Kocharyan wrote:

Thanks Daniel.

But why f[x] has a branch cut. I think it's artificial and Mathematica 

got it wrong.




Daniel Huber

Metrohm Ltd.

Oberdorfstr. 68

CH-9100 Herisau

Tel. +41 71 353 8585, Fax +41 71 353 8907

E-Mail:<mailto:dh at>


  • Prev by Date: Re: Integrate vs NIntegrate
  • Next by Date: Re: Integrate vs NIntegrate
  • Previous by thread: Re: Integrate vs NIntegrate
  • Next by thread: Re: Integrate vs NIntegrate