Skip to main content

Conditional Probability

Key Definitions

Def. (Conditional Probability)

The conditional probability of event AA given event BB is defined as:

P(AB)=P(AB)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}

provided that P(B)>0P(B) > 0. This represents the probability of AA occurring given that we know BB has occurred.

Def. (Bayes' Rule)

Bayes' Rule (or Bayes' Theorem) provides a way to reverse conditional probabilities:

P(AB)=P(BA)P(A)P(B)P(A|B) = \frac{P(B|A)P(A)}{P(B)}

This is fundamental for updating probabilities based on new evidence.

Def. (Law of Total Probability)

Let B1,B2,,BnB_1, B_2, \ldots, B_n be a partition of the sample space SS (i.e., they are mutually exclusive and i=1nBi=S\bigcup_{i=1}^{n} B_i = S), and let AA be any event. Then:

P(A)=i=1nP(ABi)P(Bi)P(A) = \sum_{i=1}^{n} P(A|B_i)P(B_i)

This is useful when we can express AA in terms of simpler conditional probabilities.

Def. (Partition of Sample Space)

A collection of events B1,B2,,BnB_1, B_2, \ldots, B_n forms a partition of the sample space SS if:

  1. The events are mutually exclusive: BiBj=B_i \cap B_j = \emptyset for iji \neq j
  2. The events are exhaustive: i=1nBi=S\bigcup_{i=1}^{n} B_i = S
  3. Each event has positive probability: P(Bi)>0P(B_i) > 0 for all ii
Def. (Independence of Events)

Two events AA and BB are independent if the occurrence of one does not affect the probability of the other. Formally:

P(AB)=P(A)P(B)P(A \cap B) = P(A)P(B)

Equivalently, if P(B)>0P(B) > 0, then AA and BB are independent if and only if P(AB)=P(A)P(A|B) = P(A).

Multiple events: Events A1,A2,,AnA_1, A_2, \ldots, A_n are:

  • Pairwise independent if P(AiAj)=P(Ai)P(Aj)P(A_i \cap A_j) = P(A_i)P(A_j) for all iji \neq j
  • Mutually independent if for every subset {i1,i2,,ik}\{i_1, i_2, \ldots, i_k\}: P(Ai1Ai2Aik)=P(Ai1)P(Ai2)P(Aik)P(A_{i_1} \cap A_{i_2} \cap \cdots \cap A_{i_k}) = P(A_{i_1})P(A_{i_2})\cdots P(A_{i_k})

Note: Mutual independence is stronger than pairwise independence.

Lecture materials and examples will be posted on Canvas.