Permutation and combination are two fundamental counting concepts in mathematics. A permutation is an arrangement of items in a specific order, while a combination is a selection of items where order does not matter. For example, the letters A, B, and C can be arranged in six permutations (ABC, ACB, BAC, BCA, CAB, CBA) but form only one combination of all three. The distinction matters because it changes the number of possible outcomes dramatically: order-sensitive problems use permutations, order-insensitive ones use combinations.
What Permutation and Combination Actually Mean
Both terms come from combinatorics, the branch of mathematics dealing with counting, arrangement, and selection. The word "permutation" derives from the Latin permutare, meaning "to change thoroughly," reflecting the idea of rearranging. "Combination" comes from the Latin combinare, "to join together," emphasizing the act of grouping without regard to sequence. In everyday English, people often use "combination" loosely to mean any mix, but in mathematics the term has a precise meaning: a subset chosen from a larger set, with no reference to order.
The key difference is whether order matters. If you are arranging books on a shelf, the order matters—swapping two books creates a different arrangement. That is a permutation. If you are choosing three books to take on a trip, the order in which you pick them does not matter—the same three books form the same selection. That is a combination.
The Formulas and How They Work
Permutations and combinations are counted using factorial notation. The factorial of a non-negative integer n, written n!, is the product of all positive integers up to n. For example, 4! = 4 × 3 × 2 × 1 = 24. By convention, 0! = 1.
The number of permutations of n distinct items taken r at a time (without repetition) is:
P(n, r) = n! / (n − r)!
This formula works because there are n choices for the first position, n−1 for the second, and so on down to n−r+1 for the r-th position. The product of these terms equals n! divided by (n−r)!.
The number of combinations of n distinct items taken r at a time is:
C(n, r) = n! / [r! (n − r)!]
This is also written as "n choose r" and denoted nCr or (n r). The extra r! in the denominator removes the overcounting from different orderings of the same r items. Since each combination of r items can be arranged in r! ways, the number of permutations is r! times the number of combinations: P(n, r) = C(n, r) × r!.
For example, with 5 distinct books and choosing 3:
- Permutations: P(5, 3) = 5! / 2! = 120 / 2 = 60
- Combinations: C(5, 3) = 5! / (3! × 2!) = 120 / (6 × 2) = 10
The ratio is 3! = 6, confirming that each combination corresponds to six different orderings.
Permutations with Repetition and Circular Arrangements
The formulas above assume all items are distinct and no item is reused. Two important variations appear in practice:
- Permutations with repetition: If you can reuse items, the number of arrangements of n items taken r at a time is nr. For example, a 4-digit PIN using digits 0–9 has 104 = 10,000 possible permutations.
- Circular permutations: When items are arranged in a circle, rotations are considered the same. The number of distinct circular arrangements of n distinct items is (n−1)!. For instance, 5 people around a round table can be seated in 4! = 24 ways, not 5! = 120.
Combinations with repetition (also called multisets) use the formula C(n+r−1, r). For example, choosing 3 scoops from 5 ice cream flavors, allowing repeats, gives C(7, 3) = 35 possibilities.
How to Decide Which to Use
The central question is always: does order matter? If yes, use permutations; if no, use combinations. A few practical checks help:
- Ask whether swapping two chosen items changes the outcome. If it does, order matters.
- Look for keywords. Words like "arrange," "order," "sequence," "rank," and "schedule" usually signal permutations. Words like "choose," "select," "group," "team," and "committee" usually signal combinations.
- Check whether repetition is allowed. This determines which formula variant to use.
- Consider whether the arrangement is linear or circular. Circular arrangements require adjusting for rotations.
A common mistake is using permutations when order is irrelevant, which inflates the count. For example, choosing a 3-person committee from 10 people is C(10, 3) = 120, not P(10, 3) = 720. Conversely, assigning gold, silver, and bronze medals to 10 runners is P(10, 3) = 720 because the order of medals matters.
Everyday Examples and Common Misconceptions
Permutations and combinations appear in many real-world contexts:
- Lotteries: Choosing 6 numbers from 49 is a combination because the order of drawing does not matter. The number of possible tickets is C(49, 6) = 13,983,816.
- Passwords and PINs: These are permutations with repetition because each character position is distinct and characters can repeat.
- Card games: A hand of 5 cards from a 52-card deck is a combination: C(52, 5) = 2,598,960. The order in which you receive the cards does not change the hand.
- Seating arrangements: Arranging 8 people in 8 chairs is a permutation: 8! = 40,320.
A frequent misconception is that "combination" always means a mix of things in everyday language, leading people to use the word loosely. In mathematics, a combination is strictly an unordered selection. Another common error is forgetting that permutations count different orderings separately, so the same set of items can produce many permutations but only one combination.
It is also worth noting that the formulas assume distinct items. If some items are identical, the number of distinct permutations is reduced. For example, the letters of "BANANA" can be arranged in 6! / (3! × 2! × 1!) = 60 distinct ways, not 720, because the three A's and two N's are indistinguishable.
Frequently Asked Questions
What is the main difference between permutation and combination?
Permutation counts arrangements where order matters; combination counts selections where order does not matter. For the same set of items, the number of permutations is always greater than or equal to the number of combinations, because each combination can be ordered in multiple ways.
When do I use permutation vs combination in real life?
Use permutations for passwords, seating charts, race finishes, and any situation where sequence changes the outcome. Use combinations for lottery tickets, committee selection, card hands, and menu choices where the order of selection is irrelevant.
What does nCr mean?
nCr is notation for the number of combinations of n items taken r at a time, calculated as n! / [r!(n−r)!]. It is read as "n choose r." Similarly, nPr denotes permutations: n! / (n−r)!.
Can permutation and combination be used with repetition?
Yes. Permutations with repetition use n^r. Combinations with repetition use C(n+r−1, r). The standard formulas without repetition assume each item is used at most once.
Why is the combination formula divided by r!?
Because each unordered selection of r items can be arranged in r! different orders. Dividing the permutation count by r! removes these duplicate orderings, leaving only distinct combinations.
Are permutation and combination the same as probability?
No, but they are tools used in probability. Counting the number of favorable and total outcomes often requires permutations or combinations, especially in problems involving drawing cards or selecting lottery numbers.