Conditional probability
Tha probability that B will happen if A has happened is the conditional probability of B given A. P(B|A)
The formula for conditional probability
P(B|A) = P (A and B)/ P(A)
P (A and B)
P(B|A) x P(A)
Formula for independent events
P(A)=P(A|B)