Permutations and Permutation Groups

Permutations

The permuatation of any set SS is a function f:AAf:A\rightarrow A 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 S={1,2,3,4}S=\{1,2,3,4\} and its permutation (1,3,2,4)(1,3,2,4).

Product of Permutations

For two permutations ff and gg of the set XX (where [X]=n[X]=n), the product (fg)(f\circ g) would be (g(f(1)),g(f(2)),g(f(3)),,g(f(n)))(g(f(1)),g(f(2)),g(f(3)),\dots,g(f(n))).

Lets take an example of X=1,2,3,4X={1,2,3,4}, f=(1,4,3,2)f=(1,4,3,2) and g=(4,2,1,3)g=(4,2,1,3). In this case (fg)(f\circ g) will be (g(f(1)),g(f(2)),g(f(3)),g(f(4)))(g(f(1)),g(f(2)),g(f(3)),g(f(4))) which is (g(1),g(4),g(3),g(2))(g(1),g(4),g(3),g(2)) when f(i)f(i) is substituted. Then (fg)(f\circ g) can finally be written as (4,3,1,2)(4,3,1,2) after g(i)g(i) is substituted.

Identity Permutation

Identity permutation denoted by ϵ\epsilon is a permutation which when multiplied to any other permutation, returns the original permutation itself. So, for any permutation aa, aϵ=aa\epsilon=a.

Order of a Permutation

Order of any permutation aa would be an=ϵa^n=\epsilon where ana^n is the product of the permuation aa, nn times.

Cycles in Permutations

Let there be a permutation f=(4,2,6,5,3,1)f=(4,2,6,5,3,1). In ff, f(2)f(2) is called a fixed point or 1-cycle for the virtue of being f(i)=if(i)=i. Take any element that isn't a fixed point, i=1i=1 for example has f(1)=4,f(f(1))=5,f3(1)=3,f4(1)=6f(1)=4,f(f(1))=5,f^3(1)=3,f^4(1)=6 and f5(1)=1f^5(1)=1. Here (4,5,3,6,1)(4,5,3,6,1) is a 55 length cycle in ff. For any fk(i)=if^k(i)=i, (f1(i),f2(i),,fk(i))(f^1(i),f^2(i),\dots,f^k(i)) form a cycle of length kk.

All permutations can be represented as a union of cycles, the example of f=(4,2,6,5,3,1)f=(4,2,6,5,3,1) has two cycles as c1=(2)c_1=(2) and c2=(4,5,3,6,1)c_2=(4,5,3,6,1).

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 c=(4,5,3,6,2,1)c=(4,5,3,6,2,1) can be written as (1,6)(2,5)(3,3)(4,1)(5,2)(6,4)(1,6)(2,5)(3,3)(4,1)(5,2)(6,4) 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 c=(4,5,3,6,2,1)c=(4,5,3,6,2,1) was written as (1,6)(2,5)(3,3)(4,1)(5,2)(6,4)(1,6)(2,5)(3,3)(4,1)(5,2)(6,4), we find that it has 66 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.