Conditional Probability (AA HL)

Conditional probability P(A∣B)P(A\mid B) is the probability of AA given that BB has already occurred, found using P(A∣B)=P(A∩B)P(B)P(A\mid B)=\dfrac{P(A\cap B)}{P(B)}. Two events are independent when knowing one does not change the probability of the other, which means P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B). Both ideas are applied with tree diagrams, with and without replacement, and in questions that ask you to justify independence. It's part of the broader Probability topic.

13 questions on this sub-topic.

Syllabus

CodeSyllabus content
SL4.6Use of Venn diagrams, tree diagrams, sample space diagrams and tables of outcomes. Combined events: P(A∪B)=P(A)+P(B)−P(A∩B)P(A\cup B)=P(A)+P(B)-P(A\cap B). Mutually exclusive events: P(A∩B)=0P(A\cap B)=0. Conditional probability: P(A∣B)=P(A∩B)P(B)P(A\mid B)=\dfrac{P(A\cap B)}{P(B)}. Probabilities with and without replacement. Independent events: P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B).

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Skills practised on this page:

Conditional probability and independence

The conditional probability formula is in the formula booklet, but recognising when a question is testing independence rather than asking for a conditional value directly is the real skill.

Conditional probability

P(A∣B)=P(A∩B)P(B)P(A\mid B)=\dfrac{P(A\cap B)}{P(B)}

Rearranges to P(A∩B)=P(B)P(A∣B)P(A\cap B)=P(B)\,P(A\mid B) - the rule behind every tree diagram.

In the formula booklet

Testing independence

P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B)

Compare the given P(A∩B)P(A\cap B) with the product P(A)P(B)P(A)P(B). Equal means independent; unequal means dependent.

Need the full syllabus wording and formula-booklet reference table? See Probability.

Key terms

What does the notation for A given B mean?

It restricts the sample space to the outcomes in BB, then asks how likely AA is within them.

e.g. On one roll of a fair die, P(even∣greater than 3)=23P(\text{even}\mid\text{greater than }3)=\dfrac23, since two of the outcomes 4,5,64, 5, 6 are even.

What are independent events?

Events are independent when one happening does not affect the probability of the other, so P(A∣B)=P(A)P(A\mid B)=P(A).

e.g. For two fair coins, P(two heads)=12×12=14P(\text{two heads})=\tfrac12\times\tfrac12=\tfrac14.

How do independent and mutually exclusive events differ?

Mutually exclusive events satisfy P(A∩B)=0P(A\cap B)=0, whereas independent events satisfy P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B). Two events that each have non-zero probability cannot be both.

e.g. If P(A)=0.4P(A)=0.4 and P(B)=0.3P(B)=0.3 are independent, then P(A∩B)=0.12P(A\cap B)=0.12, which is not 00, so they are not mutually exclusive.

How do conditional probabilities appear on a tree diagram?

The branches at the second stage carry conditional probabilities. Multiplying along a path gives P(A∩B)=P(B)P(A∣B)P(A\cap B)=P(B)P(A\mid B).

e.g. From a bag with 33 red and 22 blue counters drawn without replacement, P(red then blue)=35×24=310P(\text{red then blue})=\dfrac35\times\dfrac24=\dfrac{3}{10}.

Worked examples

1
Easy
No calc
[2 marks]

Independent events AA and BB have P(A)=0.5P(A) = 0.5 and P(B)=0.2.P(B) = 0.2. Find P(A∩B).P(A\cap B).

Worked solution

For independent events, P(A∩B)=P(A)P(B)=0.5×0.2P(A\cap B) = P(A)P(B) = 0.5\times0.2 M1
P(A∩B)=0.1.P(A\cap B) = 0.1. A1

M1 Product rule A1 Correct answer of 0.10.1
2
Medium
No calc
[4 marks]

Events AA and BB satisfy P(A)=0.4P(A) = 0.4, P(B)=0.5P(B) = 0.5, P(A∩B)=0.2P(A\cap B) = 0.2.

(a) Determine whether AA and BB are independent.

(b) Find P(A∪B)P(A\cup B).

Worked solution

(a) P(A)P(B)=0.4×0.5=0.2P(A)P(B) = 0.4\times0.5 = 0.2 M1
P(A)P(B)=P(A∩B)P(A)P(B) = P(A\cap B), so AA and BB are independent. A1

(b) P(A∪B)=0.4+0.5−0.2P(A\cup B) = 0.4 + 0.5 - 0.2 M1
P(A∪B)=0.7.P(A\cup B) = 0.7. A1

M1 Test P(A)P(B)=P(A∩B)P(A)P(B)=P(A\cap B) A1 Independent M1 Union formula A1 Correct answer of 0.70.7
3
Medium
GDC
[4 marks]

