83. Proving equivalences
83.1.1 Method
An equivalence “$P \Leftrightarrow Q$” is proved by proving both $P \Rightarrow Q$ and $Q \Rightarrow P$.
83.1.2 Remark Remember the slogan: To prove an equivalence you must prove two implications.
83.1.3 Remark Quite commonly the actual proof proves (for example) $P \Rightarrow Q$ and $\neg P \Rightarrow \neg Q$ (the contrapositive of $Q \Rightarrow P$), so the proof has two parts: the first part begins, “Assume $P$”, and the second part begins, “Assume $\neg P$...”
83.1.4 Example Here is an example of a theorem with such a proof. The proof avoids the use of the Fundamental Theorem of Arithmetic, which would make it easier, so as to provide a reasonable example of the discussion in the preceding paragraph.
83.2 Theorem
For any integer $n$, $2 \mid n$ if and only if $4 \mid n^{2}$.
Proof If $2 \mid n$ then by definition there is an integer $k$ for which $n = 2k$. Then $n^{2} = 4k^{2}$, so $n^{2}$ is divisible by 4.
Now suppose 2 does not divide $n$, so that $n$ is odd. That means that $n = 2k+ 1$ for some integer $k$. Then $n^{2} = 4k^{2} + 4k + 1 = 2(2k^{2} + 2k) + 1$ which is odd, so is not divisible by 2, much less by 4.
83.2.1 Remark The preceding proof is written the way such proofs commonly appear in number theory texts: no overt statement is made concerning the structure of the proof. You have to deduce the structure by the way it proceeds. In this proof, $P$ is the statement “$2 \mid n$” and $Q$ is the statement “$4 \mid n^{2}$”. To prove $P \Leftrightarrow Q$, the proof proceeds to prove first (before the phrase “Now suppose”) that $P \Rightarrow Q$ by the direct method, and then to prove that $Q \Rightarrow P$ by the contrapositive method, that is, by proving $\neg P \Rightarrow \neg Q$ by the direct method.
83.2.2 Exercise Prove that for all integers $m$ and $n, m +n$ is even if and only if $m -n$ is even.
83.2.3 Exercise Let $\alpha$ be a relation on a set $A$. Prove that $\alpha$ is reflexive if and only if $\Delta_{A} \subseteq \alpha$.
83.2.4 Exercise Let $\alpha$ be a relation on a set $A$. Prove that $\alpha$ is antisymmetric if and only if
$$\alpha \cap \alpha^{\mathrm{op}} \subseteq \Delta_{A}$$
Pages 122–123 of the book (PDF).