Theory

The square root of a squared number is the absolute value of that number.
For a negative number, the sign changes and for a positive number it stays the same — it's thus one of the definitions of absolute value.
Exercises