Proof of Sign of a Product of Adjacent Transpositions
theoremthm:sign-product-adjacent-transpositions-2026aWe prove the statement by induction on . If , then is the identity permutation, so .
Assume the statement holds for products of adjacent transpositions, and suppose
Set
so that . By the induction hypothesis,
It is therefore enough to prove that for every adjacent transposition one has
Fix and write
Then , and the permutation is obtained from by swapping the values and in positions and .
We compare the inversion numbers of and . Any inversion pair with has the same status for both permutations, because the values at all positions other than and are unchanged.
Now consider the pair . In , this pair is an inversion exactly when . In , this pair is an inversion exactly when . Thus the inversion status of flips.
Next let . We compare the two pairs and . In , these involve the values , while in the roles of and are interchanged. There are three possibilities:
In the first two cases, either both pairs are inversions or neither is an inversion, both before and after the swap. In the third case, exactly one of the two pairs is an inversion before the swap and exactly one is an inversion after the swap. Hence the total number of inversions contributed by the two pairs and changes by an even integer, in fact by .
The same argument applies for each , now comparing the pairs and . Again, their total contribution to the inversion count changes by an even integer, in fact by .
Therefore every affected pair except changes the inversion count by an even amount, while the pair changes it by exactly modulo . It follows that
By the definition Sign of a Permutation of sign in terms of inversion parity, this gives
Applying this with , we obtain
This completes the induction.
Loadingβ¦
Prerequisites
99978631-c9af-4fae-95f8-b944b87b8fe4