Permutation Tables, Permutation Cycles and Transpositions
\(N\) Distinct Items can be arranged in \(N\) Different Locations. These locations are/can be Indexed from \(1\) to \(N\).
Using these Indexed Locations, Any Symmetry Independent Permutation Without Repeatition of \(N\) Distinct Items can be mathematically represented in one of following 4 ways
A Permutation Table consisting of \(2\) Rows and \(N\) Columns as given in the following
In any Permutation Table as given in expression (1) above, the Top Row gives the Source Indices i.e. the Indexed Locations of Items Before Applying the Permutation and
the Bottom Row gives the Destination Indices i.e. the Indexed Locations of Items After Applying the Permutation.
In form of Destination Indices of the Permutation Table whose Source Indices are laid out in Order of Increasing Value From 1 to \(N\)
A Single Permutation Cycle or Product of Two or More Disjoint Permutation Cycles
A Single Transposition or Product of Two or More Transpositions
The following examples give \(3\) Symmetry Independent Permutations Without Repeatition of \(6\) Distinct Items \(P_1\), \(P_2\) and \(P_3\) represented by the Permutation Tables
In Permutation \(P_1\) represented by Permutation Table given in equation (2), the Item at \(1^{st}\) Location Moves to the \(4^{th}\) Location, Item at \(4^{th}\) Location Moves to the \(6^{th}\) Location, Item at \(6^{th}\) Location Moves to the \(3^{rd}\) Location and Item at \(3^{rd}\) Location Moves to the \(1^{st}\) Location. The Locations of \(2^{nd}\) and \(5^{th}\) Items remain unchanged.
In Permutation \(P_2\) represented by Permutation Table given in equation (3), the Item at \(1^{st}\) Location Moves to the \(5^{th}\) Location, Item at \(5^{th}\) Location Moves to the \(3^{rd}\) Location, Item at \(3^{rd}\) Location Moves to the \(6^{th}\) Location, Item at \(6^{rd}\) Location Moves to the \(4^{th}\) Location, Item at \(4^{th}\) Location Moves to the \(2^{nd}\) Location and Item at \(2^{nd}\) Location Moves to the \(1^{st}\) Location.
In Permutation \(P_3\) represented by Permutation Table given in equation (4), the Item at \(1^{st}\) Location Moves to the \(3^{rd}\) Location, Item at \(3^{rd}\) Location Moves to the \(5^{th}\) Location, Item at \(5^{th}\) Location Moves to the \(1^{st}\) Location, Item at \(2^{nd}\) Location Moves to the \(6^{th}\) Location, Item at \(6^{th}\) Location Moves to the \(4^{th}\) Location and Item at \(4^{th}\) Location Moves to the \(2^{nd}\) Location.
Please Note that As long as the Mapping of Source Index Locations to Destination Index Locations remain the same, Interchanging the Columns of any Permutation Table does not change the Actual Permutation.
For example, all the following Permutation Tables represent the Same Permutation \(P_1\)
Likewise, Permutations \(P_2\) and \(P_3\) can be represented by all of the following Permutation Tables which are just formed by Interchanging of the Columns
Permutation Tables in which the Source Index Locations and Destination Index Locations are same for all Items represent the Identity Permutation.
The following gives some examples of Permutation Tables for the Identity Permutation \(I\)
Although Permutation Tables can be laid out in any order (as demonstrated by equations (5), (6), (7) and (8)), they are generally
laid out in Order of Increasing Value of Source Indices From 1 to \(N\) to facilitate representation of the Permutation in form of Destination Indices.
Permutation Cycles provide an alternate and a concise method of representing Symmetry Independent Permutations / Permutation Tables.
Any Symmetry Independent Permutation/ Permutation Table can consist of either a Single Permutation Cycle or Product of Two or More Disjoint Permutation Cycles. The following give the Permutation Table and corresponding Permutation Cycle representation for Permutations \(P_1\), \(P_2\) and \(P_3\)
The following gives the Steps to Find out Permutation Cycles of a Permutation Table
Find the First Source Index in the Permutation Table for which the Source Index is Different than Destination Index and label that as the Current Source Index.
Set the Current Source Index as the \(1^{st}\) Element of the Current Permutation Cycle.
If the Destination Index Corresponding to Current Source Index is Not Same as \(1^{st}\) Element of the Current Permutation Cycle then set that Destination Index as the New Current Source Index and then set this Current Source Index as the Next Element of the Permutation Cycle.
Repeat this Step to find All Subsequent Elements of the Current Permutation Cycle till the Destination Index Corresponding to Current Source Index is Same as \(1^{st}\) Element of the Current Permutation Cycle (which causes the Current Permutation Cycle to Complete).
Find the Next Source Index in the Permutation Table for which the Source Index is Different than Destination Index which is Not an Element of Any of the Previous Permutation Cycles and label that as the Current Source Index for the Next Permutation Cycle (which now becomes the Current Permutation Cycle).
Repeat the Steps b through d to find all the Permutation Cycles.
The following gives the Steps to Create a Permutation Table when corresponding Permutation Cycles are given
Insert all the Elements of the Permutation Cycle as Source Indices into the Permutation Table.
For every \(K^{th}\) Element of the Permutation Cycle inserted as a Source Index, set the \({(K+1)}^{th}\) Element as the Corresponding Destination Index. If the \(K^{th}\) Element is the Last Element of the Permutation Cycle, then set the \(1^{st}\) Element as the Destination Index for the Source Index corresponding to the \(K^{th}\) Element.
If More than One Permutation Cycle is present, repeat the steps a through b for all Permutation Cycles.
Subsequently, Insert the Elements Missing from the Permutation Cycles as Source Indices and Corresponding Destination Indices into the Permutation Table.
The following are some Properties of Permutation Cycles
The Number of Elements in a Permutation Cycle is called the Cycle Length of Permutation Cycle.
The Number of Permutation Cycles for Identity Permutations is Same as the Number of Items and All the Permutation Cycles have Length 1.
Rotating the Elements of any Permutation Cycle Clockwize or Anticlockwize does not change the Permutation Cycle. For example (\(2\hspace{.1cm}5\hspace{.1cm}3\hspace{.1cm}4\)), (\(4\hspace{.1cm}2\hspace{.1cm}5\hspace{.1cm}3\)), (\(3\hspace{.1cm}4\hspace{.1cm}2\hspace{.1cm}5\)) and (\(5\hspace{.1cm}3\hspace{.1cm}4\hspace{.1cm}2\)) represent the same Permutation Cycle.
As given for the Permutation \(P_3\) in equation (11) above, the Order in which 2 or More Disjoint Permutation Cycles are written/multiplied Does Not Matter.
Permutation Cycles of Cycle Length \(2\) (i.e. consisting of only \(2\) Elements) are called Transpositions. A Transposition is an Interchange of Locations/Positions any 2 Items.