Today I was asked this question by my teacher:
Let $A$,$\ B$ be two conmutative rings with unity lef $f :A \rightarrow B$ be a ring morphism and $φ : \operatorname{Spec}(B) \rightarrow \operatorname{Spec}(A)$ the continuos function defined by $f$ where if $P \in \operatorname{Spec}(B) \:$ then $φ(P)=f^{-1}(P)$. Knowing this prove: $$\operatorname{im}(φ)\subset V(\ker f)$$ where $\ V(\ker f) = {\{P \in \operatorname{Spec}(A)\text{ and } \ker f \subset P \}}$
I already know that $V(\ker f)$ is homeomorphic to $\operatorname{Spec}(A/\ker f)$.
Strong hint:
This is essentially the correspondence theorem but for rings rather than groups. Namely, ideals in $A$ that contain $\ker f$ are in correspondence with ideals in $B$, under the same action that $\phi$ has. This theorem is introduced earlier in algebra so you’ve probably already seen it.
N.B. It’s homeomorphic and morphism.