Conditional Probability

For two events in the same probability space, the law of conditional probability states that the probability of given that has happened is

This implies that the probability of is nonzero ().

Non-Associativity , unless .

Conditional probabilities are non-associative. This means that generally,

Intuition

The joint probability is the probability that both and happen. It is restricted to the sample points that occur in both events. In a Venn diagram, it can be represented as the overlap between two circles, and :

\begin{document}
\begin{tikzpicture}
  % Define circles for A and B
  \draw[thick] (0,0) circle (2cm) node[left] {\(A\)};
  \draw[thick] (2.5,0) circle (2cm) node[right] {\(B\)};
 
  % Label A ∩ B
  \begin{scope}
    \clip (0,0) circle (2cm);
    \fill[gray, opacity=0.15] (2.5,0) circle (2cm);
  \end{scope}
  \node at (1.25,0) {\(A \cap B\)};
 
  % Label sample space
  \draw[thick] (-3,-2.5) rectangle (6,2.5) node[below left] {\(\Omega\)};
\end{tikzpicture}
 
\end{document}

By dividing the joint probability by the probability of the event that has already happened we are “zooming in” on the world where happened and renormalizing so that those remaining outcomes sum to 1.  In effect, we:

  1. Throw out all outcomes where A didn’t occur.
  2. Rescale the probabilities of the leftover outcomes (i.e., , ) by so they total 1.
    Essentially, becomes our new sample space.

Examples

Boys and Girls

A company is holding a dinner for working mothers with at least one son.

A few days before the party, you are taking a walk and see your new colleague, Ms. Parker, who is known to have two children.

Scratched CDs

You just bought 3 used movie CDs from Blockbuster! Unfortunately for you, one of the CDs is scratched on one side, while a second one is scratched on both sides. In a fit of rage, you shove the CDs back in the bag and shuffle it.

\mathbb{P}(S_{2} = 1 \mid S_{1} = 1) &= \frac{\mathbb{P}(S_{1} = 1 \cap S_{2} = 1)}{\mathbb{P}(S_{1}=1)} \
&= \frac{1/3}{1/2} \
&= 2/3.
\end{align}$$

Monty Hall Problem

You are a contestant on a game show and can choose to open one of 3 doors, two of them containing a goat, and one of them containing a brand new car. You choose one of the doors, and Monty Hall opens another one, knowing that he’s opening a door with a goat behind it.

What is the sample space here? Consider a triple , which represents:

  1. A: The location of the prize.
  2. B: The initial door opened by the contestant.
  3. C: The door opened by Monty.

Note that some triples are not possible, e.g. , since Monty cannot open the door that contains the car or the door that the contestant has picked. It turns out that there are 12 different permutations of triples that can be made. These include:

We note that there are only two events that could happen: Monty has one door to pick (as in the first 6 triples), and Monty has two doors to pick (as in the last 6 triples). Then:

Note that in the first equation we multiply by 1 because Monty has 1 door to choose, and in the second equation we multiply by because he can choose between 2 doors.

Let’s suppose the contestant wants to switch doors. Now, let be the event that the contestant wins. Which sample points are in W? Since we are interested in the event that the contestant has to win, the only way this could happen is if they didn’t initially pick the prize door (that is, the first 6 triples). Therefore, the contestant has a chance of winning.