MathGroup Archive 2009

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

Search the Archive

Re: Difficulties with Re

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98332] Re: Difficulties with Re
  • From: Jens <noeckel at gmail.com>
  • Date: Wed, 8 Apr 2009 02:44:24 -0400 (EDT)
  • References: <grcgjq$pmv$1@smc.vnet.net>

On Apr 6, 2:04 am, Aaron Fude <aaronf... at gmail.com> wrote:
> Hi,
>
> Of the following two expressions, the first "works", while the second
> doesn't. How does one make it work?
>
> Assuming[x > 0 && y > 0, Re[Exp[x + I y]] // Simplify]
> Assuming[x > 0 && y > 0, Re[Exp[(x + I y)^2]] // Simplify]
>
> Many thanks in advance,
>
> Aaron

This is a case for ComplexExpand:
Re[Exp[(x + I y)^2]] // ComplexExpand
You could also do this:
Assuming[x > 0 && y > 0, Re[Exp[(x + I y)^2]] // ExpandAll //
Simplify]

Jens


  • Prev by Date: Re: Difficulties with Re
  • Next by Date: Re: complex function fitting?
  • Previous by thread: Re: Difficulties with Re
  • Next by thread: Re: Difficulties with Re