Question: Let $(G, \circ)$ be a group and $H$ be a non-empty subset of $G$. A relation $\rho$ defined on $G$ by $$a\,\rho\ b\quad \text{if and only if}\quad 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)$.
Progress: To show $(H, \circ)$ is a sub-group it is enough to show $a,b\in H\implies a\circ b^{-1}\in H$. How can I show this?
We first show that $e\in H$. By the reflexivity of $\rho$, $e\rho e$, and hence, $e=e\circ e^{-1}\in H$.
Next, we show that $a,b\in H\implies a\circ b^{-1}\in H$. Assume $a, b\in H$. Then, $a\circ e^{-1}= a\in H$ and $b\circ e^{-1}=b\in H$. By assumption, it follows that $a\rho e$ and $b\rho e$. Since $\rho$ is symmetric, we have $e\rho b$, and hence, by transitivity, $a\rho b$, as well. Therefore, $a\circ b^{-1}\in H$. This is what is required to show that $H$ is a subgroup of $G$.