Q.From a class of 25 students, 10 are to be chosen for an excursion party. There are 3 students who decide that either all of them will join or none of them will join. In how many ways can the excursion party be chosen?
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Counting Principle
The Counting Principle: From Intuition to Precision
Imagine you're ordering a pizza. You have two choices for crust — thin or thick — and three choices for topping — cheese, pepperoni, or mushroom. How many different pizzas can you make?
You could list them all: thin-cheese, thin-pepperoni, thin-mushroom, thick-cheese, thick-pepperoni, thick-mushroom. That's 6 pizzas.
Notice something: 2 crusts × 3 toppings = 6 total combinations. That's the Counting Principle in action.
The Intuition
The Counting Principle answers one simple question: If I make a sequence of choices, how many possible outcomes are there?
Think of it as building a path. At each step, you have a certain number of options. The total number of complete paths is just the product of the number of options at each step.
Why multiplication? Because for each choice at step 1, you can pair it with every choice at step 2, and so on. It's like a tree that branches out — the number of leaves at the end is the product of the number of branches at each level.
The Counting Principle is also called the Fundamental Principle of Counting or the Multiplication Principle. It's the foundation of all combinatorics.
The Precise Statement
If an event can occur in m ways, and for each of these, a second event can occur in n ways, then the two events together can occur in m×n ways.
More generally: If you have k steps, and step i has ni possible choices, then the total number of outcomes is:
n1×n2×n3×⋯×nk
Key Conditions
The principle works only when choices at different steps are independent — meaning the number of options at one step does not depend on what you chose earlier.
If choices are dependent (e.g., picking two people from a group without replacement), you cannot simply multiply the raw numbers. You must adjust for the dependency. That's where permutations and combinations come in later.
Examples to Lock It In
Example 1: Outfits
You have 4 shirts, 3 pants, and 2 pairs of shoes. How many outfits?
4×3×2=24
Example 2: License Plates
A plate has 3 letters followed by 3 digits. Letters can repeat, digits can repeat.
26×26×26×10×10×10=17,576,000
Example 3: Multiple-Choice Test
A test has 5 questions, each with 4 options. How many answer patterns?
4×4×4×4×4=45=1024
A Common Mistake …
Concept: Counting Principle — treat the 3 particular students as a single block when they all join, then handle the two disjoint cases.
Step 1 – Case 1: All 3 join.
If all 3 are in the party, we need 10−3=7 more students from the remaining 25−3=22 students.
Number of ways: (722).
Step 2 – Case 2: None of the 3 join.
Then we choose all 10 from the other 22 students.
Number of ways: (1022). …
The key idea is to treat the three particular students as a single block that either joins together or stays out entirely. This splits the problem into two disjoint cases, and the total number of ways is the sum of the two cases: (722)+(1022)=170544+646646=817190.
When a problem says "either all of them will join or none of them will join," it’s a classic signal to use the block method — a direct application of the Fundamental Counting Principle. The three students are inseparable in the sense that they act as one unit when they choose to go. But they also have the freedom to stay home together. So we have two completely separate scenarios, and we add the counts because they are mutually exclusive.
Let’s break it down.
-
Case 1: All three join.
If all three are in the party, we have already chosen 3 out of the required 10. The remaining 10−3=7 spots must be filled from the other 25−3=22 students.
The number of ways to choose these 7 is simply (722).
-
Case 2: None of the three join.
Here, the three students are completely out. So we need to choose all 10 members from the remaining 22 students.
The number of ways is (1022).
-
Total ways.
Since the two cases cannot happen at the same time (the three students either all go or all stay), we add the counts:
Total=(722)+(1022).
- Compute the values. (722)=7×6×5×4×3×2×122×21×20×19×18×17×16=170544. …
- COMEDK 2026Set 2026-M1 markMCQQ.In how many ways can the squares of a 4×2 grid ( 4 rows and 2 columns) be filled with the letters of the word 'SPHERE' such that each row contains at least one letter? (A) 17280 (B) 9360 (C) 10080 (D) 8640
›Reveal solutionSolution
We count the number of ways to place the 6 distinct letters of SPHERE into a 4×2 grid (8 cells) so that each row gets at least one letter, using inclusion–exclusion to subtract arrangements where some row is empty. The answer is 8640, option (D).
Concept & Intuition
We have 6 distinct letters (S, P, H, E, R, E — note the two E’s are identical? Wait: the word SPHERE has two E’s, so the letters are not all distinct. That’s the key twist. We must treat the multiset: S, P, H, E, E, R. So we are arranging these 6 items into 8 cells, leaving 2 cells empty. The grid has 4 rows, each with 2 cells. The condition “each row contains at least one letter” means no row is completely empty. We count the number of injective assignments of the 6 letters (with identical E’s) to 6 of the 8 cells, then divide by the permutations of the identical E’s. A direct count is messy; inclusion–exclusion over rows is cleaner.
Step-by-step
- Total arrangements without row restrictions Choose any 6 of the 8 cells to place the letters: (68) ways. Then assign the 6 letters to those chosen cells, accounting for the two identical E’s. The number of distinct sequences of the 6 letters is 2!6!=360. So total unrestricted arrangements:
(68)×360=28×360=10080.
- Apply inclusion–exclusion over rows Let Ai be the set of arrangements where row i is empty (no letter in that row). We want arrangements with no empty row:
N=total−∣A1∪A2∪A3∪A4∣.
- Count ∣Ai∣ (one specific row empty) If row i is empty, its 2 cells are forbidden. We have only 6 remaining cells (the other 3 rows). We must place all 6 letters into those 6 cells — so we must use every cell. Number of ways: choose which 6 cells? There’s no choice — they are exactly the 6 cells of the other 3 rows. So just arrange the 6 letters into those 6 cells: 2!6!=360. There are (14)=4 such rows, so: ∑∣Ai∣=4×360=1440. …
- KCET 2026Set UNKNOWN1 markMCQQ.If A={1,2,3,4,…,10}, then the number of non empty subsets of A containing only even number is (A) 31 (B) 82 (C) 30 (D) 29
›Reveal solutionSolution
Isolate the even numbers in A, then count the non-empty subsets of that smaller set.
Step 1 — Identify the even elements
A={1,2,3,…,10}. The even numbers in A are {2,4,6,8,10}, which has 5 elements.
Step 2 — Count subsets containing only even numbers …
- COMEDK 2025Set 2025-A1 markMCQQ.On each working day of a school there are six periods. The number of ways in which five subjects are arranged if each subject is allotted at least one period and no period remains vacant is (A) 360 (B) 1800 (C) 120 (D) 210
›Reveal solutionSolution
The problem asks for the number of ways to assign 5 distinct subjects to 6 distinct periods, with each subject used at least once (so one subject appears twice). This is equivalent to counting surjective functions from 6 periods to 5 subjects, which gives 1800 ways. The correct option is (B).
Concept and Intuition
We have 6 distinct periods (positions) and 5 distinct subjects (labels). Each period gets exactly one subject, but each subject must appear at least once. That means one subject will appear twice, and the other four subjects appear exactly once. This is a classic “surjective function” counting problem: mapping 6 labeled items onto 5 labeled boxes with no box empty. The direct formula uses Stirling numbers of the second kind and permutations, but we can reason combinatorially.
Step-by-step reasoning
-
Identify the pattern
Since there are 6 periods and 5 subjects, and no period is vacant, the only way to satisfy “each subject at least once” is that exactly one subject is used twice, and the other four subjects are used once each. So we are choosing which subject gets the extra period.
-
Choose the subject that appears twice
There are 5 choices for the subject that will occupy two periods.
Reasoning: This subject will be repeated; the rest appear exactly once.
-
Arrange the 6 periods with this multiset
After choosing the repeated subject, we have a multiset of 6 items: one subject appears twice, the other four appear once. The number of distinct sequences (assignments of subjects to the 6 ordered periods) is the number of permutations of these 6 items, accounting for the repetition.
That number is 2!6!=360.
Why divide by 2!? Because the two identical copies of the repeated subject are indistinguishable in the sequence.
-
Combine the choices …
-
- COMEDK 2025Set 2025-E1 markMCQQ.How many natural numbers are there between 100 and 1000 such that at least one of their digits is 6? (A) 243 (B) 251 (C) 252 (D) 258
›Reveal solutionSolution
Count numbers from 100 to 999 (inclusive) with at least one digit 6 by using complementary counting: total numbers minus those with no digit 6. The result is 252, so the correct option is (C).
Concept and Intuition
When a problem asks for “at least one” of something, it’s often easier to count the opposite — numbers that have none of that digit — and subtract from the total. Here, “natural numbers between 100 and 1000” means three-digit numbers from 100 to 999 inclusive. We want those with at least one digit equal to 6. Instead of listing all possibilities (which is messy because the 6 could be in the hundreds, tens, or units place, and could appear more than once), we count all three-digit numbers, then subtract those that avoid the digit 6 entirely.
Step-by-step solution
-
Total three-digit numbers from 100 to 999
The smallest is 100, the largest is 999.
Total count = 999−100+1=900.
-
Count numbers with no digit 6
For a three-digit number abc (where a is the hundreds digit, b the tens, c the units), we need each digit to be from the set {0,1,2,3,4,5,7,8,9} — that’s 9 possible digits, but with a restriction on the hundreds place.
- Hundreds digit a: Cannot be 0 (otherwise it’s not a three-digit number) and cannot be 6. So allowed digits: 1,2,3,4,5,7,8,9 → 8 choices.
- Tens digit b: Can be any digit except 6, including 0. So allowed: 0,1,2,3,4,5,7,8,9 → 9 choices.
- Units digit c: Same as tens → 9 choices.
Total numbers with no digit 6 = 8×9×9=648. …
-
- COMEDK 2025Set 2025-M1 markMCQQ.Codes used for vehicle identification consists of two distinct English alphabets followed by two distinct digits from 1 to 9 . How many of them end with an even number. (A) 10400 (B) 2600 (C) 20800 (D) 5200
›Reveal solutionSolution
We count codes of the form (letter1)(letter2)(digit1)(digit2) with distinct letters (26 choices each) and distinct digits 1–9, where the last digit is even. The total is 26×25×9×4=23,400, but the options are smaller — so we must re-read: the digits are from 1 to 9 (no 0), and "two distinct digits" means the first digit is also chosen from 1–9, distinct from the last. The correct count is 26×25×8×4=20,800, matching option (C).
Concept & Intuition
This is a counting problem with restrictions (distinctness and a condition on the last digit). The key is to break the selection into independent steps, applying the multiplication principle, but carefully handling the order of choices to avoid overcounting or missing restrictions. A classic pitfall is forgetting that the first digit must also be distinct from the last digit, and that digits come only from 1–9 (no 0). We'll choose the last digit first because it has the special condition (even), then choose the first digit, then the two letters.
Step-by-step solution
-
Choose the last digit (the even digit)
Digits available: 1, 2, 3, 4, 5, 6, 7, 8, 9.
Even digits among these: 2, 4, 6, 8 → 4 choices.
So the last digit can be any of these 4.
-
Choose the first digit
The first digit must be from 1–9, but distinct from the last digit.
Since we already used one digit for the last position, we have 9−1=8 choices for the first digit.
-
Choose the two letters
There are 26 English alphabets. The two letters must be distinct.
- Choose the first letter: 26 choices.
- Choose the second letter: 25 choices (any letter except the first). Order matters because the code is (letter1)(letter2) — so we do not divide by 2. …
-
- COMEDK 2025Set 2025-M1 markMCQQ.A shopkeeper sells three varieties of fruit juice. He has a large number of bottles of same size of each variety. The number of different ways of displaying all the three varieties on the shelf with 5 places in a row and each display must have at least one bottle of each variety is (A) 150 (B) 120 (C) 60 (D) 90
›Reveal solutionSolution
The problem asks for the number of arrangements of 5 bottles (three varieties, each used at least once) in a row. The key is to count the surjective functions from 5 positions to 3 varieties, which is 35−(13)25+(23)15=150. The correct option is (A).
Concept and Intuition
We have 5 distinct positions on a shelf, and we want to fill them with bottles of three varieties (say A, B, C). Each position gets one bottle, and we must use all three varieties at least once. This is a classic "onto" or "surjective" counting problem: the number of functions from a 5-element set (positions) to a 3-element set (varieties) that hit every element of the codomain. The total number of unrestricted assignments is 35, but we must subtract those that miss at least one variety. Inclusion–exclusion handles this cleanly.
Step-by-step solution
- Total assignments without restriction Each of the 5 positions can be filled with any of the 3 varieties. So the total number of ways is
35=243.
- Subtract assignments that miss at least one variety
Let A1 be the set of arrangements that miss variety 1 (i.e., use only varieties 2 and 3). Similarly A2 and A3 for missing variety 2 or variety 3.
- For a specific missing variety, say variety 1, we have only 2 choices per position, so ∣A1∣=25=32.
- There are (13)=3 such sets, so the first subtraction gives
243−3×32=243−96=147.
- Add back assignments that miss two varieties
If two varieties are missing, only one variety remains. For example, missing varieties 1 and 2 means all bottles are variety 3: exactly 1 way.
- The number of ways to miss two specific varieties is 15=1.
- There are (23)=3 such pairs, so we add back 147+3×1=150.…
- COMEDK 2024Set 2024-A1 markMCQQ.The number of four digit numbers strictly greater than 4321 formed using the digits 0,1,2,3,4,5 with repetition of digit is (A) 274 (B) 310 (C) 312 (D) 292
›Reveal solutionSolution
We count all 4‑digit numbers > 4321 using digits 0–5 with repetition by splitting into cases based on the first digit (thousands place) and then handling the boundary case where the first digit is 4. The total is 310, so the correct option is (B).
Concept & Intuition
When a problem asks for numbers “greater than” a given number with digit repetition allowed, the natural approach is to count by place value from left to right.
- If the first digit is already larger than the first digit of 4321, then any choice for the remaining three digits works (because the number is already bigger).
- If the first digit equals the first digit of 4321, we must look at the second digit, and so on. This is a classic lexicographic counting method. The pitfall is forgetting that the first digit cannot be 0 (otherwise it’s not a 4‑digit number).
We have digits {0,1,2,3,4,5} and need numbers > 4321.
Step‑by‑step solution
-
Count numbers with first digit > 4
The first digit can be 5 only (since digits >4 from the set are just 5).
- Thousands place: 1 choice (5).
- Hundreds, tens, units: each can be any of the 6 digits (0–5). So count = 1×6×6×6=216.
-
Count numbers with first digit = 4
Now the number starts with 4, so we need the remaining three digits to make the whole number > 4321.
We compare digit by digit:
-
Case A: Second digit > 3
Possible second digits: 4 or 5 (since digits >3 from {0..5} are 4,5).
For each such choice, the last two digits can be anything (0–5).
Count = 2×6×6=72.
-
Case B: Second digit = 3
Now the number starts 43…, so we need the third digit > 2.
Possible third digits: 3,4,5 (digits >2 from {0..5}).
For each, the last digit can be anything (0–5).
Count = 1×3×6=18.
-
Case C: Second digit = 3 and third digit = 2 …
-
- COMEDK 2023Set 2023-E1 markMCQQ.How many factors of 25×36×52 are perfect squares? (A) 16 (B) 24 (C) 12 (D) 22
›Reveal solutionSolution
A perfect-square factor of 25⋅36⋅52 has even exponents: 3×4×2=24 choices.
A factor 2a3b5c is a perfect square iff a,b,c are all even, with 0≤a≤5, 0≤b≤6, 0≤c≤2:
- a∈{0,2,4} — 3 choices, …
- COMEDK 2023Set 2023-E1 markMCQQ.Let X and Y be the set of all positive divisors of 400 and 1000 respectively (including 1 and the number). Then n(X∩Y) is equal to (A) 12 (B) 10 (C) 8 (D) 6
›Reveal solutionSolution
Common divisors of 400 and 1000 are the divisors of gcd(400,1000)=200, and 200 has 12 divisors.
A number divides both 400 and 1000 iff it divides gcd(400,1000).
400=24⋅52,1000=23⋅53 ⇒ gcd=23⋅52=200. …
- COMEDK 2023Set 2023-M1 markMCQQ.The total number of numbers greater than 1000 but less than 4000 that can be formed using 0, 2, 3, 4 (using repetition allowed) are (A) 125 (B) 105 (C) 128 (D) 625
›Reveal solutionSolution
Leading digit must be 2 or 3; the remaining three digits each have 4 choices, giving 2⋅43=128.
We need 4-digit numbers strictly between 1000 and 4000 formed from {0,2,3,4} with repetition allowed. …
- COMEDK 2021Set 2021-B1 markMCQQ.The number of ways to divide 16 different objects into 3 boxes A, B and C such that B gets 1 more than A, and C gets 2 more than B is (A) 4!5!7!16! (B) 4⋅5⋅716! (C) 16!4!5!7! (D) 16!−4!5!7!
›Reveal solutionSolution
The number of ways is 4!5!7!16!.
Let A receive a objects. Then B=a+1 and C=B+2=a+3. Total: a+(a+1)+(a+3)=16⇒3a=12⇒a=4, so the split is A=4, B=5, C=7. …
- COMEDK 2021Set 2021-B1 markMCQQ.The number of all natural numbers less than 1000, which have none of their digits repeated is (A) 819 (B) 738 (C) 504 (D) 648
›Reveal solutionSolution
9+81+648=738 numbers below 1000 with no repeated digit.
1-digit (1–9): 9 numbers.
2-digit: first digit 1–9 (9 choices), second digit any of 0–9 except the first (9 choices): 9×9=81. …
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.