Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: sqrt(x^2) = x

  • To: mathgroup at
  • Subject: [mg61201] Re: sqrt(x^2) = x
  • From: Bill Rowe <readnewsciv at>
  • Date: Wed, 12 Oct 2005 01:43:16 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

On 10/11/05 at 3:22 AM, pacoga at (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