Let $R$ be a commutative ring with $1$. Suppose that every nonzero proper ideal of $R$ is maximal. Prove that there are at most two such ideals.
Help me some hints. I have no idea to start.
Let $R$ be a commutative ring with $1$. Suppose that every nonzero proper ideal of $R$ is maximal. Prove that there are at most two such ideals.
Help me some hints. I have no idea to start.
Suppose that $R$ has more than one maximal ideal, say $M_1$ and $M_2$. Then $M_1\cap M_2$ is a proper ideal and it can not be maximal (since it is contained in both $M_1$ and $M_2$) therefore we must have $M_1\cap M_2 = 0$. Now by the chinese rimainder theorem we have $$R \cong \frac{R}{0} = \frac{R}{M_1\cap M_2} \cong \frac{R}{M_1}\times\frac{R}{M_2}$$ the right hand side is a product of two fields so it has exactly two maximal ideal. Thus $R$ can not have more than two maximal ideals.
Supoose you have two nonzero ideals. The are both maximal and minimal, so their sum is the whole ring and their intersection is zero: it follows that the ring is the direct sum of the two ideals. Since they are both proper, neither of them contains $1$, so they are both rings with unit. As rings, the don't have any nonzero proper ideals, so they are in fact fields.
Our ring is therefore the direct product of two fields. By inspection, we can easily find all its ideals.
(we also get all possible examples, btw)
Let $I$ and $J$ be two distinct ideals of $R$. We know that neither is a subset of the other, so $I \subset I + J$. Since $I$ is maximal, $I + J = R$.
Assume there is a third non-zero proper ideal of $R$, call it $K$. Consider $(I + J)K$. On one hand, this must be $K$, because $I + J = R$, and $1 \in R$.
But it is also equal to $IK + JK$. If all non-zero proper ideals are maximal, what do you know about $IK$ and $JK$?