MathGroup Archive 1999

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

Search the Archive

Re: ComplexExpand (V4.0)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20388] Re: ComplexExpand (V4.0)
  • From: phbrf at t-online.de (Peter Breitfeld)
  • Date: Mon, 18 Oct 1999 02:40:32 -0400
  • References: <7u7rm9$p3h@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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)