Counting Principles and Combinatorics
Master the fundamental counting techniques: multiplication rule, permutations, and combinations. Essential for probability calculations.
On This Page
Why Counting Matters in Statistics
Many probability problems boil down to counting:
- How many possible outcomes exist?
- How many of those outcomes are “favorable”?
This lesson teaches systematic ways to count outcomes when listing them all isn’t practical.
The Fundamental Counting Principle
If task 1 can be done in ways, task 2 in ways, …, and task in ways, then all tasks together can be done in:
A license plate has 3 letters followed by 4 digits.
- Letters: 26 choices each
- Digits: 10 choices each
Total plates = = = 175,760,000 possible plates
A combo meal offers:
- 5 appetizers
- 8 main courses
- 4 desserts
- 3 drinks
Total combinations = = 480 different combos
Factorials
The factorial of n (written n!) is the product of all positive integers from 1 to n.
| n | n! |
|---|---|
| 0 | 1 (by definition) |
| 1 | 1 |
| 2 | 2 |
| 3 | 6 |
| 4 | 24 |
| 5 | 120 |
| 6 | 720 |
| 7 | 5,040 |
| 8 | 40,320 |
| 9 | 362,880 |
| 10 | 3,628,800 |
How many ways can you arrange 6 different books on a shelf?
- Position 1: 6 choices
- Position 2: 5 choices (one book used)
- Position 3: 4 choices
- …
- Position 6: 1 choice
Total = 720 arrangements
Permutations
A permutation is an ordered arrangement of objects. Order matters!
Permutations of n Different Objects
Permutations of r Objects from n (Without Replacement)
Also written as: or
10 runners compete. How many ways can gold, silver, and bronze be awarded?
We’re selecting 3 from 10, and order matters (1st, 2nd, 3rd are different).
How many 4-digit PINs can be formed if digits cannot repeat?
Compare: With repetition allowed, there would be PINs.
Permutations with Repetition
When some objects are identical:
Where are the counts of identical items.
How many distinct arrangements of the letters in “STATISTICS”?
Total letters: 10
- S appears 3 times
- T appears 3 times
- A appears 1 time
- I appears 2 times
- C appears 1 time
Combinations
A combination is a selection where order doesn’t matter.
Also written as: or “n choose r”
How many ways can a 3-person committee be formed from 10 people?
Order doesn’t matter—the set containing Amy, Ben, and Chris is the same committee regardless of selection order.
Comparison: When to Use Which
| Scenario | Order Matters? | Formula |
|---|---|---|
| Arranging all items | Yes | |
| Selecting r from n, order matters | Yes | |
| Selecting r from n, order doesn’t matter | No | |
| Arrangements with repetition | Yes |
From 5 people (A, B, C, D, E), select 2.
If selecting president and VP (order matters): P(5,2) = 5 × 4 = 20 Pairs: AB, BA, AC, CA, AD, DA, AE, EA, BC, CB, BD, DB, BE, EB, CD, DC, CE, EC, DE, ED
If selecting a 2-person team (order doesn’t matter): C(5,2) = (5 × 4) / (2 × 1) = 10 Teams: AB, AC, AD, AE, BC, BD, BE, CD, CE, DE
Properties of Combinations
Symmetry Property
Choosing 3 people to include is the same as choosing 7 people to exclude!
Pascal’s Identity
Sum of All Combinations
How many subsets does a set of 4 elements have?
Applying Counting to Probability
What’s the probability of a full house in 5-card poker?
A full house = 3 of one rank + 2 of another
Favorable outcomes:
- Choose the rank for three-of-a-kind:
- Choose 3 suits from that rank:
- Choose the rank for the pair:
- Choose 2 suits from that rank:
Favorable =
Total 5-card hands:
Probability:
A lottery draws 6 numbers from 1-49. You pick 6 numbers. What’s the probability of winning?
Total outcomes:
Favorable (your exact 6): 1
That’s about 1 in 14 million!
Common Counting Mistakes
Complement Counting
For “at least one” problems, it’s often easier to count the complement.
Roll a die 4 times. P(at least one 6)?
Direct approach: Count all ways to get 1, 2, 3, or 4 sixes… messy!
Complement approach:
Summary
In this lesson, you learned:
- Fundamental Counting Principle: Multiply choices at each stage
- Factorial:
- Permutations: Ordered arrangements;
- Combinations: Unordered selections;
- Key question: Does order matter?
- Complement counting: “At least one” problems
Practice Problems
1. How many 3-letter “words” can be made from ABCDE if: a) Letters can repeat b) Letters cannot repeat
2. A committee of 4 must be chosen from 7 men and 5 women. How many committees have: a) Exactly 2 women b) At least 1 woman
3. How many distinct arrangements are there of the letters in “MISSISSIPPI”?
4. From a deck of 52 cards, what’s the probability of being dealt: a) 5 cards all of the same suit (flush, not counting straight flush) b) Exactly 3 aces in a 5-card hand
Click to see answers
1. a) With repetition: 125 b) Without repetition: 60
2. a) Exactly 2 women: 210 b) At least 1 woman = Total - All men 460
3. MISSISSIPPI has 11 letters: M(1), I(4), S(4), P(2)
4. a) Flush: Choose suit , then 5 from that suit flushes (includes straight flushes) 0.198%
b) Exactly 3 aces: 0.174%
Next Steps
Continue building your probability foundation:
- Conditional Probability - When events depend on each other
- Discrete Distributions - Binomial, Poisson, and more
- Probability Calculator - Practice probability calculations
Was this lesson helpful?
Help us improve by sharing your feedback or spreading the word.