Combinations
What You’ll Learn
Section titled “What You’ll Learn”In this lesson you’ll learn what a combination is, how to compute the binomial coefficient, how to tell combination problems from permutation problems, the symmetry and identities that make computation easier, Pascal’s triangle, and the binomial theorem.
The stacked bracket notation is worth a closer look, because the missing fraction bar is the whole point:
And the summation symbol reads as an instruction. This one says “add up for every from 0 to ”:
The letter below is the counter, the number below is where it starts, and the number on top is where it stops.
The Concept
Section titled “The Concept”A combination is a selection of objects where order does not matter.
Picking Ana, Ben, and Carla for a committee is the same selection as picking Carla, Ana, and Ben. One committee, not six.
The formula
Section titled “The formula”The number of ways to choose items from distinct items, order irrelevant:
The notation is read ” choose ” and is called the binomial coefficient. You’ll also see .
Where the formula comes from. Start with permutations, , which counts ordered selections. Every unordered selection of items got counted times, once for each internal ordering. So divide it out:
That relationship is worth remembering on its own:
Permutations are combinations times the arrangements of what you picked.
Permutation or combination?
Section titled “Permutation or combination?”One question decides it: would swapping two of my selected items produce a different outcome?
| Situation | Order matters? | Use |
|---|---|---|
| President, VP, Treasurer | Yes, roles differ | Permutation |
| A 3-person committee | No, it’s just a group | Combination |
| A 4-digit PIN | Yes | Permutation-style |
| A 5-card poker hand | No | Combination |
| Gold, silver, bronze | Yes | Permutation |
| 3 pizza toppings | No | Combination |
Helpful vocabulary cues. “Arrange,” “order,” “rank,” “schedule,” and “line up” point to permutations. “Choose,” “select,” “committee,” “group,” “team,” “subset,” and “hand” point to combinations.
Computing it efficiently
Section titled “Computing it efficiently”Don’t expand large factorials. Cancel first.
Take descending terms on top starting at , and on the bottom.
Symmetry
Section titled “Symmetry”Choosing 3 of 10 to include is the same as choosing 7 of 10 to exclude. Every selection pairs with exactly one rejection.
Always use the smaller value of . It’s much less arithmetic.
Useful identities
Section titled “Useful identities”That last one is the power set result again. Adding up the subsets of every size gives the total number of subsets.
Pascal’s identity:
Why it’s true, with no algebra: pick a specific element . Every -subset either contains or doesn’t. The ones containing need more from the remaining . The ones without need all from the remaining . Add the two disjoint cases.
Pascal’s triangle
Section titled “Pascal’s triangle”Start with 1 at the top. Each entry is the sum of the two above it, which is Pascal’s identity in visual form.
Row (counting from 0) holds through . So row 4 is 1, 4, 6, 4, 1, meaning a 4-element set has 1 subset of size 0, 4 of size 1, 6 of size 2, 4 of size 3, and 1 of size 4. Total 16, which is .
The symmetry of each row is the identity showing up as left-right mirroring.
The binomial theorem
Section titled “The binomial theorem”The coefficients of an expanded binomial are the binomial coefficients, which is where the name comes from.
Those coefficients, 1, 4, 6, 4, 1, are row 4 of Pascal’s triangle.
Why: expanding means picking either or from each of factors. To get the term you choose which factors contribute a , and there are ways to do that.
Worked Examples
Section titled “Worked Examples”Example 1: Basic combination.
A team of 4 is chosen from 9 applicants. How many teams are possible?
Solution. Order doesn’t matter:
Example 2: Poker hands.
How many 5-card hands can be dealt from a 52-card deck?
Solution. A hand is unordered:
Example 3: Combination with constraints.
A committee of 5 must be chosen from 7 women and 6 men. How many committees have exactly 3 women and 2 men?
Solution. Two independent selections, so choose each and multiply:
The pattern is worth internalizing: combinations within groups, multiplication across groups.
Example 4: “At least” with combinations.
Same 7 women and 6 men, committee of 5. How many committees have at least 3 women?
Solution. Break into disjoint cases and add.
- Exactly 3 women, 2 men:
- Exactly 4 women, 1 man:
- Exactly 5 women, 0 men:
Complement would also work here, but with only three cases going direct is comparable.
Example 5: Permutation versus combination side by side.
From 8 people:
(a) How many ways to choose a 3-person subcommittee? (b) How many ways to choose a chair, a secretary, and a treasurer?
Solution.
(a)
(b)
The ratio is exactly , because each unordered group of 3 can be assigned to the three distinct roles in 6 ways.
Example 6: Binomial theorem.
Find the coefficient of in .
Solution. Here and (the exponent on ):
The coefficient is 56.
Example 7: A binomial with coefficients.
Find the coefficient of in .
Solution. The general term is
For we need , so :
The coefficient is 1,080. Don’t forget to raise the constants inside the parentheses to their powers too.
Real-World Applications
Section titled “Real-World Applications”Lottery odds are pure combinations. A 6-from-49 draw has possible tickets, so a single ticket has about a 1 in 14 million chance. Order of the drawn numbers doesn’t matter, which is exactly why this is a combination.
Probability rests on this. Every “what are the chances of exactly 3 heads in 10 flips” question is divided by . The binomial distribution is named for these coefficients.
Clinical trials and A/B testing use combinations to count how many ways subjects can be split into groups, which underpins significance calculations.
In computing, combinations count how many ways to pick features from for a model, or servers from a cluster for a quorum. They also appear in the analysis of algorithms that examine all pairs or all triples of inputs, since pairs is why those algorithms are quadratic.
Sports brackets, seating charts, dominoes ( plus 7 doubles for a standard set), and network topology all count with these formulas.
Retrying will remove your ✅ checkmark until you pass again.