Skip to content
Exercise 13.3 · Q3

Q.Of the students in a college, it is known that 60% reside in hostel and 40% are day scholars (not residing in hostel). Previous year results report that 30% of all students who reside in hostel attain A grade and 20% of day scholars attain A grade in their annual examination. At the end of the year, one student is chosen at random from the college and he has an A grade, what is the probability that the student is a hostlier?

Yanam CbseNCERTSubjective· 5mImportance★★★★★
28% · 47/165 Questions
✓ Free question

We use Bayes’ theorem to reverse the conditional probability: given that a student got an A grade, the chance they are a hosteller is 913\frac{9}{13}.

Why Bayes’ theorem?

We are told two things about the college:

  • 60% of students are hostellers, 40% are day scholars.
  • Among hostellers, 30% get A grade; among day scholars, 20% get A grade.

But the question flips the direction: given that a randomly chosen student has an A grade, what is the probability they are a hosteller? That is a classic inverse probability problem — we know P(A∣Hostel)P(\text{A} \mid \text{Hostel}) and want P(Hostel∣A)P(\text{Hostel} \mid \text{A}).

Bayes’ theorem is the tool for exactly this: it lets us “reverse” the condition using the overall probabilities.

P(Hostel∣A)=P(A∣Hostel)⋅P(Hostel)P(A)P(\text{Hostel} \mid \text{A}) = \frac{P(\text{A} \mid \text{Hostel}) \cdot P(\text{Hostel})}{P(\text{A})}

The denominator P(A)P(\text{A}) is the total probability of getting an A grade, which we find by the law of total probability — summing over the two groups.


Step-by-step solution

1. Define events clearly

Let HH = student is a hosteller, DD = student is a day scholar, and AA = student gets A grade.

From the problem:

  • P(H)=0.6P(H) = 0.6, P(D)=0.4P(D) = 0.4
  • P(A∣H)=0.3P(A \mid H) = 0.3, P(A∣D)=0.2P(A \mid D) = 0.2

2. Find the total probability of A grade

A student can get an A either as a hosteller or as a day scholar. These are mutually exclusive and cover all students, so:

P(A)=P(A∣H)⋅P(H)+P(A∣D)⋅P(D)P(A) = P(A \mid H) \cdot P(H) + P(A \mid D) \cdot P(D)

Substitute:

P(A)=(0.3)(0.6)+(0.2)(0.4)=0.18+0.08=0.26P(A) = (0.3)(0.6) + (0.2)(0.4) = 0.18 + 0.08 = 0.26

So 26% of all students get an A grade.

Tip

Think of it as a weighted average: the overall A-grade rate is the weighted mean of the two group rates, with weights equal to the group sizes.

3. Apply Bayes’ theorem

We want P(H∣A)P(H \mid A):

P(H∣A)=P(A∣H)⋅P(H)P(A)=0.3×0.60.26=0.180.26P(H \mid A) = \frac{P(A \mid H) \cdot P(H)}{P(A)} = \frac{0.3 \times 0.6}{0.26} = \frac{0.18}{0.26}

Simplify the fraction:

0.180.26=1826=913\frac{0.18}{0.26} = \frac{18}{26} = \frac{9}{13}

4. Interpret the result

Even though hostellers are a majority (60%), their A-grade rate (30%) is only moderately higher than day scholars’ (20%). So when we see an A-grade student, the chance they are a hosteller is 913≈0.6923\frac{9}{13} \approx 0.6923, or about 69.2%.

Watch out

A common mistake is to ignore the base rates and simply compare 30% vs 20%, concluding the answer is 60% or 3/5. But Bayes’ theorem shows the correct probability is higher than 60% because the hosteller group is larger — the “prior” matters.


✓Final answer

The probability that the student is a hosteller is 913\boxed{\frac{9}{13}}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.