MathGroup Archive 2004

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

Search the Archive

Re: How to get the real part of an integral?


In article <c9ebrg$g72$1 at smc.vnet.net>, ankowar at yahoo.com (Andy Kowar) 
wrote:

> I am trying to get the real part of an integral (see below).
> 
> 
> << Algebra`ReIm`
> Integrate[1/(1 + x^2 + x^4), x]
> Re[%]
> 
> I am getting the error:
> "$IterationLimit::itlim: Iteration limit of 4096 exceeded."
> 
> 
> Any advice?

Don't use Algebra`ReIm`. The following works fine:

   Integrate[1/(1 + x^2 + x^4), x]

   Simplify[ComplexExpand[Re[%], TargetFunctions -> {Re, Im}]]

Cheers,
Paul

-- 
Paul Abbott                                   Phone: +61 8 9380 2734
School of Physics, M013                         Fax: +61 8 9380 1014
The University of Western Australia      (CRICOS Provider No 00126G)         
35 Stirling Highway
Crawley WA 6009                      mailto:paul at physics.uwa.edu.au 
AUSTRALIA                            http://physics.uwa.edu.au/~paul


  • Prev by Date: Re: Ted Ersek's Mathematica Tips Updated
  • Next by Date: RE: How to get the real part of an integral?
  • Previous by thread: Re: Ted Ersek's Mathematica Tips Updated
  • Next by thread: RE: How to get the real part of an integral?