If E and F are events of the same sample space and P(F) ≠ 0, the conditional probability of E given F is P(E|F) = P(E ∩ F)/P(F).
Finding P(E|F) by counting
- Restrict the sample space to the outcomes of F
- Count the outcomes of F that are also in E (that is, E ∩ F)
- P(E|F) = n(E ∩ F) ÷ n(F)
- P(E|F) is the probability of E when F is known to have occurred.
- P(E|F) = P(E ∩ F)/P(F), defined only when P(F) ≠ 0.
- With equally likely outcomes, P(E|F) = n(E ∩ F)/n(F): F becomes the new sample space.
- Conditional probability obeys the usual rules: P(E′|F) = 1 − P(E|F) and the addition rule.
- P(E|F) and P(F|E) are generally different.