MathGroup Archive 1999

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

Search the Archive

Re: ComplexExpand (V4.0)


Blimbaum Jerry DLPC <BlimbaumJE at ncsc.navy.mil> schrieb:
> 	Why does ComplexExpand[Re[1/(x + I y)]]   return
>
> 	x/Abs[x+ I y]^2  
>
> 	rather then      	x/(x^2+y^2)
>
> 	The Mathematica manual says that ComplexExpand assumes that the
> variables are real.
>
> 	thanks.   jerry blimbaum    NSWC  Panama City, Fl
>
I do find this disturbing too, but If you use
ComplexExpand[Re[1/(x+Iy)],TargetFunctions->{Re,Im}]
you get the desired result.

 Peter
--
=--=--=--=--=--=--=--=--=--=--=--=--=  http://home.t-online.de/home/phbrf  =--=
=--= Peter Breitfeld, Saulgau, Germany        PGP public key: 08548045  =--=--=



  • Prev by Date: Animated gif
  • Next by Date: Urgent Help needed
  • Previous by thread: Re: ComplexExpand (V4.0)
  • Next by thread: Re: ComplexExpand (V4.0)