Skip to content

Permutations

Mathematics Algebra Difficulty 3/5

Beginning of the lesson

Permutations

Counting Ordered Arrangements — Where Every Position Matters

1. What Is a Permutation?

A permutation is an ordered arrangement of objects. The crucial idea is that order matters.

Key Idea: If you rearrange the same objects into a different sequence, you get a different permutation.

Consider the set $\{A, B, C\}$. How many ways can we line up all three letters?

#Arrangement
1A B C
2A C B
3B A C
4B C A
5C A B
6C B A

There are 6 permutations. Notice that ABC and BAC contain the same letters but are counted separately because the order is different.

Fun Fact: A "combination lock" should really be called a permutation lock — the order you enter the numbers absolutely matters! Entering 3-7-1 is not the same as 1-3-7.

2. The Factorial Function

The factorial of a non-negative integer $n$, written $n!$, is the product of all positive integers from $1$ up to $n$:

$$ n! = n \times (n-1) \times (n-2) \times \cdots \times 2 \times 1 $$

It counts the number of ways to arrange $n$ distinct objects in a line.

Common Factorial Values
$n$$n!$Calculation
01(by definition)
11$1$
22$2 \times 1$
36$3 \times 2 \times 1$
424$4 \times 3 \times 2 \times 1$
5120$5 \times 4 \times 3 \times 2 \times 1$
6720$6!$
103,628,800$10!$
202,432,902,008,176,640,000$20!$ — over 2 quadrillion!
Why is $0! = 1$? This is not arbitrary — there is exactly one way to arrange zero objects: do nothing. It also keeps formulas like $P(n,0) = \frac{n!}{n!} = 1$ consistent.
⚠️ Factorials grow incredibly fast! $20!$ already exceeds 2 quadrillion. This explosive growth is why even modest counting problems can produce enormous numbers.

Continue this lesson on YourAIZone

The full lesson has the complete explanation, worked examples, common mistakes, tests with instant checking and an AI tutor. Start right away as a guest, or create an account to keep your progress.

In the full lesson

  • The complete explanation
  • Worked examples
  • Common mistakes and how to avoid them
  • Test questions: 15
  • AI tutor that answers questions about the topic
  • Progress tracking for students, parents and teachers