Re: Complex Variables

*To*: mathgroup at smc.vnet.net*Subject*: [mg55431] Re: Complex Variables*From*: "David Park" <djmp at earthlink.net>*Date*: Wed, 23 Mar 2005 05:34:41 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

Warren, A practically indespensible command for complex variables is ComplexExpand. It should perhaps have been called 'ComplexSimplify'. It tends to get overlooked by users first trying out complex variables. Re[x + I y] // ComplexExpand x Conjugate[x + I y] // ComplexExpand x - I*y Also, check out Help for ComplexExpand. You will sometimes have to use the TargetFunctions option. David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: wwolfe18 at comcast.net [mailto:wwolfe18 at comcast.net] To: mathgroup at smc.vnet.net This has been annoying me for a while. Is there a way to declare symbols to be real so that Re[x + i y] gives x and Conjugate[x + i y] gives x - i y etc? Warren Wolfe