MathGroup Archive 2004

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48471] Re: How to get the real part of an integral?
  • From: Paul Abbott <paul at physics.uwa.edu.au>
  • Date: Tue, 1 Jun 2004 03:02:47 -0400 (EDT)
  • Organization: The University of Western Australia
  • References: <c9ebrg$g72$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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?