I'm trying to prove the following:
Let $f:A\rightarrow B$ be an integral homomorphism (e.g. $B/f(A)$ is a integral extension). Consider $f^{*}: \operatorname{Spec}B \rightarrow \operatorname{Spec}A$ given by $f^{*}(Q)=f^{-1}(Q)$. Show that $f^{*}$ is a closed map.
My problem here is that a I don't know how to describe the closed sets in the Zariski topology, since I have to show that given $Q$ closed in $\operatorname{Spec}B$ then $f^{*}(Q)$ is closed in $\operatorname{Spec}A$.
Thank you for any help.