I have been working on the following problem from Ulrich-Görtz today and I can't seem to find a nice solution.
Let $f:X \rightarrow Y$ be a morphism of schemes and let $Y$ be irreducible and $\eta$ the generic point of $Y$. Show that there is a bijection between the irreducible components of $f^{-1}(\eta)$ and the irreducible components of $X$ passing through $f^{-1}(\eta)$ given by $$Z \rightarrow Z \cap f^{-1}(\eta).$$
What I have tried:
I basically think I would be able to prove this if I could show that the inverse map (I think it is an inverse at least) $W \rightarrow cl(W)$ where $W$ is an irreducible component of $f^{-1}(\eta)$ and $cl$ the closure, maps irreducible components to irreducible components. I have not been able to show this, or even that it maps irreducible subsets to irreducible subsets. The problem I encounter is of the following type:
Let $W \subset f^{-1}(\eta)$ be an irreducible component and suppose that $cl(W) = V_1 \cup V_2$ for $V_1$ and $V_2$ closed. Then $V_1 \cap f^{-1}{\eta} = V_2 \cap f^{-1}{\eta}$ (I think) , but why does this imply $V_1=V_2$?
I hope I am somewhat comprehensible, if not, please tell me and I will try to make my arguments more clear.