I've seen that if $|x|=|y|$ for reals $x$ and $y$ that $x^2$ is also equal to $y^2$. Generally that makes handling the absolute values much easier algebraically. I was wondering if there was any more need proof beyond If $x,y \in \Bbb R$ then $|x|=\sqrt{x^2}$ so if $|x|=|y|$ then $\sqrt{x^2}=\sqrt{y^2}$ square both sides: $x^2=y^2$.
I was also wondering if it would be valid to say if $x,y \in \Bbb R$ and $|x|=y$ then $x=\pm y$ and $\pm x=y$, and in extension $x^2=y$ then $x=\pm \sqrt{y}$.
Assuming it is known that:
$\;(1)\quad\quad |a| \cdot |b| = | a \cdot b|$
$\;(2)\quad\quad a^2 \ge 0$ for $\forall a \in \mathbb{R}$
$\;(3)\quad\quad a \ge 0 \implies |a| = a$
The proof follows in one line: $$x^2 \stackrel{(2)+(3)}{\;=\;} |x^2| = |x \cdot x| \stackrel{(1)}{\,=\,} |x| \cdot |x| = |x|^2 = |y|^2 = |y|\cdot|y| \stackrel{(1)}{\,=\,} |y \cdot y| = |y^2| \stackrel{(2)+(3)}{\;=\;} y^2$$