I’ve recently started a new research project that has connections to permutation groups. For this reason, I thought that I would write an article about them so that friends and family could learn a little math regarding what I might be thinking about for the next few months! But you don’t care about that! You just want/need to learn about permutation groups, I mean… you clicked on the link! So, let’s just get into this!
What’s A Permutation?
Loosely speaking, a permutation is a rearrangement of the order of objects (we will focus on a finite list of objects). It doesn’t matter what objects we want to rearrange the order of. For example, when we shuffle playing cards, we are permuting their order. Or, when we make anagrams of a bunch of letters, we are finding permutations of the list of letters. But, since we all love math(s) and numbers, we will focus on permuting (rearranging) the numbers when we want to consider a permutation of
objects. This makes it easier to type and do out examples since we are focusing on a concrete list of objects, e.g., numbers! From now on, we’ll denote the set of positive integers up to and including
by
.
Consider the special case of . We want to count how many different ways we can rearrange the numbers
there are. I.e. how many permutations are there of the numbers 1, 2, and 3?
Answer: There are permutations. To see why, observe that we have 3 options for what number to put first. Once we fix the first number, we have two numbers left to choose from for the second number. Lastly, after we fixed the first two numbers, we have only one number left, so 1 option for the third number. Altogether, we have
ways to order the numbers 1, 2, and 3. (For a more detailed explanation of general counting problems, consider checking out Math That Counts.)

