Let $S=\left\{\begin{bmatrix}a&b\\0&c\end{bmatrix}: a,b,c\in \mathbb{R} \right\}$ be a ring under matrix addition and multiplication. Then the subset $P=\left\{\begin{bmatrix}0& p\\ 0&0\end{bmatrix}:p\in \mathbb{R}\right\}$ is
- not an ideal of $S$
- an ideal but not a prime ideal of $S$
- is a prime ideal but not a maximal ideal of $S$
- is a maximal ideal of $S$.
It is obvious that $P$ is an ideal of $S$. So all we need to determine is whether it is prime ideal or maximal ideal of $S$. Now we see that- $$\begin{bmatrix}0&a\\0&0\end{bmatrix}\begin{bmatrix}0&0\\0&a\end{bmatrix}\in P$$ but $\begin{bmatrix}0&0\\0&a\end{bmatrix}\notin P$. Here I have a minor confusion. For and ideal to be a prime ideal, if $ab\in P$ then either $a$ or $b$ has to be in $P$. In this case, the above mentioned matrix is not in $P$, does it implies $P$ is not a prime ideal? Also I don't know how to show $P$ is maximal or not. So can anyone help me on this? Thanks.