MathGroup Archive 1997

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

Search the Archive

Re: sqrt[x^2]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg9848] Re: sqrt[x^2]
  • From: we048532 at bs47c.staffs.ac.uk (WOOD D.J)
  • Date: Fri, 28 Nov 1997 05:36:04 -0500
  • Organization: Staffordshire University
  • Sender: owner-wri-mathgroup at wolfram.com

ZenArcher (Zen at archer.com) wrote:
: Well I know this is really elementary, but I just don't understand this
: result:
: sqrt[x^2]=sqrt[x^2]
: sqrt[4^2]=4
: Why doesn't Mathematica tell me that the Square Root of x^2 is x, but it
: will tell me that the square root of 4^2 is 4?

If x is a negative value it is not the case, for example if x is -2 then
the square root of x^2 is 2.  so the square root of x^2 is not allways
equal to x. -Dave


  • Prev by Date: RE: StoppingTest does not work ?
  • Next by Date: Re[2]: StoppingTest does not work ?
  • Previous by thread: Re: Re: sqrt[x^2]
  • Next by thread: Re: sqrt[x^2]