MathGroup Archive 2007

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

Search the Archive

Re: Problems with simplify and Sqrt[a^2]


dshortho skrev:
> any help on this one:
> I would have thought Mathematica would have resolved Sqrt[v1^2] to v1 (!?)
> 

Test this with v1=(-1) and you will see why it does not hold.

What you may want is Sqrt[v1]^2 = v1, and mathematica does this.


> Does anyone out there know why it does not do this, as it is causing some problems with some proofs I am doing ?
> 

I think you want:

Simplify[Sqrt[x^2], Assumptions -> x>0}]


  • Prev by Date: Re: Means
  • Next by Date: Re: Number of digits
  • Previous by thread: Re: Problems with simplify and Sqrt[a^2]
  • Next by thread: Re: Problems with simplify and Sqrt[a^2]