Skip to main content

Understanding Permutations and the Symmetric Group S3

Introduction

Have you ever rearranged the letters in a word, shuffled a deck of cards, or mixed up your schedule? If so, you’ve worked with permutations — rearrangements of a set of objects. In this post, we'll explore permutations in a mathematical way using functions, and learn how to combine them using composition. Then, we’ll look at the symmetric group S3S_3 — the set of all possible ways to rearrange 3 things — and build its Cayley table, which shows how these rearrangements interact.

No worries if you’ve never heard of abstract algebra — we’ll break it all down!


📦 What Is a Permutation?

A permutation is a way of rearranging a set of objects. Suppose we have the set {1,2,3}\{1, 2, 3\}. One permutation might send:

  • 1 to 2,
  • 2 to 3,
  • 3 to 1.

We write that as:

(123231)\left(\begin{matrix} 1 & 2 & 3 \\ 2 & 3 & 1 \end{matrix}\right)

This is just a fancy way to show where each number goes — a kind of function that scrambles the set.


🔁 Composing Functions

Function composition means applying one function, then another. For example, if:

  • Function ff sends 1 to 2,
  • and function gg sends 2 to 3,

then the composition gfg \circ f sends 1 to 3 (because 1 goes to 2 via ff, then 2 goes to 3 via gg).

We'll use this idea to combine permutations.


🔢 The Elements of S3S_3

The group S3S_3 has all the permutations of 3 elements. There are 6 in total:

Label Two-Line Notation Cycle Notation
σ1\sigma_1 (123123)\left(\begin{smallmatrix}1 & 2 & 3\\ 1 & 2 & 3\end{smallmatrix}\right) identity
σ2\sigma_2 (123213)\left(\begin{smallmatrix}1 & 2 & 3\\ 2 & 1 & 3\end{smallmatrix}\right) (12)
σ3\sigma_3 (123321)\left(\begin{smallmatrix}1 & 2 & 3\\ 3 & 2 & 1\end{smallmatrix}\right) (13)
σ4\sigma_4 (123132)\left(\begin{smallmatrix}1 & 2 & 3\\ 1 & 3 & 2\end{smallmatrix}\right) (23)
σ5\sigma_5 (123231)\left(\begin{smallmatrix}1 & 2 & 3\\ 2 & 3 & 1\end{smallmatrix}\right) (123)
σ6\sigma_6 (123312)\left(\begin{smallmatrix}1 & 2 & 3\\ 3 & 1 & 2\end{smallmatrix}\right) (132)

Each one is a unique way to reorder the numbers 1, 2, and 3.


🧠 How to Compose Two Permutations

Let’s say we want to compute σ4σ6\sigma_4 \circ \sigma_6. This means: first apply σ6\sigma_6, then apply σ4\sigma_4 to the result.

Here are the steps:

  • σ6(1)=3\sigma_6(1) = 3, then σ4(3)=2\sigma_4(3) = 2, so σ4σ6(1)=2\sigma_4 \circ \sigma_6(1) = 2
  • σ6(2)=1\sigma_6(2) = 1, then σ4(1)=1\sigma_4(1) = 1, so σ4σ6(2)=1\sigma_4 \circ \sigma_6(2) = 1
  • σ6(3)=2\sigma_6(3) = 2, then σ4(2)=3\sigma_4(2) = 3, so σ4σ6(3)=3\sigma_4 \circ \sigma_6(3) = 3

Putting it together:

σ4σ6=(123213)=σ2\sigma_4 \circ \sigma_6 = \left(\begin{matrix} 1 & 2 & 3 \\ 2 & 1 & 3 \end{matrix}\right) = \sigma_2

Nice!


🧮 Full Cayley Table of S3S_3

This table shows the result of composing any two permutations from S3S_3. Rows are the first function, columns are the second. You apply the one from the row, then the one from the column.