A bag has 5 red and 3 blue counters. Two are drawn without replacement.

(a) Find the probability both are red.

(b) Find the probability they are different colours.

Worked solution

(a) Both red. P(RR)=58×47=2056P(RR)=\dfrac{5}{8}\times\dfrac{4}{7}=\dfrac{20}{56} M1 =514.=\dfrac{5}{14}. A1

(b) Different colours. P(RB)+P(BR)=58⋅37+38⋅57=3056=1528.P(RB)+P(BR)=\dfrac{5}{8}\cdot\dfrac{3}{7}+\dfrac{3}{8}\cdot\dfrac{5}{7}=\dfrac{30}{56}=\dfrac{15}{28}. M1A1On the GDC. (a) Find the probability both are red (b) Find the probability of different colours

TI-84 Plus CE: (a) 2nd mode then type 5/(5+3)*(5-1)/(5+3-1) enter Then (b) 2nd mode then type 2*5/(5+3)*3/(5+3-1) enterCasio fx-CG50: (a) MENU Run-Matrix then type 5/(5+3)*(5-1)/(5+3-1) EXE Then (b) MENU Run-Matrix then type 2*5/(5+3)*3/(5+3-1) EXECasio fx-CG100: (a) HOME Calculate then type 5/(5+3)*(5-1)/(5+3-1) EXE Then (b) HOME Calculate then type 2*5/(5+3)*3/(5+3-1) EXETI-Nspire CX: (a) home Calculator then type 5/(5+3)*(5-1)/(5+3-1) enter Then (b) home Calculator then type 2*5/(5+3)*3/(5+3-1) enterFull GDC guide: Enter a calculation on the home screen Topic page

M1 Setting up P(RR)=58×47P(RR)=\frac{5}{8}\times\frac{4}{7} A1 Multiply along the branch and simplify M1 Sets up both routes P(RB)+P(BR)P(RB)+P(BR) A1 Both routes, sum, simplify

Common mistakes

  • Confusing independent with mutually exclusive. These describe opposite relationships - independent events can happen together freely, mutually exclusive events never can. Two events with positive probability can never be both.
  • Forgetting "without replacement" changes the second probability. If a card, ball or item isn't put back, the total and the count of favourable outcomes both shrink for the next draw - each branch of the tree needs a fresh denominator.
  • Mixing up P(A∣B)P(A\mid B) and P(B∣A)P(B\mid A). These are generally different numbers - "given it rained, the probability the match was cancelled" is not the same as "given the match was cancelled, the probability it rained". Bayes' theorem exists specifically to convert between them.

Using your GDC

Most probability questions on this topic are worked through by hand with a tree diagram, Venn diagram or the conditional probability formula rather than a calculator routine. The one place your GDC genuinely speeds things up is counting arrangements and selections.

Show steps for:
Permutations and combinations (nPr, nCr)

Count arrangements and selections quickly - useful whenever a question involves choosing a committee, dealing cards, or arranging items without listing every outcome by hand.

  1. Type n, then MATH → PROB → nCr (or nPr), then r, then ENTER.TI-84
  2. Use nCr(n, r) or nPr(n, r) from the catalog.Nspire
  3. Type n, then OPTN → PROB → nCr (or nPr), then r.Casio

Tip: nCr ignores order (choosing a team); nPr counts order (ranking places). nCr(n, r) is also the binomial coefficient.

See the full GDC guide for more calculator models and topics.

Quick questions

What is the formula for conditional probability?

P(A∣B)=P(A∩B)P(B)P(A\mid B)=\dfrac{P(A\cap B)}{P(B)}. It rearranges to P(A∩B)=P(B)P(A∣B)P(A\cap B)=P(B)\,P(A\mid B), which is the rule behind every tree diagram.

How do you test whether two events are independent?

Check whether P(A)P(B)P(A)P(B) equals P(A∩B)P(A\cap B). If they match, AA and BB are independent; if not, they are dependent. For calculator tips, see the Probability GDC section.

How do I find a conditional probability from a table of outcomes?

Restrict attention to the row or column for the given event, then divide the count that also satisfies the other event by the total count in that row or column.

Is the probability of A given B the same as the probability of B given A?

Usually not. P(A∣B)P(A\mid B) divides P(A∩B)P(A\cap B) by P(B)P(B), whereas P(B∣A)P(B\mid A) divides it by P(A)P(A), and these denominators are usually different.

What does it tell me if the probability of A given B equals the probability of A?

It tells you that AA and BB are independent, because knowing that BB occurred does not change the probability of AA.

Ready to practise properly?

13 conditional-probability questions, marked instantly like the real exam.