2.7.8 · D4Statistics & Probability — Intermediate

Exercises — Conditional probability — P(A - B) = P(A∩B) - P(A)

1,785 words8 min readBack to topic

Before we start, one picture to fix the whole idea in your head: conditioning shrinks the universe.

Figure — Conditional probability — P(A - B) = P(A∩B) - P(A)

The big peach rectangle is the whole sample space. Once you are told happened, you are trapped inside the violet blob . The only part of that still counts is the magenta overlap . That is all measures.


Level 1 — Recognition

Here you only need to name the pieces and read the formula correctly.

Recall Solution L1.1

WHAT: The formula is . WHY: is the given event, so it is the denominator (the new universe). Check: , as any probability must be. ✔

Recall Solution L1.2

Answer: undefined. You may never divide by . Conditioning on an impossible event has no meaning — there is no shrunken universe to sit inside. The formula requires .

Recall Solution L1.3

The event right of the bar is , so we divide by . (, so .) The bar's buddy is the bottom.


Level 2 — Application

Now plug real counts into the formula.

Recall Solution L2.1

Step 1 — overlap. , so . Step 2 — condition. . Step 3 — divide. Sanity check inside the new universe: of , the multiples of are — that is out of . ✔

Recall Solution L2.2

There are red cards. Use the multiplication rule . Step 1: . Step 2: After one red is gone, reds remain in cards, so . Step 3:

Recall Solution L2.3

WHAT we condition on: the first draw was magenta, so one magenta is gone. New universe: marbles remain — magenta, orange. Only the count of what is left matters, not what colour we removed's own future.


Level 3 — Analysis

Here you must choose the right tool: complement, multiplication, or independence check.

Recall Solution L3.1

The correct complement law keeps the condition fixed: Why this and not : inside the fixed universe , the events and split it completely, so their conditional probabilities add to . Changing the condition to moves to a different universe entirely.

Recall Solution L3.2

Tool choice: use the independence test (see Independence of events). They are independent. Equivalently — knowing changed nothing.

Recall Solution L3.3

Tool choice: "of bike-owners, ..." is a conditional . Use multiplication: So of the whole class own both.


Level 4 — Synthesis

Combine multiplication, total probability, and reversing a condition.

Figure — Conditional probability — P(A - B) = P(A∩B) - P(A)
Recall Solution L4.1

Tool: the Law of total probability splits across the partition : So of all bolts are defective. Read the tree above: each path multiplies down, then we add the two "defective" leaves.

Recall Solution L4.2

Tool: Bayes' Theorem flips the condition correctly: Even though makes only of bolts, it accounts for over half of the defects — because its defect rate is higher.

Recall Solution L4.3

Step 1 — total probability of : Step 2 — Bayes: Why so low? The disease is rare, so most positives are false positives from the huge healthy group. Conditioning correctly restricts you to everyone who tested , then finds the sick fraction — about , not .


Level 5 — Mastery

Model a full scenario from scratch.

Recall Solution L5.1

Each urn is chosen with probability , and each urn holds balls. (a) Law of total probability: (b) Bayes: Urn is the richest in magenta, so seeing magenta makes it the most likely source — over half.

Recall Solution L5.2

Strategy: "at least one" is easiest via its complement "no ace." Chain the conditional no-ace draws (each draw shrinks the deck).

Recall Solution L5.3

Sample space: , each with probability (see Sample space and events). so . so . so . Independence test: independent! Conditional: . Knowing "exactly one head" gives no clue about which flip it was.


Recall Feynman recap: the whole ladder in one breath

Every problem here is the same move: someone tells you something, so your box of possibilities shrinks. L1 just names the pieces. L2 counts inside the smaller box. L3 picks whether to complement, multiply, or test independence. L4 walks down a tree, adds up paths (total probability), and reverses arrows (Bayes). L5 does all of it at once. Denominator is always the thing you were told.

Connections

  • Multiplication rule of probability — powers every "without replacement" chain (L2, L5).
  • Law of total probability — sums conditionals over a partition (L4, L5).
  • Bayes' Theorem — reverses the condition (L4.2, L4.3, L5.1b).
  • Independence of events — the arithmetic test (L3.2, L5.3).
  • Sample space and events — the universe we shrink.
  • Tree diagrams — visual chaining of the L4/L5 steps.