MathGroup Archive 2004

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

Search the Archive

Re: Simplify[ {Re[Sqrt[-1 + eta^2]], Im[Sqrt[-1 + eta^2]]}, eta<1]


Hi,


FullSimplify[test, eta < 1 && eta > -1]

??

Regards
  Jens

peteraptaker wrote:
> 
> Have I missed something - my apologies if this is answered in a FAQ
> I want to make the simple Re and Im parts simplify properly?
> 
> test =
>   {Re[Sqrt[-1 + eta^2]], Im[Sqrt[-1 + eta^2]]}
> 
> FullSimplify[test, eta > 1]
> gives*{Sqrt[-1 + eta^2], 0}
> 
> But
> FullSimplify[test, eta < 1]
> gives
> {Re[Sqrt[-1 + eta^2]], Im[Sqrt[-1 + eta^2]]}
> 
> Needs["Algebra`ReIm`"] does not seem to help
> 
> Real numbers demonstrate what should happen:
> test) /. {{eta -> 0.1}, {eta -> 2}}
> {{0., 0.99498743710662}, {Sqrt[3], 0}}


  • Prev by Date: need to call data from a list as input but need it in vector form not list form
  • Next by Date: Primed Variables in Mathematica
  • Previous by thread: Re: damped SHO
  • Next by thread: Re: Simplify[ {Re[Sqrt[-1 + eta^2]], Im[Sqrt[-1 + eta^2]]}, eta<1]