Let be a fixed positive integer. Define a relation on by:
clearly so the relation is trivially reflexive and symmetric. Further work shows it's transitive too, so then is an equivalence relation, so we can write:
For any we'll denote the equivalence class of as , named the congruence/residue class of . It consists of the integers from that by an integral multiple of (using the relation above), ie:
There are precisely distinct equivalence classes , namely:
determined by the possible remainders after division by .
The groups are the sets of equivalence classes such that each one describes the integers with remainder of the equivalence class.
There are 6 possible remainders here:
Where, for example, .
A cool thing here is that any element of the equivalence class can represent it. Namely:
Back in the day, they used . In this is " congruent to modulo ".
Permutation Group
Consider the Permuation Group. Any finite set will have perumations:
permuation
A permutation of is a bijection . It's essentially a shuffling of the elements in .
Count the number of bijections . Using principles of proofs, this is the number of injections (since is finite). Once we know where goes we have 5 options, then for 2 we have 4 options, ... so then we have possibilities.
There are some notational options here (which is where the old-timey modulo notation comes into play):
(Functional Notation:) one permuation is: . This is obviously super slow so we don't want to do this one.
(Modified Functional Notation:) write it instead with : .
(Use A Table:) write where the top row maps to the bottom row:
("Cycle Notation":) write out a visual graph of what number maps to where:
We write this as:
Another example would be:
Creates the following:
Here has a 3-cycle and a 2-cycle (or a transposition). This is a product of disjoint cycles. Notice that since we have a cycle where then the group isn't abelian with operation .