Relations on $\mathbb{N}$

45 Views Asked by At

I'm having a tough time with understanding binary relations and need some help on the following task.

Let $\sim$ be a relation on $\mathbb{N}$ defined by $x\sim y$ if $x + y\in\{2n:n\in\mathbb{N}\}$. What properties does $\sim$ have?

My work so far:

It is reflexive since $\forall x$ we have that $x\sim x$ gives us $ x+x=2x\in\{2n|n\in\mathbb{N}\}$. It is symmetric since $\forall x, y$ we have that $x\sim y$ and $y\sim x$ gives us $x+y\in\{2n|n\in\mathbb{N}\}\implies y + x\in\{2n|n\in\mathbb{N}\}$. It is also transitive since if $x\sim y$ and $y\sim z$ then $x\sim z$ will give us $x+y\in\{2n|n\in\mathbb{N}\}$ and $y+z\in\{2n|n\in\mathbb{N}\}\implies x+z\in\{2n|n\in\mathbb{N}\}$.

Did I get this right, or am I completely missing the subject? If I got it wrong, please break it down for me, point me to places where I can fill in the gaps.

Thanks in advance.

1

There are 1 best solutions below

0
On BEST ANSWER

You haven't proved the transitivity, but only stated it.

A proof could be the following: $$x+z=(x+y)+(y+z)-2y=2n+2m-2y=2(n+m-y),$$ where I assumed that $x+y=2n$ and similarly $y+z=2m$. (Note that $n+m-y\geq 0$ because $x+z\geq 0$.)

Remark: note this relation can be phrased in plain English in an easy way: $$x\sim y:\iff x \text{ and } y \text{ share the same parity (i.e. both even or odd)}$$