Suppose R, S are two rings (with identity elements in both).
Suppose further I've already proven the following -
Claim #1: any ideal in RxS is necessarily of the form $I_1 \times I_2$ where $I_1, I_2$ are ideals in R, S respectively.
I'd like to prove the following assertion: K is a maximal ideal in $R\times S$ iff it is of the form $I_1 \times I_2$ and at least one of $I_1, I_2$ is a maximal ideal (in R, S respectively).
I reasoned as follows, would appreciate feedback if this is right:
Assume $K$ is a maximal ideal in $R\times S$, so by Claim #1 above it is of the form $I_1 x I_2$ (where $I_1, I_2$ are ideals in $R, S$ respectively).
Assume now that $I_1, I_2$ are not maximal ideals, then we can find $I'_1, I'_2$ such that $I_1 \subset I'_1 \lhd R, I_1 \subset I'_1 \lhd S$, where $I'_1, I'_2$ are (larger) non-trivial ideals in $R, S$ respectively.
By the above Claim #1 again, we know that $I'_1 \times I'_2$ is an ideal of $RxS$, and further we can see that $I_1 \times I_2 \subset I'_1 \times I'_2$ since of course every $(r, s) \in I_1 \times I_2$ also has $(r, s) \in I'_1 \times I'_2$.
Also $I'_1 \times I'_2$ is not all of $R \times S$ since neither $I'_1 = R$ nor $I'_2 = S$ (therefore in particular $1 \notin I'_1$ for example).
Is this right? the proof I provide that $I'_1\times I'_2$ is not all of $R\times S$ and the last step where we show containment of the ideals is legit? I've seen other answers that make use of fancier homomorphism theorem based arguments so left me a bit uneasy.