Combinations
What You'll Learn
- 1Explain why order of selection is discarded and where that decision comes from
- 2Derive <MathBlock tex={`^{n}C_{r}`} /> from the permutation formula by dividing out internal arrangements
- 3Use the symmetry and addition identities to shorten factorial arithmetic
- 4Classify a word problem as a selection or an arrangement before computing anything
A cricket selector names three players out of a squad of ten, and the order written on the sheet changes nothing about who travels. Turn the same question around and ask how many batting orders of three are possible, and now every rearrangement counts separately. The whole subject of combinations is the arithmetic gap between those two questions: divide the arrangements by the number of ways each selected group can be reordered, and what remains is the number of pure groups.
From Arrangements to Selections
Start with the permutation count. Choosing objects from distinct objects and arranging them gives
Now take one fixed group of objects. That group can be lined up in ways, and every one of those line-ups has already been counted separately in . If denotes the number of distinct groups, then arrangements equal groups multiplied by internal orderings:
Rearranging gives the combination formula, and the factorial form follows by multiplying numerator and denominator by :
The formula carries a built-in sanity check: is a ratio of whole numbers, so it is always an integer, which is exactly the claim that you cannot count a number of groups and get a fraction.
The Identities Worth Memorising
| Identity | Statement | Why it is useful |
|---|---|---|
| Complementary counting | Turns into | |
| Empty and full choice | Anchors every row of Pascal's triangle | |
| Single object | Quick check on any computation | |
| Addition rule | Merges two hard terms into one easier term | |
| Total subsets | Counts every possible subset of a set | |
| Out of range | when is greater than | Cuts short impossible cases in recurrences |
The complementary identity has a plain reading: choosing which objects join the group is identical to choosing which objects stay behind. The subset count follows the same logic as the binomial row sum, because selecting a subset is exactly deciding object by object whether to include it, two choices repeated times.
Selecting or Arranging: The Decision Test
| Question wording | Does order matter? | Tool | Count for , |
|---|---|---|---|
| Choose a team, a committee, a squad | No | ||
| Choose captain, vice-captain, treasurer | Yes | ||
| Form words or codes from distinct digits | Yes, and repeats allowed | ||
| Distribute distinct gifts to distinct people | Yes, positions differ | style products | varies |
The reliable test is a swap. Take two of the chosen objects and exchange their positions; if the resulting situation is still the same selection, order does not matter and a combination is correct. If the swap creates a different outcome, use a permutation. Reading the question for words such as "chosen", "selected", "team" signals a combination, while "arranged", "code", "ordered", "captain and vice-captain" signals a permutation.
Four Worked Numericals
Patterns CBSE Repeats
Almost every board question on this topic falls into one of five shapes. First, a direct evaluation such as , where the symmetry identity saves several factors. Second, an equation to solve for or , where you expand the factorial, cancel, and reduce to a polynomial or a product of consecutive integers. Third, a committee problem with a condition such as "at least", "exactly" or "together", which almost always splits into a product of two smaller selections. Fourth, a proof of an identity, where you either expand both sides in factorials or invoke the addition rule. Fifth, a mixed problem that asks you to decide first whether order matters, because the wrong tool gives a plausible but wrong number. Examiners award method marks generously on the third shape, so writing the product of two combination counts before evaluating it is worth doing explicitly.
Counting Selections in Python
from itertools import combinations
from math import comb
squad = ["Amit", "Bela", "Chetan", "Divya", "Esha",
"Farah", "Gaurav", "Hina", "Iqbal", "Jaya"]
teams = list(combinations(squad, 3))
print("enumerated selections:", len(teams))
print("formula 10C3:", comb(10, 3))
assert len(teams) == comb(10, 3) == 120
print("first three teams:")
for t in teams[:3]:
print(" ", t)
from math import comb
def solve_n_for(nCr_value, r):
n = r
while True:
if comb(n, r) == nCr_value:
return n
n += 1
if n > 60:
raise ValueError("no solution within range")
print("n where nC3 = 35 ->", solve_n_for(35, 3))
# verify the complementary identity on a small table
for n in range(1, 9):
for r in range(0, n + 1):
assert comb(n, r) == comb(n, n - r)
assert sum(comb(n, r) for r in range(n + 1)) == 2 ** n
# constrained committee check: exactly 2 women from 8 men, 5 women
ways = comb(5, 2) * comb(8, 2)
print("committees with exactly two women:", ways)
Practice Set
- Evaluate and cross-check it with .
- Solve for .
- In how many ways can a committee of four be formed from eight people if order of selection is irrelevant?
- From six boys and four girls, how many teams of five contain at least one girl?
- Prove that by expanding factorials.
Common Mistakes
Using <MathBlock tex={`^{n}C_{r}`} /> when the objects have distinct roles
Fix: If positions such as captain, secretary or first speaker are named, order matters and <MathBlock tex={`^{n}P_{r}`} /> is required.
Dividing by <MathBlock tex={`r!`} /> twice
Fix: The division already happens inside <MathBlock tex={`^{n}C_{r}`} />; never apply it again after quoting the formula.
Solving <MathBlock tex={`^{n}C_{3} = 35`} /> by trial on <MathBlock tex={`n`} /> alone
Fix: Expand to <MathBlock tex={`n(n-1)(n-2) = 210`} /> first, then match the product of three consecutive integers.
Key Takeaways
- Combinations come from permutations: divide <MathBlock tex={`^{n}P_{r}`} /> by <MathBlock tex={`r!`} /> to erase the internal order of each group
- The identity <MathBlock tex={`^{n}C_{r} = ^{n}C_{n-r}`} /> converts a hard count into an easy one by counting what is left out
- The swap test decides the tool: if exchanging two chosen objects changes the outcome, order matters
- Committee conditions split into products, so exactly two women means <MathBlock tex={`^{5}C_{2} \times ^{8}C_{2}`} />