
Find the number of ways in which 5 red balls, 4 balls of different sizes can be arranged in a row so that: -
(a) no two balls of the same colour come together.
(b) the balls of the same colour come together.
Answer
519.9k+ views
Hint: Consider the part (a) of the question and arrange all the red balls first with a space for a black ball between each of the two red balls. Arrange these red balls and among themselves using the relation $5!$ and blacks balls among themselves using the relation $4!$ to get the answer. Now, consider the part (b) of the question and arrange all the red balls side to each other with no space between them. In the next step arrange all the black balls together either at the place before these red balls or after them. Find the possible arrangements by arranging black balls among themselves and red balls among themselves to get the answer.
Complete step by step solution:
Here we have been provided with 5 red balls and 4 black balls and we are asked to find the possible arrangements possible in the given two conditions. Let us check them one by one.
(a) Here we have to make the arrangements such that two balls of the same colour may not come together. So arranging the red balls first at five places we get,
R _ R _ R _ R _ R
Now, to get the condition fulfilled we have to arrange 4 black balls at each of the four places vacant between each of the two red balls. So we get the arrangement as: -
R B R B R B R B R
Since the size of all the black balls and red balls are different, we can arrange the red balls among themselves and similarly the red balls among themselves.
$\Rightarrow $ Number of ways to arrange 5 red balls at 5 places = $5!$
$\Rightarrow $ Number of ways to arrange 4 black balls at 4 places = $4!$
Therefore total number of arrangements possible = $5!\times 4!=2880$
(b) Here we have to make the arrangements such that all the balls of the same colour come together. So arranging the red balls first at five places with no space between them we get,
R R R R R
Now, to get the condition fulfilled we have to arrange all the 4 black balls together either before the black balls or after them. So we get the arrangement as: -
R R R R R B B B B or B B B B R R R R R
Here also we can arrange the red balls among themselves and similarly the red balls among themselves.
$\Rightarrow $ Number of ways to arrange 5 red balls at 5 places = $5!$
$\Rightarrow $ Number of ways to arrange 4 black balls at 4 places = $4!$
Therefore total number of arrangements possible = $2\times 5!\times 4!=5760$
Note: Note that in part (b) of the solution we have multiplied $5!\times 4!$ with 2 in the end. This is because there were two possible arrangements of the groups of red balls and black balls either of these groups can be at the before or after the other, so mathematically it is equal to the relation ${}^{2}{{C}_{1}}$, i.e. the combination formula ${}^{n}{{C}_{r}}=\dfrac{n!}{r!\left( n-r \right)!}$.
Complete step by step solution:
Here we have been provided with 5 red balls and 4 black balls and we are asked to find the possible arrangements possible in the given two conditions. Let us check them one by one.
(a) Here we have to make the arrangements such that two balls of the same colour may not come together. So arranging the red balls first at five places we get,
R _ R _ R _ R _ R
Now, to get the condition fulfilled we have to arrange 4 black balls at each of the four places vacant between each of the two red balls. So we get the arrangement as: -
R B R B R B R B R
Since the size of all the black balls and red balls are different, we can arrange the red balls among themselves and similarly the red balls among themselves.
$\Rightarrow $ Number of ways to arrange 5 red balls at 5 places = $5!$
$\Rightarrow $ Number of ways to arrange 4 black balls at 4 places = $4!$
Therefore total number of arrangements possible = $5!\times 4!=2880$
(b) Here we have to make the arrangements such that all the balls of the same colour come together. So arranging the red balls first at five places with no space between them we get,
R R R R R
Now, to get the condition fulfilled we have to arrange all the 4 black balls together either before the black balls or after them. So we get the arrangement as: -
R R R R R B B B B or B B B B R R R R R
Here also we can arrange the red balls among themselves and similarly the red balls among themselves.
$\Rightarrow $ Number of ways to arrange 5 red balls at 5 places = $5!$
$\Rightarrow $ Number of ways to arrange 4 black balls at 4 places = $4!$
Therefore total number of arrangements possible = $2\times 5!\times 4!=5760$
Note: Note that in part (b) of the solution we have multiplied $5!\times 4!$ with 2 in the end. This is because there were two possible arrangements of the groups of red balls and black balls either of these groups can be at the before or after the other, so mathematically it is equal to the relation ${}^{2}{{C}_{1}}$, i.e. the combination formula ${}^{n}{{C}_{r}}=\dfrac{n!}{r!\left( n-r \right)!}$.
Recently Updated Pages
A man running at a speed 5 ms is viewed in the side class 12 physics CBSE

The number of solutions in x in 02pi for which sqrt class 12 maths CBSE

State and explain Hardy Weinbergs Principle class 12 biology CBSE

Write any two methods of preparation of phenol Give class 12 chemistry CBSE

Which of the following statements is wrong a Amnion class 12 biology CBSE

Differentiate between action potential and resting class 12 biology CBSE

Trending doubts
What are the major means of transport Explain each class 12 social science CBSE

Which are the Top 10 Largest Countries of the World?

Draw a labelled sketch of the human eye class 12 physics CBSE

Explain sex determination in humans with line diag class 12 biology CBSE

Explain sex determination in humans with the help of class 12 biology CBSE

Differentiate between homogeneous and heterogeneous class 12 chemistry CBSE

