Skip to content
Skip to page content
soylai.com

Probability — chapter notes

7 sections 6 min readBeta

1. Conditional probability

If EE and FF are events of a sample space SS with P(F)≠0P(F) \ne 0, the conditional probability of EE given FF is

P(E∣F)=P(E∩F)P(F).P(E \mid F) = \dfrac{P(E \cap F)}{P(F)}.

Knowing that FF has happened rules out every outcome outside FF; the outcomes inside FF stay equally likely. For equally likely outcomes, P(E∣F)=n(E∩F)n(F)P(E \mid F) = \dfrac{n(E \cap F)}{n(F)}.

Example: two dice, given at least one six (1111 outcomes), the probability that the sum is at least 1010 is 511\dfrac{5}{11}.

New information shrinks the sample space.
QuestionSample spaceFavourableProbability
P(4)P(4) on a die{1,2,3,4,5,6}\{1, 2, 3, 4, 5, 6\}{4}\{4\}16\dfrac{1}{6}
P(4∣even)P(4 \mid \text{even}){2,4,6}\{2, 4, 6\}{4}\{4\}13\dfrac{1}{3}

Formulas

  • Definition
    P(E∣F)=P(E∩F)P(F),P(F)≠0P(E \mid F) = \dfrac{P(E \cap F)}{P(F)}, \quad P(F) \ne 0

Key terms

Conditional probability

The probability of EE when FF is known to have happened: P(E∣F)P(E \mid F).

Reduced sample space

The given event FF, used as the new sample space.

2. Properties of conditional probability

