The number of different combinations depends entirely on what you are combining, how many items you choose, and whether order matters. For example, choosing 3 toppings from 10 available gives 120 combinations if order does not matter, but 720 if it does. There is no single answer to "how many combinations" without those specifics, but the mathematics of counting provides exact formulas for every case.
Combinations vs. Permutations: What's the Difference?
In combinatorics, a combination is a selection of items where order does not matter. A permutation is a selection where order does matter. The distinction is crucial because it changes the count dramatically.
Consider a simple example: choosing 2 letters from A, B, and C. If order matters (permutations), you get AB, AC, BA, BC, CA, CB — six possibilities. If order does not matter (combinations), you get AB, AC, BC — only three. The permutation count is always larger than or equal to the combination count for the same selection size.
The formulas reflect this:
- Combinations: C(n, k) = n! / (k! × (n − k)!)
- Permutations: P(n, k) = n! / (n − k)!
Here n is the total number of items and k is the number chosen. The exclamation mark denotes factorial — the product of all positive integers up to that number. For instance, 5! = 5 × 4 × 3 × 2 × 1 = 120.
How the Combination Formula Works
The combination formula counts how many ways you can choose k items from n without regard to order. It works by first counting all possible arrangements (n!) and then dividing by the number of ways the chosen items can be rearranged (k!) and the number of ways the unchosen items can be rearranged ((n − k)!). This division removes the overcounting caused by order.
Worked example: How many 5-card hands can be dealt from a standard 52-card deck? Here n = 52 and k = 5.
C(52, 5) = 52! / (5! × 47!) = (52 × 51 × 50 × 49 × 48) / (5 × 4 × 3 × 2 × 1) = 2,598,960.
So there are exactly 2,598,960 distinct 5-card poker hands. This number is well established in probability theory and is the basis for calculating poker odds.
When Order Matters: Permutations in Practice
Many real-world scenarios require counting permutations rather than combinations. A password is a permutation problem: the order of characters matters. A race finishing order is a permutation. A combination lock — despite its name — is actually a permutation lock, because 1-2-3 opens a different lock than 3-2-1.
Example: How many ways can 8 runners finish a race in the top 3 positions? This is P(8, 3) = 8! / 5! = 8 × 7 × 6 = 336. If you only cared which three runners medaled, regardless of order, it would be C(8, 3) = 56.
Combinations with Repetition
Sometimes items can be chosen more than once. The formula for combinations with repetition is C(n + k − 1, k). This counts selections where order does not matter and items can repeat.
Example: How many ways can you choose 3 scoops of ice cream from 10 flavors, allowing repeats and ignoring order? C(10 + 3 − 1, 3) = C(12, 3) = 220. Without repetition, it would be C(10, 3) = 120.
Permutations with repetition are simpler: if you have n choices for each of k positions, the count is n^k. A 4-digit PIN using digits 0–9 has 10^4 = 10,000 possible codes.
Common Misconceptions About Counting Combinations
One frequent error is assuming that doubling the number of items doubles the number of combinations. In reality, combinations grow much faster. Going from 10 items to 20 items while choosing 5 increases the count from 252 to 15,504 — more than 60 times larger.
Another misconception is that "combination" always means order does not matter. In everyday language, people often say "combination" when they mean "permutation." A safe-deposit box combination is a permutation. A pizza with pepperoni and mushrooms is a combination, because the order of toppings is irrelevant.
A third error is forgetting that the formula only applies when all items are distinct. If some items are identical, the count changes. For example, the number of distinct arrangements of the letters in "BOOK" is 4! / 2! = 12, not 24, because the two O's are indistinguishable.
Real-World Applications of Combination Counting
Combinatorics underpins many practical fields:
- Lotteries: The number of possible tickets is a combination count. A 6-from-49 lottery has C(49, 6) = 13,983,816 possible tickets.
- Genetics: The number of possible genotypes from two parents depends on combinations of alleles.
- Computer science: Algorithm complexity and password strength are analyzed with permutation counts.
- Sports scheduling: The number of possible tournament brackets is a combination problem.
- Menu design: A restaurant offering 3 sides from 8 options has C(8, 3) = 56 possible side combinations.
In each case, the key is to identify n (total items), k (items chosen), and whether order matters or repetition is allowed.
Frequently Asked Questions
How many combinations of 3 items from 10 are there?
If order does not matter and items cannot repeat, there are C(10, 3) = 120 combinations. If order matters, there are P(10, 3) = 720 permutations.
Does a combination lock use combinations or permutations?
A combination lock actually uses permutations, because the order of numbers matters. The name is a historical misnomer.
What is the difference between nCr and nPr?
nCr denotes combinations (order irrelevant) and nPr denotes permutations (order relevant). They are related by nPr = nCr × k!, where k is the number chosen.
How many possible 4-digit PINs are there?
There are 10,000 possible 4-digit PINs using digits 0–9, since each position has 10 choices and repetition is allowed: 10^4 = 10,000.
Can combinations be calculated without factorials?
Yes. The formula C(n, k) can be computed as a product of k terms divided by k!, which avoids large factorials. For example, C(52, 5) = (52 × 51 × 50 × 49 × 48) / 120.
What does "combinations with repetition" mean?
It means you can choose the same item more than once, and order does not matter. The count is C(n + k − 1, k). For instance, choosing 2 fruits from 3 types with repeats allowed gives C(4, 2) = 6 possibilities.