Conditional Probability¶
If \(A\) and \(B\) two events in a random experiment, the probability that \(A\) occurs given \(B\) has occured, assuming \(B\) has non-zero probability, is defined as the conditional probability
\[
P(A|B) = \frac{P(A \cap B)}{P(B)}
\]