Sigma Percentile
JEE Advanced 1981
LEVELJEE Main

Animated Solution for Mathematics - Permutations and Combinations: 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 ?

Enter Numerical Value:

Visualized Solution

  • Given: distinct balls and distinct boxes.
  • Constraint: No box remains empty.
  • Goal: Find the total number of ways to distribute the balls.

  • To ensure no box is empty, we must divide balls into non-empty groups.
  • Let the group sizes be such that .
  • The only possible positive integer combinations are Case 1: and Case 2: .

  • Divide distinct balls into groups of sizes .
  • Number of ways to select balls:
  • Note: We divide by because two groups have the identical size of , avoiding overcounting.

  • Ways to form groups =
  • Ways to form groups =

  • Distribute these distinct groups into distinct boxes.
  • Number of ways to distribute =
  • Total ways for Case 1 =

  • Divide distinct balls into groups of sizes .
  • Number of ways to select balls:
  • Again, divide by because two groups have the identical size of .

  • Ways to form groups =
  • Ways to form groups =

  • Distribute these distinct groups into distinct boxes.
  • Number of ways to distribute =
  • Total ways for Case 2 =

  • Total Ways = Ways from Case 1 + Ways from Case 2
  • Total Ways =
  • Total Ways =

The Sigma Insight: Combinations and Selection

Solution Diagram

The Art of Distribution

Solving the Partition Puzzle
Welcome, future engineer! Today, we are diving into a classic problem that separates the casual student from the master of combinatorics. We have distinct balls and distinct boxes.
The constraint is simple yet powerful: no box can remain empty. This is not just a counting problem; it is a test of your ability to organize chaos into structure.

Phase 1

The Philosophy of Partitioning
When you see a problem like this, do not rush to write down formulas. Instead, visualize the process. We have distinct balls to place into boxes.
If we just threw them in, we would have possibilities, but that includes scenarios where boxes are empty. To satisfy our constraint, we must first partition our balls into non-empty groups.
The only ways to write as a sum of positive integers are:
1. 2.
These are our two distinct scenarios. Let us tackle them one by one.

Phase 2

Case 1 - The Split
Imagine we decide to put balls in one group and ball in each of the other two groups. We select balls from in ways, then from the remaining in ways, and the last ball in ways.
However, here lies the trap: the two groups of size are identical in size. If we simply multiply , we overcount because the order of these two groups does not matter. We must divide by to correct this.
The number of ways to form the groups is:
We have ways to form these groups. Since the boxes are distinct, we must multiply by (which is ) to distribute these groups into the boxes. Thus, for Case 1, we have ways.

Phase 3

Case 2 - The Split
Now, let us look at the second possibility: two groups of size and one group of size . We select balls from in ways, then balls from the remaining in ways, and the last ball in ways.
Again, we see two groups of the same size (). We must divide by to avoid overcounting the identical groups.
We have ways to form these groups. Just like before, we distribute these groups into distinct boxes in ways. So, for Case 2, we have ways.

Phase 4

The Final Assembly
We have navigated the two possible worlds. Now, we simply bring them together. The total number of ways to distribute the balls such that no box is empty is the sum of our two cases:
There you have it! By breaking the problem into logical partitions and carefully handling the overcounting of identical group sizes, we have arrived at the solution.
Remember, combinatorics is not about memorizing formulas; it is about telling the story of how the objects are arranged. Keep practicing this level of logical rigor, and you will find that even the most complex JEE problems become a beautiful, solvable puzzle.

Similar Questions

JEE Advanced 2012
LEVELJEE Main

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

(A)
75
(B)
150
(C)
210
(D)
243
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 Advanced 2022
LEVELJEE Main

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?

(A)
21816
(B)
85536
(C)
12096
(D)
156816
JEE Main 2022 (27 June Shift 1)
LEVELJEE Main

The number of ways, 16 identical cubes, of which 11 are blue and rest are red, can be placed in a row so that between any two red cubes there should be at least 2 blue cubes, is ______.

JEE Main 2024 (29 Jan Shift 2)
LEVELJEE Main

Number of ways of arranging 8 identical books into 4 identical shelves where any number of shelves may remain empty is equal to

(A)
18
(B)
16
(C)
12
(D)
15
JEE Advanced 1978
LEVELJEE Main

Six X's have to be placed in the squares of figure below in such a way that each row contains at least one X. In how many different ways can this be done.

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 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 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