MathorynMathematical Formula Database

Statistics & Probability

Conditional Probability

Conditional probability is the probability of A given that B is known to have occurred (P(B)>0P(B)>0). It restricts the sample space to B. It is used to update probabilities with new information and is the basis of Bayes' theorem.

P(A∣B)=P(A∩B)P(B)P(A\mid B)=\frac{P(A\cap B)}{P(B)}
LaTeXP(A\mid B)=\frac{P(A\cap B)}{P(B)}

Variables

P(A∣B)P(A\mid B)
probability of A given B

Example

A card is a face card (J, Q, K). Probability it is a king?

  1. P(K∩F)=452P(K\cap F)=\frac4{52}, P(F)=1252P(F)=\frac{12}{52}.
  2. 412\frac{4}{12}.

Answer: 13≈0.3333\frac13\approx0.3333.

Related formulas