Question
Question: There are four balls of different colours and four boxes of same colours in which the balls, one eac...
There are four balls of different colours and four boxes of same colours in which the balls, one each in a box could be placed such that a ball does not go to a box of its own colour. The number of ways this can be done is
A
9
B
18
C
12
D
None of these
Answer
9
Explanation
Solution
This question is based on de arrangement theory which states that “If n things are arranged in a row, the number of ways in which they can be deranged so that no one of them occupies is original place is
n!6mu{1−111+2!1−3!1+...+(−1)n!n!}
Here n = 4,
∴ Required ways = 4! (1−1!1+2!1−3!1+4!1)
= 24 (21−61+241)
= 12 – 4 + 1 = 9