Let $A \subseteq B$ be two commutative $\mathbb{C}$-algebras. Let $q$ be an ideal of $B$ and denote $p=q \cap A$.
By [Lemma 3][1], if $A \subseteq B$ is an integral extension, then: $q$ is maximal in $B$ if and only if $p$ is maximal in $A$.
If $A \subseteq B$ is not necessarily integral, when is it possible to deduce the following half claim: If $p$ is maximal (prime) in $A$, then $q$ is maximal (prime) in $B$.
I guess that this does not hold in general. Does one of the following additional conditions help: (i) flatness of $A \subseteq B$; (ii) faithful flatness of $A \subseteq B$, see [this][2]; (iii) separability of $A \subseteq B$; (iv) $A$ and $B$ being UFD's.
Thank you very much!
Edit: One direction of the proof of Lemma 3 says: "If $p$ is maximal then $A/p$ is a field and every element of $B/q$ is algebraic over $A/p$. Hence $B/q$ is a field" (so $q$ is maximal).
Therefore, if I am not wrong (but I may be wrong), the following claim is true: If $A \subseteq B$ is algebraic, then: If $p$ is maximal in $A$, then $q$ is maximal in $B$.
Reason: If I am not worng, exactly the same proof holds; the critical line is: and every element of $B/q$ is algebraic over $A/p$.
Am I right?
strong text [1]: http://math.stanford.edu/~conrad/210BPage/handouts/math210b-going-up.pdf [2]: Extensions and contractions of prime ideals under integral extensions