Consider 4 boxes, where each box contains 3 red balls and 2 blue balls. Assume that all 20 balls are distinct. In how many different ways can 10 balls be chosen from these 4 boxes so that from each box at least one red ball and one blue ball are chosen?
Solution :
The correct answer is 21816.
We have 4 boxes, each with 3 red and 2 blue balls (all distinct). We must choose 10 balls total, with at least 1 red and 1 blue from each box.
Step 1: Determine possible ball distributions across boxes.
Let = number of balls chosen from box
, with each (need at least 1 red + 1 blue) and each .
Let , so , where .
The only distributions of 2 among 4 boxes are:
Step 2: Count ways for a box with exactly 2 balls chosen.
Must pick exactly 1 red (from 3) and 1 blue (from 2):
Step 3: Count ways for a box with exactly 3 balls chosen (at least 1 red, 1 blue).
Total ways to choose 3 from 5:
Subtract invalid cases (0 blue, i.e., all 3 red from only 3 red balls):
(0 red is impossible since we'd need 3 blue but only 2 exist.)
Valid ways:
Step 4: Count ways for a box with exactly 4 balls chosen (at least 1 red, 1 blue).
Total ways to choose 4 from 5:
Invalid cases: 0 blue would require 4 red, but only 3 exist. 0 red would require 4 blue, but only 2 exist. Both are impossible.
Valid ways:
Step 5: Compute Case 1 — distribution (4, 2, 2, 2).
Choose which box gets 4 balls: ways.
Ways =
Step 6: Compute Case 2 — distribution (3, 3, 2, 2).
Choose which 2 boxes get 3 balls: ways.
Ways =
Step 7: Total count.
Therefore, the number of ways to choose 10 balls with at least one red and one blue from each box is 21816.
Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.
Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.
Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.
A comprehensive JEE Advanced 2022 Paper 1 designed to help aspirants understand the examination pattern, difficulty level, and question trends of JEE Advanced. This paper covers important concepts from Physics, Chemistry, and Mathematics, featuring a balanced mix of conceptual, numerical, and advanced application-based questions. It helps students strengthen conceptual understanding, enhance analytical and problem-solving skills, and improve speed and accuracy. Ideal for practice, revision, self-assessment, previous year trend analysis, concept reinforcement, and time management, this paper is a valuable resource for effective JEE Advanced preparation.
A comprehensive JEE Advanced 2022 Paper 2 designed to help aspirants understand the examination pattern, difficulty level, and question trends of JEE Advanced. This paper covers important concepts from Physics, Chemistry, and Mathematics, featuring a balanced mix of conceptual, numerical, and advanced application-based questions. It helps students strengthen conceptual understanding, enhance analytical and problem-solving skills, and improve speed and accuracy. Ideal for practice, revision, self-assessment, previous year trend analysis, concept reinforcement, and time management, this paper is a valuable resource for effective JEE Advanced preparation.
Copyright © 2026 Combe Labs Private Limited. All Rights Reserved.