There are 5 balls of different colours and 5 boxes of colours same as those of the balls. The number of ways in which the balls, one in each box, could be placed such that 2 ball goes to the box of its own colour.
Open in App
Solution
Let B1,B2,B3,B4,B5 be balls and A1,A2,A3,A4,A5 be the respective boxes of respective colour.
Let Ball B1 does nit in box A1, which is of same colour of that of the ball.
i.e. B1 can be placed in any of the three boxes / four boxes. A1,A2,A3 & A4.
If B1 is placed in box A2, then outer 4 balls can be placed in fall. 4 ways.