Log in Sign up
Back to Discover
🔢

Permutation

math Maturity 7-9

You can change the order of things.

Permutations RGB.svg
Permutations RGB.svg
Put three balls in a line. You can swap them around. You can make many new lines. It is like a fun puzzle. Can you find a new way to line them up?

44 words

You can change the order of things.

Permutations RGB.svg
Permutations RGB.svg
Imagine three colored balls in a row. You can swap their spots. This makes a new line. This is like a Rubik's Cube puzzle. Every turn changes the colors on top. Long ago, people studied these patterns. One man found many ways to make sounds. An Arab thinker listed all possible words. A man also used this to study bells. You can use these ideas to solve many puzzles.

80 words

Imagine you have three colored balls. You can line them up in different ways. Each new order is called a permutation.

Permutations RGB.svg
Permutations RGB.svg
You can also think of a permutation as a way to swap things. When you change the order, you make a new set. This is just like a Rubik's Cube. Each turn creates a new permutation of colors.

People have studied these patterns for a long time. In ancient Greece, a man named Xenocrates studied syllables. He looked for how many ways sounds could be ordered. An Arab thinker named Al-Khalil used them to list words. He wanted to find every possible word in Arabic. In India, a mathematician named Bhāskara II knew how to count these ways.

Permutations help us in many fields today. Computer scientists use them to sort data. Scientists use them to study tiny particles or DNA. Even code breakers used them. A man named Marian Rejewski used them to break the Enigma machine code. This helped during World War II.

15-Puzzle.jpg
15-Puzzle.jpg
They even help us solve sliding tile puzzles.

179 words

Imagine you have three colored balls: one red, one green, and one blue. You can line them up in many different ways. One way might be red, then green, then blue. Another way could be blue, then red, then green. Each unique order you make is called a permutation.

Permutations RGB.svg
Permutations RGB.svg
This idea also applies to swapping things around. Think about a Rubik's Cube. When you turn the faces, you are creating a new permutation of the surface colors. In math, a permutation can be a simple list or a way to change an existing list.

Mathematicians use special tools to count these arrangements. If you have a set of distinct objects, the total number of ways to order them is called a factorial. This is written with an exclamation point. It means you multiply all the positive integers from your number down to one. For example, if you have three items, you multiply three times two times one. This gives you six possible ways to arrange them.

Permutations with repetition cropped.svg
Permutations with repetition cropped.svg
You can also pick only some items from a larger group. These are called partial permutations. This helps us understand how many ways we can select and order a small group from a big one.

People have been curious about these patterns for a very long time. As early as 1000 BC, people in China used hexagrams in the I Ching. In ancient Greece, Xenocrates of Chalcedon studied syllables around 396 BC. He wanted to find how many different sounds could be ordered in the Greek language. Later, an Arab mathematician named Al-Khalil wrote about permutations to list all possible Arabic words. Around 1150 AD, the Indian mathematician Bhāskara II also used these rules. He wrote about how to find the variations of numbers in his book, the Lilavati.

In the 1600s, Fabian Stedman used permutations to explain bell ringing. He looked at how many ways bells could change their order. He even found that five bells could be arranged in 120 different ways. Later, Joseph Louis Lagrange studied how permutations relate to solving equations. This work eventually led to Galois theory. In the 1800s, Augustin-Louis Cauchy helped define the idea of a group using permutations.

Symmetric group 3; Cayley table; matrices.svg
Symmetric group 3; Cayley table; matrices.svg
These mathematical groups help us understand the deep structure of how things can be rearranged.

Permutations are used in almost every part of science today. Computer scientists use them to study sorting algorithms. In biology, they help describe sequences in RNA. They were even used to break secret codes during World War II. A cryptologist named Marian Rejewski used them to crack the German Enigma machine.

15-Puzzle.jpg
15-Puzzle.jpg
This was possible because he understood how certain patterns in the machine worked. From tiny particles in physics to the code on your computer, permutations help us organize the world.

473 words

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.svg
Permutations RGB.svg
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.

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.svg
Permutations with repetition cropped.svg
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.svg
Symmetric group 3; Cayley table; matrices.svg

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.jpg
15-Puzzle.jpg
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.

739 words
🖼️ 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
Up Next
🔢
Rule of product
Math
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.