Question
Question: A box contains 6 red balls and 2 black balls. Two balls are drawn at random from it without replacem...
A box contains 6 red balls and 2 black balls. Two balls are drawn at random from it without replacement. If x denotes the number of red balls drawn, then find E(x)
Solution
We can take the possible value for x and its probability. Then we can find E(x) by taking the summation of the product of the random variable and its corresponding probability.
Complete step by step answer:
We have a box containing 2 black balls and 6 red balls. We are taking 2 balls from the box without replacement. We are given that x is the number of red balls drawn from the box. As the box has 6 red balls and we are taking only 2 balls, x can take values 0, 1, and 2.
When x=0, we have no red balls. So, its probability is given by the number of ways of selecting 2 black balls from 2 black balls divided by number of ways of selecting 2 balls from 8 balls.
P(0)=8C22C2=2!(6)!8!2!(0)!2!=8×71×2=281
When x=1, we have 1 red ball and 1 black ball. So, its probability is given by the number of ways of selecting 1 black ball from 2 black balls and 1 red ball from 6 red balls divided by the number of ways of selecting 2 balls from 8 balls.
P(1)=8C22C1×6C1=2!(6)!8!1!(1)!2!×1!(5)!6!=8×72×6×2=73
When x=2, we have 2 red balls. So, its probability is given by the number of ways of selecting 2 red balls from 6 red balls divided by the number of ways of selecting 2 balls from 8 balls.
P(2)=8C26C2=2!(6)!8!2!(4)!6!=8×76×5=2815
The expected value for a random variable x is given by
Thus, the required expected value is 23.
Note: The concepts of random variables, probability and expected value are used in this problem. E(x)of a discrete random variable is given by E(x)=∑i=1nxi×P(xi) and E(x)of a continuous random variable is given by E(x)=−∞∫∞xP(x).