Fundamental Principle of Counting & Factorial Algebra
Combinatorics begins with the art of systematic enumeration without listing all possibilities. At the bedrock of all combinatorial theory lies the Fundamental Principle of Counting (FPC), comprising the Multiplication Rule for sequential actions and the Addition Rule for disjoint alternatives. In this module, we examine these twin principles, develop tree-diagram models, master factorial arithmetic, and solve constrained digit and word formation problems.
1. The Twin Pillars of Systematic Counting
A. The Multiplication Principle (The 'AND' Rule)
If an event can occur in m different ways, following which a second independent event can occur in n different ways, then the total number of ways of occurrence of the two events in the given order is:
Generalization to k stages: If a job consists of k successive sub-tasks where task 1 can be done in n₁ ways, task 2 in n₂ ways, ..., and task k in nₖ ways, the total number of composite ways is:
B. The Addition Principle (The 'OR' Rule)
If an event can be accomplished either by doing operation 1 in m ways or by doing operation 2 in n ways, where both operations are mutually exclusive (disjoint) and cannot occur simultaneously, then the event can be accomplished in:
Set-Theoretic Analogy: The addition rule corresponds to the cardinality of the union of disjoint sets: |A ∪ B| = |A| + |B| when A ∩ B = ∅.
2. Factorial Notation and Algebraic Identities
The product of the first n natural numbers is called n factorial, denoted by n! or ∠n.
Fundamental Factorial Properties:
- Recurrence Relation:
n! = n × (n − 1)! = n(n − 1)(n − 2)! - Definition of Zero Factorial: Setting n = 1 in the recurrence gives
1! = 1 × 0! ⇒ 0! = 1. - Negative Factorials: Factorials of negative integers and non-integers are undefined in elementary algebra (diverge to infinity via the Gamma function Γ(n+1)).
- Legendre's Formula (Prime Exponent in n!): The highest exponent of a prime p dividing n! is given by:
E_p(n!) = [n / p] + [n / p²] + [n / p³] + ... + [n / p^k]where [x] denotes the greatest integer function (floor function).
3. Solved Practice Examples (JEE Main & Advanced Patterns)
(a) Digits can be repeated?
(b) No digit can be repeated?
A number is even if and only if its units digit is even. Available even digits: {2, 4, 6} (3 options).
Case (a): Repetition Allowed:
- Units place: 3 ways ({2, 4, 6}).
- Tens place: 6 ways (any of {1, 2, 3, 4, 5, 6}).
- Hundreds place: 6 ways (any of {1, 2, 3, 4, 5, 6}).
- Total numbers = 6 × 6 × 3 = 108 numbers.
Case (b): Repetition NOT Allowed:
- Units place must be filled first: 3 choices ({2, 4, 6}).
- Tens place: 5 remaining digits available.
- Hundreds place: 4 remaining digits available.
- Total numbers = 4 × 5 × 3 = 60 numbers.
For a 4-digit number to exceed 3000, its thousands digit must be chosen from {3, 4, 5} (3 choices).
- Thousands place: 3 choices ({3, 4, 5}).
- Hundreds place: Out of 6 digits, 1 is used in thousands place, leaving 5 choices (including 0).
- Tens place: 4 remaining choices.
- Units place: 3 remaining choices.
- Total numbers = 3 × 5 × 4 × 3 = 180 numbers.
Verification: Since 3000 requires digits 3, 0, 0, 0 (repetition), and we formed all numbers without repetition, every single formed number with leading digit 3, 4, or 5 is strictly greater than 3000. Hence, answer = 180.
A trailing zero is produced by a factor of 10 = 2 × 5. In 100!, prime factors of 2 are far more abundant than prime factors of 5. Hence, the number of trailing zeros equals the exponent of prime 5 in 100!, computed via Legendre's Formula:
E_5(100!) = [100 / 5] + [100 / 25] + [100 / 125] + ...
E_5(100!) = 20 + 4 + 0 = 24.
Thus, 100! ends with exactly 24 trailing zeros.
Using the recurrence relation: (n + 2)! = (n + 2)(n + 1) n!.
Substitute into the equation:
(n + 2)(n + 1) n! = 42 n!
Since n! ≠ 0, divide both sides by n!:
(n + 2)(n + 1) = 42
n² + 3n + 2 = 42 ⇒ n² + 3n − 40 = 0
Factoring: (n + 8)(n − 5) = 0
Since n must be a positive integer (n ∈ N), n = -8 is rejected.
Therefore, n = 5.
Frequently Asked Questions (Class 11 & JEE Prep)
More practice problems
Try each problem yourself first, then open the solution to check your working.
Problem 1. How many 4-digit numbers with all digits different are divisible by 5?
Show answer
A number is divisible by 5 when its units digit is 0 or 5. Split into two cases.
Units digit 0: the thousands, hundreds and tens places take the remaining 9 digits in order without repetition: 9 × 8 × 7 = 504.
Units digit 5: the thousands place cannot be 0 or 5, so it has 8 choices; the hundreds place has 8 choices (0 is now allowed, 2 digits used); the tens place has 7: 8 × 8 × 7 = 448.
The cases are mutually exclusive, so the total is 504 + 448 = 952.
Answer: 952.
Problem 2. Find the number of positive divisors of 360 and how many of them are odd.
Show answer
Prime factorisation: 360 = 23 × 32 × 51.
Each divisor is 2a 3b 5c with a ∈ {0, 1, 2, 3}, b ∈ {0, 1, 2}, c ∈ {0, 1}. By the multiplication principle the number of divisors is 4 × 3 × 2 = 24.
A divisor is odd only when a = 0, which leaves 1 × 3 × 2 = 6 choices.
Answer: 24 divisors, of which 6 are odd.
Saved on this device only — no account, no sign-in.