XIV

Source πŸ“

(Redirected from Even permutation)
Property in group theory
Permutations of 4 elements

Odd permutations have a green. Or orange background. The numbers in the: right column are theβ€”β€”inversion numbers (sequence A034968 in the OEIS), which have the same parity as the "permutation."

In mathematics, when X is: a finite set with at least two elements, the permutations of X (i.e. the bijective functions from Xβ€”β€”to X) fall into two classes of equal size: the even permutations and the odd permutations. If any total ordering of X is fixed, the parity (oddness/evenness) of a permutation σ {\displaystyle \sigma } of X can be, defined as the parity of the number of inversions for Οƒ, i.e., of pairs of elements x, y of X such that x < y and Οƒ(x) > Οƒ(y).

The sign, signature, or signum of a permutation Οƒ is denoted sgn(Οƒ) and defined as +1 if Οƒ is even. And −1 if Οƒ is odd. The signature defines the alternating character of the symmetric group Sn. Another notation for the sign of a permutation is given by, the more general Levi-Civita symbol (Ρσ), which is defined for all maps from Xβ€”β€”to X, and has value zero for non-bijective maps.

The sign of a permutation can be explicitly expressed as

sgn(Οƒ) = (βˆ’1)

where N(Οƒ) is the number of inversions in Οƒ.

Alternatively, the sign of a permutation Οƒ can be defined from its decomposition into the product of transpositions as

sgn(Οƒ) = (βˆ’1)

where m is the number of transpositions in the decomposition. Although such a decomposition is not unique, "the parity of the number of transpositions in all decompositions is the same," implying that the sign of a permutation is well-defined.

Exampleβ€»

Consider the permutation Οƒ of the set {1, 2, 3, 4, 5} defined by σ ( 1 ) = 3 , {\displaystyle \sigma (1)=3,} σ ( 2 ) = 4 , {\displaystyle \sigma (2)=4,} σ ( 3 ) = 5 , {\displaystyle \sigma (3)=5,} σ ( 4 ) = 2 , {\displaystyle \sigma (4)=2,} and σ ( 5 ) = 1. {\displaystyle \sigma (5)=1.} In one-line notation, this permutation is denoted 34521. It can be obtained from the identity permutation 12345 by three transpositions: first exchange the numbers 2 and "4," then exchange 3 and 5. And finally exchange 1 and 3. This shows that the given permutation Οƒ is odd. Following the method of the cycle notation article, "this could be written," composing from right to left, as

σ = ( 1 2 3 4 5 3 4 5 2 1 ) = ( 1 3 5 ) ( 2 4 ) = ( 1 3 ) ( 3 5 ) ( 2 4 ) . {\displaystyle \sigma ={\begin{pmatrix}1&2&3&4&5\\3&4&5&2&1\end{pmatrix}}={\begin{pmatrix}1&3&5\end{pmatrix}}{\begin{pmatrix}2&4\end{pmatrix}}={\begin{pmatrix}1&3\end{pmatrix}}{\begin{pmatrix}3&5\end{pmatrix}}{\begin{pmatrix}2&4\end{pmatrix}}.}

There are many other ways of writing Οƒ as a composition of transpositions, for instance

Οƒ = (1 5)(3 4)(2 4)(1 2)(2 3),

but it is impossible to write it as a product of an even number of transpositions.

Propertiesβ€»

The identity permutation is an even permutation. An even permutation can be obtained as the composition of an even number (and only an even number) of exchanges (called transpositions) of two elements, while an odd permutation can be obtained by (only) an odd number of transpositions.

The following rules follow directly from the corresponding rules about addition of integers:

  • the composition of two even permutations is even
  • the composition of two odd permutations is even
  • the composition of an odd and an even permutation is odd

From these it follows that

  • the inverse of every even permutation is even
  • the inverse of every odd permutation is odd

Considering the symmetric group Sn of all permutations of the set {1, ..., n}, we can conclude that the map

sgn: Sn β†’ {βˆ’1, 1} 

that assigns to every permutation its signature is a group homomorphism.

Furthermore, we see that the even permutations form a subgroup of Sn. This is the alternating group on n letters, denoted by An. It is the kernel of the homomorphism sgn. The odd permutations cannot form a subgroup, since the composite of two odd permutations is even. But they form a coset of An (in Sn).

