Definition
A permutation is an ordered arrangement of objects.
Permutations without Repetition
All Objects
The number of ways to arrange distinct objects:
Example: Arrange letters A, B, C, D:
Objects from (r-permutations)
The number of ways to arrange objects from distinct objects:
Example: First 3 places from 8 runners:
Permutations with Repetition
Arranging with Unlimited Supply
If we can use each of types of objects any number of times, arrangements of length :
Example: 4-digit PIN using digits 0-9:
Arranging with Fixed Counts
If we have objects where:
- are of type 1
- are of type 2
- ...
- are of type
And :
Example: Arrangements of MISSISSIPPI:
- 11 letters: 1 M, 4 I's, 4 S's, 2 P's
Circular Permutations
Arrangements in a circle where only relative positions matter:
Why? Fix one object to remove rotational equivalence, arrange remaining .
With Reflections Considered Same
If reflections (flipping) also count as same:
Example: Seating 6 people around a table:
- Rotations same:
- Rotations and reflections same:
Permutations with Restrictions
Adjacent Constraints
Objects must be adjacent: Treat them as a single "super-object".
Example: Arrange ABCDE with A and B adjacent:
- Treat AB as one unit: arrange 4 units =
- A and B can swap within:
- Total:
Objects must NOT be adjacent: Total minus adjacent cases.
Position Constraints
Example: Arrange 1,2,3,4,5 so that 1 is not first and 5 is not last:
- Total:
- 1 is first:
- 5 is last:
- 1 first AND 5 last:
- Answer:
Relative Order Constraints
Example: Arrange ABCDE so A comes before B: By symmetry, A before B in exactly half:
Derangements
A derangement is a permutation where no element is in its original position.
The number of derangements of elements:
Recursive formula:
With and .
| 0 | 1 | 1 |
| 1 | 0 | 0 |
| 2 | 1 | 0.5 |
| 3 | 2 | 0.333 |
| 4 | 9 | 0.375 |
| 5 | 44 | 0.367 |
As :
Permutation as Functions
A permutation of set can be viewed as a bijection .
Cycle Notation
means:
Every permutation decomposes into disjoint cycles.
Permutation Composition
Apply right to left: means first , then .
Identity Permutation
or : every element maps to itself.
Inverse Permutation
: reverse each cycle's direction.