Algebraic Structures

Alexander Neville

2023-01-03

An algebraic structure consists of a non-empty set \(A\) (know as the underlying set, carrier set or domain), a collection of operations on \(A\) and a finite set of axioms for operations on \(A\) to satisfy.

Field

A field is one such algebraic structure for which addition, subtraction, multiplication and division are defined. A field is a set \(F\) equipped with two binary operations: addition and multiplication. The result of the addition of two elements \(a\) and \(b\) is called their sum, written \(a+b\). The result of the multiplication of \(a\) and \(b\) is called their product, written \(ab\), \(a \cdot b\) or \(a \times b\). Fields operations have some axioms.

The additive inverse of \(a\) is written \(-a\). The multiplicative inverse of \(a \neq 0\) is written \(a^{-1}\). The "inverse operations" of subtraction \(a-b\) and division \(a/b\) can be defined in terms of the inverse element of \(a\) and \(b\).

\[a-b \stackrel{\text{def}}{=} a + (-b)\] \[a/b \stackrel{\text{def}}{=} a \cdot (b^{-1})\]

A field is similar to a commutative ring with the addition of the multiplicative inverse for all non-zero elements of \(F\). The rational numbers \(\mathbb{Q}\) and real numbers \(\mathbb{R}\) form a field.

Ring & Commutative Ring

A ring is an algebraic structure similar to a field, but without the need for multiplication to be commutative and the need for elements to have a multiplicative inverse. In most cases a ring is said to contain the multiplicative identity element axiom, the list of ring axioms being:

In number theory, the binary multiplication operation is often commutative, in which case the set forms a commutative ring. If \(a \cdot b = b \cdot a\), where \(a\) and \(b\) are elements of a ring \(R\), the ring \(R\) is a commutative ring and has the additional commutativity of multiplication axiom.

Division is not defined in a ring in the same way division is defined in \(\mathbb{R}\) or \(\mathbb{Q}\). As is the case with a field, the subtraction operation can be defined using the additive inverse axiom.

\[a-b \stackrel{\text{def}}{=} a + (-b)\]

More often than not, rings are commutative and the word ring is used in place of commutative ring. The set of integers \(\mathbb{Z}\) forms a commutative ring.

Commutative Semiring

A commutative semiring is an algebraic structure similar to a commutative ring, but without the requirement that each element of the carrier set has an additive inverse. A semiring is commutative if its multiplication is commutative.

The set of natural numbers \(\mathbb{N}\) forms a commutative semiring.

Closure

A subset of a set is said to be closed under an operation of the containing set if the result of the operation on a member of a subset always produces a member of that subset.

Modular Arithmetic

Two integers \(a\) and \(b\) are congruent modulo \(n\) if \(n>0\) and the difference of \(a\) and \(b\) is a multiple of the modulus \(n\); there exists an integer \(k\) such that \(a - b = kn\).

\[a \equiv b \text{ }(\text{mod } n)\]

In the definition of congruence mod \(n\), the brackets means the mod operation applies to both left and right hand side, it is not just the modulo of \(b\) by divisor \(n\). If two numbers are congruent modulo \(n\) they have a common remainder \(r\) when divided by \(n\).

\[a = pn + r\] \[b = qn + r\]

If \(a \equiv x \text{ }(\text{mod } n)\) and \(b \equiv y \text{ }(\text{mod } n)\):

\[a + b \equiv x+y\text{ }(\text{mod } n)\] \[a - b \equiv x-y\text{ }(\text{mod } n)\] \[a \times b \equiv x \times y\text{ }(\text{mod } n)\]

Rings of Modular Arithmetic

Congruence modulo \(n\) is an equivalence relation and an integer \(a\) has the equivalence class \(\overline{a}_n\), known as the congruence class or residue class, all the numbers which have the same remainder when divided by \(n\). The set of all residue classes of the integers modulo \(n\), \(\mathbb{Z}_n\) or \(\mathbb{Z}/n\mathbb{Z}\) is know as the least residue system and defined to be:

\[\mathbb{Z}_n = \{a \text{ mod } n \text{ }| \text{ } a \in \mathbb{Z}\} = \{0, \ldots, n-1\}\]

For integers in this set some functions can be defined:

\[a +_{n} b \stackrel{\text{def}}{=} (a+b) \text{ mod } n\] \[a -_{n} b \stackrel{\text{def}}{=} (a-b) \text{ mod } n\] \[a \times_{n} b \stackrel{\text{def}}{=} (a \times b) \text{ mod } n\]

\(\mathbb{Z}\) is linked to \(\mathbb{Z}_n\):

\[(a + b) \text{ mod } n = (a \text{ mod } n) +_{n} (b \text{ mod } n)\] \[(a - b) \text{ mod } n = (a \text{ mod } n) -_{n} (b \text{ mod } n)\] \[(a \times b) \text{ mod } n = (a \text{ mod } n) \times_{n} (b \text{ mod } n)\]

Fields of Modular Arithmetic

An element \(a\) of \(\mathbb{Z}_n\) has a multiplicative inverse if and only if \(a\) is coprime with \(n\). If \(n\) is prime then all the elements of \(\mathbb{Z}_n\) are coprime with \(n\) and have a multiplicative inverse. \(\mathbb{Z}_n\) forms a field when \(n\) is prime.

See Also

Or return to the index.