arora007 wrote:If two students are chosen at random with replacement from a certain class, what is the probability that two male students or two female students are selected?
1) There are 50 male students in the class.
2) The probability of selecting one male and one female student is 21/50.
OA is B, but can somebody calculate and show the exact probability
This question is from papgust's 300 questions!
Ordinarily, for a question that almost everyone got right, I wouldn't think about posting. I saw almost everyone posting choose B as the correct answer. However, I saw more than half the people making a calculation mistake that might have caused them dearly in a PS question. Hence, I decided to write this post.
First of all, the easiest way to approach the question.
1) There are 50 male students in the class.
If we only know the number of male students, we can't calculate the probability of female students. Insufficient.
2) The probability of selecting one male and one female student is 21/50.
Now, when we choose two students, we can have only 3 cases:
1. Two males.
2. Two females
3. One male and one female.
Barring these three, there are no other cases. Total probability equals 1. Hence we can find probability of selecting two males or two females. Sufficient. And we have to do no calculations.
Now let's do the calculations anyway:-
Total probability of 3 cases = 1
We can find probability of selecting two males or two females = 1 - (probability of selecting one male and one female) = 1 - 21/50 = 29/50. Sufficient.
So the correct OA is, as most people got, B.
Now for the important conceptual part. Some people calculated that "with replacement", the required probability = 4/25. This answer is incorrect. First of all, the total probability rule of all possible cases equaling 1 is always applicable, regardless of whether students are chosen "with" or "without replacement". The final answer with/without replacement in both cases will be 29/50.
This is where a number of people made the mistake:
The probability of choosing one female and one male "with replacement" is NOT equal to mf/(m+f)^2.
The probability of choosing one female and one male correctly equals 2mf/(m+f)^2.
The two comes from the fact that, when we calculate probability in this way, we are essentially calculating permutational probability. So when we consider this way, we need to find all the possible arrangements.
For the one male and one female case, we have 2 possible arrangements:
1. Choose male first, choose female second.
2. Choose female first, choose male second.
Each of the above cases has the probability = mf/(m+f)^2 giving us the total probability of 2mf/(m+f)^2.
Hence in this case probability of selecting either two males or two females
= m*m/(m+f)^2 + f*f/(m+f)^2
=(m^2+f^2)/(m+f)^2
=(m^2+f^2+2mf-2mf)/(m+f)^2
=((m+f)^2-2mf)/(m+f)^2
= (m+f)^2/(m+f)^2 -2mf/(m+f)^2
= 1 - 21/50
= 29/50.
So we arrive at the same answer as we got earlier from the total probability rule.
Key takeaways from this post:
1. The total probability rule applies regardless of whether the things are selected with or without replacement.
2. When doing probability questions, always be considerate of whether your way is arrangement or selection based.
I hope the two points above helps you guys get the right answer often.
Cheers!