Question
Question: A box contains two white balls, three black balls and four red balls. In how many ways can three bal...
A box contains two white balls, three black balls and four red balls. In how many ways can three balls be drawn from the box if atleast one black ball is to be included in the draw?
Solution
Number of ways of selecting ‘r’ different objects from ‘n’ distinct objects is nCr=r!(n−r)!n!
n! is defined as n factorial which is equal to product of all positive integers less than or equal to n.
Complete step-by-step answer:
The box contains two white, three black and four red balls. Number of ways of selecting three balls out of the box such that at least one black ball is included:
So, we have to make different cases:
Case-1: When there is exactly one black ball and two non black(red or white) balls.
Number of ways to draw one black ball from three black balls is 3C1
Number of ways of selecting two non black balls from total six non black balls: 6C2
Total number of ways in case 1: 3C1×6C2 ---(1)
Case-2: When there is exactly two black balls and one non black ball (red or white)
Number of ways to draw two black balls from three black balls is 3C2
Number of ways of selecting one non black balls from total six non black balls: 6C1
Total number of ways in case 2: 3C2×6C1 ---(2)
Case-3: When there is all three black balls
Number of ways to draw three black balls from three black balls is 3C3 -- (3)
From equation (1), (2) and (3); we get
Total number of ways: 3C1×6C2+3C2×6C1+3C3 --(4)
3C1=1!(3−1)!3!=1×26=3
6C2=2!(6−2)!6!=1×26×5=15
3C2=2!(3−2)!3!=1×26=3
6C1=1!(6−1)!6!=6
3C3=3!(3−3)!3!=1
Putting all values in equation (4);
Total number of ways = (3×15)+(3×6)+1=45+18+1=64
Note: We can also find number of ways of selecting at least one black balls = Total number of ways of selecting 3 balls – Number of ways of selecting 3 non- black balls
Number of ways = 9C3−6C3=3!(9−3)!9!−3!(6−3)!6!=84−20=64