# Equivalence relation and Distinct equivalence classes

Given the set $S = \{x-y \sqrt5: x, y$ are rational numbers and $x-y \sqrt5 \neq 0\}$. Assume the relation $T$ is de fined on the set $S$ by $a T b$ if $a/b$ is a rational number.

Question has two parts;

a. Prove that $T$ is an equivalence relation.

b. Find the distinct equivalence classes of $T$.

I know if $T$ is equivalence relation, it should be reflexive, symmetric and transitive. I should prove them in order I guess.However, for this question for set $S$ there is $x$ and $y$. After that it says $a$ and $b$. I don't understand their relation. Also, how should I use $x-y \sqrt5$, what is the relation of $x-y \sqrt5$ and $a/b$?

For showing that $T$ is an equivalence relation :-

1) Reflexive :- $\frac{x-y\sqrt{5}}{x-y\sqrt{5}}=1$

2) Symmetric :-If $a=x-y\sqrt{5}$ and $b=p-q\sqrt{5}$ and $aTb$ then clearly $bTa$ as if $x\in \mathbb{Q}$then so is $\frac 1x$.

3) Transitive :- Check yourself (if you have understood it).

For equivalence classes :-

$[x-y\sqrt5]=\{p-q\sqrt5\}\mid \frac {x-y\sqrt5}{p-q\sqrt5}\in \mathbb{Q}\}$ and hence $(x-y\sqrt5).(p+q\sqrt5)\in \mathbb{Q}$ (why ? ), thus giving the relation that $xq-yp=0$.

• All parts are clear also with transitive part now – user297634 Dec 20 '15 at 18:27

Hint

You have to consider two elements $a,b \in S$ and show that : $aTa$, if $aTb$, then $bTa$, and so on.

To say that $a,b \in S$ means that :

$a=x_1−y_1 \sqrt 5 \ne 0$ and $b=x_2−y_2 \sqrt 5 \ne 0$

with : $x_1, y_1, x_2, y_2 \in \mathbb Q$.

Thus, for reflexivity : $aTa$ iff $a/a$ is a rational number. So, we have only to "calculate" $a/a$...

For symmetry, we have to show that : if $a/b$ is a rational number, then also $b/a$ is. Say : $a/b=q$; then, what is $b/a$ ?

• Okey, reflection part is very easy $a/a=1$, and it is always correct, but for symmetry, how can I prove $(x_1−y_1 \sqrt5 )/( x_2−y_2 \sqrt5)$ and $(x_2−y_2 \sqrt5) / (x_1−y_1 \sqrt5)$ is true or transitive part? – user297634 Dec 20 '15 at 18:14
• Wow, of course $1/q$, sir. Sorry for this meaningless question. – user297634 Dec 20 '15 at 18:19

$a$ and $b$ are just elements of the set $S$ having the form of $x-y\sqrt{5}$

Say $a= x_1-y_1\sqrt5$ and $b=x_2-y_2\sqrt5$ where $x_1,x_2,y_1,y_2\in \mathbb{Q}$.

• Can any one help me with the syntax of mathjax, according to this link meta.math.stackexchange.com/questions/5020/… radicals are written in the form as I have written in the first line but it is not showing the correct form. – user268307 Dec 20 '15 at 18:11