Fundamental Counting Principle
What You'll Learn
- 1Justify the multiplication rule by counting ordered pairs
- 2Tell from the wording whether a problem needs products or sums
- 3Express factorials as repeated application of the counting rule
- 4Solve mixed problems that need both rules in one line
Counting is the first operation in combinatorics and the one most often misapplied. A menu with three starters and four mains offers twelve combinations, not seven, because every starter must be paired with every main; a route choice between two roads and three rail lines offers five ways, not six, because you travel by one or the other. The multiplication rule handles staged choices and the addition rule handles alternatives, and recognising which rule a sentence demands is the entire skill. This lesson justifies both rules from first principles, ties factorials to repeated multiplication, and works five problems of the kind set in CBSE papers.
The multiplication rule and why it holds
The justification comes from counting ordered pairs. If the first stage has outcomes and the second has , every outcome of the first can be attached to every outcome of the second, giving groups of items, so pairs. The argument then iterates: having counted the first two stages as combined outcomes, attach each of them to each of the choices of the third stage. Visually the same result appears as a tree whose first level has branches, each of which sprouts children, and whose leaf count is therefore the product.
The word independent in the definition is doing real work. The rule requires that the number of options at each stage does not shrink because of an earlier choice. Choosing a shirt colour does not restrict the available sleeve lengths, so the options are independent; drawing a card without replacement does restrict the deck, so the second stage no longer has a fixed 52 choices and the naive product fails.
| Feature | Multiplication rule | Addition rule |
|---|---|---|
| Situation | stages performed one after another | alternatives, only one of which is used |
| English cue | and, then, at the same time, paired with | or, either, alternatively, but not both |
| Combined count | product of the stage counts | sum of the alternative counts |
| Requirement | each stage count fixed regardless of the others | alternatives must be mutually exclusive |
| Worked mini-example | 3 colours and 2 sizes give 6 shirts | 3 buses or 4 trains give 7 routes |
| Typical failure | adding staged choices | multiplying alternatives |
The addition rule
When a choice is made between mutually exclusive alternatives, the counts add. If route one can be taken in ways and route two, which cannot be taken at the same time, in ways, the total is . The justification is that the two sets of outcomes share no member, so their union has size equal to the sum of their sizes. If the alternatives could overlap, the intersection would be counted twice and the correct count would subtract it, which is the addition rule of probability appearing here in counting form.
The practical test is a single question: does the problem describe stages that all happen, or alternatives of which exactly one happens? Stages multiply and alternatives add. Mixed problems contain both, and the reliable way to write them is to add inside brackets before multiplying, since the alternatives belong to one stage of a larger sequence.
Factorials as repeated multiplication
The factorial
is simply the counting rule applied to arranging distinct objects in order: the first position has choices, the second has , and so on. The conventions and keep every later formula consistent, and a cancellation identity saves enormous arithmetic:
For example , because the factors from 5 downward cancel. Computing and separately would give the same answer at ten times the effort, and in an exam the cancellation is the intended route.
First two numerical problems
Two more numerical problems
How CBSE frames counting questions
One mark questions present a short product or factorial quotient and ask for the value, or ask which rule a stated situation illustrates. Three and four mark questions usually embed a restriction in one stage â the code must start with a vowel, the committee must include a particular person, the appetizer may be skipped â and expect the student to adjust that stage only before multiplying. Marks are awarded for identifying stages or alternatives explicitly, so writing the decomposition in words precedes any arithmetic in a well-marked solution. The characteristic errors are adding staged counts, multiplying alternative counts, ignoring a restriction on the first position, and computing factorials in full when cancellation was available.
Enumerating the counts in Python
The first script generates every combination of choices and compares the enumerated size with the product.
from itertools import product
from math import factorial
meals = list(product(range(1, 5), range(1, 7), range(1, 4)))
print("enumerated meals :", len(meals), " product rule:", 4 * 6 * 3)
dials = list(product(range(10), repeat=3))
print("enumerated lock :", len(dials), " product rule:", 10 ** 3)
letters = list(product("ABCDE", repeat=4))
codes = [c for c in letters if c[0] in "AE" and len(set(c)) == 4]
print("restricted codes :", len(codes), " expectation:", 2 * 4 * 3 * 2)
print("10!/8! :", factorial(10) // factorial(8))
The second script handles a mixed problem by enumerating each alternative set separately and then taking their union, which is the addition rule made visible.
from itertools import product
starters = ["s1", "s2", "s3"]
drinks = ["d1", "d2"]
pizzas = ["p1", "p2", "p3", "p4", "p5"]
pastas = ["t1", "t2", "t3", "t4"]
plans = [
(s, main, d)
for s in starters
for main in pizzas + pastas
for d in drinks
]
print("enumerated plans :", len(plans))
print("add then multiply:", len(starters) * (len(pizzas) + len(pastas)) * len(drinks))
excluded = {("s1", "p1", "d1")}
print("plans excluding one:", len(set(plans) - excluded))
Both scripts agree with the hand computation: 72 meals, 1000 lock openings, 48 restricted codes and 54 mixed meal plans.
Common Mistakes
Adding the counts of successive stages
Fix: Stages are all performed, so every choice of the first must be paired with every choice of the second: 4 starters and 6 mains give 24 pairs, not 10.
Multiplying mutually exclusive alternatives
Fix: Alternatives are used one at a time, so 3 buses or 4 trains give 7 routes; multiplying would invent routes that use both vehicles.
Expanding a factorial quotient in full
Fix: Cancel the common factorial first: 10 factorial over 8 factorial is just 10 times 9, because everything from 8 downwards cancels.
Key Takeaways
- Successive independent stages multiply because each outcome of the earlier stages pairs with every outcome of the next
- Mutually exclusive alternatives add, and the grammar of the sentence rather than the size of the numbers decides which rule applies
- A factorial counts ordered arrangements and is the multiplication rule applied one position at a time, with 0 factorial defined as one
- Mixed problems add inside brackets for the alternative stage and then multiply across the remaining stages