The elements of the symmetric group on a set
X are the
permutations of
X.
Multiplication The group operation in a symmetric group is function composition, denoted by the symbol ∘ or by simple juxtaposition. The composition of permutations and , pronounced " of ", maps any element of to . Concretely, let (see
permutation for an explanation of notation): f = (1~3)(2)(4~5)=\begin{pmatrix} 1 & 2 & 3 & 4 & 5 \\ 3 & 2 & 1 & 5 & 4\end{pmatrix}, g = (1~2~5)(3~4)=\begin{pmatrix} 1 & 2 & 3 & 4 & 5 \\ 2 & 5 & 4 & 3 & 1\end{pmatrix}. Applying after maps 1 first to 2 and then 2 to itself; 2 to 5 and then to 4; 3 to 4 and then to 5, and so on. So, composing and gives fg = f\circ g = (1\ 2\ 4)(3\ 5)=\begin{pmatrix} 1 & 2 &3 & 4 & 5 \\ 2 & 4 & 5 & 1 & 3\end{pmatrix}. A
cycle of length , taken to the th power, will decompose into cycles of length : For example, (, ), (1~2~3~4~5~6)^2 = (1~3~5) (2~4~6).
Verification of group axioms To check that the symmetric group on a set
X is indeed a
group, it is necessary to verify the group axioms of closure, associativity, identity, and inverses. • The operation of function composition is closed in the set of permutations of the given set
X. • Function composition is always associative. • The trivial bijection that assigns each element of
X to itself serves as an identity for the group. • Every bijection has an
inverse function that undoes its action, and thus each element of a symmetric group does have an inverse which is a permutation too.
Transpositions, sign, and the alternating group A
transposition is a permutation which exchanges two elements and keeps all others fixed; for example (1 3) is a transposition. Every permutation can be written as a product of transpositions; for instance, the permutation
g from above can be written as
g = (1 2)(2 5)(3 4). Since
g can be written as a product of an odd number of transpositions, it is then called an
odd permutation, whereas
f is an even permutation. The representation of a permutation as a product of transpositions is not unique; however, the number of transpositions needed to represent a given permutation is either always even or always odd. There are several short proofs of the invariance of this parity of a permutation. The product of two even permutations is even, the product of two odd permutations is even, and the product of one of each is odd. Thus we can define the
sign of a permutation: :\operatorname{sgn}f = \begin{cases} +1, & \text{if }f\mbox { is even} \\ -1, & \text{if }f \text{ is odd}. \end{cases} With this definition, :\operatorname{sgn}\colon \mathrm{S}_n \rightarrow \{+1, -1\}\ is a
group homomorphism ({+1, −1} is a group under multiplication, where +1 is e, the
neutral element). The
kernel of this homomorphism, that is, the set of all even permutations, is called the
alternating group A
n. It is a
normal subgroup of S
n, and for it has elements. The group S
n is the
semidirect product of A
n and any subgroup generated by a single transposition. Furthermore, every permutation can be written as a product of
adjacent transpositions, that is, transpositions of the form . For instance, the permutation
g from above can also be written as . The sorting algorithm
bubble sort is an application of this fact. The representation of a permutation as a product of adjacent transpositions is also not unique.
Cycles A
cycle of
length k is a permutation
f for which there exists an element
x in {1, ...,
n} such that
x,
f(
x),
f2(
x), ...,
fk(
x) =
x are the only elements moved by
f; it conventionally is required that since with the element
x itself would not be moved either. The permutation
h defined by : h = \begin{pmatrix} 1 & 2 & 3 & 4 & 5 \\ 4 & 2 & 1 & 3 & 5\end{pmatrix} is a cycle of length three, since , and , leaving 2 and 5 untouched. We denote such a cycle by , but it could equally well be written or by starting at a different point. The order of a cycle is equal to its length. Cycles of length two are transpositions. Two cycles are
disjoint if they have disjoint subsets of elements. Disjoint cycles
commute: for example, in S6 there is the equality . Every element of S
n can be written as a product of disjoint cycles; this representation is unique
up to the order of the factors, and the freedom present in representing each individual cycle by choosing its starting point. Cycles admit the following conjugation property with any permutation \sigma, this property is often used to obtain its
generators and relations. :\sigma\begin{pmatrix} a & b & c & \ldots \end{pmatrix}\sigma^{-1}=\begin{pmatrix}\sigma(a) & \sigma(b) & \sigma(c) & \ldots\end{pmatrix}
Special elements Certain elements of the symmetric group of {1, 2, ...,
n} are of particular interest (these can be generalized to the symmetric group of any finite totally ordered set, but not to that of an unordered set). The '''''' is the one given by: :\begin{pmatrix} 1 & 2 & \cdots & n\\ n & n-1 & \cdots & 1\end{pmatrix}. This is the unique
maximal element with respect to the
Bruhat order and the
longest element in the symmetric group with respect to generating set consisting of the adjacent transpositions , . This is an involution, and consists of \lfloor n/2 \rfloor (non-adjacent) transpositions :(1\,n)(2\,n-1)\cdots,\text{ or }\sum_{k=1}^{n-1} k = \frac{n(n-1)}{2}\text{ adjacent transpositions: } :: (n\,n-1)(n-1\,n-2)\cdots(2\,1)(n-1\,n-2)(n-2\,n-3)\cdots, so it thus has sign: :\mathrm{sgn}(\rho_n) = (-1)^{\lfloor n/2 \rfloor} =(-1)^{n(n-1)/2} = \begin{cases} +1 & n \equiv 0,1 \pmod{4}\\ -1 & n \equiv 2,3 \pmod{4} \end{cases} which is 4-periodic in
n. In S2
n, the
perfect shuffle is the permutation that splits the set into 2 piles and interleaves them. Its sign is also (-1)^{\lfloor n/2 \rfloor}. Note that the reverse on
n elements and perfect shuffle on 2
n elements have the same sign; these are important to the classification of
Clifford algebras, which are 8-periodic. == Conjugacy classes ==