# Product of rings

 related topics {math, number, function}

In mathematics, it is possible to combine several rings into one large product ring. This is done as follows: if I is some index set and Ri is a ring for every i in I, then the cartesian product Πi in I Ri can be turned into a ring by defining the operations coordinatewise, i.e.

The resulting ring is called a direct product of the rings Ri. The direct product of finitely many rings R1,...,Rk is also written as R1 × R2 × ... × Rk or R1R2 ⊕ ... ⊕ Rk, and can also be called the direct sum (and sometimes the complete direct sum[1]) of the rings Ri.

## Contents

### Examples

An important example is the ring Z/nZ of integers modulo n. If n is written as a product of prime powers (see fundamental theorem of arithmetic):

where the pi are distinct primes, then Z/nZ is naturally isomorphic to the product ring

This follows from the Chinese remainder theorem.

### Properties

If R = Πi in I Ri is a product of rings, then for every i in I we have a surjective ring homomorphism pi: R -> Ri which projects the product on the i-th coordinate. The product R, together with the projections pi, has the following universal property:

This shows that the product of rings is an instance of products in the sense of category theory. However, despite also being called the direct sum of rings when I is finite, the product of rings is not a coproduct in the sense of category theory. In particular, if I has more than one element, the inclusion map Ri → R is not ring homomorphism as it does not map the identity in Ri to the identity in R.

If Ai in Ri is an ideal for each i in I, then A = Πi in I Ai is an ideal of R. If I is finite, then the converse is true, i.e. every ideal of R is of this form. However, if I is infinite and the rings Ri are non-zero, then the converse is false; the set of elements with all but finitely many nonzero coordinates forms an ideal which is not a direct product of ideals of the Ri. The ideal A is a prime ideal in R if all but one of the Ai are equal to Ri and the remaining Ai is a prime ideal in Ri. However, the converse is not true when I is infinite. For example, the direct sum of the Ri form an ideal not contained in any such A, but the axiom of choice gives that it is contained in some maximal ideal which is a fortiori prime.