Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: basic complex number question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72113] Re: basic complex number question
  • From: "Roman" <rschmied at gmail.com>
  • Date: Wed, 13 Dec 2006 06:38:31 -0500 (EST)
  • References: <eljaq8$7fm$1@smc.vnet.net>

Daniel,

You can use the ComplexExpand function, which assumes that all the
variables in your analytic expression are real. For example,

Re[Exp[I*x]] // ComplexExpand

will give the correct result, Cos[x].

Roman.

Daniel Mazur wrote:
> My apologies for asking a question *this* basic, but here goes:
> Functions Im[] and Re[] don't really evaluate imaginary and real part of
> analytical expressions. What do I need to do to get this done?
> Thanks,
> Daniel


  • Prev by Date: Re: FullSimplify and HypergeometricPFQ
  • Next by Date: Deformed Matrix Product
  • Previous by thread: Re: basic complex number question
  • Next by thread: Re: basic complex number question