I am asked:
Determine if the following statement is true or false by considering its contrapositive. Prove the statement if it is true.
If $x$ and $y$ are two integers for which $3(x-y)$ is even, then $x$ and $y$ have the same parity.
Here's my attempt:
Proof: (Contrapositive) Assume that $x$ and $y$ do not have the same parity, i.e. $x$ is odd and $y$ is even, or $x$ is even and $y$ is odd.
First, suppose that $x$ s off such that $x=2k+1,k\in \mathbb{Z}$ and $y$ is even such that $y=2l,l\in \mathbb{Z}$. Then $3(x-y)=3(2k+1-2l)=6k+3-6l=(6k-6l+1)+1=2(3k-3l+1)+1$. Since $k\in \mathbb{Z}$ and $l\in \mathbb{Z}$, $3k\in \mathbb{Z}$ and $3l\in \mathbb{Z}$. Thus, $2(3k-3l+1)+1$ is odd.
Alternatively, suppose that $x$ is even and $y$ is odd such that $x=2m,m\in \mathbb{Z}$ and $y=2n+1,n\in \mathbb{Z}$. Then $3(x-y)=3(2m-(2n+1))=3(2m-2n-1)=6m-6n-3=(6m-6n-2)-1=2(3m-3n-1)-1$. Since $m\in \mathbb{Z}$ and $n\in \mathbb{Z}$, $3m\in \mathbb{Z}$ and $3n\in \mathbb{Z}$. Thus, $2(3m-3n-1)-1$ is odd.
In either case we have shown that $x \text{and} y \text{do not have the same parity})\implies (3(x-y)\text{is odd})$ holds true, which is the contrapositive of the original statement. Therefore, the original statement must be true. $\blacksquare$