Examples of Ring

Example 1:

A Gaussian integer is a complex number a + ib, where a and b are integers. Show that the set J\left( i \right) of Gaussian integers forms a ring under ordinary addition and multiplication of complex numbers.

Solution:

Let {a_1} + i{b_1} and {a_2} + i{b_2} be any two elements of J\left( i \right) then

\left( {{a_1} + i{b_1}} \right) + \left( {{a_2} + i{b_2}} \right) = \left( {{a_1} + {a_2}} \right) = i\left( {{b_1} + {b_2}} \right) = A + iB

and

\left( {{a_1} + i{b_1}} \right) \cdot \left( {{a_2} + i{b_2}} \right) = \left( {{a_1}{a_2} - {b_1}{b_2}} \right) + i\left( {{a_1}{b_2} + {b_1}{a_2}} \right) = C + iD

These are Gaussian integers and therefore J\left( i \right) is closed under addition as well as multiplication of complex numbers. Addition and multiplication are both associative and commutative compositions for complex numbers.

Also, multiplication distribution with respect addition. The additive inverse of a + ib \in J\left( i \right) is \left( { - a} \right) + \left( { - b} \right)i \in J\left( i \right) as

\begin{gathered} \left( {a + ib} \right) = \left( { - a} \right) + \left( { - b} \right)i \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, = \left( {a - a} \right) + \left( {b - b} \right)i \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, = 0 + 0i = 0 \\ \end{gathered}

The Gaussian integer 1 + 0 \cdot i is the multiplicative identity. Therefore, the set of Gaussian integer is a commutative ring with unity.

Example 2: Prove that the set of residue {0, 1, 2, 3, 4} modulo 5 is a ring with respect to addition and multiplication of residue classes (mod 5).

Solution: Let R = {0, 1, 2, 3, 4}. Addition and multiplication tables for given set R are as under:

+ mod 5
0
1
2
3
4
mod 5
0
1
2
3
4
0
0
1
2
3
4
0
0
0
0
0
0
1
1
2
3
4
0
1
0
1
2
3
4
2
2
3
4
0
1
2
0
2
4
1
3
3
3
4
0
1
2
3
0
 
 
 
 
4
4
0
1
2
3
4
 
 
 
 
 

     
From the addition composition table following is clear:

(i) Since all elements of the table belong to the set, it is closed under addition (mod 5).

(ii) Addition (mod 5) is always associative.

(iii) 0 \in R is the identity of addition.

(iv) The additive inverse of the elements 0, 1, 2, 3, 4 are 0, 4, 3, 2, 1 respectively.

(v) Since the elements equidistant from the principal diagonal are equal to each other, the addition (mod 5) is commutative.
From the multiplication composition table, we see that (R, .) is semi group. i.e. following axioms hold good.

(vi) Since all the elements of the table are in R, the set R is closed under multiplication (mod 5).

(vii) Multiplication (mod 5) is always associative.

(viii) The multiplication (mod 5) is left as well as right distributive over addition (mod 5).

Hence \left( {R, + , \cdot } \right) is a ring.