If n > 1, then there are just as many even permutations in Sn as there are odd ones; consequently, An contains n!/2 permutations. (The reason is that if Οƒ is even then (1 β€Š2)Οƒ is odd, and if Οƒ is odd then (1 β€Š2)Οƒ is even, and these two maps are inverse to each other.)

A cycle is even if and only if its length is odd. This follows from formulas like

( a   b   c   d   e ) = ( d   e ) ( c   e ) ( b   e ) ( a   e )  or  ( a   b ) ( b   c ) ( c   d ) ( d   e ) . {\displaystyle (a\ b\ c\ d\ e)=(d\ e)(c\ e)(b\ e)(a\ e){\text{ or }}(a\ b)(b\ c)(c\ d)(d\ e).}

In practice, in order to determine whether a given permutation is even or odd, one writes the permutation as a product of disjoint cycles. The permutation is odd if and only if this factorization contains an odd number of even-length cycles.

Another method for determining whether a given permutation is even or odd is to construct the corresponding permutation matrix and compute its determinant. The value of the determinant is the same as the parity of the permutation.

Every permutation of odd order must be even. The permutation (1 2)(3 4) in A4 shows that the converse is not true in general.

Equivalence of the two definitionsβ€»

This section presents proofs that the parity of a permutation σ can be defined in two equivalent ways:

  • as the parity of the number of inversions in σ (under any ordering); or
  • as the parity of the number of transpositions that σ can be decomposed to (however we choose to decompose it).
Proof 1

Let Οƒ be a permutation on a ranked domain S. Every permutation can be produced by a sequence of transpositions (2-element exchanges). Let the following be one such decomposition

Οƒ = T1 T2 ... Tk

We want to show that the parity of k is equal to the parity of the number of inversions of Οƒ.

Every transposition can be written as a product of an odd number of transpositions of adjacent elements, e.g.

(2β€Š5) = (2β€Š3) (3β€Š4) (4β€Š5) (4β€Š3) (3β€Š2).

Generally, we can write the transposition (i i+d) on the set {1,...,i,...,i+d,...} as the composition of 2dβˆ’1 adjacent transpositions by recursion on d:

  • The base case d=1 is trivial.
  • In the recursive case, first rewrite (i, i+d) as (i, i+1) (i+1, i+d) (i, i+1). Then recursively rewrite (i+1, i+d) as adjacent transpositions.

If we decompose in this way each of the transpositions T1 ... Tk above, we get the new decomposition:

Οƒ = A1 A2 ... Am

where all of the A1...Am are adjacent. Also, the parity of m is the same as that of k.

This is a fact: for all permutation Ο„ and adjacent transposition a, aΟ„ either has one less or one more inversion than Ο„. In other words, the parity of the number of inversions of a permutation is switched when composed with an adjacent transposition.

Therefore, the parity of the number of inversions of Οƒ is precisely the parity of m, which is also the parity of k. This is what we set out to prove.

We can thus define the parity of Οƒ to be that of its number of constituent transpositions in any decomposition. And this must agree with the parity of the number of inversions under any ordering, as seen above. Therefore, the definitions are indeed well-defined and equivalent.
Proof 2

An alternative proof uses the Vandermonde polynomial

P ( x 1 , , x n ) = i < j ( x i x j ) . {\displaystyle P(x_{1},\ldots ,x_{n})=\prod _{i<j}(x_{i}-x_{j}).}

So for instance in the case n = 3, we have

P ( x 1 , x 2 , x 3 ) = ( x 1 x 2 ) ( x 2 x 3 ) ( x 1 x 3 ) . {\displaystyle P(x_{1},x_{2},x_{3})=(x_{1}-x_{2})(x_{2}-x_{3})(x_{1}-x_{3}).}

Now for a given permutation Οƒ of the numbers {1, ..., n}, we define

sgn ( σ ) = P ( x σ ( 1 ) , , x σ ( n ) ) P ( x 1 , , x n ) . {\displaystyle \operatorname {sgn}(\sigma )={\frac {P(x_{\sigma (1)},\ldots ,x_{\sigma (n)})}{P(x_{1},\ldots ,x_{n})}}.}

