Main Index
Discrete mathematics
Permutations
Subject Index
comment on the page
An injective function (mapping) of a finite set into itself is called a permutation. There follows from the definition of finite sets that shows that such a function is necessarily also surjective and consequently a permutation is always bijective. It is convenient when working with finite sets having elements to represent them using the segment of the first positive integers. Then to denote the assignment rule of a permutation of this set we can write
(1) |
The top row of numbers indicates the starting position of a shell. The bottom row indicates the final position of the shell. Thus to find where an object went under a permutation look up its number in the top row and its final place will be under that number.
Another common used notation is
(2) |
As a special case of a function the permutation can be composed together and with respect to this function composition they form a semigroup with identity
An inverse permutation of a permutation is a permutation, denoted by , in which each number is mapped to its preimage. It is computed by exchanging each number and the number of the place which it occupies
(3) |
To write it in the form (2) reorder the columns in such a way that the elements in the first row form an increasing sequence.
This implies that the set of the all permutation on a finite set form a group. The group of the all permutations of an element set is called the symmetric group and denoted by .
Permutations are often written in cyclic form. A cycle is a permutation φ for which there exists an element such that , , , ..., are the only elements of moved by . Although the composition of permutations is not commutative, two disjoint cycles commute with each other.
To find the inverse of a permutation that is a cycle all we have to do is write the elements of the cycle in reverse order. Thus the inverse of is . To find the inverse permutation write it as a product of cycles, and then reverse the order in each cycle.
A 2-cycle is called transposition. In another words, a transposition is a permutation which exchanges the place of two objects whilst leaving all the other objects unmoved. A simple transposition is a 2-cycle of the form .
Theorem. Every permutation can be written as a product of transpositions.
However, the representation of a permutation as a product of transpositions is not unique. A simple counting argument shows that every permutation on an element set can be written as a product of at most transpositions.
Since the number of transpositions needed to represent a given permutation is always either even or always odd, it has always the same parity. If a permutation can be written as a product of an odd number of transpositions, it is then called an odd permutation. If this number is even is an even permutation. For instance, every transposition is odd.
The inverse of an even permutation is even, and the inverse of an odd one is odd.
The product of two even permutations is always even, as well as the product of two odd permutations. All other products are odd. Thus we can define the sign of a permutation π:
A pair of elements in (2) is called an inversion in a permutation if and . The parity of a permutation is also given by the parity of its number of inversion. Let
A simple observation, that the set of non-ordered couples , , does not change after a permutation is performed on it the product
has the same sign as . Consequently
(4) |
Then
Therefore again, a composition of two even permutations is even, and even permutations on form a group, called alternating group .
Cite this web-page as:
Štefan Porubský: Permutations.