Rings


< all posts

Published : 2026-07-03

Rings

In linear algebra in the last article we learned about vectors and vector spaces. We could add vectors and multiply them by scalars. But what if we have certains objects which themselves can be added and multiplied ? Rings provide us a framework and structure to study such objects. For example rings can contain a set of integers, polynomial or even matrices.

Formal Definition of Ring

A ring R\mathbb R is a set with two laws composition ++ and ××, that satisfy these axioms :

In this article we will only consider commutative rings with identity since these are the rings used in coding theory.

A Subring is a subset that is itself a ring under the inherited operations.

A subset SRS \subseteq \mathbb{R} is called a subring if

An Abelian group is a group in which the order of the operation does not matter; that is, for any two elements aa and bb, a+b=b+aa + b = b + a or we can say that the group operation is commutative.

Polynomial Rings

A polynomial with coefficients in a ring R\mathbb R os a finite linear combination of powers of the variables.

f(x)=anxn+an1xn1+...+a1x+a0f(x) = a_nx^n + a_{n-1}x^{n-1} + ... + a_1x + a_0

here aiRa_i \in \mathbb R. f(x)f(x) is called formal polynomial. Set of polynomials with coefficient in ring R\mathbb R will be denoted by R[x]\mathbb R[x].

The monomals xix^i are considered independent, So if :

g(x)=bmxm+bm1xm1+...+b1x+b0g(x) = b_mx^m + b_{m-1}x^{m-1} + ... + b_1x + b_0

is another poly with coefficient in R\mathbb R then f(x)==g(x)f(x) == g(x) if and only if

ai=bi,  i=0,1,2....a_i = b_i, \space \forall \space i = 0, 1, 2 ....

Now before introducing Quotient Rings which helps us to actually understand how extensions work we should go over some topics which will help us understand the construction of quotient rings.

Concepts

Ideal

II is an ideal if :

Cosets

Let II be an ideal of a ring R\mathbb{R}. Since every ideal is an additive subgroup of R\mathbb{R} we can partition the ring into cosets of II.

For any element aRa \in \mathbb{R}, the coset of II containing aa is

a+I={a+xxI}a + I = \{\,a + x \mid x \in I\,\}

In other words, we take every element of the ideal and add aa to it.

For Example,

let

I=4Z.I = 4\mathbb{Z}.

then

1+I=1+4Z={,7,3,1,5,9,13,}1 + I = 1 + 4\mathbb{Z} = \{\ldots,-7,-3,1,5,9,13,\ldots\}

similarly

2+4Z={,6,2,2,6,10,14,}2 + 4\mathbb{Z}= \{\ldots,-6,-2,2,6,10,14,\ldots\}

Every element of the ring belongs to exactly one coset and together the cosets partition the ring.

Quotient Set

The quotient set of a ring R\mathbb{R} by an ideal II is the set of all cosets of II. It is denoted by

R/I={a+IaR}\mathbb{R}/I = \{\,a + I \mid a \in \mathbb{R}\,\}

Here the elements of R/I\mathbb{R}/I are not individual elements of the ring. Instead, each element is an entire coset.

For Example,

let

R=Z,I=4Z\mathbb{R} = \mathbb{Z}, \qquad I = 4\mathbb{Z}

then the quotient set is

Z/4Z={0+4Z,1+4Z,2+4Z,3+4Z}\mathbb{Z}/4\mathbb{Z}= \{ 0 + 4\mathbb{Z}, 1 + 4\mathbb{Z}, 2 + 4\mathbb{Z}, 3 + 4\mathbb{Z} \}

Since every integer leaves one of the remainders 0,1,2,0, 1, 2, or 33 when divided by 44, these are the only distinct cosets. For convenience we will write

Z/4Z={0,1,2,3}\mathbb{Z}/4\mathbb{Z}= \{ \overline{0}, \overline{1}, \overline{2}, \overline{3} \}

where

a=a+4Z\overline{a} = a + 4\mathbb{Z}

denotes the coset containing aa.

The quotient set itself is only a collection of cosets. In the next section we will define addition and multiplication on these cosets, turning the quotient set into a quotient ring.

Ring Homomorphism

A ring homomorphism is a function between two rings that preserves the ring operations. In simple words performing addition or multiplication before applying the function gives the same result as applying the function first and then performing the operation.