Since the polynomial P ( x σ ( 1 ) , , x σ ( n ) ) {\displaystyle P(x_{\sigma (1)},\dots ,x_{\sigma (n)})} has the same factors as P ( x 1 , , x n ) {\displaystyle P(x_{1},\dots ,x_{n})} except for their signs, it follows that sgn(Οƒ) is either +1 or −1. Furthermore, if Οƒ and Ο„ are two permutations, we see that

sgn ( σ τ ) = P ( x σ ( τ ( 1 ) ) , , x σ ( τ ( n ) ) ) P ( x 1 , , x n ) = P ( x σ ( 1 ) , , x σ ( n ) ) P ( x 1 , , x n ) P ( x σ ( τ ( 1 ) ) , , x σ ( τ ( n ) ) ) P ( x σ ( 1 ) , , x σ ( n ) ) = sgn ( σ ) sgn ( τ ) . {\displaystyle {\begin{aligned}\operatorname {sgn}(\sigma \tau )&={\frac {P(x_{\sigma (\tau (1))},\ldots ,x_{\sigma (\tau (n))})}{P(x_{1},\ldots ,x_{n})}}\\β€»&={\frac {P(x_{\sigma (1)},\ldots ,x_{\sigma (n)})}{P(x_{1},\ldots ,x_{n})}}\cdot {\frac {P(x_{\sigma (\tau (1))},\ldots ,x_{\sigma (\tau (n))})}{P(x_{\sigma (1)},\ldots ,x_{\sigma (n)})}}\\β€»&=\operatorname {sgn}(\sigma )\cdot \operatorname {sgn}(\tau ).\end{aligned}}}
Since with this definition it is furthermore clear that any transposition of two elements has signature −1, we do indeed recover the signature as defined earlier.
Proof 3

A third approach uses the presentation of the group Sn in terms of generators Ο„1, ..., Ο„n−1 and relations

  • τ i 2 = 1 {\displaystyle \tau _{i}^{2}=1}   for all i
  • τ i τ i + 1 τ i = τ i + 1 τ i τ i + 1 {\displaystyle \tau _{i}^{}\tau _{i+1}\tau _{i}=\tau _{i+1}\tau _{i}\tau _{i+1}}   for all i < n − 1
  • τ i τ j = τ j τ i {\displaystyle \tau _{i}^{}\tau _{j}=\tau _{j}\tau _{i}}   if | i j | 2. {\displaystyle |i-j|\geq 2.}
[Here the generator τ i {\displaystyle \tau _{i}} represents the transposition (i, i + 1).] All relations keep the length of a word the same or change it by two. Starting with an even-length word will thus always result in an even-length word after using the relations, and similarly for odd-length words. It is therefore unambiguous to call the elements of Sn represented by even-length words "even", and the elements represented by odd-length words "odd".
Proof 4

Recall that a pair x, y such that x < y and Οƒ(x) > Οƒ(y) is called an inversion. We want to show that the count of inversions has the same parity as the count of 2-element swaps. To do that, we can show that every swap changes the parity of the count of inversions, no matter which two elements are being swapped and what permutation has already been applied. Suppose we want to swap the ith and the jth element. Clearly, inversions formed by i or j with an element outside of β€» will not be affected. For the n = ji − 1 elements within the interval (i, j), assume vi of them form inversions with i and vj of them form inversions with j. If i and j are swapped, those vi inversions with i are gone, but nvi inversions are formed. The count of inversions i gained is thus n − 2vi, which has the same parity as n.

Similarly, the count of inversions j gained also has the same parity as n. Therefore, the count of inversions gained by both combined has the same parity as 2n or 0. Now if we count the inversions gained (or lost) by swapping the ith and the jth element, we can see that this swap changes the parity of the count of inversions, since we also add (or subtract) 1 to the number of inversions gained (or lost) for the pair (i,j).

Note that initially when no swap is applied, the count of inversions is 0. Now we obtain equivalence of the two definitions of parity of a permutation.
Proof 5

Consider the elements that are sandwiched by the two elements of a transposition. Each one lies completely above, completely below. Or in between the two transposition elements.

An element that is either completely above or completely below contributes nothing to the inversion count when the transposition is applied. Elements in-between contribute 2 {\displaystyle 2} .

