Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

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[1]:=
z = (x1 + I*y1)*Conjugate[x2 + I*y2]/(x1 + I*y1)*Conjugate[x2 + I*y2]
Out[1]=
Conjugate[x2 + I*y2]^2

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

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


In[4]:=
ComplexExpand[Im[z]]
Out[4]=
-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?