Formally, let R\mathbb{R} and R\mathbb{R}' be two rings. A function

φ:RR\varphi : \mathbb{R} \rightarrow \mathbb{R}'

is called a ring homomorphism if, for every a,bRa, b \in \mathbb{R},

For Example,

Consider the function

φ:ZZ/4Z,\varphi : \mathbb{Z} \rightarrow \mathbb{Z}/4\mathbb{Z},

defined by

φ(a)=a+4Z\varphi(a) = a + 4\mathbb{Z}

This map sends every integer to its corresponding coset modulo 44. For example,

φ(7)=3+4Z,φ(12)=0+4Z\varphi(7) = 3 + 4\mathbb{Z}, \qquad \varphi(12) = 0 + 4\mathbb{Z}

It preserves both addition and multiplication, making it a ring homomorphism.

Kernel of a Ring Homomorphism

Let

φ:RR\varphi : \mathbb{R} \rightarrow \mathbb{R}'

be a ring homomorphism. The kernel of φ\varphi is the set of all elements in R\mathbb{R} that are mapped to the additive identity of R\mathbb{R}'. It is denoted by :

ker(φ)={aRφ(a)=0}\ker(\varphi) = \{\,a \in \mathbb{R} \mid \varphi(a) = 0\,\}

The kernel measures which elements of the ring become zero under the homomorphism. It is always an ideal of R\mathbb{R}.

For Example,

Consider the ring homomorphism

φ:ZZ/4Z,\varphi : \mathbb{Z} \rightarrow \mathbb{Z}/4\mathbb{Z},

defined by

φ(a)=a+4Z\varphi(a) = a + 4\mathbb{Z}

An integer is mapped to the zero coset if and only if it is a multiple of 44. Therefore,

ker(φ)=4Z={,8,4,0,4,8,12,}\ker(\varphi)= 4\mathbb{Z}= \{\ldots,-8,-4,0,4,8,12,\ldots\}

Thus, every multiple of 44 is identified with 00 in the quotient ring Z/4Z\mathbb{Z}/4\mathbb{Z}.

Quotient Rings

We have already seen that an ideal II partitions a ring R\mathbb{R} into disjoint cosets and that the collection of all these cosets forms the quotient set

R/I\mathbb{R}/I

The next step is to turn this quotient set into a ring by defining addition and multiplication on its cosets.

Addition

Addition of two cosets is defined by adding their representatives:

(a+I)+(b+I)=(a+b)+I.(a + I) + (b + I) = (a + b) + I.

This operation is well-defined because II is an additive subgroup of R\mathbb{R}.

Multiplication

Similarly, multiplication is defined by

(a+I)(b+I)=ab+I(a + I)(b + I) = ab + I

At first glance this definition may seem ambiguous since each coset contains many representatives. For example,

a+I=(a+u)+Ib+I=(b+v)+Ia + I = (a + u) + I \qquad b + I = (b + v) + I

where u,vIu, v \in I

We need to verify that choosing different representatives does not change the resulting coset.

Consider the product of two arbitrary representatives:

(a+u)(b+v)=ab+av+bu+uv=ab+(av+bu+uv)(a + u)(b + v)= ab + av + bu + uv= ab + (av + bu + uv)

Since II is an ideal,

av,  bu,  uvIav,\; bu,\; uv \in I

Therefore,

av+bu+uvIav + bu + uv \in I

which implies

(a+u)(b+v)ab+I(a + u)(b + v) \in ab + I

Hence every possible product of representatives belongs to the same coset ab+Iab + I making multiplication well-defined.

The Quotient Ring

With these operations, the quotient set becomes a ring called the quotient ring denoted by :

R/I.\mathbb{R}/I.

Its elements are the cosets of the ideal II while addition and multiplication are performed using the representatives of those cosets.

Example

Consider the ring

R=Z,I=4Z.\mathbb{R} = \mathbb{Z}, \qquad I = 4\mathbb{Z}.

The quotient ring is

Z/4Z={0+4Z,1+4Z,2+4Z,3+4Z}.\mathbb{Z}/4\mathbb{Z}= \{ 0 + 4\mathbb{Z}, 1 + 4\mathbb{Z}, 2 + 4\mathbb{Z}, 3 + 4\mathbb{Z} \}.