\circ σ1\sigma_1 σ2\sigma_2 σ3\sigma_3 σ4\sigma_4 σ5\sigma_5 σ6\sigma_6
σ1\sigma_1 σ1\sigma_1 σ2\sigma_2 σ3\sigma_3 σ4\sigma_4 σ5\sigma_5 σ6\sigma_6
σ2\sigma_2 σ2\sigma_2 σ1\sigma_1 σ6\sigma_6 σ5\sigma_5 σ4\sigma_4 σ3\sigma_3
σ3\sigma_3 σ3\sigma_3 σ5\sigma_5 σ1\sigma_1 σ6\sigma_6 σ2\sigma_2 σ4\sigma_4
σ4\sigma_4 σ4\sigma_4 σ6\sigma_6 σ5\sigma_5 σ1\sigma_1 σ3\sigma_3 σ2\sigma_2
σ5\sigma_5 σ5\sigma_5 σ3\sigma_3 σ2\sigma_2 σ4\sigma_4 σ6\sigma_6 σ1\sigma_1
σ6\sigma_6 σ6\sigma_6 σ4\sigma_4 σ3\sigma_3 σ2\sigma_2 σ1\sigma_1 σ5\sigma_5

This shows every combination — all 36 possible compositions.


🔄 Comparing Notation

Let’s compare one element in both notations:

σ5=(123231)=(123)\sigma_5 = \left(\begin{matrix} 1 & 2 & 3 \\ 2 & 3 & 1 \end{matrix}\right) = (123)

This tells us:

  • 1 → 2
  • 2 → 3
  • 3 → 1

Cycle notation shows the movement in one loop: 1 to 2 to 3 to 1. It's shorter and more intuitive once you get used to it.


🎉 Conclusion

You just learned:

  • What permutations are
  • How to write and compose them
  • The structure of the symmetric group S3S_3
  • How to compute every element of its Cayley table
  • How to compare full notation and cycle notation

This is a first peek into group theory, a branch of abstract algebra with deep applications in math, science, and even art and cryptography.


💬 Want to Try It?

Try computing some entries from the table yourself. For example:

  • What is σ5σ3\sigma_5 \circ \sigma_3?
  • Can you find an element that, when composed with σ4\sigma_4, gives the identity?

Drop your answers or questions in the comments!

Comments

Popular posts from this blog

What is Mathematical Fluency?

What does it really mean for students to be mathematically fluent? If you’ve been in any math PD over the past few years, you’ve likely heard the phrase everywhere. We talk about fluency as something students should develop, strengthen, and demonstrate, but it can still feel abstract when we try to describe it in observable, classroom-ready terms. This post breaks down mathematical fluency into the two simplest frames we can use as teachers: what it looks like and what it sounds like . These descriptions can guide instruction, assessment, student goal-setting, and even walkthrough conversations with colleagues or administrators. What Mathematical Fluency Looks Like In a classroom where students are developing mathematical fluency, you see students making choices about strategies rather than following steps robotically. They use representations—number lines, diagrams, tables, graphs, manipulatives, symbolic expressions—and switch between them to make sense of a problem. They move ...

The Tribe of Math Mentors: 11 Questions Every Educator Should Answer

It is easy to get caught up in the vague, existential questions of education: How do I become a better teacher? How do I make math engaging? How do I survive the burnout? But as author Tim Ferriss noted when writing his book Tribe of Mentors, "Life punishes the vague wish and rewards the specific ask." When Ferriss set out to deconstruct the habits of world-class performers, he didn’t ask them broad questions about "the secret to success." He engineered 11 highly specific questions designed to bypass rehearsed answers and force his subjects to share actionable, vulnerable, and unconventional insights. Recently, I started thinking about how perfectly this methodology translates to our world. What if we asked these exact types of questions to master math teachers? What if we used them to guide the next generation of educators? Here is my best thinking of what Ferriss’s Tribe of Mentors questionnaire looks like when translated into the context of the mathematics classr...

Beyond Taylor Series: The Magic and History of Padé Approximations

If you have ever taken a calculus class, you probably remember the Taylor series. It is the mathematical magic trick that lets you turn complicated functions—like sines, cosines, and exponentials—into simple, infinitely long polynomials. For centuries, it has been a cornerstone of numerical mathematics. But the Taylor series has a dark secret: it frequently breaks. If a function has a vertical asymptote (a pole) or if you move too far from your starting point, the Taylor series spirals out of control into infinity. It is strictly bounded by what mathematicians call a "radius of convergence." Enter the Padé approximation . Instead of using a single polynomial to estimate a function, a Padé approximant uses a fraction (a ratio of two polynomials). This simple structural change unlocks a profound level of mathematical power, allowing us to see past the limits of Taylor series and model complex, chaotic systems in modern physics and engineering. A Brief History: From Franc...