2.7.8 · D1Statistics & Probability — Intermediate

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

2,140 words10 min readBack to topic

This page builds every mark used in the parent topic from nothing, in the order they lean on each other. We start with a single dot and finish, symbol by symbol, at the point where the parent's formula becomes something you can see rather than memorise. Nothing below is used before it is drawn and defined.


0. The starting picture: outcomes as dots

Everything begins with stuff that can happen. Imagine an experiment — rolling a die, drawing a card. Each thing that could be the result is one outcome. Draw every outcome as a single dot (figure s01).

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

Why start here? Because probability is counting dots. If you don't know what a dot is, you can't count them, and every later symbol is secretly a count.


1. Sample space — the whole box

  • Plain words: every possible result, gathered together.
  • Picture: the outer rectangle holding all the dots (figure s01).
  • Why the topic needs it: conditional probability is about shrinking this box. You can't shrink a box you never drew.

See Sample space and events for the full treatment. For us, is just "the universe of dots."


2. Event — a chosen circle of dots

  • Plain words: a yes/no question about the result, e.g. "is the die score even?" The event is the set of dots that answer yes.
  • Picture: a loop enclosing some dots inside (figure s02).
  • Why the topic needs it: the two events named and in the parent are the whole story. Everything is about how two circles of dots overlap.
Figure — Conditional probability — P(A - B) = P(A∩B) - P(A)

3. The counting symbol — how many dots

  • Plain words: how many dots the circle catches.
  • Picture: put your finger on each dot inside the loop and count.
  • Why the topic needs it: the parent's derivation starts from raw counts and before turning them into probabilities.

4. Two loops together: union and overlap

When two loops share the picture, there are exactly two new ideas — "either loop" and "both loops." We name both now so neither surprises you later.

  • Why the topic needs specifically: conditional probability asks a two-part question — "did happen, and was it also ?" Only the overlap answers both parts. Neither loop alone does, and the union answers the weaker "either" question.
Figure — Conditional probability — P(A - B) = P(A∩B) - P(A)

5. Probability — fraction of the box

Now we turn counting into probability. This is the single most important translation.

  • Plain words: out of all the ways things can go, what share falls inside ?
  • Picture: shade the loop; is how much of the rectangle got shaded — a number between and .
  • Why divide, not just count? Because raw counts aren't comparable across experiments. Dividing by rescales everything onto a -to- ruler, where never and always.

6. The bar "" — the word given

This is the symbol the whole topic is named after. Everything before it has been earned, so now we may write it.

  • Plain words: "the chance of , now that we know came true."
  • Picture: we erase every dot outside . The box literally shrinks down to just loop — that becomes our new universe. Then we ask what share of this smaller box is also (figure s04).
  • Why the topic needs it: this is the entire idea. Without the bar there is no "learning something," and probability never updates.
Figure — Conditional probability — P(A - B) = P(A∩B) - P(A)

Because the new box is , its size — the number we must divide by — is the count . Reading straight off figure s04, the fraction of the shrunken box that is also is:

This is exactly why the denominator is and not : is the shrunken box we are counting inside.


7. The complement — everything not

The parent uses and (in the false-positive example and the complement law), so we earn them too.

  • Plain words: " did not happen."
  • Picture: the whole rectangle except loop is shaded (figure s05).
  • Why the topic needs it: the true complement law says inside the fixed box , either you're in or you're not — the shares must fill the box.
Figure — Conditional probability — P(A - B) = P(A∩B) - P(A)

8. The restriction — the box can't be empty

  • Picture: an empty rectangle — nothing to count, nothing to condition on.
  • Why the topic needs it: it's the one legal fine-print on the whole formula.

How these feed the topic

The diagram below is a dependency map: read it upward. Each box is one symbol from this page; each arrow means "you need the lower idea before the higher one makes sense." Dots build a box, loops make events, counting makes probability, and the bar shrinks the box — out of which conditional probability drops.

Outcome = one dot

Sample space S = whole box

Event = loop of dots

Count n of A

Intersection A and B = overlap

Union A or B = either loop

Probability P = fraction of box

Bar given = shrink box to B

Conditional P of A given B

Complement law inside a box

Rule P of B greater than 0

How to read it: if you can trace a path from every bottom box up to "Conditional P of A given B" and explain each arrow out loud, you are ready for the parent topic.


Equipment checklist

Test yourself: cover the right side and answer before revealing. If any fail, re-read that section.

What is an outcome, in one phrase?
One single complete result of the experiment — one dot.
What does the sample space contain?
Every possible outcome — the whole box of dots.
What is an event?
A chosen group of outcomes — a loop drawn around some dots.
What does mean?
The number of outcomes (dots) inside event .
What does describe?
" or " — every dot in either loop (or both).
What does describe, and what does it look like?
"Both and " — the overlapping lens of the two loops.
Is bigger or smaller than alone?
Never bigger — the overlap has at most as many dots as either loop.
Write for equally likely outcomes.
, a number between and .
How do you read the bar in ?
"The probability of given — assuming already happened."
When you condition on , what happens to the box?
It shrinks to just ; you erase every dot outside .
Why does dividing top and bottom of by give ?
Dividing both parts by the same number keeps the value; and is exactly the probability of each.
Why is the denominator , not ?
Because is the new (shrunken) universe you're counting inside.
What is ?
Every outcome not in — the dots outside the loop.
Which complement identity is true?
— you may not change the condition .
Why must ?
An impossible is an empty box; dividing by zero is undefined.

Connections

  • Sample space and events — the box and loops built here.
  • Tree diagrams — another way to picture shrinking boxes step by step.
  • Multiplication rule of probability — what you get by rearranging the conditional formula.
  • Independence of events — the special case where shrinking the box changes nothing.
  • Bayes' Theorem — safely swapping which event is "given."
  • Law of total probability — adding up conditionals across a partition of the box.