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


Groups > comp.soft-sys.math.mathematica > #13629

Re: Real and Imaginary Parts of complex functions

From Sseziwa Mukasa <mukasa@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Real and Imaginary Parts of complex functions
Date 2013-02-27 08:04 +0000
Message-ID <kgkems$4d6$1@smc.vnet.net> (permalink)
References <20130226060933.C3A19687D@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


On Feb 26, 2013, at 1:09 AM, Brentt <brenttnewman@gmail.com> wrote:

> 
> Hello,
> 
> 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?

(Debug) In[1]:= ComplexExpand[Re[1/(x+I y)]]
(Debug) Out[1]= x/(x^2+y^2)

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Real and Imaginary Parts of complex functions Sseziwa Mukasa <mukasa@gmail.com> - 2013-02-27 08:04 +0000

csiph-web