Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13623 > unrolled thread

Re: Real and Imaginary Parts of complex functions

Started byBill Rowe <readnews@sbcglobal.net>
First post2013-02-27 08:04 +0000
Last post2013-02-27 08:04 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Real and Imaginary Parts of complex functions Bill Rowe <readnews@sbcglobal.net> - 2013-02-27 08:04 +0000

#13623 — Re: Real and Imaginary Parts of complex functions

FromBill Rowe <readnews@sbcglobal.net>
Date2013-02-27 08:04 +0000
SubjectRe: Real and Imaginary Parts of complex functions
Message-ID<kgkelt$4ce$1@smc.vnet.net>
On 2/26/13 at 1:09 AM, brenttnewman@gmail.com (Brentt) wrote:

>I was wondering why this works

>IN[]:= Refine[Re[x + y I], Element[x , Reals] && Element[y , Reals]]

>Out[]:= x

>But this does not

>In[]:= Refine[Re[1/(x + y I)], Element[x , Reals] && Element[y ,
>Reals]]

>Out[]:= Re[1/(x + y I)]

>Is there a nice built in way to get the real and imaginary parts of
>a complex function?

ComplexExpand, for example:

In[3]:= List @@ ComplexExpand[1/(x + y I)]

Out[3]= {x/(x^2 + y^2), -((I*y)/(x^2 + y^2))}

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web