MathGroup Archive 2006

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

Search the Archive

Re: Declaring real variables using Element

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63452] Re: [mg63427] Declaring real variables using Element
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 1 Jan 2006 01:16:05 -0500 (EST)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Conjugate[I*S]//ComplexExpand

(-I)*S

Simplify[Conjugate[I*S],Element[S, Reals]]

(-I)*S

Refine[Conjugate[I*S],Element[S, Reals]]

(-I)*S

Assuming[Element[S, Reals],
  Simplify[Conjugate[I*S]]]

(-I)*S


Bob Hanlon

> 
> From: "GidiL" <gidienator at gmail.com>
To: mathgroup at smc.vnet.net
> Date: 2005/12/31 Sat AM 06:40:25 EST
> Subject: [mg63452] [mg63427] Declaring real variables using Element
> 
> Hello to all!
> 
> I am trying to declare the variable S to be real, using the Element
> command:
> Element[S, Reals]
> 
> Next I calculate the complex conjugate of IS (I is the imaginary unit)
> Conjugate[\[ImaginaryI] S]
> 
> The result I get is
> -\[ImaginaryI] Conjugate[S]
> 
>  which should have been -IS. Why does it not recognise S as a real
> variable?
> 
> I would appreciate any help.
> 
> Thanks,
> Gideon
> 
> 


  • Prev by Date: Re: Re: Mathematica Programmer vs. Programming in Mathematica/ functions and OOP
  • Next by Date: Re: WebMathematica question for displaying a sequence of images
  • Previous by thread: Re: Re: Mathematica Programmer vs. Programming in Mathematica/ functions and OOP
  • Next by thread: Re: Declaring real variables using Element