MathGroup Archive 2003

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

Search the Archive

Re: how to specify something is "real"

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43168] Re: how to specify something is "real"
  • From: Florian Schaudel <Florian at schaudel.com>
  • Date: Sat, 16 Aug 2003 02:53:51 -0400 (EDT)
  • References: <bhi5j3$hne$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"pgp" <bla at bla.com> wrote in news:bhi5j3$hne$1 at smc.vnet.net:

> Hi,
> This is probably a dumb question, but I was trying to use Conjugate[]
> on an expression that contains terms like Cos[x], and mathematica
> doesn't take it for granted that Cos[x] is real, and hence the end
> result contain lots of Conjugate's that can't be reduced.
> Could someone tell me if it's possible to tell mathematica which parts
> of the expressions are supposed to be real, so it'll get rid of all
> those Conjugates?
> Thanks a lot.
> -K


An easy workaround is to user Re[Cos[x]] instead of Cos[x]. If Cos[x] is a 
real number it makes no difference in result, but Mathematica "knows" it is 
real.

Florian 


  • Prev by Date: Re: Improving Genetic Programming Efficiency
  • Next by Date: Mathematica does this integral wrong?
  • Previous by thread: Re: how to specify something is "real"
  • Next by thread: RE: how to specify something is "real"