Detailed Explanation
This is a classic Bayes' theorem problem. We are told the chances that a randomly chosen student is a hosteller or a day scholar, and separately how likely each type is to get an A grade. We are then told that the chosen student actually got an A grade, and we must find the probability that this student is a hosteller. Because we are reasoning backwards from the effect (A grade) to a cause (being a hosteller), we use Bayes' theorem. First we define events clearly, write down the given probabilities, then combine them using the theorem.
Formula Used
Bayes' theorem: \[P(E_1 \mid A) = \frac{P(E_1)\,P(A \mid E_1)}{P(E_1)\,P(A \mid E_1) + P(E_2)\,P(A \mid E_2)}\]
Solution
- Step 1: Define the events. Let \(E_1\) be the event that the student resides in the hostel, and \(E_2\) be the event that the student is a day scholar. Let \(A\) be the event that the student attains an A grade. We want \(P(E_1 \mid A)\), the probability that the student is a hosteller given that they got an A grade.
- Step 2: Write down the prior probabilities from the given percentages. Since \(60\%\) reside in hostel and \(40\%\) are day scholars: \[P(E_1) = \frac{60}{100} = 0.6\] \[P(E_2) = \frac{40}{100} = 0.4\]
- Step 3: Write down the conditional probabilities of getting an A grade. Since \(30\%\) of hostellers and \(20\%\) of day scholars get an A grade: \[P(A \mid E_1) = \frac{30}{100} = 0.3\] \[P(A \mid E_2) = \frac{20}{100} = 0.2\]
- Step 4: Apply Bayes' theorem. Substitute the values into the formula: \[P(E_1 \mid A) = \frac{P(E_1)\,P(A \mid E_1)}{P(E_1)\,P(A \mid E_1) + P(E_2)\,P(A \mid E_2)}\] \[P(E_1 \mid A) = \frac{0.6 \times 0.3}{0.6 \times 0.3 + 0.4 \times 0.2}\]
- Step 5: Simplify the arithmetic. The numerator is \(0.6 \times 0.3 = 0.18\) and the day scholar term is \(0.4 \times 0.2 = 0.08\), so the denominator is \(0.18 + 0.08 = 0.26\). \[P(E_1 \mid A) = \frac{0.18}{0.26} = \frac{18}{26} = \frac{9}{13}\]
Final Answer
The probability that the student is a hosteller given that he has an A grade is \[P(E_1 \mid A) = \frac{9}{13} \approx 0.692\]
Common Mistake
A common mistake is to simply answer \(P(A \mid E_1) = 0.3\) or to compare the raw A-grade rates. The question asks for the reverse conditional probability \(P(E_1 \mid A)\), which requires Bayes' theorem and the total probability in the denominator, not just the given \(P(A \mid E_1)\).