Definition
A combination is an unordered selection of objects. Order doesn't matter.
Combinations without Repetition
Formula
The number of ways to choose r objects from n distinct objects:
C(n,r)=(rn)=r!(n−r)!n!
Read as "n choose r" or "binomial coefficient."
Example: Choose 3 students from 10:
(310)=3!⋅7!10!=3×2×110×9×8=120
Relationship to Permutations
(rn)=r!P(n,r)
We divide by r! to remove the ordering of selected items.
Properties of Binomial Coefficients
Symmetry
(rn)=(n−rn)
Choosing r to include = choosing n−r to exclude.
Pascal's Identity
(rn)=(r−1n−1)+(rn−1)
Either include a specific element (pick r−1 more) or don't (pick all r from rest).
Sum of Row
∑r=0n(rn)=2n
Total subsets of an n-set.
Alternating Sum
∑r=0n(−1)r(rn)=0
Vandermonde's Identity
(rm+n)=∑k=0r(km)(r−kn)
Choose r from m+n by partitioning the selection.
Hockey Stick Identity
∑i=rn(ri)=(r+1n+1)
Pascal's Triangle
Each entry is the sum of two entries above it.
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
Row n contains (0n),(1n),…,(nn).
Combinations with Repetition
When items can be selected more than once (multiset selection):
Formula
Choose r items from n types (with unlimited copies):
(rn+r−1)=(n−1n+r−1)
Stars and Bars interpretation:
- r identical stars (items to choose)
- n−1 bars (dividers between types)
- Arrange r stars and n−1 bars
Example: Buy 5 donuts from 3 flavors:
(53+5−1)=(57)=21
Counting Subsets
| Type | Count |
|---|
| All subsets of n-set | 2n |
| Subsets of size exactly k | (kn) |
| Subsets of size at most k | ∑i=0k(in) |
| Subsets of size at least k | ∑i=kn(in) |
| Non-empty subsets | 2n−1 |
Distributing Objects
Distinct Objects into Distinct Boxes
Each object goes to one of k boxes:
kn
Identical Objects into Distinct Boxes
Distribute n identical balls into k boxes:
(nn+k−1)=(k−1n+k−1)
With Minimum Requirements
Each of k boxes must have at least 1:
(k−1n−1)
(Place n balls in a row, choose k−1 dividers among n−1 gaps)
Committee Problems
Basic Committee
Choose committee of k from n people: (kn)
Committee with Chair
Choose committee of k with a chair:
(kn)×k=k(kn)
Or: (1n)×(k−1n−1)=n(k−1n−1)
Committee from Groups
From 5 men and 7 women, form committee of 4 with at least 2 women:
- 2 women, 2 men: (27)(25)=21×10=210
- 3 women, 1 man: (37)(15)=35×5=175
- 4 women, 0 men: (47)(05)=35×1=35
- Total: 210+175+35=420
Lattice Paths
Paths from (0,0) to (m,n) using only right (R) and up (U) moves:
(mm+n)=(nm+n)
Choose which m of the m+n steps are rightward.
Example: Paths from (0,0) to (4,3):
(47)=35