What we want to do is consider the act of permuting the numbers 1, 2, 3. For example, let be a fancy way of denoting: do nothing. So that, if we started with the order 1, 2, 3 and then applied
would give 1, 2, 3 again. Likewise, applying
to 3, 1, 2 would give 3, 1, 2 again.
Or, let denote: swap the 1 and 2. Then, starting with 1, 2, 3 and applying
would give, 2, 1, 3. Or, applying
to 2, 3, 1, would give 1, 3, 2.
Yet another example could be letting denote: swap 1 with 3 and then swap 2 with 1. A mouthful, but would cause 1, 2, 3, to become 3, 1, 2. Or it would permute 2, 1, 3 to become 1, 3, 2.
But why stop with only and
? Why not apply
and then
??? Well, this would mean: swap the 1 and 2 and then swap 1 with 3 and then swap 2 with 1. Starting with 1, 2, 3 we’d end up with:
So, we can combine these actions in some way. Let’s try and apply and then
again! This would mean: swap the 1 and 2 and then swap the 1 and 2 (again). This would result in:
But, this is the same as applying to 1,2,3. So, in some sense
.
These operations, these permutations and combinations thereof () are what we are interested in studying.
Let’s Make This More Mathy
It’s now time to develop the mathematical machinery. Let’s begin by defining mathematically what we mean by a permutation:
Definition (Permutation): Let be a set and let
be a function
. If the
is both injective and surjective (by definition,
is bijective)1 we call
a permutation of
. Or, if there is a one-to-one correspondence between
and
then we call
a permutation of
.
Great! Therefore, when we want to study permutations, we really are studying bijective functions. But, if all this terminology like injective, surjective, bijective is too abstract for you, then use the loose definition we said earlier: a permutation is a rearrangement of the order of objects. You won’t miss out on anything in this article using the loose definintion.
We are going to study the set of all permutations of . Let’s denote the set
as the set of permutations of the numbers in
,
the set of all permutations of
For example, we know that from earlier. Likewise,
and
. We also know that
, which can be thought of a function composition of
and
. We will call this multiplying the permutations
and
. This means that there is more to
and just its elements; there is structure to how we can combine the elements in
. It turns out
is what we call a group.
Note, when we write we are going to read the composition from right to left. This is the same way you’d read
. Which means apply
to
first and then apply
to what results from
to get
.
It’s a Group!
Recall the definition of a group (and for those who have not seen group theory, don’t worry! We will explain each step)
Definition (Group): Let be a set and
denote a binary operation2. Then, we call
a group if the following are true:
- The operation is associative, i.e.
for all
,
- there is an identity element
where
for all
, and
- for all
there exists an inverse
such that
.
When the operation is known, we will write that is a group and drop the operation symbol from (G,*). Similarly, we will write
instead of
We claim that along with function composition forms a group.
Theorem (The Permutation Group): The set along with function composition forms a group. Moreover,
.
We aren’t going to go through a fully rigorous proof of this fact, but we will explain the thoughts behind each point.
1) Associativity
Since, by definition, a permutation is a bijective function we can use that function compositions are associative to say,
for all we have
.
*Note, it would be more accurate to write and not
for their combination.3
2) Identity
Recall, meant to do nothing. We can define a similar element for any
. We call
our identity element because it preserves the identity of the numbers
*Note, is the function such that
for all
.
3) Inverses
Since we are permuting our numbers 1 through n, we could always undo what we did to get back to how we started. For instance, meant: swap the first two numbers in
. If we applied
again then we would have swapped the first two back again, or
In a similar way,
wanted us to shift each of the numbers one location. We can undo that with another permutation, call it
. Then, we’d have
.
This is true in general, for any there is an inverse element denoted
such that
.
*Note, we can do this because bijective functions have inverses.
“
Since forms a group with the operation of function composition, we can use tools from group theory to start analyzing our permutations! Woot woot! But before we do, let’s find a convenient way to express some permutations
other than using sentences like: swap blah and blah with blah and blah…
Two-Line Notation
It’s NOT a Matrix
The easiest way to express some permutation is using the two-line notation. It may look like a matrix, however, it’s not! You don’t perform matrix multiplication when you combine two permutations!
Let’s begin with the identity we saw already Recall that the identity permutation denotes: do nothing. To express this idea, we will begin by writing our elements in
on the top row:
Under each of the numbers 1, 2, and 3 we write where sends them. Since every number is `sent to itself’
Let’s take another example. Recall . Begin by writing 1, 2, 3, in the top row:
We had denote: swap the 1 and 2. So that,
Last, but not least, sends 3 to 3. Thus, we have
One more bit of notation. Since sends 1 to 2 we can denote this by writing
or by
. And, if we were to apply
more than once, we would write
instead of
for example,
.
Let’s do one more example! Recall the permutation from before. Again, begin by writing out the first row,
Using that denotes: swap 1 with 3 and then swap 2 with 1, we place a 3 under the 1 and a 1 under the 3,
Next, we must swap 2 and 1. Thus, in the bottom row, we swap the 1 under the 3 with a 2, and the 1 goes under the 2:
Not so bad.
If we know where some number goes after the permutation, then we can write the two-line notation for the permutation. In all its glory, we write:
for
How do you Multiply Permutations?
Now that we have a way to write and
, how would we write
given the two-line notation from earlier? Well, we DO NOT MULTIPLY the two-line notations like matrixes. This is not an issue for our examples since we cannot multiply a 3×2 matrix with a 3×2 matrix.
What we DO do4 is simply ask, where would # end up after we apply and then
? Continuing with
and
Note that sends 1 to 2. Then,
sends 2 to 1. Thus,
,
Now, let’s ask where 2 goes. Well, sends 2 to 1. Then,
sends 1 to 3. Thus,
,
Lastly, sends 3 to 3. Then,
sends 3 to 2. Thus,
,
Again, not so bad. Well, not so bad once you get used to it!
Cycle Notation
Mathematicians are lazy efficient people, and they invented an even better method to write down permutations that requires less writing! It has only one line!
What is it?
I will admit, cycle notation can be tricky to get used to, but once you do it will be your best friend when working with permutations. We’ll show how it works through an example. Let’s take the large permutation:
.
Take a moment to understand what this permutation is telling us. Once you feel ready, keep reading.
We are going to set up the cycle notation for in the following way: Start with the number 1.
and ask, where does send 1? I.e.
In our situation,
. So, we write 2 next to the 1.
Now, ask where does send 2? Answer:
. Since we are back to where we started (i.e. 1) we close the set of parentheses,
and then open a new set with the smallest number that we have not used yet. In this case, it’s 3
Where does send 3? You can go check, but it’s to 4:
Where does send 4? To 5 of course!
Where does send 5? Back to 3, and since we are back where we started this set of parenthesis, we close the parenthesis.
What’s the smallest number not used yet? It’s 6.
Since it goes to itself we are done!
.
When we read a permutation in cycle notation, we read as saying 1 goes to 2 and 2 goes to 1. Similarly,
says, 3 goes to 4, then 4 goes to 5, and finally 5 goes back to 3. This is more efficient and can tell us more; there are little loops that form with this permutation. How cool is that!
Let’s convert into cycle notation. Recall,
So, we have 1 going to 2, and 2 going to 1. So, we still have . The difference is now that 3 stays at 3. Thus,
But, again, mathematicians are efficient so when we have a situation when some number does not swap with anything, such as and the number 3, we don’t tend to write
in the cycle notation of
therefore,
One last thing:
Definition: (Cycle) We call a permutation a cycle if it can be written in the following way:
where
for
. We’d say that
has length
or is a k-cycle.
Definition: (Disjoint Cycles) Let and
be two cycles such that,
and
Then we call and
disjoint if
for all
and
.
With these two bits of terminology we’d say that is a 2-cycle and
is not a cycle; however it is made up of a 2-cycle and 3-cycle that are disjoint.
How do we combine permutations in Cycle notation?
When combining permutations in cycle notation, we basically do the same thing we did earlier. Let’s compute the product of the following permutations:
and
.
Where We need to remember that we read the product left to right!
Step 1: We begin by determining where 1 will be sent by reading right to left. We see that
will send 1 to 5. Next, we now find where
sends 5. In this case, to 2. Thus,
sends 1 to 2.
Step 2: Begin with 2 now, since in step 1 we found . We find where
sends 2. It turns out
send 2 to 4. Next, we find that
does not have a 4 in its cycle. This means that 4 stays at 4. Thus,
sends 2 to 4. See the figure below.
Step 3: Continue but now start at 4. See the figure for all the steps!
Transpositions
One interesting property that permutation groups enjoy is that any permutation can be written as a product of 2-cycles. In group theory vernacular, is generated by cycles of length two. For this reason, we give 2-cycles a special name:
Definition (Transposition): If is a cycle of length 2 e.g.
where
and
, then we call
a transposition.
What we said preceding this definition is captured in the following theorem:
Theorem: Every permutation in can be written as a product of (not necessarily disjoint) transpositions. Although this product is not unique.
Proof: Let be a cycle
where
for
. Then, we can express
as the following product,
.
To check that the above product is indeed the same as the cycle observe that:
is not in any of the first
transpositions and the
transposition
sends
just like the
does. You can continue with this logic to see that the product is the same as the cycle.
Lastly, we note that any permutation can be written as a product of cycles5 and since we can write those cycles as a product of transpositions, we can therefore write any permutation as a product of transpositions.
To see that this product is not unique, consider the products below,
.
As you can verify (you’re welcome), these are other ways to express as a product of transpositions.
How cool is that! Answer: Very cool!
Even/Odd Permutations
Another reason why we care about transpositions is because we can classify different permutations in terms of how many transpositions they can be written as a product of. For example,
is made up of 5 transpositions, or simply an odd number of transpositions. Or,
is made up of 4 transpositions, or simply an even number of transpositions. Or,
is made up of 3 transpositions, or simply an odd number of transpositions.
Wouldn’t it be nice if we could take some permutation group and split it up into two sets of permutations that are either a product of even number or an odd number of transpositions? But we already know that this product is not unique so we cannot… or can we????
It turns out we can! We’ll soon see that no matter how you express, say , as a product of transpositions,
, will always need an odd number of them:
Note these products are made up of 5, 5, and 9 transpositions, which are all odd numbers.
Definition (Even/Odd Permutation): Let be a permutation. We call
an even permutation if we can write
as a product of an even number of transpositions. Likewise, we call
an odd permutation if we can write
as a product of an odd number of transpositions.
Theorem (Even/Odd Permutation Classification): Let be a permutation. Then,
is either an even permutation or an odd permutation, but not both.
Scratch Work: How should be prove that every permutation is either an even or odd permutation, but not both. Well, we already know the first part: every permutation is either even or odd. This is by the previous theorem. The second part: but not both is where the trickiness lies.
The most obvious line of attack is to assume that some permutation can be both even and odd and try to find a contradiction somewhere. So, let be some permutation that is both even and odd. This means that there is a way to write
as a product of an even number of transpositions and a product of an odd number of transpositions. Let’s use
and
to denote transpositions. Thus,
,
where is an even number and
is odd. There isn’t much to do other than play around with the above products. Observe that every transposition has the property
so that we can likewise say,
. We can use this property when multiplying
on the right by
to get,
.
So we have found a way to express as a product of an odd number of transpositions, i.e.
transpositions, since we assumed
was even and
was odd. But wait, we also know that
which should make
an even permutation. Maybe this is the contradiction. If
is an even transposition, then we have a contradiction since we have found a way to express
as an odd number (
) of tranpositions. As it turns out,
is an even permutation. We will show this in the following lemma:
Lemma (The identity is an EVEN permutation): Let denote the identity permutation. Then,
is an even permutation.
Proof of Lemma: Let denote the identity permutation. We will show that
is an even permutation using induction. Let
where
are transpositions. We will use induction on
.
First note that if , then we’d have
. This cannot happen because the identity is not supposed to swap any numbers, yet we’d have
and
. Thus, we’ll prove
is even.
Consider when . This is simply the statement we made earlier:
.
Now suppose that for
. What we will do is focus on some number in the rth transposition,
, and try to move it to the r-1st transposition without changing the product. Once we do, we will see that this will then result in two situations: (1) we get a product of two identical transpositions which results in the identity or (2) an eventual contradiction.
Consider the last two transpositions in the product for . We must have one of the following four situations (where
and are different):
Which you can check by multiplying out the transpositions. When the first situation happens, we then have the product . But then we have a product of
transpositions, which is even by induction. Hence
is even too.
In the second, third, and fourth situations we have moved one transposition to the left. This means that we have one of the following,
Now we play the same game, focus on the transpositions where
depending on which situation we have above. We can then remove
from the right transposition and put it into the left transposition. This will result in the same four cases as before.
Where and are different. And, just like before, we either have
, in which case we have found a way to express
as
transpositions, which is even by induction. Hence
is even too. Or, we have one of the bottom three cases in which case we play the same game again on the final three cases.
This process must come to an end either by resulting in case 1, or by moving all the way to the beginning of the product. We claim, however, the latter cannot happen.
Consider what would happen if we were able to remove from all the transpositions in the product, except for the first transposition. This would mean that:
where for all
. We have found a contradiction; we have just concluded that
. Which cannot be the case since
is the identity. Therefore, when we are moving
we must get a product of identical transpositions to cancel like in case 1. When this happens, we’ve found a product for
made of
transpositions, which is even by induction and thus
is even.
Proof of Theorem (Even/Odd Permutation Classification): Assume for the hope of a contradiction that could be written as a product of an even number of transpositions and an odd number of transpositions:
where and
are transpositions and
is an even number and
is odd. Observe that, for any transposition
we have
where
is the identity. Without loss of generality suppose that
, then
We have found a way to express the identity as a product of transpositions. But,
is an odd number and hence is impossible! Thus, it must be either that both
and
are even or both
and
contradicting our assumption that one was even and the other odd.
We conclude that every permutation is either even or odd and not both.
Theorem (The Alternating Group): The set of even permutations in , i
the set of all even permutations of
is a subgroup of and we call
a the Alternating Group.
Scratch Work: Recall that a subgroup is itself a group and to prove that a subset of
is a subgroup of
we need to show three things (note there are more efficient ways to prove a subset is a subgroup):
- The identity
is in
.
- For all
we have
.
- If
then
.
“Proof”: First note that . We must show properties 1-3.
- We’ve already showed that the identity is an even permuatioan.
- Let
. Can you explain why
? Hint: let
and
where
and
are even. Then consider their product.
- Let
. Can you explain why
?
Closing Remarks
Wow, was this a lot today! But I hope you found it interesting; there is so much more we could discuss! There is Cayley’s Theorem, which teaches us that every group is the same as a group of permutations. Where, the same as, is a loose way to say isomorphic to, for those who know what that means. We can also use permutation groups to show that quintic polynomials are not solvable in general.
Permutation groups are wonderful and tricky! There may be more articles about them in the future, but for now I leave you with a few problems to practice your skills. The solutions are in the footnote.6
Practice
- Write
in cycle notation.
- Write
in cycle notation.
- Write
in cycle notation.
- Is the
and even or odd permutation?
- Is the
and even or odd permutation?
- Is the
and even or odd permutation?
- Is the
and even or odd permutation?
- Can you make a conjecture about when a k-cycle being even or odd permutation? Can you prove it?
- What is the product Is the
?
- What is the product Is the
?
Have fun!
Footnotes:
- Let the function
be a map between the sets
and
Recall that injective is the fancy math word for one-to-one. Simply put, every element in the range has a unique element in the domain that maps to it. Or, ifthen
. And surjective means that every element in the codomain gets mapped to it. Or, for all
there is some
such that
Lastly, when a function is both injective and surjective, it’s called bijective. So another way of saying thatis a permutation is to say that
is a bijection from some set
to itself. ↩︎
- A binary operation is a rule that takes two inputs and spits out a unique output. For example, multiplication. You take two numbers, say 2 and 10 and multiplication spits out 20. ↩︎
- We can prove the associativity of our permutation products using this: Let
. Then.
↩︎
- Haha do do. ↩︎
- We need to prove that any permutation can be written as a product of cycles, but we can do more. We can prove that any permutation can be written as a product of disjoint cycles. To prove this, let
and consider the cycle,
. Since
is finite and
for all
we know that the cycle has a finite length. If
has every number in
then we’re done. If not, then let
be the smallest number not used. Then, let
. Which is again, finite. If every number in
is used in either
or
then we’re done. If not, then let
be the smallest number not used. Continue with this process until every number in
is used. Then we have the set of cycles,
. These are all disjoint by construction. ↩︎
- Solutions
1).
2).
3) This is the identityor some people write
.
4)is an even permutation.
5)is an odd permutation.
6)is an even permutation.
7)is an odd permutation,
8) When the k is even the k-cycle is an odd permutation. Can you finish this????
9).
10). ↩︎






Leave a reply to Interesting Group Isomorphisms – A Kick in the Discovery Cancel reply