Maximal Ideals of direct products 
Maximal Ideals of $R\times S$ are either of the form $A \times S$, where $A$ is maximal in $R$, or of the form $R\times B$, where $B$ is maximal in $S$.

I started by assuming $U$ is maximal in $R \times S$, then $(R\times S)/U$ is a field, which means $((r,s)+U)((r',s')+U)=1+U$, where $(r,s)$,$(r',s') \in R\times S$. Then we get $(rr'-1,ss'-1)\in U$. After this, I have no idea where to go, and how to use the assumption that $U$ is maximal.
 A: Jacob's comment pretty much says it all, but here's the details:
Suppose $U$ contained neither all of $R=R\times \{0\}$ nor $S=\{0\}\times S$. Then we could pick nonzero elements $(r,0) \in R$ and $(0,s)\in S$, neither of which is in $U$, and then $$(r+U)(s+U)=rs+U=(0,0)+U$$ But of course a field does not contain zero-divisors. So $U$ must contain all of $R$ or all of $S$. Using the fact an ideal is maximal if and only if the quotient ring is a field, you can now easily show that the ideal $U$ is of the required form.
A: Prove that if $R_1, \dots, R_n$ are rings, then the ideals of 
$$R_1 \times \dots \times R_n$$
are all of the form
$$\mathcal{I}=\mathcal{I}_1 \times \dots \times \mathcal{I}_n$$
where $\mathcal{I}_i \subseteq R_i$ is an ideal. [Hint: consider what happens when you multiply the ideal on the left by $(1,0,\dots,0), (0,1,\dots,0),\dots$.]
Suppose that $\mathcal{I}$ is such that more than one of the $\mathcal{I}_i$'s is different from $R_i$; then we can replace one of these $\mathcal{I}_i$'s with $R_i$ and get an ideal properly containing $\mathcal{I}$. Hence a maximal ideal has all $\mathcal{I}_i$'s but one equal to $R_i$. It is clear that the one $\mathcal{I}_i$ with $\mathcal{I}_i \neq R_i$ is also maximal. 
Note: it is no longer true for infinite products of rings. For instance $\prod_{i=1}^\infty \mathbb{Z}/2\mathbb{Z}$ has uncountably many maximal ideals but only countably many maximal ideals of the form just described.
