Let $R$ be equivalence relation on $A$, and let $A_x$ be equivalence of $R$ which contain $x$, $$A_x=\{a\in A\mid (a,x)\in R\}.$$ Prove if $y\in A_x$ then $A_x=A_y$.
This is my effort:
Given $y\in A_x$ so $y\in A$ such that $(y,x)\in R$. Because of $R$ is equivalence relation, $$(x,y)\in R.$$ We have $x\in A$ such that $(x,y)\in R$. So, $x\in A_y$.
I'm confused and I can't prove this theorem. How we can get $A_x=A_y$?
It is enough to prove that $A_y \subseteq A_x$ and $A_x \subseteq A_y$.
$A_y \subseteq A_x$: Let $z \in A_y$. Then $z \sim y$. Since $y \sim x$, we get $z \sim x$ by transitivity. Thus, $z \in A_x$.
$A_x \subseteq A_y$: Let $z \in A_x$. Then $z \sim x$. Since $y \sim x$, we get $x \sim y$ by symmetry and so $z \sim y$ by transitivity. Thus, $z \in A_y$.