Rediscovering mathematics with abstract algebra

~ ~ ~

Introduction

It is funny when you realize that behind the simple mathematical rules that you discover during your years at the middle school, there is a complex generalization of abstract mathematical rules. Yes rules, I choose this name because when you start diving into abstract algebra, you realize that the math you are used to do, is a kind of game with a set of rules, played with numbers. And since it is a game, it is not generic, the rules does not hold for all numbers but since the game was so nice and perfectly defined, nobody, except people that studied theoretical math, understood that other games with numbers exists, with slightly modified rules.

The goal of this essay is to provide a basic understanding on the abstract algebraic entities required to understand modern cryptography systems.

Algebra

If you studied engineering or other applied math subject, you probably already heard about linear algebra. Scalars, vectors, and matrices with different orders are defined, and the rules of how to use them allow to describe the nature around us, like planets or fluid motions.

More generally, algebra is the branch of mathematics that deals with abstract systems composed of algebraic structures and operation allowed on them, the rules. With algebraic structures we intend nothing more than a sets of mathematical objects, like numbers. If for a moment we don’t directly associate mathematics to numbers, we can immerse ourself in the field of abstract algebra, where mathematical objects are studied from a general point of view.

So, we can define:

algebraic structure=mathematical objects+operations\text{algebraic structure} = \text{mathematical objects} + \text{operations}

In the course of the next sections, we are going to understand what are the three main mathematical structures: groups, rings, and fields.

Group theory

Groups are the simplest mathematical structure used to capture the essence of mathematical phenomena. We say abstraction because the theory here described is not applicable to only numbers, but also to geometric shapes, polynomials, and many other entities.

[Def] Group

A group (G,)(\mathbb{G}, \star) is defined as a set G)\mathbb{G)} and a binary map :G×GG\star: \mathbb{G} \times \mathbb{G} \rightarrow \mathbb{G} which takes two elements from the set, and returns another element from it. The map is called group law, and must satisfy the following requirements:

  1. Associativity: a,b,cG\forall a,b, c \in \mathbb{G} the equation a(bc)=(ab)c)a \cdot(b \cdot c) = (a \cdot b) \cdot c) holds.

  2. Existence of the neutral element: eG:eg=g,gG\exists e \in \mathbb{G} : eg = g, \, \forall g \in \mathbb{G}.

  3. Existence of the inverse element: g1G:gg1=e,gG\exists g^{-1} \in \mathbb{G} : gg^{-1} = e, \, \forall g \in \mathbb{G}.

Points 1. to 3. are called axioms of the group. This is definition of group is the most general, but we will be mainly interested in a particular type of group in which the order of application of the group law to two group element is not important:

[Def] Abelian Group

A group (G,)(\mathbb{G}, \cdot) is defined as a set G)\mathbb{G)} and a binary map :G×GG\cdot: \mathbb{G} \times \mathbb{G} \rightarrow \mathbb{G} which takes two elements from the set, and returns another element from it. The map is called group law, and must satisfy the following requirements:

  1. Commutativity: a,bG\forall a,b \in \mathbb{G} the equation ab=baa \cdot b = b \cdot a holds.

  2. Associativity: a,b,cG\forall a,b, c \in \mathbb{G} the equation a(bc)=(ab)c)a \cdot(b \cdot c) = (a \cdot b) \cdot c) holds.

  3. Existence of the neutral element: eG:eg=g,gG\exists e \in \mathbb{G} : eg = g, \, \forall g \in \mathbb{G}.

  4. Existence of the inverse element: g1G:gg1=e,gG\exists g^{-1} \in \mathbb{G} : gg^{-1} = e, \, \forall g \in \mathbb{G}.

Abelian groups are most commonly called commutative groups. Based on the group law, there are two main notation used in the description of commutative groups:

  • Additive notation: The group law is the addition, the neutral element is 0, and the inverse of gg is g-g. The group can be rewritten as: (G,+)(\mathbb{G}, +)

  • Multiplicative notation: The group law is the multiplication, the neutral element if 1, and the inverse of gg is g1g^{-1}. The group can be rewritten as: (G,)(\mathbb{G}, \cdot)

One important concept in the theory of group is the order of a group. The order of a group is the number of elements contained in the group. A concept that will be clearer later in this essay, is that it is possible to associated the concept of order also to group elements. The order of an element is the order of the subgroup generate by that element.

TODO: add def of subgroup.

Homomorphism

A group homomorphism from two groups (G,)(\mathbb{G}, \ast) and (H,)(\mathbb{H}, \bullet) is a function h:GHh: \mathbb{G} \rightarrow \mathbb{H} such that u,vG\forall u, v \in \mathbb{G} the following equation holds:

h(uv)=h(u)h(v)(1)h(u\ast v) = h(u) \bullet h(v) \tag{1}

An interesting property of abelian groups is that, if f,g:GHf, g: \mathbb{G} \rightarrow \mathbb{H} are two group homomorphism between abelian groups, then the following relation holds:

(f+g)(x)=f(x)+g(x)(2)(f + g)(x) = f(x) + g(x) \tag{2}

So, also their sum is an homomorphism.

Finite groups

[Def] Finite Group

A finite group is a group whose underlying set is finite, i.e., the number of elements in the set is finite.

These groups are of particular relevance in theoretical physics and chemistry because are associated with mathematical and physical symmetries.

Finite Cyclic Group

Every group of prime order is cyclic.

Examples

References

  1. Wikipedia - Group
  2. Wikipedia - Abelian Group
  3. Wikipedia - Subgroup