MathGroup Archive 1999

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

Search the Archive

Re: ComplexExpand (V4.0)


Blimbaum Jerry DLPC <BlimbaumJE at ncsc.navy.mil> wrote in message
news:7u7rm9$p3h at smc.vnet.net...
> 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
>

Jerry,
The answer is correct under the assumption that x and y are real , but I'm
not sure why Absolute is allowed,
We do have

ComplexExpand[Re[1/(x + I y)], TargetFunctions -> {Re}]

    x/(x^2 + y^2)


Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565





  • Prev by Date: Re: Differentiation wrt functions in Mathematica
  • Next by Date: Re: how to open all cells?
  • Previous by thread: ComplexExpand (V4.0)
  • Next by thread: Re: ComplexExpand (V4.0)