Groups are mathematical structures mostly discussed by learners pursuing a degree in mathematics. They are one of the most difficult topics in the undergraduate mathematics degree.
This blog aims to relate it to computer science by discussing axioms in terms familiar to computer science students. This blog will discuss how groups can be represented using an automaton and how its axioms can be understood visually. This visual representation will help in understanding some of the fundamental concepts of group theory, not related to the axioms alone, but also concepts like subgroups, cyclic groups, normal subgroups, etc.
In this blog, we’ll restrict our discussion to the finite groups.
Let’s start by defining a group. A group is a structure that consists of a set
Closure: If
Associativity: The binary operator is associative, i.e.,
Identity: In the set
Inverse: For every element
This group can also be represented by the group table, which is shown below.
a*b | b = 0 | b = 1 | b = 2 | b = 3 | b = 4 |
a = 0 | 0 | 1 | 2 | 3 | 4 |
a = 1 | 1 | 2 | 3 | 4 | 0 |
a = 2 | 2 | 3 | 4 | 0 | 1 |
a = 3 | 3 | 4 | 0 | 1 | 2 |
a = 4 | 4 | 0 | 1 | 2 | 3 |
Consider the cell highlighted in green. It represents the result of the binary operator
Now, we’ll briefly discuss automata.
Finite automata is a mathematical structure consisting of the following:
A finite set of states, usually represented by
A start state, usually represented by
A set of alphabets, usually represented by
A transition function,
A transition function takes an element from the set of states,
Consider an example where we want to compute the remainder when the given binary number is divided by
Alphabet = 0 | Alphabet = 1 | |
State = 0 | 0 | 1 |
State = 1 | 2 | 3 |
State = 2 | 4 | 0 |
State = 3 | 1 | 2 |
State = 4 | 3 | 4 |
In the table above, consider the cell in green, where state =
The good thing about this transition function is that it can be represented by state diagrams. The state diagram for this table is given below. All the states are shown in circles, and the alphabets that correspond to the transitions are shown by arrows. The above-mentioned transition starts from state =
Among the four axioms of group theory, we won’t be discussing the closure property, mainly because this property is apparent from the group table. If all the entries of the group table belong to the set of elements
Now, it’s time to represent the group table using automata. This process is very straightforward. We take the group table and simply use it as a transition table. By doing this, we can visualize groups in the form of state diagrams. Let’s visualize the group that we discussed earlier. There are many overlapping arrows, so we color-coded them, making them distinguishable from each other. It makes the visualizing easy.
Now, let’s visualize the axioms one by one, starting from the identity element.
The identity element has two parts.
Consider the following:
In terms of transitions, it means that if we’re at state
We can see that all the identity elements are forming a self-loop over all the states. Given a state diagram of a finite group, this is perhaps the easiest way to figure out the identity element.
Consider the following:
In terms of transitions, it means that if we’re at the state corresponding to the identity element, then following any transition
If we start from the identity element
An inverse generally means the opposite. In addition, adding
Similarly, moving
For an inverse, we know that
Here, we can see that the inverse of
We mentioned earlier that inverse pairs are literally the opposite of each other. We’ve also seen that in this group, the elements
Wherever the element
According to the associative law,
Suppose
We start from the state
Now, let’s look at the left-hand side of the associative law.
This means that if we start at the same state
In this blog, we discussed a visual representation of group axioms. Stay tuned for another blog where we extend this visual representation to subgroups, cyclic groups, normal subgroups, etc.
Meanwhile, take a look at some of our courses that are related to this state diagram, e.g., a course on the theory of computation.
Free Resources