Nepedia
Back to Discover
Advanced Reader
🔢

Permutation

math Maturity 7-9 Next article →

In mathematics, a permutation describes the way elements within a set are ordered or rearranged. This concept can be understood in two distinct ways. First, a permutation can be a passive arrangement, which is a specific sequence or linear order of members. For example, if you have three colored balls—red, green, and blue—the sequence (red, green, blue) is one permutation, while (blue, red, green) is another.

Permutations RGB
Permutations RGB

Second, a permutation can be an active process. This is a function that maps a set to itself by changing the original order. This active view is mathematically defined as a bijection, which is a one-to-one and onto function. This means every element is replaced by exactly one other element, and no two elements end up in the same spot.

Rubik's cube
Rubik's cube

To understand how these rearrangements work, mathematicians use several different notations. One common method is two-line notation, named after Augustin-Louis Cauchy. In this format, the first row lists the original elements of the set, and the second row shows their new positions. For instance, in a set of six elements, the second row shows exactly where each number moves. Another popular method is one-line notation, often called word representation. This is a simpler list of the elements in their new order.

Permutations with repetition cropped
Permutations with repetition cropped

A third, more structural method is cycle notation. This method describes the permutation by tracing the path of each element. You start with one element, see where it moves, and then see where that new element moves. You continue this until you return to the starting element, forming a "cycle." This allows mathematicians to decompose complex rearrangements into several smaller, disjoint cycles.

Permutations are closely linked to the concept of a group. When you collect every possible permutation of a specific set, they form a structure called the symmetric group. The primary operation used within this group is function composition. This means you perform one rearrangement and then immediately perform another. The result of these two actions is itself a new rearrangement. While some mathematical operations are commutative, meaning the order does not matter, permutation composition typically is not. Performing rearrangement A then B often produces a different result than performing B then A.

Symmetric group 3; Cayley table; matrices
Symmetric group 3; Cayley table; matrices

The history of studying these arrangements spans thousands of years and many cultures. As early as 1000 BC, hexagrams were used in China within the I Ching. In ancient Greece, Xenocrates of Chalcedon investigated the possible syllables in the Greek language around 396–314 BC. This was likely the first recorded attempt to solve a complex problem involving permutations. Later, the Arab mathematician and cryptographer Al-Khalil wrote the Book of Cryptographic Messages between 717 and 786. He used permutations to list all possible Arabic words. Around 1150 AD, the Indian mathematician Bhāskara II described the rules for calculating these variations in his work, the Lilavati.

In the 17th century, Fabian Stedman applied these ideas to the art of change ringing. He studied how many ways bells could be varied in a sequence. Stedman used a "casting away" method to explain the process recursively. He showed that two bells have two variations, while three bells have six. By the time he reached five bells, he had tabulated 120 different combinations. This helped clarify how the changes in a large number are built from the changes in all smaller numbers.

15-Puzzle
15-Puzzle

Later, in 1770, Joseph Louis Lagrange discovered that the permutations of the roots of polynomial equations were tied to whether those equations could be solved. This line of inquiry eventually led to Galois theory.

Modern science relies heavily on the mathematical properties of permutations. In computer science, they are essential for analyzing sorting algorithms. In quantum physics, permutations help describe the different states of particles. Biologists use them to understand the sequences found in RNA. One of the most famous historical applications occurred during World War II. Cryptologist Marian Rejewski used the properties of permutations to break the German Enigma cipher. He realized that two permutations are "conjugate" if they share the same cycle type. This mathematical insight allowed him to crack the code during the years 1932–1933.

Today, permutations remain a fundamental tool across many fields. They allow us to organize complex data and understand the deep structures of algebraic systems. Whether studying the movement of a Rubik's Cube or the sequences of life itself, the logic of rearrangement provides a vital framework for discovery.

735 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (6)
File:Permutations RGB.svg
Permutations RGB.svg
File:Rubik's cube.svg
Rubik's cube.svg
File:Permutations with repetition cropped.svg
Permutations with repetition cropped.svg
File:Symmetric group 3; Cayley table; matrices.svg
Symmetric group 3; Cayley table; matrices.svg
File:15-Puzzle.jpg
15-Puzzle.jpg
File:Permutation generation algorithms10.svg
Permutation generation algorithms10.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.