TITLE: If $R$ and $S$ are rings then $R \times S$ is never a field (or domain)
QUESTION [11 upvotes]: This question is from the book "Abstract Algebra" by Dummit and Foote.(Exercise: 7.6.4):
Problem: Prove that if $R$ and $S$ are any two non-zero rings then $R \times S$ is never a field.
My problem with this question is that it doesn't feel right. If $R$ and $S$ are rings then $R \times S$ is also so. (The addition and multiplication on $R \times S$ is defined as $(r_1,s_1)+(r_2,s_2)=(r_1+r_2,s_1+s_2)$ and $(r_1,s_1)(r_2,s_2)=(r_1r_2,s_1s_2)$ respectively where $(r_1,s_1),(r_2,s_2) \in R \times S$.) So proving that $R \times S$ is a field reduces to proving commutativity of multiplication, existence of multiplicative indentity and existence of multiplicative inverse for each element of it. Now, if the two rings are fields themselves then multiplication is commutative, the identy is $(1_R,1_S)$ and inverse of an element $(r,s)$ is $(r^{-1},s^{-1})$. So $R \times S$ is also a field.
Am I right? Please help.
Update: The question comes from a section about the Chinese Remainder Theorem. Is it possible to prove this fact using Chinese Remainder Theorem?

REPLY [3 votes]: Hint $ $ Ring factorizations correspond to idempotents, i.e. nontrivial product rings contain idempotents $\rm\:e = e^2\:$ that are nontrivial $\rm\: e\ne 0,1,\:$ e.g. $\rm\ e = (0,1)\in R\times S\:.\:$  But a field or domain has only trivial idempotents since $\rm\ e\: (1-e) = 0\ \Rightarrow\ e = 0,1.\:$ Note that the nontrivial idempotent $(0,1)$ may be viewed as constructed by diagonalizing out of the set of trivial idempotents $(0,0),\: (1,1)\:.$
Conversely a nontrivial idempotent $\rm\:e\:$ yields a nontrivial factorization $\rm\:R \cong e\:R \times (1-e)\:R\:$ (the Peirce decomposition). This decomposition extends to any finite set of idempotents having sum $1$ and being  mutually orthogonal, i.e. $\rm\:e_i\, e_j = 0\ \ if\ \ i\ne j\:.$ For example, the Chinese Remainder Theorem (CRT) may be viewed in this manner.