MathGroup Archive 2005

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

Search the Archive

Re: sqrt(x^2) = x


On 10/11/05 at 3:22 AM, pacoga at ctv.es (Francisco Javier) wrote:

>How can I tell Mathematica that I want to simplify all expressions
>like Sqrt[x^2] as x, whithout taking into account that x is or not
>a positive real number?

PowerExpand will do what you want, i.e.,

In[20]:= PowerExpand[Sqrt[x^2]]
Out[20]= x

This tranformation is not included amoung the tranformations applied by Simplify or FullSimplify since it is not valid for all possible values of x.
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: view only every second bar lable on x-axes
  • Next by Date: Re: Mathematica GuideBooks for Numerics and Symbolics published
  • Previous by thread: Re: sqrt(x^2) = x
  • Next by thread: Re: sqrt(x^2) = x