Counting Principles
Discounts, tax, tips, profit margins
Before you can calculate a probability, you need to know how many outcomes are possible. Counting principles give you systematic methods to count outcomes without listing every one. These techniques underpin probability, statistics, and discrete mathematics. In this lesson you will learn the fundamental counting principle (multiplication rule), the addition principle, tree diagrams, and how to handle restrictions and overcounting.
The Fundamental Counting Principle
The fundamental counting principle (also called the multiplication principle) states:
If one event can occur in ways and a second independent event can occur in ways, then both events together can occur in ways.
This extends naturally. If you have a sequence of events with possible outcomes:
Example 1: Restaurant Menu
A restaurant offers 4 appetizers, 6 entrees, and 3 desserts. How many different three-course meals are possible?
Example 2: License Plates
A state issues license plates with 3 letters followed by 4 digits. How many different plates are possible?
Example 3: True/False Test
A quiz has 10 true/false questions. How many ways can a student answer all questions?
Each question has 2 choices, and the choices are independent.
Tree Diagrams
A tree diagram is a visual tool for listing all possible outcomes of a sequence of events. Each branch represents a choice, and the total outcomes are the number of paths from root to leaf.
Example: Flipping a Coin Twice
Event 1: Heads or Tails (2 branches). Event 2: Heads or Tails (2 branches from each).
Outcomes: HH, HT, TH, TT — a total of .
Tree diagrams are most useful for small problems or when probabilities differ across branches. For large problems, the counting principle is faster than drawing the full tree.
Example: Choosing an Outfit
You have 3 shirts (Red, Blue, Green) and 2 pants (Khaki, Black). The tree starts with 3 branches for shirts, each splitting into 2 for pants:
Total outfits: (RK, RB, BK, BB, GK, GB).
The Addition Principle
The addition principle applies when outcomes come from mutually exclusive categories (no overlap):
If event can occur in ways and event can occur in ways, and and cannot both happen, then or can occur in ways.
Example: Choosing a Class Representative
A class with 15 boys and 12 girls needs to choose one representative. If the representative is either a boy or a girl (not both):
Multiplication vs. Addition: When to Use Which
- AND (doing one thing AND then another) → Multiply
- OR (doing one thing OR another, but not both) → Add
A combo meal offers a burger OR a sandwich (5 choices total) AND a drink (3 choices): meals. You add the burger and sandwich counts within their category and multiply across categories.
Factorial Notation
The factorial of a positive integer is the product of all positive integers up to :
Important values:
| 0 | 1 |
| 1 | 1 |
| 2 | 2 |
| 3 | 6 |
| 4 | 24 |
| 5 | 120 |
| 6 | 720 |
| 7 | 5,040 |
| 10 | 3,628,800 |
Why does ? By convention and for consistency: requires , so .
Counting Arrangements with Factorials
How many ways can 5 books be arranged on a shelf?
The first position has 5 choices, the second has 4, and so on:
Counting with Restrictions
Real counting problems often have constraints. The strategy is to count what is allowed directly or use the complement (total minus forbidden).
Example: No Repetition Allowed
How many 3-letter “words” can be formed from the letters A, B, C, D, E if no letter is repeated?
The first position has 5 choices. After using one letter, the second has 4. After two letters are used, the third has 3.
Example: Digits with a Restriction
How many 4-digit numbers (1000 to 9999) have no repeated digits?
- First digit: 9 choices (1 through 9 — cannot be 0)
- Second digit: 9 choices (0 through 9 minus the first digit)
- Third digit: 8 choices
- Fourth digit: 7 choices
Example: Complement Method
How many 3-letter “words” from A through Z contain at least one vowel (A, E, I, O, U)?
Direct counting would require cases (exactly 1 vowel, exactly 2, all 3). The complement is easier.
Total 3-letter words:
Words with no vowels (only 21 consonants):
Words with at least one vowel:
Overcounting
Overcounting occurs when different counting paths lead to the same outcome. This is a key idea that motivates combinations.
Example: Choosing a Committee
How many ways can you choose 2 people from Alice, Bob, and Carol for a committee?
If you list ordered pairs: (Alice, Bob), (Bob, Alice), (Alice, Carol), (Carol, Alice), (Bob, Carol), (Carol, Bob) — that is .
But (Alice, Bob) and (Bob, Alice) are the same committee. Every committee was counted twice (once for each order). Correct count:
Dividing by the number of rearrangements is exactly what combinations do. You will formalize this in the next lesson.
Real-World Application: Retail Inventory
A clothing store sells T-shirts that come in 5 sizes (XS, S, M, L, XL), 8 colors, and 3 styles (crew neck, V-neck, henley). The store wants to stock one of each combination.
If the store adds a 4th style, the inventory jumps to — a 33 percent increase from one additional style option. The counting principle helps businesses forecast inventory needs.
Common Mistakes
- Adding when you should multiply (and vice versa). “AND” → multiply. “OR” → add.
- Forgetting restrictions on the first position. When forming numbers, the leading digit usually cannot be 0.
- Double-counting. When counting committees, teams, or sets, order does not matter — divide out the duplicates.
- Confusing “with repetition” and “without repetition.” A lock code 1-1-1 allows repetition; a committee with distinct members does not.
Practice Problems
Problem 1: A password has 2 letters (A-Z) followed by 3 digits (0-9). How many possible passwords are there?
Problem 2: How many ways can 7 people line up in a row?
Problem 3: How many 3-digit even numbers have no repeated digits?
For a 3-digit even number, the last digit must be even: 0, 2, 4, 6, or 8.
Case 1: Last digit is 0 — First digit: 9 choices (1-9), second: 8 choices. Total: .
Case 2: Last digit is 2, 4, 6, or 8 — First digit: 8 choices (1-9 minus the last digit), second: 8 choices (0-9 minus both used). Total per case: . Four cases: .
Total: .
Problem 4: A committee of 1 president and 1 treasurer is chosen from 10 people. How many ways?
Order matters (president and treasurer are different roles).
President: 10 choices. Treasurer: 9 choices (different person).
Problem 5: How many bit strings of length 8 have at least one 1?
Total 8-bit strings:
Strings with no 1 (all zeros):
At least one 1:
Key Takeaways
- The fundamental counting principle multiplies the number of choices across sequential independent events
- The addition principle adds the number of choices across mutually exclusive categories
- Tree diagrams visualize outcomes for small, sequential problems
- Factorials () count the number of ways to arrange distinct objects in order
- For problems with restrictions, either count directly with the constraint or use the complement (total minus forbidden)
- Overcounting happens when different orderings produce the same outcome — divide by the number of rearrangements
Return to College Algebra for more topics in this section.
Next Up in College Algebra
All College Algebra topicsLast updated: March 29, 2026