Sigma Percentile
JEE Advanced 2012
LEVELJEE Main

Animated Solution for Mathematics - Permutations and Combinations: The total number of ways in which 5 balls of different colours can be distributed among 3 persons so that each person gets at least one ball is

Select Answer:

Visualized Solution

Visualizing the Distribution

  • We have distinct balls of different colors and distinct persons.
  • Constraint: Each person must receive at least one ball (no person is left empty).
  • This is mathematically equivalent to finding the number of onto functions from a set of elements to a set of elements.

Total Unrestricted Ways

  • Let's first calculate the total number of ways to distribute the balls without any restrictions.
  • Each of the balls has exactly choices: it can go to Person 1, Person 2, or Person 3.
  • By the multiplication rule, the total ways are:

Calculating

  • Let's compute the value of :
  • Note: This total of includes invalid cases where one or more persons receive zero balls.

The Inclusion-Exclusion Strategy

  • To ensure no person is left empty, we use the Principle of Inclusion-Exclusion (PIE).
  • Let be the total unrestricted ways.
  • Let be the sum of ways where at least one person is empty.
  • Let be the sum of ways where at least two persons are empty.
  • Formula:

Case: At least one person empty ()

  • First, choose person to be empty: ways.
  • The remaining balls must be distributed among the remaining people.
  • Each ball now has only choices, so there are ways.

Calculating

Case: At least two persons empty ()

  • Choose people to be empty: ways.
  • The remaining balls must be distributed among the remaining person.
  • Each ball has only choice, so there are ways.

Calculating

Final Computation - Part 1

  • Now, substitute our values back into the PIE formula:
  • First, let's subtract:

Final Computation - Part 2

  • Now, add :
  • Final Answer: (Option 1)

Key Takeaway & Summary

  • Stirling Numbers of the Second Kind:
  • The number of ways to partition distinct items into non-empty groups is .
  • Since the groups (persons) are distinct, we multiply by :

The Sigma Insight: Combinations and Selection

Solution Diagram

The Art of Distribution

A Combinatorial Journey
Welcome, fellow explorer of the mathematical universe! Today, we are tackling a classic problem that sits at the heart of combinatorics: distributing distinct items into distinct containers with a strict constraint.
Imagine you have vibrant, distinct balls—perhaps red, blue, green, yellow, and purple—and you want to share them among friends. The catch? Every single friend must receive at least one ball. No one can be left empty-handed.

Phase 1

The Unrestricted Universe
Before we worry about the constraint, let's imagine a world where anything goes. If we ignore the 'at least one' rule, how many ways can we distribute these balls?
Each ball is an independent agent. The red ball has choices (Friend 1, 2, or 3). The blue ball also has choices, and so on for all balls.
By the fundamental multiplication principle, the total number of ways is:
This is our 'unrestricted universe.' It contains every possible outcome, including the 'bad' ones where someone gets nothing.

Phase 2

The Inclusion-Exclusion Strategy
Now, we must prune our universe. We need to remove the scenarios where at least one person is empty. This is where the Principle of Inclusion-Exclusion (PIE) becomes our best friend.
We start with our total, . We want to subtract the cases where at least one person is empty. Let be the number of ways where at least one person is empty.
To find , we choose one person to be empty in ways. The remaining balls must then be distributed among the remaining people. Each ball now has only choices, so there are ways.
But wait! By subtracting , we have over-subtracted. Specifically, the cases where two people are empty were subtracted twice (once for each empty person). We must add these back.
Let be the number of ways where at least two people are empty. We choose people to be empty in ways. The remaining balls must all go to the one remaining person, which is way.
Our final formula is:

Phase 3

The Elegant Conclusion
Putting it all together: . First, . Then, adding back the gives us .
It is a beautiful, clean result. We have successfully navigated the constraints and found the exact number of valid distributions.
Remember, whenever you face a problem with 'at least one' constraints, let PIE be your guiding light. And for those who love patterns, remember that this is also , where is the Stirling number of the second kind. Keep practicing, keep visualizing, and most importantly, keep falling in love with the logic behind the numbers!

Similar Questions

JEE Advanced 1981
LEVELJEE Main

Five balls of different colours are to be placed in there boxes of different size. Each box can hold all five. In how many different ways can we place the balls so that no box remains empty ?

JEE Main 2023 (06 April Shift 1)
LEVELJEE Main

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

JEE Main 2004
LEVELJEE Main

The number of ways of distributing 8 identical balls in 3 distinct boxes so that none of the boxes is empty is

(A)
^8C_3
(B)
21
(C)
3^8
(D)
5
JEE Advanced 1986
LEVELJEE Main

A box contains two white balls, three black balls and four red balls. In how many ways can three balls be drawn from the box if at least one black ball is to be included in the draw?

JEE Main 2012
LEVELBoard

Assuming the balls to be identical except for difference in colours, the number of ways in which one or more balls can be selected from 10 white, 9 green and 7 black balls is :

(A)
880
(B)
629
(C)
630
(D)
879
JEE Main 2026 (23 January Shift 2)
LEVELJEE Main

The number of ways, in which 16 oranges can be distributed to four children such that each child gets at least one orange, is

(A)
455
(B)
429
(C)
403
(D)
484
JEE Main 2024 (31 Jan Shift 2)
LEVELJEE Main

The number of ways in which 21 identical apples can be distributed among three children such that each child gets at least 2 apples, is

(A)
406
(B)
130
(C)
142
(D)
136
JEE Main 2020 - 8 Jan (Morning)
LEVELJEE Main

An urn contains 5 red marbles, 4 black marbles and 3 white marbles. Then the number of ways in which 4 marbles can be drawn so that at the most three of them are red is ....

JEE Main 2020 (8 January Shift 1)
LEVELJEE Main

An urn contains 5 red marbles, 4 black marbles and 3 white marbles. Then the number of ways in which 4 marbles can be drawn so that at most three of them are red is __________.

JEE Main 2023 (25 January Shift 2)
LEVELJEE Main

Suppose Anil's mother wants to give 5 whole fruits to Anil from a basket of 7 red apples, 5 white apples and 8 oranges. If in the selected 5 fruits, at least 2 orange, at least one red apple and at least one white apple must be given, then the number of ways, Anil's mother can offer 5 fruits to Anil is ____.