Monday, January 7, 2008

Parity and Sgn

Not that anyone (but me!) was interested, but last time we talked about permutations as an operation on a set of n symbols, Ln. Let us first digress into something seemingly unrelated material for a bit.

Let X1, X2, ..., Xn be n indeterminates (variables that do not stand for anything, if you will), and be the vector space of polynomials on n variables with rational coefficients (over ). Then we can write a function as


and we can apply a permutation σ on f as follows:

As an example, let

and σ = (2 1 4)1. Then

Note: the only thing that changed are the subscripts.

We can show that permutations are linear operations on .
Let , σ be a permutation, and α be a scalar. Then

which shows that σ is linear on .

Also, (where denotes multiplication of polynomials in the usual way):


That's nice, but what do these things have to do with parity?

Well, consider the function

For example, if n = 3, then

So each factor of p describes a 2-element subset of Ln (look at the subscripts) and p accounts for all 2-element subsets of Ln in this way. There are such factors. Since a permutation σ is a bijection on Ln, it is a bijection on 2-element subsets of Ln. In other words, each factor of p will appear somewhere in σ p, possibly with a change in sign. This means that , where the depends on the σ used. Example using n = 3, :

To determine whether or -p, we need to find out the number of times where

where but . Such a situation is called an inversion.

If σ gives an odd number of inversions, then σp = -p, and σ is called, well, odd. If σ gives an even number of inversions, then σp = p, and σ is said to be even. This gives us the parity ("oddness" or "even-ness"), or the sign, of σ.

We can define a function on the set of all permutations on Ln that gives us the sign of any permutation σ:


The function has a simple but useful property: given ,
The proof is basically "by exhaustion". I will give the proof for one of the four cases; the rest are similar.

If σ is odd and τ is even, p as defined previously on , then


A few corollaries immediately follow:
  • Obviously,
  • Every transposition is odd, since a transposition flips exactly two letters in $L_{n}$. That is, implements exactly one inversion, so
  • If is a product of k transpositions , then . If k is even, then any other factoring by σ into transpositions will involve an even number of them, and likewise if k is odd.
  • The number of even permutations on style="font-style: italic;">Ln equals the number of odd permutations, if . Proof:
Let An be the set of even permutations and Bn be the set of odd permutations. The mapping

is a bijection with inverse


Next up: defining determinants. Yay!

1I use cycles as examples because I am lazy, not because permutations don't work.

[edited]
Shoot, the post width is shorter than my equation width, and I can't fix it. On the other hand, the borders are gone! Maybe I will switch to Wordpress...LaTeX looks nicer there. Or maybe not: laziness has a way of maintaining the status quo.

2 comments:

Felix said...

this looks nice
but i am wondering why you introduced those rational polynomials? i guess it's more applied than just doing permutations on {1,...,n} but what rational polynomials good for?

Echiral said...

With respect to the polynomials, I can give two answers.

The cheap answer: when my professor covered the subject, he did it too.

My personal answer: it helps (me) further justify the terminology "odd" and "even" (what with the idea of odd/even functions in calculus), and gives a possible idea of where inversions come from.