Member-only story
Group
I was a math major in college. The first subject I learned in abstract algebra is Group. It was a very simple entity.
A Group is a tuple (π, β) of a set π and a binary operation β on the set that satisfy the following properties:
- Associativity: (πβπ)βπ = πβ(πβπ) for all π, π, c β π
- Identity element: There is an element π in π such that πβπ = πβπ = π for all π β π
- Inverse element: For each element π β π, there is an element π such that πβπ = πβπ = π where π is an identity of π.
Another requirement is that the binary operation β is closed under π. It means that πβπ β π for all (or any) π, π β π
Group may seem to be strange, but we use it in everyday life. An example of Group is a set of integer with binary operation called addition. Guess what its identity element and an inverse element of each element.
Another one is a set of all even numbers (including 0) with the addition.
Now, consider a set of all the odd numbers with the addition.
{β¦, -5, -3, -1, 1, 2, 3, β¦}
Is this a group? It is not a group since there is no identity element. Now, add the identity (0).
{β¦, -5, -3, -1, 0, 1, 2, 3, β¦}
This has all three properties: associativity, an identity element and an inverse element -π for any element π. But this is not a group. It is not closed under the addition. 1+3 is not in the set.
There are a lot of groups. A few examples are
- Set of real numbers with the addition
- Set of real numbers except the zero element 0 with the multiplication
- Set of permutations of n elements with the composition
Many things are not a group when they are similar to a group, like a set of integers with the minus operation.