Question: Let $G$ be a group and $H$ be a nonempty subset of $G$. A relation $\rho$ defined on $G$ by ``$a\rho b$ if and only if $a\circ b^{-1}\in H$" for $a,b\in G$, is an equivalence relation on $G$. Prove that $(H,\circ)$ is a subgroup of $(G, \circ)$.
Answer: Let $a\in G$, then $a\rho a $ holds and so $a\circ a^{-1}=e\in H$
So $H$ contains identity element.
I don't know whether my approach is right or not. How can I show that $H$ is a subgroup of $G$.
Thaks
It's a good first step, the next step is to check if $ab\in H$ and that inverses exist. These can be done at once by checking if $ab^{-1}\in H$ which we can easily do because if $a,b\in H$ then $a\rho b$ which means that $ab^{-1}\in H$ by definition of the relation, you're done.