Math intro

Groups

A group is a fancy mathematical name for a set of elements that are related to each other. These elements are related through an operation called the group operation. This operation must be associative and have a neutral element. The number of elements in the set is called the order of the group.

Example: the integers together with the addition form a group because addition is associative and also they have a neutral element represented by :

Finite groups

A finite group is a group where the set of elements is finite. An example of a finite group is the integers modulo and the operation addition. In modular arithmetic two elements and are equivalent if they have the same remainder modulo . This is noted by .

Example: 4 and 12 are equivalent modulo 8, because they have the same remainder when dividing by 8.

Example: the integers modulo 8, noted by , together with the modular addition form a group: and also they have a neutral element represented by : The sets of elements in the group is .

Multiplicative groups

When choosing as a prime number has an additional property. We define the multiplication as . Where for max *. That is, is the result of multiplying and and taking the remainder of dividing by . If is prime, we also know that for all , there exist an element such that . That is, every element has a multiplicative inverse and we can take as the neutral element. This is due to Fermats little theorem. The only detail is we have to remove the , because it doesn't have a multiplicative inverse. We denote this set without the zero

Example: the integers modulo 7 without the zero, noted by , together with the modular multiplication form a multiplicative group: and also they have a neutral element represented by :

Note that addition and multiplication are associative and commutative. In this case, the groups are called commutative or abelian groups. The only thing that changes between a multiplicative group and additive group is its notation (e.g.: using vs or using / for the neutral element). Mathematically they both have the same properties.

Generators

Let be a group. The span of an element is the set you get by repeatedly applying the group operation over that element. Using multiplicative notation, the span of is . This set is not infinite. Note that a finite group has finite elements, so every element will eventually cycle and for some . If the span of generates all the elements in , we say is a generator of the group. This will happen if the size of the span of is the same as the order of the group. Some elements will generate a subset of all the elements. In this case we will say is a generator of that subgroup.

Example: the following table shows the structure of the multiplicative subgroup .

generatorspan
1{1}
2{1, 2, 4}
3{1, 2, 3, 4, 5, 6}
4{1, 2, 4}
5{1, 2, 3, 4, 5, 6}
6{1, 6}

All the elements in the group generate something. In this case, the spans of 3 and 5 each generate the whole group. The elements 2 and 4 belong to a subgroup where all the properties of a group also hold.

The lagrange theorem states that the order of any subgroup in must divide the order of the whole group.

Example: The multiplicative subgroup associated with has order 6. It's subroups have order 1 (trivial subgroup), 2 and 3. They all divide 6.

Finite field

A finite field is similar to a group but instead of only one operation it defines: addition, substraction, multiplication and division. As natural, substraction is the inverse of addition and the same applies for multiplication and division. As before, the number of elements in the set is called the order of the field. Note that with prime, if we consider all the operations we've seen, can be viewed as a finite field noted as .

Note: has order , and also has a multiplicative group associated with it of order , when considering all non-zero elements. It will be common to refer to this as the group associated with .

Further reading