Skip to content

Mathematics and Statistics · Ch 16 — Probability

Conditional Probability

5

Conditional Probability

Often we learn that one event has already happened and want the probability of another event in the light of that information. This is conditional probability, written P(A∣B)P(A \mid B) and read "the probability of AA given BB".

Knowing that BB has occurred effectively shrinks the sample space to BB alone: only outcomes inside BB are now possible, and among those we ask how many also lie in AA.

Note

Definition of conditional probability

For events AA and BB with P(B)>0P(B) > 0,

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

In counting terms (equally likely outcomes), P(A∣B)=n(A∩B)n(B)P(A \mid B) = \dfrac{n(A \cap B)}{n(B)} — the favourable outcomes are those in both AA and BB, out of the reduced total n(B)n(B).

Symmetrically, when P(A)>0P(A) > 0,   P(B∣A)=P(A∩B)P(A)\;P(B \mid A) = \dfrac{P(A \cap B)}{P(A)}.

Example. A die is rolled and we are told the result is even (B={2,4,6}B = \{2, 4, 6\}). What is the probability it is greater than 33 (A={4,5,6}A = \{4, 5, 6\})? The reduced sample space is BB with n(B)=3n(B) = 3; of those, the ones also greater than 33 are {4,6}\{4, 6\}, so n(A∩B)=2n(A \cap B) = 2. Hence

P(A∣B)=n(A∩B)n(B)=23.P(A \mid B) = \frac{n(A \cap B)}{n(B)} = \frac{2}{3}. …

Definition 11Conditional probability

P(A∣B)=P(A∩B)P(B)P(A \mid B) = \dfrac{P(A \cap B)}{P(B)} (with P(B)>0P(B) > 0): the probability of AA given that BB has already occurred, computed over the …