Gradient LabSign up free

Home / GATE DA / 2024 / Q.58

GATE DA 2024, Q.58: Find P(T | S) with Bayes’ theorem

Probability and statisticsBayes’ theorem2 marksNumerical answerFree

The question

Given P(T̄) = 0.6, P(S | T) = 0.3 and P(S | T̄) = 0.6, find P(T | S), rounded to two decimals.

Solve it step by step

  1. Picture 100 cases. P(T̄) = 0.6, so 40 cases are T and 60 are not T.
  2. S among T. 30% of the 40 T cases show S: 12 cases.
  3. S among not-T. 60% of the 60 not-T cases show S: 36 cases.
  4. Condition on S. S happened 12 + 36 = 48 times. 12 of those are T.
  5. Answer. P(T | S) = 12 / 48 = 0.25. The same as 0.4·0.3 / (0.4·0.3 + 0.6·0.6).

Answer: 0.25

Official IISc Bengaluru answer key: 0.25.

Common mistake. Answering 0.3. That is P(S | T), the reverse condition. Bayes’ theorem flips it.

Remember. P(T | S) = P(S | T) · P(T) / P(S). Tip: turn the probabilities into counts out of 100.

See it move

Learn the idea behind this question in the free animated lesson Probability, then Naive Bayes.

Want every question solved? The past-paper pack has all 195 questions from 2024, 2025 and 2026 for ₹499. The cheat sheet pack has 23 printable sheets for ₹399.

See the past-paper pack See the cheat sheets

Source: official GATE DA 2024 question paper and answer key (IISc Bengaluru). The question is lightly reworded; every number and option is kept.