We know that the square root function ($\sqrt{}$) always produces non-negative numbers. Why then, does the square root function produce a negative value here?
$$x^2=4$$
$$\implies \pm \sqrt{x^2}=2$$
$\implies \sqrt{x^2}=2...(i)$, or, $\implies \sqrt{x^2}=-2...(ii)$
In equation (ii), the square root function produces a negative value. I can't even graph equation (ii) in desmos. Why is this happening?
$$x^{2} = 4 \Longleftrightarrow x^{2} - 4 = 0 \Longleftrightarrow (x-2)(x+2) = 0$$
– user0102 Sep 03 '21 at 15:41