2.11 Inverses and composition

2.11.1 Inverse of a permutation

Permutations are bijections, so by Theorem 2.9.1 they have inverse functions. The inverse function to a permutation σ undoes what σ did, in the sense that if σ⁢(x)=y then σ−1⁢(y)=x. In two row notation you write σ⁢(x) beneath x, so you can get the two row notation for σ−1 by swapping the rows (and reordering).

Example 2.11.1.
σ =(12342341)
σ−1 =(23411234)=(12344123)

2.11.2 Composition of permutations

We know by Theorem 2.9.2 that the composition of two bijections is a bijection, so the composition of two permutations of a set X is again a permutation of X.

Example 2.11.2.

Let

σ =(123213)
τ =(123132)

Then σ∘τ is the function {1,2,3}→{1,2,3} whose rule is “do τ, then do σ.” Thus

(σ∘τ)⁢(1) =σ⁢(τ⁢(1))=σ⁢(1)=2
(σ∘τ)⁢(2) =σ⁢(τ⁢(2))=σ⁢(3)=3
(σ∘τ)⁢(3) =σ⁢(τ⁢(3))=σ⁢(2)=1

In two row notation,

σ∘τ=(123231).

There are several similarities between composing permutations and multiplying nonzero numbers. For example, if a, b, and c are nonzero real number then a⁢(b⁢c)=(a⁢b)⁢c. Furthermore the identity permutation behaves for composition just like the number 1 behaves for multiplication. For each nonzero real number a we have a×1=1×a=a, and for each permutation s we have s∘id=id∘s=s. Equally, for each nonzero real number a there is another nonzero real number a−1 such that a×a−1=1=a−1×a, and for each permutation s there is an inverse permutation s−1 such that s∘s−1=id=s−1∘s. Because of these similarities we often talk about multiplying two permutations when we mean composing them, and given two permutations s and t we usually write s⁢t for their composition instead of s∘t.

2.11.3 Composition isn’t commutative

Composition has one big difference with real number multiplication: the order matters.

Example 2.11.3.

With σ and τ as before,

σ⁢τ =(123231)
τ⁢σ =(123312)

Comparing this to the example in the previous section, σ⁢τ and τ⁢σ are different. Composition of permutations is not commutative in general.

Definition 2.11.1.

Two permutations s and t are said to commute if s⁢t=t⁢s.