Question
Question: There are 12 fruits in a basket of which 5 are apples, 4 mangoes and 3 bananas (fruit of the same sp...
There are 12 fruits in a basket of which 5 are apples, 4 mangoes and 3 bananas (fruit of the same species are different). How many ways are there to select at least one fruit?
Solution
Hint: We know that the number of ways to pick r objects from n objects is equal to nCr. So, we have to find the number of ways to pick i fruits from 12 fruits where (1≤i≤12). So, we have to find the sum of the number of ways to pick i fruits from 12 fruits where (1≤i≤12). This gives us the number of ways to select at least one fruit from 12 fruits in a basket.
Complete step by step solution:
From the question, we are given that there are 12 fruits in a basket. In this basket, we are having 5 apples, 4 mangoes and 3 bananas. We are also given that fruits of the same species are different. We have to find the number of ways to pick at least one fruit from 12 fruits in a basket.
We know that the number of ways to pick r objects from n objects is equal to nCr.
We have to pick at least one fruit from the basket. It means that we can pick r fruits from the basket (1≤r≤n).
So, the number of ways to pick 1 fruit from 12 fruits =12C1.
In the similar way, the number of ways to pick 2 fruits from 12 fruits =12C2.
In the similar way, the number of ways to pick 3 fruits from 12 fruits =12C3.
In the similar way, the number of ways to pick 4 fruits from 12 fruits =12C4.
In the similar way, the number of ways to pick 5 fruits from 12 fruits =12C5.
In the similar way, the number of ways to pick 6 fruits from 12 fruits =12C6.
In the similar way, the number of ways to pick 7 fruits from 12 fruits =12C7.
In the similar way, the number of ways to pick 8 fruits from 12 fruits =12C8.
In the similar way, the number of ways to pick 9 fruits from 12 fruits =12C9.
In the similar way, the number of ways to pick 10 fruits from 12 fruits =12C10.
In the similar way, the number of ways to pick 11 fruits from 12 fruits =12C11.
In the similar way, the number of ways to pick 12 fruits from 12 fruits =12C12
The total number of ways to pick at least one fruit
=12C1+12C2+12C3+12C4+12C5+12C6+12C7+12C8+12C9+12C10+12C11+12C12 =i=1∑1212Cr
We know that the sum of coefficients of (1+x)n is equal to 2n.
In the same way, the sum of coefficients of (1+x)12 is equal to 212.