I have problems with this exercise
Let $q:X\longrightarrow{Y} $ a continuous function. Suppose there exists a continuous function $f: Y \longrightarrow{X} $ such that $q \circ{} f$ is the identity function in $Y$. Prove that $q$ is an identification function.
I need a hint
Thanks
The proof writes itself: suppose $V \in \tau_Y$. Then $q^{-1}[V] \in \tau_X$ by continuity of $q$.
The existence of $f$ implies that $q$ is surjective: $f(y)$ is a $q$ pre-image for $y \in Y$, as $q(f(y))=y$.
If $q^{-1}[V] \in \tau_X$, then $f^{-1}[q^{-1}[V]] \in \tau_Y$ by continuity of $f$, and $$f^{-1}[q^{-1}[V]] = (q \circ f)^{-1}[V] = 1_Y^{-1}[V]=V$$ and so $V \in \tau_Y$, as required.