For a commutative ring $A$ with multiplicative subset $0\notin S$, if $P$ is a maximal element in the set of ideals not intersect $S$, it is prime.
I'm not sure what kind of approach I should take to set off.
Shoud I play with $S^{-1}A$?
For a commutative ring $A$ with multiplicative subset $0\notin S$, if $P$ is a maximal element in the set of ideals not intersect $S$, it is prime.
I'm not sure what kind of approach I should take to set off.
Shoud I play with $S^{-1}A$?
Hint. Consider a maximal ideal $I$ with respect to not intersecting $S$. Let $a,b\in A$ satisfy $ab\in I$, and suppose neither of $a,b$ belong to $I$. Then, by maximality of $I$, the ideals $I_a$ and $I_b$ generated by $I$ and $a$ and $I$ and $b$ respectively must both intersect $S$.