Why is square root of x squared = absolute x?

Is it because absolute x = -x and x?

2 answers

Wellt the so calles abs: R -> R^+_0 function assigns every x its absolute value hence a positive number or zero.

Squaring a number always yields s.th. positive as a result. It follows the statement.
Yes, since (-x)^2 or x^2 both yield x^2, the square root of X^2 = IxI = absolute value of x.