Question
Question: A basket contains 20 apples and 10 oranges out of which 5 apples and 3 oranges are rotten. If a pers...
A basket contains 20 apples and 10 oranges out of which 5 apples and 3 oranges are rotten. If a person takes out one fruit at random, find the probability that the fruit is either an apple or a good fruit.
Solution
Hint: Find the number of rotten and good fruits first. Now, consider two events that is, one is the event of selecting one apple and the other is the event of selecting one good fruit. Now, find the union of these two events by using P(A∪B)=P(A)+P(B)−P(A∩B).
Complete step-by-step answer:
Here, we are given that a basket contains 20 apples and 10 oranges out of which 5 apples and 3 oranges are rotten. If a person takes out one fruit at random, we have to find the probability of the fruit being either an apple or a good fruit. So, we are given that there are 10 oranges, out of which 3 are rotten, so 7 are good fruits. Also, there are 20 apples, out of which 5 are rotten, so 16 are good fruits.
Fruits
Fruits | 10 oranges | 20 apples | Total |
---|---|---|---|
Rotten | 3 | 5 | 8 |
Good fruits | 7 | 15 | 22 |
Let us consider them as two events. The first event is selecting an apple and the second event as selecting a good fruit, so we get,
Event A = Event of selecting one apple. Event B = Event of selecting a good fruit.
Here we have to find the probability that the chosen fruit is either an apple or a good fruit, so we need to find P(A∪B).
We know that P(A∪B)=P(A)+P(B)−P(A∩B)………(i)
Now, let us find the probability of the event of selecting one apple =P(A).
P(A)=Number of total eventsNumber of favourable event=Number of ways of choosing any fruitNumber of ways of choosing an apple.
We have 20 apples and the total number of fruits as 30, so, P(A)=30C120C1. Now we know the general formula is nCr=r!(n−r)!n! . So, applying the formula, we get,
P(A)=1!×29!30!1!×19!20!P(A)=1!×29!30×29!1!×19!20×19!P(A)=130120P(A)=3020⇒32………(ii)
Now, let us find the probability of the event of selecting a good fruit =P(B).
P(B)=Number of ways of choosing a fruitNumber of ways of choosing a good fruit. We have total of 7+15=22 good fruits, so we get, P(B)=30C122C1. Now applying the formula again, we get,
P(B)=1!×29!30!1!×21!22!P(B)=1!×29!30×29!1!×21!22×21!P(B)=130122P(B)=3022⇒1511………(iii)
Now, A∩B is the event of selecting a good apple, so, P(A∩B)=Number of ways of choosing a fruitNumber of ways of choosing a good apple. We have 15 good apples, so we have P(A∩B)=30C115C1. Now again applying the formula, we get,
P(A∩B)=1!×29!30!1!×14!15!P(A∩B)=1!×29!30×29!1!×14!15×14!P(A∩B)=130115P(A∩B)=3015⇒21………(iv)
Now substituting the values of P(A),P(B),P(A∩B) in equation (i), we get, P(A∪B)=32+1511−21P(A∪B)=3020+22−15P(A∪B)=3027⇒109
Therefore, we get the probability that the fruit is either an apple or a good one as 109.
Note: Here the students must note that in questions involving ‘either or’ we need to find the union of two events that is, P(A∪B) and for questions involving ‘and’ we need to find the intersection of the two events that is, A∩B. The students must remember the formula for P(A∪B), which is, P(A∪B)=P(A)+P(B)−P(A∩B) and find the unknown value by substituting the known values.