Sign of a permutation

Sign of a permutation

When we defined the determinant of a matrix, we used the idea of the sign of a permutation. Permutations which can be written as an odd number of transpositions are given a minus sign; permutations which can be written as an even number of transpositions are given a plus sign. But why does this make sense? What if a permutation could be expressed in two ways, one involving an odd number of transpositions and one an even number? What would its sign be? This cannot occur: an odd permutation cannot be written as an even number of transpositions, and vice versa, but this is not obvious. The purpose of this video is to prove that the sign makes sense.

The proof I will present is inspired by a discussion on MathOverflow, in particular the answers of Ramras and Poonen, which explain a point of view originally due to Cartier.

Take an example: σ = ( 1234 ) , the permutation which sends 1 to 2, 2 to 3, 3 to 4 and 4 back to 1. We draw a graph whose vertices are 1, 2, 3, 4 (more generally it will have n vertices if we are permuting n objects) and connect them with all possible edges. This is called the complete graph on n vertices.

We will choose an orientation of this graph: that is, we draw an arrowhead on each edge to give a sense of direction. Apply σ . The vertices move around and the arrows move around. We get a new orientation on the same graph; this is determined by the requirement that if we have an arrow from i to j then we get an arrow from σ ( i ) to σ ( j ) . We label each edge with a plus or a minus according to whether its direction has changed. For this example, three edges change, three do not.

Applying a permutation to the orientation of the complete graph
Definition:

The sign of σ is defined to be the product of the signs on the edges. In our example, this gives + 1 × + 1 × + 1 × - 1 × - 1 × - 1 = - 1 , so sign ( σ ) = - 1 .

It's not obvious that this is well-defined: maybe the sign depends on our original choice of orientation? It's also not obvious that this agrees with our original definition of the sign of a permutation (odd gives minus, even gives plus). We'll prove both of these.

Lemma:

The sign of σ is well-defined.

Proof:

What happens if we flip one of the arrows in our original orientation? The corresponding arrow in the right-hand picture (after σ ) also flips. If these two arrows are different, this gives us two edges whose signs change, which cancel in the product (leaving it unchanged). If the two arrows are the same then none of the signs on the edges change. Therefore sign ( σ ) doesn't depend on our choice of orientation (any two choices of orientation are related by a sequence of such flips).

Lemma:

This definition of sign ( σ ) agrees with our earlier one: odd permutations have negative sign; even permutations have positive sign.

Proof:

We split this up into two statements:

  1. If σ is a transposition then sign ( σ ) = - 1 .

  2. sign ( σ τ ) = sign ( σ ) sign ( τ ) .

Together, these facts tell us that the sign of an odd permutation is - 1 and of an even permutation is + 1 .

We first prove that the sign of a transposition is - 1 . We focus on the part of the graph containing vertices i and j (which we are transposing). We choose an orientation such that the arrow between i and j points towards j and all the other arrows involving i or j point away from i or j . When we transpose them, the only edge which changes direction is the one connecting i and j , so the overall sign is - 1 .

The sign of a transposition is negative

(Slightly different explanation to the video, better suited for writing.) To see that sign ( σ ) is multiplicative, think about each arrow individually. For each arrow there are four possibilities:

  • It switches under τ and also under σ . Then it stays fixed under σ τ . So this edge contributes a factor of - 1 to both sign ( σ ) and sign ( τ ) , and a factor of + 1 to sign ( σ τ )

  • It switches under precisely one of σ or τ and also under σ τ . This edge contributes a - 1 to one of sign ( σ ) or sign ( τ ) and also a - 1 to sign ( σ τ ) .

  • It doesn't switch under anything, which means it gives a factor of 1 to all the signs.

In all cases, the contribution to sign ( σ τ ) equals the product of contributions to sign ( σ ) and sign ( τ ) , so we see that sign is multiplicative.