Proposition (continuity on quotient space)
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces, $\sim$ be an equivalence relation on $X$, $Q = X/{\sim}$ be the quotient space and $q: X\to Q$ be the quotient map.
A function $f: Q\to Y$ is continuous iff $f\circ q$ is continuous.