Question
Question: Six P’s have to be placed in the squares of a diagram given below such that each column contains at ...
Six P’s have to be placed in the squares of a diagram given below such that each column contains at least one P. In how many ways can this be done?
(a) 28
(b) 26
(c) 24
(d) 30
Solution
We solve this problem by using the permutations and combinations. First we fix one P in each column by selecting one column from each column which will be the permutations. Then, we place remaining P’s in the remaining squares which in turn the total number of ways by combining both conditions will be combinations. We have the formula that the number of ways of selecting ′r′ boxes from ′n′ boxes is given as nCr where,
nCr=r!(n−r)!n!
Complete step-by-step answer:
We are given that there are 8 squares in the formation shown above.
We are given that there will be at least one P in each column.
Here, we can see that there are 3 columns.
Now, let us fix 3 P’s in each column.
Here, we can see that there are 2 boxes in the first column.
We know that the number of ways of selecting ′r′ boxes from ′n′ boxes is given as nCr where,
nCr=r!(n−r)!n!
By using the above formula we get the number of ways of selecting 1 box from 2 boxes in the first column as