I have the following problem:
A relation $\sim$ on $\mathbb{R}\setminus\{0\}$ is defined by $a\sim b$ if $ab>0$. Show that $\sim$ is an equivalence relation and identify the equivalence classes.
I've been able to easily demonstrate that $\sim$ is both reflexive and symmetric, but I'm not sure how to approach demonstrating that it is transitive.
If $ab>0$, $bc>0$, then
$$ab\cdot bc >0 \implies ab^2c>0$$
Since $ab>0$, $b\neq 0$ so $b^2>0$. From the previous inequality, we have that $ac>0$.