I feel like there are many solutions for some proofs, and I want to make sure I'm still getting everything correct. This is the problem:
$$m^2 = n^2 (P)\quad\text{if and only if}\quad m = n (Q)\quad\text{or}\quad m = -n (Z)$$
So I need to prove $P \Rightarrow (Q \lor Z)$ and $(Q \lor Z) \Rightarrow P$ because this is a bi-conditional statement, yes? This is my proof.
Proving $P \Rightarrow (Q \lor Z)$:
Let's assume $m$ doesn't equal $n$ (proving by contra-position). It is said that $m^2 = n^2$. Take the square root of both sides and you are left with $m = n$. However, we are assuming $m$ doesn't equal $n$ so there is a contradiction.
And I pretty much did the reverse for $(Q \lor Z) \Rightarrow P$ by squaring both sides to reach the contradiction.
Is this a valid proof or is something going over my head?