Permutations and Permutation Groups
Permutations
The permuatation of any set is a function which is both one-to-one and onto. A permutation can be seen as an arrangement of the elements of a set in a specific order. An example of a permutation of some set and its permutation .
Product of Permutations
For two permutations and of the set (where ), the product would be .
Lets take an example of , and . In this case will be which is when is substituted. Then can finally be written as after is substituted.
Identity Permutation
Identity permutation denoted by is a permutation which when multiplied to any other permutation, returns the original permutation itself. So, for any permutation , .
Order of a Permutation
Order of any permutation would be where is the product of the permuation , times.
Cycles in Permutations
Let there be a permutation . In , is called a fixed point or 1-cycle for the virtue of being . Take any element that isn't a fixed point, for example has and . Here is a length cycle in . For any , form a cycle of length .
All permutations can be represented as a union of cycles, the example of has two cycles as and .
2-Cycles
Any cycle with length greater than two can be decomposed into 2-cycles which are cycles of length two. Let's see example of cycle can be written as by using 2-cycles.
Parity of a Permutation
Any permutation can have even or odd parity depending on the number of two cyles it is composed of. in our previous example where was written as , we find that it has 2-cycles which is even. Thus the parity of this permutation is even.
The 15 Puzzle Game
The 15 puzzle is a puzzle game that has 16 spaces in the form of a 4x4 grid for 15 numbered tiles which can be moved around using the one remaining empty space in the puzzle grid. Without getting into the specifics of solving the puzzle, we will go into the theory behind it. Though every instance of a 15 puzzle is a permuatation of the first 15 natural numbers, not all permutations of the first 15 natural numbers produce a solvable instance of the puzzle.
Solvability
A solvable instance of the puzzle is a permutation if we can bring the empty space to the bottom right of the grid and get an even parity permutation. The instances where the permutation is odd while the empty space is at the bottom can not be solved.