JEE Exam  >  JEE Questions  >  Five balls of different colours are to be pla... Start Learning for Free
Five balls of different colours are to be placed in three boxes of different sizes. Each box can hold all five balls. Find the number of ways in which we can place the balls in the boxes so that no box remains empty.
  • a)
    a
  • b)
    b
  • c)
    c
  • d)
    d
Correct answer is '150'. Can you explain this answer?
Verified Answer
Five balls of different colours are to be placed in three boxes of dif...
View all questions of this test
Most Upvoted Answer
Five balls of different colours are to be placed in three boxes of dif...
Solution:

To find the number of ways in which we can place the balls in the boxes so that no box remains empty, we will use the principle of inclusion-exclusion.

Let's denote the number of ways in which we can place the balls in the boxes as N. Then, we can write:

N = Total number of ways - Number of ways in which one box is empty + Number of ways in which two boxes are empty - Number of ways in which all three boxes are empty

Total number of ways:

The first ball can be placed in any of the three boxes. Similarly, the second ball can also be placed in any of the three boxes. Continuing this way, we can place all five balls in any of the three boxes. Therefore, the total number of ways is:

3 x 3 x 3 x 3 x 3 = 3^5 = 243

Number of ways in which one box is empty:

There are three ways in which one box can remain empty. Let's assume that box 1 is empty. Then, we can place the five balls in the remaining two boxes in 2^5 = 32 ways. Similarly, we can assume that box 2 or box 3 is empty and find the number of ways. Therefore, the number of ways in which one box is empty is:

3 x 32 = 96

Number of ways in which two boxes are empty:

There are three ways in which we can choose two boxes out of three. Let's assume that boxes 1 and 2 are empty. Then, we can place the five balls in the remaining box in 1 way. Similarly, we can assume different pairs of boxes and find the number of ways. Therefore, the number of ways in which two boxes are empty is:

3 x 1 + 3 x 1 + 3 x 1 = 9

Number of ways in which all three boxes are empty:

There is only 1 way in which all three boxes can remain empty.

Therefore, using the principle of inclusion-exclusion, we can find the number of ways in which we can place the balls in the boxes so that no box remains empty as:

N = 243 - 96 + 9 - 1 = 155

However, the question asks for the number of ways in which we can place the balls in the boxes so that no box remains empty and not the number of ways in which we can place the balls in the boxes with no restrictions. Therefore, we need to subtract the number of ways in which we can place the balls in the boxes with no restrictions but with at least one box empty, which is 3 x 2^4 = 48.

Therefore, the number of ways in which we can place the balls in the boxes so that no box remains empty is:

155 - 48 = 107

Answer: (d) 107.
Explore Courses for JEE exam
Five balls of different colours are to be placed in three boxes of different sizes. Each box can hold all five balls. Find the number of ways in which we can place the balls in the boxes so that no box remains empty.a)ab)bc)cd)dCorrect answer is '150'. Can you explain this answer?
Question Description
Five balls of different colours are to be placed in three boxes of different sizes. Each box can hold all five balls. Find the number of ways in which we can place the balls in the boxes so that no box remains empty.a)ab)bc)cd)dCorrect answer is '150'. Can you explain this answer? for JEE 2024 is part of JEE preparation. The Question and answers have been prepared according to the JEE exam syllabus. Information about Five balls of different colours are to be placed in three boxes of different sizes. Each box can hold all five balls. Find the number of ways in which we can place the balls in the boxes so that no box remains empty.a)ab)bc)cd)dCorrect answer is '150'. Can you explain this answer? covers all topics & solutions for JEE 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Five balls of different colours are to be placed in three boxes of different sizes. Each box can hold all five balls. Find the number of ways in which we can place the balls in the boxes so that no box remains empty.a)ab)bc)cd)dCorrect answer is '150'. Can you explain this answer?.
Solutions for Five balls of different colours are to be placed in three boxes of different sizes. Each box can hold all five balls. Find the number of ways in which we can place the balls in the boxes so that no box remains empty.a)ab)bc)cd)dCorrect answer is '150'. Can you explain this answer? in English & in Hindi are available as part of our courses for JEE. Download more important topics, notes, lectures and mock test series for JEE Exam by signing up for free.
Here you can find the meaning of Five balls of different colours are to be placed in three boxes of different sizes. Each box can hold all five balls. Find the number of ways in which we can place the balls in the boxes so that no box remains empty.a)ab)bc)cd)dCorrect answer is '150'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Five balls of different colours are to be placed in three boxes of different sizes. Each box can hold all five balls. Find the number of ways in which we can place the balls in the boxes so that no box remains empty.a)ab)bc)cd)dCorrect answer is '150'. Can you explain this answer?, a detailed solution for Five balls of different colours are to be placed in three boxes of different sizes. Each box can hold all five balls. Find the number of ways in which we can place the balls in the boxes so that no box remains empty.a)ab)bc)cd)dCorrect answer is '150'. Can you explain this answer? has been provided alongside types of Five balls of different colours are to be placed in three boxes of different sizes. Each box can hold all five balls. Find the number of ways in which we can place the balls in the boxes so that no box remains empty.a)ab)bc)cd)dCorrect answer is '150'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Five balls of different colours are to be placed in three boxes of different sizes. Each box can hold all five balls. Find the number of ways in which we can place the balls in the boxes so that no box remains empty.a)ab)bc)cd)dCorrect answer is '150'. Can you explain this answer? tests, examples and also practice JEE tests.
Explore Courses for JEE exam

Top Courses for JEE

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev