Venn and Tree Diagrams (AA HL)

Venn diagrams and tree diagrams organise the information in a probability question. A Venn diagram shows how events overlap, which is what the rule P(A∪B)=P(A)+P(B)−P(A∩B)P(A\cup B)=P(A)+P(B)-P(A\cap B) uses, while a tree diagram shows a sequence of events, with probabilities multiplied along the branches. Sample space diagrams and tables of outcomes are also covered. It's part of the broader Probability topic.

22 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:

Combining events

Addition rule (Venn)

P(A∪B)=P(A)+P(B)−P(A∩B)P(A\cup B)=P(A)+P(B)-P(A\cap B)

Subtract the overlap once so it isn't counted twice. If the events are mutually exclusive, the overlap is 00 and the rule reduces to P(A)+P(B)P(A)+P(B).

Finding P(A)P(A) with a tree

When P(A)P(A) isn't given directly, build it from a tree diagram: sum P(Bi)P(A∣Bi)P(B_i)P(A\mid B_i) over every branch that leads to AA, for up to three events B1,B2,B3B_1,B_2,B_3.

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

Key terms

What do union and intersection mean?

The union A∪BA\cup B means AA or BB or both happen. The intersection A∩BA\cap B means both AA and BB happen.

e.g. On one roll of a fair die, let AA be even and BB be greater than 33. Then A∩BA\cap B is the outcomes 44 and 66, so P(A∩B)=13P(A\cap B)=\tfrac13.

What are mutually exclusive events?

Mutually exclusive events cannot happen at the same time, so P(A∩B)=0P(A\cap B)=0 and P(A∪B)=P(A)+P(B)P(A\cup B)=P(A)+P(B).

e.g. On one roll of a die, "even" and "a 5" are mutually exclusive, so the probability of one or the other is 36+16=23\tfrac36+\tfrac16=\tfrac23.

What does without replacement mean?

The item drawn is not put back, so the probabilities for the next draw change.

e.g. From a bag of 44 red and 66 blue counters, the probability of two reds is 410×39=215\dfrac{4}{10}\times\dfrac39=\dfrac{2}{15}.

How do you fill in a Venn diagram?

Start with the overlap, then subtract it from each total to find the parts that belong to only one event. Check that all the regions add up to the total.

e.g. If 3030 students take subject AA and 1212 of them also take BB, the region for only AA holds 30−12=1830-12=18.

Worked examples

1
Medium
GDC
[3 marks]

Of 100 students, 60 study Spanish, S, and 25 of those also study French, F. Altogether 40 study French.

(a) Find P(F)P(F).

(b) Find P(F∣S)P(F\mid S).

Worked solution

(a) P(F)P(F). P(F)=40100=0.4.P(F)=\dfrac{40}{100}=0.4. A1

(b) P(F∣S)P(F\mid S). Condition on the 60 Spanish students; of these, 25 also study French: P(F∣S)=2560≈0.417.P(F\mid S)=\dfrac{25}{60}\approx 0.417. M1
A1On the GDC. (a) Find the probability of French (b) Find the probability of French given Spanish

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

A1 Correct value P(F)=40100=0.4P(F)=\tfrac{40}{100}=0.4 M1 For restricting to the 60 Spanish students (conditioning on S) A1 For forming and simplifying the ratio to 512≈0.417\frac{5}{12}\approx0.417
2
Medium
GDC
[2 marks]

A box has 12 items, 3 defective. Two are drawn without replacement. Given the first is defective, find P(second is defective).P(\text{second is defective}).

Worked solution

After one defective is removed, 11 items remain with 2 defective. M1
P(2nd defective)=211≈0.182.P(\text{2nd defective}) = \dfrac{2}{11} \approx 0.182. A1On the GDC. Probability second item is defective given first is The calculator shows about 0.181818181818182.

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

M1 Reduced sample space A1 211\tfrac{2}{11}
3
Easy
No calc
[3 marks]

Two fair dice are rolled and the scores added.

(a) State the number of outcomes.

(b) Find the probability the total is 7.

Worked solution

(a) Number of outcomes. Each die has 6 faces and they are independent: 6×6=36.6\times6=36. A1

(b) Total is 7. The favourable pairs are (1,6),(2,5),(3,4),(4,3),(5,2),(6,1)(1,6),(2,5),(3,4),(4,3),(5,2),(6,1) - 6 ways. M1
So P=636=16.P=\dfrac{6}{36}=\dfrac16. A1

A1 Outcomes M1 Lists/counts ways A1 Probability
4
Hard
GDC
[4 marks]

Three archers hit the target with probabilities 0.8, 0.7 and 0.6 independently.

(a) Find P(all three hit).

(b) Find P(exactly two hit).

Worked solution

(a) All three hit. Independent: 0.8×0.7×0.60.8\times0.7\times0.6 M1
0.8×0.7×0.6=0.336.0.8\times0.7\times0.6 = 0.336. A1

(b) Exactly two hit. Sum the three "exactly two" cases: (0.8)(0.7)(0.4)+(0.8)(0.3)(0.6)+(0.2)(0.7)(0.6)=0.224+0.144+0.084=0.452.(0.8)(0.7)(0.4)+(0.8)(0.3)(0.6)+(0.2)(0.7)(0.6)=0.224+0.144+0.084=0.452. M1A1On the GDC. (a) Find the probability all three hit. (b) Find the probability exactly two hit.

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

M1 For multiplying the independent probabilities 0.8×0.7×0.60.8\times0.7\times0.6 A1 Method and value M1 Identifies the three exactly-two-hit cases A1 Adds the three case probabilities

Common mistakes

  • 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.
  • Double-subtracting the overlap in a Venn diagram. The region where both events happen is drawn once but represents P(A∩B)P(A\cap B) - label it directly, then work outward, rather than subtracting it twice by accident.
  • Forgetting to branch on complements in a tree diagram. Every stage needs both outcomes drawn, since "not AA" branches often carry the probabilities that matter most for the next stage.

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 the union of two events?

P(A∪B)=P(A)+P(B)−P(A∩B)P(A\cup B)=P(A)+P(B)-P(A\cap B). For mutually exclusive events P(A∩B)=0P(A\cap B)=0, so it simplifies to P(A)+P(B)P(A)+P(B).

How do you find a probability from a tree diagram?

Multiply along each branch to get the probability of that path, then add the results for every path that leads to the outcome you want. For GDC guidance on organising these calculations, see the Probability GDC section.

When do I add probabilities and when do I multiply?

Multiply along the branches of a tree for one path, which means "and". Add the probabilities of different paths that give the outcome you want, which means "or".

Why must the branches from one point add up to 1?

The branches from one point cover every possible outcome at that stage, so their probabilities must total 11.

How can I check that a sample space grid for two dice is complete?

It must have 6×6=366\times6=36 equally likely outcomes. Count the cells before using the grid to find a probability.

Ready to practise properly?

22 Venn and tree diagram questions, marked instantly like the real exam.