MathGroup Archive 1999

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

Search the Archive

Re: ComplexExpand (V4.0)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20396] Re: ComplexExpand (V4.0)
  • From: "Stephen P Luttrell" <luttrell at signal.dra.hmg.gb>
  • Date: Tue, 26 Oct 1999 00:32:51 -0400
  • Organization: Defence Evaluation and Research Agency
  • References: <7u7rm9$p3h@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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.

I have $Version = "4.0 for Microsoft Windows (April 21, 1999)"

This does what you want:

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


--
Stephen P Luttrell
Room EX21, Defence Evaluation and Research Agency
Malvern, Worcs, WR14 3PS, U.K.
luttrell at signal.dera.gov.uk
01684-894046 (phone), 01684-894384 (fax)
http://www.dera.gov.uk/cis5pip/Welcome.html




  • Prev by Date: Mathematica for Macintosh Plus i.e. 68000 processors?
  • Next by Date: Re: New user question
  • Previous by thread: Re: ComplexExpand (V4.0)
  • Next by thread: Questions on Plotting A Graph