Sub topic 1
Counting by Steps and by Cases: The Multiplication and Addition Principles
Prerequisites
This chapter assumes you can do the following:
- Do arithmetic with integers and fractions.
- Solve a simple linear equation.
- Read a word problem slowly and pick out what is being counted.
- Understand a set as a collection of distinct items, and understand "and" versus "or" in everyday logic.
You do not need any counting formulas yet. This chapter builds the two ideas that every later formula rests on.
Why counting principles come first
GRE counting questions look different on the surface: passwords, committees, seating rows, menus, license plates. Underneath, nearly all of them reduce to two moves.
- Break the task into steps that happen one after another, and multiply the number of choices at each step.
- Break the task into cases that cannot happen together, and add the counts for each case.
Permutations and combinations are shortcuts for particular patterns of these two moves. If you understand the moves, you can rebuild a forgotten formula during the test, and you can solve problems that no formula fits.
The multiplication principle
If a task is done in a sequence of steps, and step 1 can be done in m ways, step 2 in n ways, and so on, then the whole task can be done in m × n × ... ways. This holds only when the number of options at each step does not depend on which option you chose earlier. If the number of options does change, you multiply the number of options actually available at each step. That is the version you will use most.
Worked example: an outfit
A person has 4 shirts, 3 pairs of pants, and 2 jackets. An outfit uses one of each.
- Step 1: choose a shirt, 4 ways.
- Step 2: choose pants, 3 ways.
- Step 3: choose a jacket, 2 ways.
The total is 4 × 3 × 2 = 24 outfits.
The word "and" is the signal. A shirt and pants and a jacket means multiply.
Why multiplication works
Pick one shirt. It can be paired with 3 pants, giving 3 outfits so far. Each of those can take either jacket, giving 6. That is 6 outfits per shirt. With 4 shirts, you have 4 groups of 6. Multiplication is repeated addition of equal-sized groups, and the principle works because every earlier choice leaves the same number of later options.
A tree like this is useful for small problems because you can see the structure. For large problems you just multiply the branch counts.
Choices that shrink: no repetition
Often a choice removes an option from later steps. The multiplication principle still applies. You use the number of options left at each step.
Worked example: a podium
Eight runners finish a race. In how many ways can gold, silver, and bronze be awarded?
- Gold: 8 runners are possible.
- Silver: 7 remain, since the gold winner cannot also take silver.
- Bronze: 6 remain.
The total is 8 × 7 × 6 = 336.
Compare this with a situation where repetition is allowed, such as a 3-digit code using digits 0 through 9 where digits may repeat. Each position has 10 options, so the total is 10 × 10 × 10 = 1000. Always ask: after I make a choice, is it still available?
Handling a constraint: fill the hardest position first
When one position has a restriction, count that position first. Otherwise the later counts become tangled.
Worked example: an even three-digit number
How many 3-digit numbers (100 to 999) are even and have no repeated digit?
The last digit must be even, and the first digit cannot be 0. The conflict is that 0 is an allowed last digit but not an allowed first digit. Splitting into cases removes the conflict. This is where the addition principle comes in, and we return to this problem below.
The addition principle
If a task can be done in one of several mutually exclusive ways (no outcome belongs to two cases), the total number of outcomes is the sum of the outcomes in each case.
The signal word is "or". A task done this way or that way means add.
Worked example: choosing one item
A cafe offers 5 sandwiches and 3 salads. A customer orders one lunch item, either a sandwich or a salad. The total is 5 + 3 = 8 choices.
Compare this with ordering a sandwich and a salad, which is 5 × 3 = 15. The difference between "or" and "and" is the difference between adding and multiplying.
| Situation | Signal word | Operation |
|---|---|---|
| Do step A, then step B | and, then, followed by | Multiply |
| Pick case A or case B, never both | or, either | Add |
The even-number problem, finished
Count 3-digit even numbers with no repeated digit. Split by the last digit.
Case 1: the last digit is 0.
- Last digit: 1 way (it must be 0).
- First digit: 9 ways (1 through 9).
- Middle digit: 8 ways (anything except the two digits already used, and 0 is already used).
Count: 1 × 9 × 8 = 72.
Case 2: the last digit is 2, 4, 6, or 8.
- Last digit: 4 ways.
- First digit: it cannot be 0 and cannot equal the last digit, so 10 − 2 = 8 ways.
- Middle digit: it cannot equal either used digit, so 8 ways. Zero is allowed here.
Count: 4 × 8 × 8 = 256.
The cases are mutually exclusive, since the last digit is either 0 or not 0. The total is 72 + 256 = 328.
You can verify this in code.
count = 0
for n in range(100, 1000):
s = str(n)
if n % 2 == 0 and len(set(s)) == 3:
count += 1
print(count) # 328Brute-force checking like this is not possible on the GRE, but it is an excellent way to practice. When you can make a quick program agree with your hand count, you have learned the method.
Combining both principles
Real problems use both principles together. Cases are added, and within each case the steps are multiplied. This is the pattern in the even-number problem.
Worked example: a password
A password has 3 characters. It must start with a letter (26 choices, ignoring case) and end with a digit (10 choices). The middle character is either a letter or a digit.
Split by the middle character.
- Middle is a letter: 26 × 26 × 10 = 6760.
- Middle is a digit: 26 × 10 × 10 = 2600.
The total is 6760 + 2600 = 9360.
You can also treat the middle as a single step with 36 options (26 letters plus 10 digits), which is an addition inside a multiplication: 26 × 36 × 10 = 9360. Both approaches agree. When both work, choose the one with fewer cases.
Common errors
Adding when you should multiply
If you must make both choices, multiply. A student who adds 4 shirts and 3 pants gets 7 and has counted the individual garments, not the outfits.
Multiplying when you should add
If the choices are alternatives, add. One lunch item that is a sandwich or a salad is 8 options, not 15.
Overlapping cases
The addition principle requires cases that do not overlap. Suppose a club chooses a leader who is either a senior or a student on the debate team. If some people are both, then adding the senior count and the debate count counts those people twice. The fix is inclusion-exclusion, which a later chapter develops. For now, either define the cases so they cannot overlap or subtract the overlap.
Forgetting that options shrink
When items cannot be reused, each step has fewer options. Writing 8 × 8 × 8 for the podium is the usual slip.
Hidden restrictions
Watch for first digits that cannot be zero, the requirement that an item be distinct, or a condition such as "must be even". Handle the restricted step first or split into cases around it.
Counting with a condition on the count of options
Sometimes the number of options at a later step depends on the earlier choice in a way you cannot summarize with one number. Then you cannot multiply directly. You split by the earlier choice, count each case, and add. The even-number problem is the model. Case 1 and case 2 left different numbers of options for the first digit, so a single product did not work.
Quick estimation as a check
On the GRE you should sanity-check an answer.
- The count of 3-digit numbers is 900, so 328 even numbers with distinct digits is plausible (about a half of 900 would be 450, and the distinct-digit rule trims it).
- An answer larger than the unrestricted count is always wrong. For the podium, 8 × 8 × 8 = 512 is an upper bound if repetition were allowed, so 336 is plausible and 512 is not.
- Restricting a problem can only lower the count.
Summary of the method
- Identify what one complete outcome looks like.
- Decide whether it is built in stages, in scenarios, or both.
- If a stage has a restriction, count it first or split into cases.
- Multiply within a scenario and add across scenarios.
- Check the size of the answer against a simple upper bound.
Exercise
A restaurant offers 3 appetizers, 5 main courses, and 4 desserts. A diner orders one appetizer, one main course, and either a dessert or nothing (no dessert). How many different meals are possible?
Show answer
The diner makes three choices in sequence, so multiply. Appetizer: 3 ways. Main course: 5 ways. Dessert: 4 desserts plus the option of none gives 4 + 1 = 5 ways, by the addition principle. Total: 3 × 5 × 5 = 75 meals.
Exercise
How many 3-digit numbers (100 to 999) have no repeated digit and are divisible by 5?
Show answer
A number divisible by 5 ends in 0 or 5, so split into two cases. Last digit 0: the first digit has 9 choices (1 to 9) and the middle digit has 8, giving 1 × 9 × 8 = 72. Last digit 5: the first digit cannot be 0 or 5, so it has 8 choices, and the middle digit cannot equal the first or last digit, so it has 8 choices, giving 1 × 8 × 8 = 64. The cases are mutually exclusive, so the total is 72 + 64 = 136.
Exercise
A license plate has 2 letters followed by 3 digits. Letters and digits may repeat. How many plates have a first digit that is not 0? Then, how many plates have no repeated digit at all?
Show answer
First part: letters give 26 × 26 = 676. For the digits, the first digit has 9 choices and each of the other two has 10, so 9 × 10 × 10 = 900. Total: 676 × 900 = 608,400. Second part: with no repeated digits, the digits give 10 × 9 × 8 = 720 (zero may be first here, since the question does not forbid it). Total: 676 × 720 = 486,720.