Skip to main content
Back to Permutations & Combinations
JEE Main 2023
Permutations & Combinations
Permutations and Combinations
Medium

Question

The number of ways of giving 20 distinct oranges to 3 children such that each child gets at least one orange is ___________.

Answer: 3

Solution

Key Concepts and Formulas

  • Inclusion-Exclusion Principle: For sets A1,A2,,AnA_1, A_2, \dots, A_n, A1A2An=i=1nAi1i<jnAiAj+1i<j<knAiAjAk+(1)n1A1A2An|A_1 \cup A_2 \cup \dots \cup A_n| = \sum_{i=1}^n |A_i| - \sum_{1 \le i < j \le n} |A_i \cap A_j| + \sum_{1 \le i < j < k \le n} |A_i \cap A_j \cap A_k| - \dots + (-1)^{n-1} |A_1 \cap A_2 \cap \dots \cap A_n|
  • Distributing distinct objects into distinct boxes: The number of ways to distribute nn distinct objects into kk distinct boxes is knk^n.
  • Complementary Counting: The number of ways to have an event occur is the total number of possibilities minus the number of ways the event does not occur.

Step-by-Step Solution

Step 1: Define the Universal Set and the Sets of Interest

We want to distribute 20 distinct oranges to 3 distinct children such that each child gets at least one orange. Let UU be the set of all possible ways to distribute the oranges without any restrictions. Let AiA_i be the set of distributions where child ii receives no oranges, for i=1,2,3i = 1, 2, 3. We want to find UA1A2A3|U| - |A_1 \cup A_2 \cup A_3|.

Step 2: Calculate the Size of the Universal Set U|U|

Each of the 20 distinct oranges can be given to any of the 3 children. Since the oranges are distinct, we have 3 choices for each orange. Therefore, the total number of ways to distribute the oranges without any restrictions is: U=320|U| = 3^{20}

Step 3: Calculate the Size of the Union A1A2A3|A_1 \cup A_2 \cup A_3| using the Inclusion-Exclusion Principle

We want to find the number of ways where at least one child receives no oranges. Using the Inclusion-Exclusion Principle: A1A2A3=A1+A2+A3A1A2A1A3A2A3+A1A2A3|A_1 \cup A_2 \cup A_3| = |A_1| + |A_2| + |A_3| - |A_1 \cap A_2| - |A_1 \cap A_3| - |A_2 \cap A_3| + |A_1 \cap A_2 \cap A_3|

Step 4: Calculate A1+A2+A3|A_1| + |A_2| + |A_3|

A1|A_1| is the number of ways where child 1 receives no oranges. This means each of the 20 oranges can only go to child 2 or child 3. So, A1=220|A_1| = 2^{20}. Similarly, A2=220|A_2| = 2^{20} and A3=220|A_3| = 2^{20}. Therefore, A1+A2+A3=3220|A_1| + |A_2| + |A_3| = 3 \cdot 2^{20}

Step 5: Calculate A1A2+A1A3+A2A3|A_1 \cap A_2| + |A_1 \cap A_3| + |A_2 \cap A_3|

A1A2|A_1 \cap A_2| is the number of ways where child 1 and child 2 receive no oranges. This means each of the 20 oranges must go to child 3. So, A1A2=120=1|A_1 \cap A_2| = 1^{20} = 1. Similarly, A1A3=1|A_1 \cap A_3| = 1 and A2A3=1|A_2 \cap A_3| = 1. Therefore, A1A2+A1A3+A2A3=31=3|A_1 \cap A_2| + |A_1 \cap A_3| + |A_2 \cap A_3| = 3 \cdot 1 = 3

Step 6: Calculate A1A2A3|A_1 \cap A_2 \cap A_3|

A1A2A3|A_1 \cap A_2 \cap A_3| is the number of ways where all three children receive no oranges. Since we have 20 oranges to distribute, this is impossible. Thus, A1A2A3=0|A_1 \cap A_2 \cap A_3| = 0.

Step 7: Substitute the Values into the Inclusion-Exclusion Formula

A1A2A3=32203+0=32203|A_1 \cup A_2 \cup A_3| = 3 \cdot 2^{20} - 3 + 0 = 3 \cdot 2^{20} - 3

Step 8: Calculate the Final Answer

The number of ways to distribute the oranges such that each child gets at least one orange is: UA1A2A3=320(32203)=3203220+3|U| - |A_1 \cup A_2 \cup A_3| = 3^{20} - (3 \cdot 2^{20} - 3) = 3^{20} - 3 \cdot 2^{20} + 3

Common Mistakes & Tips

  • Remember to use the Inclusion-Exclusion Principle when dealing with "at least" or "at most" type problems.
  • Carefully consider whether the objects and recipients are distinct or identical. In this case, both are distinct.
  • Don't forget the alternating signs in the Inclusion-Exclusion formula.

Summary

We used the Inclusion-Exclusion Principle to find the number of ways to distribute 20 distinct oranges to 3 distinct children such that each child receives at least one orange. We first calculated the total number of ways to distribute the oranges without any restrictions and then subtracted the number of ways where at least one child receives no orange. This gave us the final answer: 3203220+33^{20} - 3 \cdot 2^{20} + 3.

The final answer is \boxed{3^{20} - 3 \cdot 2^{20} + 3}. This corresponds to option (3).

Practice More Permutations & Combinations Questions

View All Questions