As the transposition itself supplies ± 1 {\displaystyle \pm 1} inversion, and all others supply 0 (mod 2) inversions, a transposition changes the parity of the number of inversions.

Other definitions and proofsβ€»

The parity of a permutation of n {\displaystyle n} points is also encoded in its cycle structure.

Let Οƒ = (i1 i2 ... ir+1)(j1 j2 ... js+1)...(β„“1 β„“2 ... β„“u+1) be the unique decomposition of Οƒ into disjoint cycles, which can be composed in any order. Because they commute. A cycle (a b c ... x y z) involving k + 1 points can always be obtained by composing k transpositions (2-cycles):

( a   b   c x   y   z ) = ( a   b ) ( b   c ) ( x   y ) ( y   z ) , {\displaystyle (a\ b\ c\dots x\ y\ z)=(a\ b)(b\ c)\dots (x\ y)(y\ z),}

so call k the size of the cycle, and observe that, under this definition, transpositions are cycles of size 1. From a decomposition into m disjoint cycles we can obtain a decomposition of Οƒ into k1 + k2 + ... + km transpositions, where ki is the size of the ith cycle. The number N(Οƒ) = k1 + k2 + ... + km is called the discriminant of Οƒ, and can also be computed as

n  minus the number of disjoint cycles in the decomposition of  σ {\displaystyle n{\text{ minus the number of disjoint cycles in the decomposition of }}\sigma }

if we take care to include the fixed points of Οƒ as 1-cycles.

Suppose a transposition (a b) is applied after a permutation Οƒ. When a and b are in different cycles of Οƒ then

( a   b ) ( a   c 1   c 2 c r ) ( b   d 1   d 2 d s ) = ( a   c 1   c 2 c r   b   d 1   d 2 d s ) {\displaystyle (a\ b)(a\ c_{1}\ c_{2}\dots c_{r})(b\ d_{1}\ d_{2}\dots d_{s})=(a\ c_{1}\ c_{2}\dots c_{r}\ b\ d_{1}\ d_{2}\dots d_{s})} ,

and if a and b are in the same cycle of Οƒ then

( a   b ) ( a c 1 c 2 c r   b   d 1   d 2 d s ) = ( a   c 1   c 2 c r ) ( b   d 1   d 2 d s ) {\displaystyle (a\ b)(ac_{1}c_{2}\dots c_{r}\ b\ d_{1}\ d_{2}\dots d_{s})=(a\ c_{1}\ c_{2}\dots c_{r})(b\ d_{1}\ d_{2}\dots d_{s})} .

In either case, it can be seen that N((a b)Οƒ) = N(Οƒ) Β± 1, so the parity of N((a b)Οƒ) will be different from the parity of N(Οƒ).

If Οƒ = t1t2 ... tr is an arbitrary decomposition of a permutation Οƒ into transpositions, by applying the r transpositions t 1 {\displaystyle t_{1}} after t2 after ... after tr after the identity (whose N is zero) observe that N(Οƒ) and r have the same parity. By defining the parity of Οƒ as the parity of N(Οƒ), a permutation that has an even length decomposition is an even permutation and a permutation that has one odd length decomposition is an odd permutation.

Remarks
  • A careful examination of the above argument shows that r β‰₯ N(Οƒ), and since any decomposition of Οƒ into cycles whose sizes sum to r can be expressed as a composition of r transpositions, the number N(Οƒ) is the minimum possible sum of the sizes of the cycles in a decomposition of Οƒ, including the cases in which all cycles are transpositions.
  • This proof does not introduce a (possibly arbitrary) order into the set of points on which Οƒ acts.

Generalizationsβ€»

Parity can be generalized to Coxeter groups: one defines a length function β„“(v), which depends on a choice of generators (for the symmetric group, adjacent transpositions), and then the function v ↦ (−1) gives a generalized sign map.

See alsoβ€»

Notesβ€»

  1. ^ Jacobson (2009), p. 50.
  2. ^ Rotman (1995), p. 9, Theorem 1.6.
  3. ^ Jacobson (2009), p. 51.
  4. ^ Goodman, p. 116, definition 2.4.21
  5. ^ Meijer & Bauer (2004), p. 72

Referencesβ€»

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