       Re: Trick for getting the comples conjugate in symboliccalculations?

• To: mathgroup at smc.vnet.net
• Subject: [mg30339] Re: [mg30297] Trick for getting the comples conjugate in symboliccalculations?
• From: Tomas Garza <tgarza01 at prodigy.net.mx>
• Date: Sat, 11 Aug 2001 03:40:00 -0400 (EDT)
• References: <200108080533.BAA04377@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```I don't know what you mean by "algebraic solution", but if what you want is
essentially simplifying the expression, try

In:=
z = (x1 + I*y1)*Conjugate[x2 + I*y2]/(x1 + I*y1)*Conjugate[x2 + I*y2]
Out=
Conjugate[x2 + I*y2]^2

In:=
ComplexExpand[z]
Out=
x2^2 - 2*I*x2*y2 - y2^2

In:=
ComplexExpand[Re[z]]
Out=
x2^2 - y2^2

In:=
ComplexExpand[Im[z]]
Out=
-2*x2*y2

Tomas Garza
Mexico City

----- Original Message -----
From: <riefler at iwt.uni-bremen.de>
To: mathgroup at smc.vnet.net
Subject: [mg30339] [mg30297] Trick for getting the comples conjugate in
symboliccalculations?

> Hi
>
> I read in the older news that the numeric functions real / Re and imag
> / Im for  / Mathematica won't do its job because of some
> ambiguity. The same holds for the complex conjugate conj / Conjugate.
>
> Is there a trick to get anyway the algebraic solution of for example
> (x1+i*y1)*conj(x2+i*y2) / (x1+i*y1)*Conjugate(x2+i*y2) in Mathematica?
>
>
> Thanks a lot
>
> Norbert
>

```

• Prev by Date: Re: Notebook Filename
• Next by Date: Re: How to save time with InequalitySolve
• Previous by thread: Trick for getting the comples conjugate in symbolic calculations?
• Next by thread: RE: Trick for getting the comples conjugate in symbolic calculations?