Skip to content

Conditional Probability and Bayes

7 lessons · 22 questions · 12 PYQs · ~70 s per question

The idea

Knowing that something happened shrinks the set of possible outcomes. Conditional probability counts inside that smaller set; Bayes' theorem turns 'probability of the evidence given the cause' into 'probability of the cause given the evidence'.

Textbook vs exam method

Exam method

  1. Shrink, then count. three dice with sum 1010: 2727 outcomes, 1818 with distinct numbers.Indore 2026
  2. Reporter problems. two branches report the event — 'true and he tells the truth' and 'false and he lies'.
  3. Independence. multiply; for 'neither' multiply the complements.

Worked examples

Example 1

(d1, JIPMAT 2023 Q9) P(A)=0.25P(A)=0.25, P(B)=0.5P(B)=0.5, P(A∩B)=0.14P(A\cap B)=0.14

Example 2

(d1, JIPMAT 2024 Q30) truth rates 75%75\% and 80%80\%

Example 3

(d2, Indore 2019 Q45) three dice sum to 1515

Example 4

(d3, Indore 2020 Q16) truthful 44 of 55 times, reports a five

Example 5Typical

Machine A

Traps

  • Reversed conditionals; the missing denominator; exclusive mistaken for independent; ignoring the given information.

Formulas

Conditional probability

P(B∣A)=P(A∩B)P(A)P(B\mid A)=\dfrac{P(A\cap B)}{P(A)}

Condition = shrink the sample space (Indore 2019 Q45: 10 outcomes with sum 15, 2 start with 4).
Independence

A,B independent  ⟺  P(A∩B)=P(A)P(B)A, B\ \text{independent}\iff P(A\cap B)=P(A)P(B)

Complements of independent events are independent: P(neither) = (1 - a)(1 - b).
Total probability

P(B)=∑iP(Ai) P(B∣Ai)P(B)=\sum_i P(A_i)\,P(B\mid A_i)

Two bags, two machines, a test: add the branches of the tree.
Bayes theorem

P(Ai∣B)=P(Ai) P(B∣Ai)∑jP(Aj) P(B∣Aj)P(A_i\mid B)=\dfrac{P(A_i)\,P(B\mid A_i)}{\sum_j P(A_j)\,P(B\mid A_j)}

Divide the wanted branch by the total of the branches that match the observation (Indore 2020 Q16: 4/9).
Two independent witnesses disagree

P(contradict)=p(1−q)+q(1−p)P(\text{contradict})=p(1-q)+q(1-p)

JIPMAT 2024: 0.75 x 0.20 + 0.25 x 0.80 = 35%.

In the exam

Shortcuts
  • Draw the tree; Bayes is 'my branch / all matching branches'.
  • Truthful reporter (textbook model): P=P(X) pP(X) p+(1−P(X))(1−p)P=\dfrac{P(X)\,p}{P(X)\,p+(1-P(X))(1-p)}.
  • 'At least one boy' is a weaker condition than 'the elder is a boy' (13\frac13 vs 12\frac12).
  • Neither AA nor BB =1−P(A)−P(B)+P(A∩B)=1-P(A)-P(B)+P(A\cap B) (JIPMAT 2023: 0.390.39).
~70 s per question at exam speed
When to skip: Reduced-sample-space items: 40-60 s. A full Bayes tree with percentages takes 90-120 s.

Before this

What the exams ask here

  • die shows 5 given report true 3/4
  • first die 4 given sum 15
  • P(neither)
Next sub-topicSequential Events and Games

Practise this free. Every mistake is saved and comes back until you fix it.

Start free