Math Lab
Home/Class XI/Ch 6/Fundamental principle of counting

Fundamental principle of counting

Before any formula, before any factorial, the entire subject of combinatorics rests on one statement: the multiplication principle. Get this right, and every later formula falls into place.

The two basic principles

Multiplication principle (FPC)

Statement. If a task can be performed in two independent stages , the first in mm ways, the second in nn ways , then the whole task can be performed in mnm \cdot n ways.

More generally, if a task consists of kk stages with n1,n2,,nkn_1, n_2, \dots, n_k choices independently at each stage, the total number of ways is n1n2nk.n_1 \cdot n_2 \cdot \cdots \cdot n_k.

Addition principle

Statement. If a task can be done in mm ways or in nn ways (the two collections being disjoint , no overlap), then the task can be done in m+nm + n ways.

Multiplication is for sequential choices: do this and then that. Addition is for exclusive alternatives: either this or that, but not both at once.

When to multiply vs add

A typical pitfall: deciding which principle applies.

  • "Choose a shirt and then a pant": multiplication (both are chosen).
  • "Choose either a shirt or a pant (not both)": addition.
  • "Form a 33-letter code from 2626 letters with repetition allowed": multiplication, 26262626 \cdot 26 \cdot 26.
  • "How many integers between 11 and 10001000 are multiples of 22 or 33?": addition (with inclusion–exclusion to handle overlap).

Worked examples

Example 1. A boy has 44 shirts and 55 pants. In how many ways can he dress?

Independent stages: choose shirt (4 ways), then choose pant (5 ways). Total: 45=204 \cdot 5 = 20 ways.

Example 2. How many 44-digit numbers can be formed using digits 1,2,3,4,51, 2, 3, 4, 5 (a) with repetition? (b) without repetition?

(a) Each of 44 positions independently chosen: 54=6255^4 = 625.

(b) First position: 55 choices. Second: 44 (no repetition). Third: 33. Fourth: 22. Total: 5432=1205 \cdot 4 \cdot 3 \cdot 2 = 120.

Example 3. How many 44-letter codes can be formed from the letters A,B,C,D,E,FA, B, C, D, E, F if (a) no letter is repeated, (b) the first letter is a vowel?

(a) 6543=3606 \cdot 5 \cdot 4 \cdot 3 = 360.

(b) Vowels in the set: only A,EA, E, so 22 choices for the first position. The remaining three positions: 543=605 \cdot 4 \cdot 3 = 60 (no repetition). Total: 260=1202 \cdot 60 = 120.

Example 4. Five people are to stand in a row. In how many ways can this be done if two particular people, AA and BB, always stand together?

Treat {A,B}\{A, B\} as a single block. Now there are 44 units to arrange: 4!=244! = 24 ways. Within the block, AA and BB can be in 2!2! orders: 22. Total: 242=4824 \cdot 2 = 48.

Example 5 (harder). Find the number of 55-digit numbers (no leading zero) using only digits 0,1,2,3,4,50, 1, 2, 3, 4, 5 if no digit is repeated.

First digit: cannot be 00. So 55 choices (from {1,2,3,4,5}\{1, 2, 3, 4, 5\}). Remaining four positions: from the remaining 55 digits (including 00 now, since we used one of 1155). So 5432=1205 \cdot 4 \cdot 3 \cdot 2 = 120.

Total: 5120=6005 \cdot 120 = 600.

Try it yourself

  1. A coin is tossed 55 times. How many possible outcomes?
  2. How many 33-letter words (any sequence) can be formed from 2626 English letters with repetition allowed?
  3. From a list of 77 books, in how many ways can a top-3 (in order) be selected?
  4. A car number plate consists of two letters followed by three digits. How many distinct plates are possible if letters/digits can repeat?
  5. In a class of 2525, in how many ways can a captain and a vice-captain be chosen (one person to each role)?
  6. How many even 33-digit numbers can be formed from 1,2,3,4,51, 2, 3, 4, 5 with no repetition?
  7. There are 44 paths from XX to YY and 33 from YY to ZZ. How many routes go XYZX \to Y \to Z?
  8. How many integers from 11 to 999999 have at least one digit equal to 00? (Complement counting.)
  9. How many four-letter words can be made from the letters A,B,C,DA, B, C, D if (a) repetition is allowed, (b) not allowed?
  10. In how many ways can 55 books be put on a shelf in a row, all five used?
  11. From a group of 44 boys and 33 girls, a committee of 22 boys and 11 girl is to be formed. How many ways? (Multiplication of independent choices.)
  12. How many 44-digit numbers use digits 0099 (with no leading zero), with no other restriction (repetition allowed)?

Pitfalls / Tricks

  • "And" usually means multiply; "or" with disjoint cases usually means add.
  • For "no repetition", the count at each step decreases by one.
  • The first digit of a number can never be zero , separate it out.
  • Insight. Before computing, write down each independent stage of the task with its number of options. Then multiply. This staged approach makes nine out of ten problems easy.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Fundamental principle
6 questions · pick the best answer
Q1

Q2

Q3

Q4

Q5

Q6