MathGroup Archive 2002

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

Search the Archive

Re: real variable

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32255] Re: real variable
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 9 Jan 2002 23:37:09 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <a1gu9k$mu8$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Simplify[yourExpression,Element[x,Reals]]

?

Or the good old hard way

Unprotect /@ {Re, Im}
 Re[a_.*x] := x*Re[a]
Im[a_.*x] := 0
Protect /@ {Re, Im}
x /: Arg[x] := 0

Regards
  Jens

Nikolay Andreev wrote:
> 
> Dear Mathgroup!
> 
> How could one explain to Mathematica that variable x will be real during
> all the session, so if somewhere appear Conjugate[x] then this must be x,
> and Re[x+I*x] is x?
> 
> Thank you,
> Nikolay
> ------------------------------------------------
> Nikolay N. Andreev
> Russia, 117966, GSP-1, Moscow, Gubkina 8.
> Steklov Institute of Mathematics
> Dep. of Function Theory
> E-mail: andreev at mccme.ru
> Home page: http://www.mi.ras.ru/~andreev
> ------------------------------------------------


  • Prev by Date: Re: Plot2D: How to attach names to plotted functions
  • Next by Date: Re: Tick marks at frame edges
  • Previous by thread: real variable
  • Next by thread: RE: real variable