Let $k$ be an algebraically closed field, let $R,S$ be finitely generated $k$-algebras without nonzero nilpotent elements. Let $f\in \text{Hom}_k(R,S)$, and $M$ a maximal ideal of $S$. Then $f^{-1}(M)$ is a maximal ideal of $R$.
I've thought of this proof:
We know that $R/f^{-1}(M)$ is an integral domain which "contains" $k$.
Furthermore the homomorphism $f$ with the canonic epimorphism $S\to S/M$ induces an homomorphism $f'=\sigma\circ f:R\to S/M$. By fundamental homomorphism theorem we have a monomorphism $f'':R/f^{-1}(M)\to S/M$.
Abusing notation we can say then:
$$k\subseteq R/f^{-1}(M)\subseteq S/M=k$$
since $S/M$ is a finite extension of $k$.
Then $R/f^{-1}(M)=k$ and thus $f^{-1}(M)$ is a maximal ideal of $R$.
I have seen other proofs, which extend a bit more, to prove that $R/f^{-1}(M)$ is a field, not necessarily $k$ (but with the hypothesis for $k$ to be algebraically closed). So I have some questions.
Is my attempt of proof correct? Is there any problem in the abuse of the notation?
I haven't used the fact that the algebras are reduced, but when I found the proposition the first time here, the hypothesis was there. (The proof attempt and the answer seemed too crazy for me so I thought in trying to prove it myself.) In other places it does not appear, like here. Does this hypothesis contribute in any way?
Does $k$ have to be algebraically closed?