Without Repetition
P(n, r) = n! / (n − r)!
Each item can only be used once
With Repetition
P(n, r) = n^r
Items can be repeated
3-digit code (no repeat)
n=10, r=3: P(10,3) = 720 arrangements
4-digit PIN (with repeat)
n=10, r=4: P(10,4) = 10,000 combinations
Seating 5 people in 5 chairs
n=5, r=5: P(5,5) = 120 arrangements
Disclaimer
This calculator provides estimates only. Verify manually for critical calculations.
A permutation is an arrangement of objects in a specific order. Unlike combinations, where only the selection matters, permutations consider the sequence or order of the selected items. For example, selecting the digits 1, 2, and 3 to form a code: 123, 132, 213, 231, 312, and 321 are all different permutations of the same three digits.
The word "permutation" comes from the Latin "permutare," meaning to change thoroughly. In mathematics, permutations are fundamental to combinatorics, probability theory, and many areas of computer science. Understanding permutations helps solve problems involving arrangements, scheduling, cryptography, and statistical analysis.
Without Repetition (P(n, r) = n! / (n-r)!): This formula calculates the number of ways to arrange r items from a set of n distinct items, where each item can only be used once. The factorial notation (n!) represents the product of all positive integers up to n. For instance, 5! = 5 × 4 × 3 × 2 × 1 = 120.
With Repetition (P(n, r) = n^r): When items can be repeated, the formula becomes much simpler. Each of the r positions can be filled by any of the n items, giving n choices for each position. This is commonly used in PIN codes, passwords, and scenarios where the same element can appear multiple times.
The key difference is that without repetition, once an item is placed, it cannot be used again. With repetition, items remain available for selection regardless of previous choices. This distinction significantly impacts the total number of possible arrangements.
Permutations have countless practical applications in everyday life and various industries. In cryptography and security, understanding permutations helps in creating secure passwords and encryption schemes. A 4-digit PIN without repetition has 5,040 possibilities, while one with repetition has 10,000 possibilities.
In sports and competitions, permutations determine the number of possible finishing orders in races or tournament brackets. For a race with 10 participants, there are P(10,3) = 720 different ways the top 3 positions can be filled.
Scheduling and logistics rely heavily on permutation calculations. Airlines use permutations to optimize crew scheduling, manufacturers to plan assembly line sequences, and event planners to arrange seating. In genetics, permutations help calculate possible gene sequences and protein structures.
A common source of confusion is the difference between permutations and combinations. The key distinction is that permutations care about order, while combinations do not. Selecting team captains A, B, C in that specific order is different from B, C, A in permutations, but in combinations, both represent the same group of three people.
Use permutations when: arranging people in a line, creating passwords, assigning ranked positions (1st, 2nd, 3rd place), or any scenario where sequence matters. Use combinations when: selecting a committee, choosing lottery numbers, or picking team members where order doesn't matter.
The mathematical relationship between them is: P(n,r) = C(n,r) × r!, meaning permutations equal combinations multiplied by the number of ways to arrange the selected items. This is because for every combination, there are r! ways to arrange those r items.