Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

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

Search the Archive

Re: Real and Imaginary Parts of complex functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129942] Re: Real and Imaginary Parts of complex functions
  • From: Sseziwa Mukasa <mukasa at gmail.com>
  • Date: Wed, 27 Feb 2013 03:07:18 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <20130226060933.C3A19687D@smc.vnet.net>

On Feb 26, 2013, at 1:09 AM, Brentt <brenttnewman at 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)



  • Prev by Date: Re: Real and Imaginary Parts of complex functions
  • Next by Date: Re: Possible bug in InverseGammaRegularized?
  • Previous by thread: Re: Real and Imaginary Parts of complex functions
  • Next by thread: Re: Real and Imaginary Parts of complex functions