I am asked to prove that:
Given $f:X/{\sim}\to Z$ and $q:X \to X/{\sim}$, then the quotient topology (on $X/{\sim}$) is the minimal topology such that $f:X/{\sim}\to Z$ is continuous $\iff f\circ q:X\to Z$ is continuous.
I have tried to put $M=\{f^{-1}(V):V\in\mathscr{T}_Z\}$ , where $\mathscr{T}_Z$ is the topology of Z, and try to show the quotient topology $\mathscr{T}_q$ of $X/{\sim}$ is equal to $M$. But I can only prove that $M\subseteq\mathscr{T}_q$.
Could anyone please give some hint to me? (Or even if that statement is true)