Bayes theorem

Conditional Probability

For any two events A and B, with P(B)>0, we define the conditional probability of A given B (P(A|B)) as P(A|B)=P(AB)P(B) Example: We throw a dice once, and it lands on an even number.