Addition and multiplication are performed modulo 44. For example,

(3+4Z)+(2+4Z)=5+4Z=1+4Z,(3 + 4\mathbb{Z}) + (2 + 4\mathbb{Z})= 5 + 4\mathbb{Z}= 1 + 4\mathbb{Z},

and

(2+4Z)(3+4Z)=6+4Z=2+4Z.(2 + 4\mathbb{Z})(3 + 4\mathbb{Z})= 6 + 4\mathbb{Z}= 2 + 4\mathbb{Z}.

A quotient ring can be viewed as a new ring obtained by treating every element of the ideal II as equal to zero. This construction is one of the most powerful tools in algebra and forms the foundation for constructing field extensions such as

F2[x]/(f(x)),\mathbb{F}_2[x]/(f(x)),

where f(x)f(x) is an irreducible polynomial.

Adjoining Elements

One of the most powerful applications of quotient rings is that they allow us to construct new rings by introducing elements that did not previously exist.

Suppose we have a ring R\mathbb{R} and we wish to introduce a new element α\alpha satisfying a particular polynomial equation

f(α)=0f(\alpha) = 0

where f(x)R[x]f(x) \in \mathbb{R}[x].

If such an element does not already exist in R\mathbb{R} we can build a larger ring containing it.

Step 1: Introduce a Formal Symbol

We begin with the polynomial ring

R[x]\mathbb{R}[x]

Here, xx is simply a formal symbol. It is not yet a number or an element satisfying any special property. The only rules it obeys are those required by the ring axioms.

Step 2: Impose a Relation

Suppose we want our new element to satisfy

f(α)=0f(\alpha)=0

To enforce this relation, we form the quotient ring

R[x]/(f(x))\mathbb{R}[x]/(f(x))

where (f(x))(f(x)) denotes the ideal generated by the polynomial f(x)f(x).

Since every polynomial in the ideal becomes equal to the zero element in the quotient ring, we have

f(x)=0f(x)=0

inside the quotient.

If we denote the residue of xx in the quotient ring by

α=x+(f(x))\alpha = x + (f(x))

then

f(α)=0f(\alpha)=0

exactly as desired.

In this way, we have adjoined a new element satisfying the required polynomial relation.

Example: Constructing the Complex Numbers

The real numbers R\mathbb{R} do not contain an element whose square is 1-1. We therefore seek to construct a larger ring containing an element ii satisfying

i2=1i^2 = -1

Rewriting this equation,

i2+1=0i^2 + 1 = 0

Now we want ii to be root of the polynomial :

f(x)=x2+1f(x)=x^2+1

We begin with the polynomial ring

R[x]\mathbb{R}[x]

and form the quotient ring

R[x]/(x2+1)\mathbb{R}[x]/(x^2+1)

Inside this quotient ring,

x2+1=0x^2+1=0

which implies

x2=1x^2=-1

The residue class of xx,

x+(x2+1)x + (x^2+1)

is denoted by ii

Therefore,

i2=1i^2=-1

Every polynomial in xx can now be simplified using the relation

x2=1x^2=-1

For example,

x5+2x3+7x+9=x(x2)2+2x(x2)+7x+9=x+2x(1)+7x+9=6x+9x^5+2x^3+7x+9= x(x^2)^2+2x(x^2)+7x+9= x+2x(-1)+7x+9= 6x+9

Hence every element of the quotient ring can be written uniquely in the form

a+bx,a,bRa+bx, \qquad a,b\in\mathbb{R}

Renaming the residue class of xx as ii, every element becomes

a+bia+bi

which is precisely the familiar form of a complex number.

Thus,

CR[x]/(x2+1)\mathbb{C} \cong \mathbb{R}[x]/(x^2+1)

More generally, adjoining a root of a polynomial f(x)f(x) is achieved by forming the quotient ring

R[x]/(f(x))\mathbb{R}[x]/(f(x))

This construction is fundamental in algebra and is exactly how finite fields such as

GF(2m)F2[x]/(f(x))\mathrm{GF}(2^m) \cong \mathbb{F}_2[x]/(f(x))

are constructed, where f(x)f(x) is an irreducible polynomial of degree mm.