girgit.org

Probability

The rules still work: properties of conditional probability

The big ideaOnce F is known, F becomes the new sample space, so every rule you learnt for ordinary probability (the sure event is 1, the addition rule, the complement rule) still holds with "| F" written after each event.

In simple words

If you only look inside one coach of a train, the coach is now your whole world. Everyone in your world is in the coach, for sure. Counting people who wear red or blue works the same way it always did. The rules don't break; they just live in a smaller world.

Let E, F, A and B be events of a sample space S, and suppose \( \text{P}(F) \ne 0 \). Here are the properties of conditional probability.

Property 1: the new world is certain

\[ \text{P}(S \mid F) = \text{P}(F \mid F) = 1 \]

Why: \( S \cap F = F \) and \( F \cap F = F \), so both fractions are \( \frac{\text{P}(F)}{\text{P}(F)} = 1 \). In words: once you know F happened, it is certain that F happened, and certain that something in S happened.

Property 2: the addition rule, given F

\[ \text{P}((A \cup B) \mid F) = \text{P}(A \mid F) + \text{P}(B \mid F) - \text{P}((A \cap B) \mid F) \]

Why: by the distributive law, \( (A \cup B) \cap F = (A \cap F) \cup (B \cap F) \). Use the Class 11 addition rule on these two pieces, whose overlap is \( A \cap B \cap F \), then divide every term by P(F).

If A and B are disjoint (cannot happen together), the last term is 0 and \( \text{P}((A \cup B) \mid F) = \text{P}(A \mid F) + \text{P}(B \mid F) \).

Property 3: the complement rule, given F

\[ \text{P}(E' \mid F) = 1 - \text{P}(E \mid F) \]

Here E′ is the complement of E, "not E". Why: E and E′ are disjoint and together make S, so by Properties 1 and 2, \( \text{P}(E \mid F) + \text{P}(E' \mid F) = \text{P}(S \mid F) = 1 \).

Also, since \( E \cap F \) is a part of F, \( 0 \le \text{P}(E \mid F) \le 1 \), just like any probability.

Worked example: all three properties on one die

Roll a die and suppose you know F: "the number is greater than 2" = {3, 4, 5, 6}. Let A = "even" = {2, 4, 6} and B = "a multiple of 3" = {3, 6}.

  1. \( A \cap F = \{4, 6\} \), so \( \text{P}(A \mid F) = \frac{2}{4} = \frac12 \).
  2. \( B \cap F = \{3, 6\} \), so \( \text{P}(B \mid F) = \frac24 = \frac12 \).
  3. \( A \cap B \cap F = \{6\} \), so \( \text{P}((A \cap B) \mid F) = \frac14 \).
  4. Property 2: \( \text{P}((A \cup B) \mid F) = \frac12 + \frac12 - \frac14 = \frac34 \). Check directly: \( (A \cup B) \cap F = \{3, 4, 6\} \), three of the four. It matches.
  5. Property 3: \( \text{P}(\text{odd} \mid F) = 1 - \frac12 = \frac12 \). Check: {3, 5} out of {3, 4, 5, 6}.

The big trap: P(A|B) is not P(B|A)

Let A be "a person is an Indian Test cricketer" and B be "a person is Indian". P(B|A) is almost 1: nearly every Indian Test cricketer is Indian. P(A|B) is tiny: very few Indians play Test cricket. Swapping the event and the news can change the answer completely.

From the formula, both have the same top, \( \text{P}(A \cap B) \), but different bottoms:

\[ \text{P}(A \mid B) = \frac{\text{P}(A \cap B)}{\text{P}(B)}, \qquad \text{P}(B \mid A) = \frac{\text{P}(A \cap B)}{\text{P}(A)} \]

So, when \( \text{P}(A \cap B) \ne 0 \), the two are equal exactly when \( \text{P}(A) = \text{P}(B) \). They need not be the same event; they only need the same probability.

Try it: the same people, counted over two different bottoms.

Two special cases worth knowing

  • A inside B (\( A \subset B \)): then \( A \cap B = A \). So \( \text{P}(B \mid A) = 1 \): if A happened, B surely did. And \( \text{P}(A \mid B) = \frac{\text{P}(A)}{\text{P}(B)} \ge \text{P}(A) \): learning B makes A more likely, not less.
  • A and B disjoint (\( A \cap B = \phi \)): then \( \text{P}(A \mid B) = 0 \). If B happened, A certainly did not.

Try it. P(A) = 0.5, P(B) = 0.4 and P(A ∪ B) = 0.7. Find P(A|B) and P(A′|B).

Answer
\( \text{P}(A \cap B) = 0.5 + 0.4 - 0.7 = 0.2 \). So \( \text{P}(A \mid B) = \frac{0.2}{0.4} = 0.5 \), and by Property 3, \( \text{P}(A' \mid B) = 1 - 0.5 = 0.5 \).

Words to know

P(S|F) = P(F|F) = 1
Once F is known, F (and S) is certain.
Disjoint events
Events with no outcome in common; they can't happen together.
Complement E′
"Not E": every outcome of S that is not in E.
Distributive law
\( (A \cup B) \cap F = (A \cap F) \cup (B \cap F) \).

If P(E|F) = 0.35, what is P(E′|F)?

  1. 0.65
  2. It can't be found without P(F′)
  3. 0.35

A and B are events with P(A|B) = P(B|A) and P(A ∩ B) ≠ 0. What must be true?

  1. A = B
  2. P(A) = P(B)
  3. A and B are disjoint

If \( A \subset B \) and P(B) ≠ 0, which is always true?

  1. P(A|B) < P(A)
  2. P(A|B) ≥ P(A)
  3. P(A|B) = 1