I got a theorem from my lecture's note. Proof that \begin{align*} |x|≤|y| \leftrightarrow x^2≤y^2 \end{align*}
Then, I try to proof that theorem. \begin{align*} |x|≤|y| \leftrightarrow \sqrt{x²}≤\sqrt{y²}\\ \leftrightarrow x²≤y² \end{align*}
But, i am not sure with my answer. Is it proven enough like that? Thanks for any help
The idea behind your proof is OK. Whether it is correct depends on what your definitions are and how much you are allowed to assume or have already proved.
In your first step, can you explain why $|x| = \sqrt{x^2}$?
In your second step, can you explain why squaring each side of an inequality preservers the inequality? (It's not always true.)