For a fixed event FF with P(F)>0P(F) > 0:

  • P(S∣F)=P(F∣F)=1P(S \mid F) = P(F \mid F) = 1
  • 0≤P(E∣F)≤10 \le P(E \mid F) \le 1
  • P(A∪B∣F)=P(A∣F)+P(B∣F)−P(A∩B∣F)P(A \cup B \mid F) = P(A \mid F) + P(B \mid F) - P(A \cap B \mid F)
  • P(E′∣F)=1−P(E∣F)P(E' \mid F) = 1 - P(E \mid F)

In general P(E∣F)≠P(F∣E)P(E \mid F) \ne P(F \mid E): the numerators are the same, the denominators are not. In a two-way table, divide by the row or column total of the given group.

Conditional probability behaves like ordinary probability on the new sample space $F$.
PropertyStatement
Whole spaceP(S∣F)=P(F∣F)=1P(S \mid F) = P(F \mid F) = 1
UnionP(A∪B∣F)=P(A∣F)+P(B∣F)−P(A∩B∣F)P(A \cup B \mid F) = P(A \mid F) + P(B \mid F) - P(A \cap B \mid F)
ComplementP(A′∣F)=1−P(A∣F)P(A' \mid F) = 1 - P(A \mid F)
Range0≤P(A∣F)≤10 \le P(A \mid F) \le 1

Formulas

  • Complement
    P(E′∣F)=1−P(E∣F)P(E' \mid F) = 1 - P(E \mid F)

Key terms

Complement rule (conditional)

P(E′∣F)=1−P(E∣F)P(E' \mid F) = 1 - P(E \mid F).

3. Multiplication theorem

From the definition,

P(E∩F)=P(E) P(F∣E)=P(F) P(E∣F).P(E \cap F) = P(E)\,P(F \mid E) = P(F)\,P(E \mid F).

For three events, P(E∩F∩G)=P(E) P(F∣E) P(G∣E∩F)P(E \cap F \cap G) = P(E)\,P(F \mid E)\,P(G \mid E \cap F).

Use it for events in sequence, especially draws without replacement, where each later factor is conditional on the earlier draws. A tree diagram shows the stages: multiply along a path, add different paths.

Example: 1010 bulbs with 33 fused, two drawn without replacement: P(both fused)=310×29=115P(\text{both fused}) = \dfrac{3}{10} \times \dfrac{2}{9} = \dfrac{1}{15}.

Second-stage branches are conditional probabilities: they change with the first draw.

Formulas

  • Three events
    P(E∩F∩G)=P(E) P(F∣E) P(G∣E∩F)P(E \cap F \cap G) = P(E)\,P(F \mid E)\,P(G \mid E \cap F)

Key terms

Tree diagram

Branches for each stage, labelled with (conditional) probabilities; path probability = product along the path.

4. Independent events

Events EE and FF are independent if P(E∩F)=P(E) P(F)P(E \cap F) = P(E)\,P(F); equivalently (when the probabilities are non-zero) P(E∣F)=P(E)P(E \mid F) = P(E) and P(F∣E)=P(F)P(F \mid E) = P(F).

  • If EE, FF are independent, so are EE and F′F', E′E' and FF, and E′E' and F′F'.
  • Three events are mutually independent if every pair satisfies the product rule and P(E∩F∩G)=P(E)P(F)P(G)P(E \cap F \cap G) = P(E)P(F)P(G).
  • For independent events, P(at least one)=1−P(E′)P(F′)⋯P(\text{at least one}) = 1 - P(E')P(F')\cdots.
  • Mutually exclusive (P(E∩F)=0P(E \cap F) = 0) is a different idea: with non-zero probabilities, mutually exclusive events are never independent.

Example: one card from a pack; "king" and "heart" are independent since 152=113×14\dfrac{1}{52} = \dfrac{1}{13} \times \dfrac{1}{4}.

Two different ideas: do not mix them up.
Mutually exclusiveIndependent
Meaningcannot happen togetherone does not change the chance of the other
TestP(A∩B)=0P(A \cap B) = 0P(A∩B)=P(A) P(B)P(A \cap B) = P(A)\,P(B)
Venn picturecircles do not overlapoverlap has the "right" size
Both at once?only if P(A)=0P(A) = 0 or P(B)=0P(B) = 0

Formulas

  • Independence test
    P(E∩F)=P(E) P(F)P(E \cap F) = P(E)\,P(F)
  • At least one (independent)
    P(E∪F)=1−P(E′) P(F′)P(E \cup F) = 1 - P(E')\,P(F')

Key terms

Independent events

Events with P(E∩F)=P(E)P(F)P(E \cap F) = P(E)P(F): knowing one does not change the chance of the other.

Mutually exclusive events

Events that cannot happen together: P(E∩F)=0P(E \cap F) = 0.

5. Partition and the theorem of total probability

Events E1,…,EnE_1, \ldots, E_n form a partition of SS if Ei∩Ej=∅E_i \cap E_j = \varnothing for i≠ji \ne j, E1∪⋯∪En=SE_1 \cup \cdots \cup E_n = S and P(Ei)>0P(E_i) > 0 for every ii.

Theorem of total probability: for any event AA,

P(A)=∑i=1nP(Ei) P(A∣Ei).P(A) = \sum_{i=1}^{n} P(E_i)\,P(A \mid E_i).

In a tree: multiply along every path ending in AA and add. Example: bag I (55 white, 33 black) and bag II (22 white, 66 black) chosen by a coin: P(W)=716P(W) = \dfrac{7}{16}.

$A$ is cut into $A \cap E_1$, $A \cap E_2$, $A \cap E_3$: add their probabilities.

Formulas

  • Total probability
    P(A)=∑i=1nP(Ei) P(A∣Ei)P(A) = \sum_{i=1}^{n} P(E_i)\,P(A \mid E_i)

Key terms

Partition

Disjoint events with non-zero probabilities whose union is the sample space.

Total probability

The probability of AA as a sum over the pieces of a partition.

6. Bayes' theorem

If E1,…,EnE_1, \ldots, E_n partition SS and P(A)>0P(A) > 0,

P(Ei∣A)=P(Ei) P(A∣Ei)∑j=1nP(Ej) P(A∣Ej).P(E_i \mid A) = \dfrac{P(E_i)\,P(A \mid E_i)}{\sum_{j=1}^{n} P(E_j)\,P(A \mid E_j)}.
  • P(Ei)P(E_i): prior; P(A∣Ei)P(A \mid E_i): likelihood; P(Ei∣A)P(E_i \mid A): posterior.
  • The posteriors add to 11.
  • A rare cause can stay unlikely even after strong evidence: in a screening test with prior 5%5\%, a positive result gives only 928≈0.32\dfrac{9}{28} \approx 0.32.

Example: a complaint at a call centre with shifts 40%40\%, 35%35\%, 25%25\% and complaint rates 2%2\%, 3%3\%, 4%4\%: P(C)=0.0285P(C) = 0.0285; posteriors 1657\dfrac{16}{57}, 719\dfrac{7}{19}, 2057\dfrac{20}{57}.

Of $140$ positives, only $45$ are deficient: $\dfrac{45}{140} = \dfrac{9}{28}$.
Per 1000 peoplePositiveNegativeTotal
Deficient4545555050
Not deficient9595855855950950
Total14014086086010001000
  • posterior
  • no change
A positive result always raises the probability, but a small prior still gives a modest posterior.

Formulas

  • Bayes' theorem
    P(Ei∣A)=P(Ei) P(A∣Ei)∑jP(Ej) P(A∣Ej)P(E_i \mid A) = \dfrac{P(E_i)\,P(A \mid E_i)}{\sum_{j} P(E_j)\,P(A \mid E_j)}

Key terms

Prior probability

The probability of a cause before the evidence.

Posterior probability

The probability of a cause after the evidence, from Bayes' theorem.

Likelihood

The probability of the evidence under a given cause, P(A∣Ei)P(A \mid E_i).

7. Strategy: choosing the tool

  1. Define every event in words.
  2. Read the question: does it say given? Which event is known?
  3. Events in order → multiplication rule (tree). Unrelated trials → independence.
  4. Outcome through several causes → total probability. Cause after the outcome → Bayes.
  5. Check: probabilities between 00 and 11; posteriors add to 11; the answer makes sense in context.

Not in the 2026–27 syllabus: random variables and their probability distributions, mean and variance of a random variable, Bernoulli trials and the binomial distribution.

One question, five possible tools.

Key terms

Direction of a conditional

Which event is given: P(A∣E)P(A \mid E) is a likelihood, P(E∣A)P(E \mid A) a posterior.

Exam tips

How marks are awarded

  • Conditional probability (1–3 marks): given event identified, the reduced sample space or the formula, answer simplified.
  • Independence (2–3 marks): P(E)P(E), P(F)P(F) and P(E∩F)P(E \cap F) found, comparison written out, conclusion in words.
  • Multiplication rule (2–3 marks): each factor with the correct (conditional) denominator, product, all orders counted when the order is not fixed.
  • Bayes (4–5 marks): events defined (1), priors and likelihoods (1), total probability (1), ratio (1), answer with conclusion (1).

Common mistakes

  1. Dividing by the wrong event: P(A∣B)P(A \mid B) uses P(B)P(B), not P(A)P(A).
  2. Using the grand total instead of the row or column total in a two-way table.
  3. Treating draws without replacement as independent.
  4. Calling mutually exclusive events independent.
  5. Adding probabilities of independent events to get "both".
  6. Forgetting one of the orders (white-black and black-white).
  7. In Bayes, using the prior as the answer or forgetting to divide by the total.
  8. Mixing percentages and decimals in one line.