The conditional probability of an event B is the probability that the event will happen given the knowledge that an event A has already happened. This probability is written P(B|A), notation for the probability of B given A. In the case where events A and B are independent, the conditional probability of event B given event A is simply the probability of event B, that is P(B). If events A and B are not independent, then the probability