The problem is that √(x2) ≠ x, if we're considering all real numbers (-∞, ∞).
The square root function is only defined over the non-negative real numbers, which is fine because the squaring function always gives us non-negative reals.
The function f(x) = x2, takes us from any real number (-∞...