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?
Correct Answer :
21816
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.
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.