01 / 20

Probability
Fundamentals

Master sample spaces, events, Venn diagrams, and tree diagrams to build a solid foundation in probability theory.

IB Mathematics: Analysis and Approaches

What Is Probability?

Probability measures how likely an event is to occur. It is always a number between \(0\) (impossible) and \(1\) (certain):

\(P = 0\)
Impossible event: it can never happen.
\(P = 0.5\)
Equally likely to happen or not.
\(P = 1\)
Certain event: it will always happen.

Sample Space and Events

The sample space \(U\) (or \(S\)) is the set of all possible outcomes of an experiment. An event is any subset of the sample space.

Experiment
Rolling a standard die
Sample Space \(U\)
\(\{1, 2, 3, 4, 5, 6\}\)
Event \(A\)
"Rolling even": \(\{2, 4, 6\}\)

Types of Events

Mutually Exclusive
Events that cannot happen at the same time: \(A \cap B = \emptyset\).
Independent
One event does not affect the probability of the other: \(P(A \cap B) = P(A) \cdot P(B)\).
Exhaustive
Events that together cover the entire sample space: \(A \cup B = U\).
Dependent
The outcome of one event changes the probability of the other.

The Addition Rule

U A B
\(A \cap B\)

Reading a Venn Diagram

U = 40 students Maths 12 Science 10 8 10

Introducing Tree Diagrams

A tree diagram maps out every possible path through a sequence of events. Each branch is labeled with its probability, and the branches from any node must sum to 1.

\(0.3\)
Rain
\(0.7\)
No Rain
\(0.6\)
Late
\(0.18\)
\(0.4\)
On time
\(0.12\)
\(0.1\)
Late
\(0.07\)
\(0.9\)
On time
\(0.63\)

Mutually Exclusive vs Independent

Mutually Exclusive Independent
Definition Cannot occur together One doesn't affect the other
\(P(A \cap B)\) \(= 0\) \(= P(A) \cdot P(B)\)
\(P(A \cup B)\) \(P(A) + P(B)\) \(P(A) + P(B) - P(A)P(B)\)
Venn diagram Circles don't overlap Circles may overlap
Example Rolling a 2 and a 5 Coin flip and die roll

How to Solve Probability Problems

1
Identify the experiment. What random process is being described?
2
List the sample space \(U\). Write out every possible outcome.
3
Define the event(s). Which outcomes are "favourable"?
4
Choose the right tool: Venn diagram for overlapping categories, tree diagram for sequential events.
5
Apply the formula. Use the addition rule, complement rule, or multiply along branches.
6
Verify. Check that all probabilities sum to \(1\) and \(0 \leq P \leq 1\).

Example 1: Venn Diagram

In a class of 30 students, 18 play football, 14 play basketball, and 8 play both. A student is chosen at random. Find \(P(\text{football or basketball})\).

U = 30 Football 10 Basketball 6 8 6

Example 2: Tree Diagram

A bag contains 3 blue and 2 red balls. Two balls are drawn without replacement. Find \(P(\text{both blue})\).

Start
\(\frac{3}{5}\)
Blue
\(\frac{2}{5}\)
Red
\(\frac{2}{4}\)
BB
\(\frac{6}{20}\)
\(\frac{2}{4}\)
BR
\(\frac{6}{20}\)
\(\frac{3}{4}\)
RB
\(\frac{6}{20}\)
\(\frac{1}{4}\)
RR
\(\frac{2}{20}\)

Example 3: The Complement Rule

A fair coin is flipped three times. Find the probability of getting at least one head.

1
\(P(\text{all tails}) = \dfrac{1}{2} \times \dfrac{1}{2} \times \dfrac{1}{2} = \dfrac{1}{8}\)
2
\(P(\text{at least one head}) = 1 - P(\text{all tails}) = 1 - \dfrac{1}{8} = \dfrac{7}{8}\)

With vs Without Replacement

With Replacement Without Replacement
Process Item returned before next draw Item kept out after draw
Probabilities Stay the same each draw Change with each draw
Independence Independent Dependent
Example: 3B, 2R \(\frac{3}{5} \times \frac{3}{5} = \frac{9}{25}\) \(\frac{3}{5} \times \frac{2}{4} = \frac{3}{10}\)

Key Formulas Summary

Complement
\(P(A') = 1 - P(A)\)
Addition
\(P(A \cup B) = P(A) + P(B) - P(A \cap B)\)
Independent
\(P(A \cap B) = P(A) \cdot P(B)\)
Mutually Exclusive
\(P(A \cap B) = 0\)

Common Mistakes

✕ Forgetting to subtract the overlap
Using \(P(A) + P(B)\) without subtracting \(P(A \cap B)\) when events overlap gives a probability greater than it should be.
✕ Confusing "or" and "and"
"Or" means \(\cup\) (add), "and" means \(\cap\) (multiply). Swapping them leads to a fundamentally wrong approach.
✕ Treating dependent events as independent
When drawing without replacement, the second probability changes. Using the original denominator gives the wrong answer.

Question 1 of 5

If \(P(A) = 0.4\) and \(P(B) = 0.5\), and \(A\) and \(B\) are mutually exclusive, what is \(P(A \cup B)\)?

Question 2 of 5

A bag has 4 green and 6 yellow marbles. Two are drawn without replacement. What is \(P(\text{both green})\)?

Question 3 of 5

In a Venn diagram, \(n(A) = 20\), \(n(B) = 15\), \(n(A \cap B) = 7\), and \(n(U) = 40\). What is \(P(A' \cap B')\)?

Question 4 of 5

A fair die is rolled twice. The events are independent. What is \(P(\text{6 on first roll AND 6 on second roll})\)?

Question 5 of 5

A coin is flipped 4 times. What is the probability of getting at least one tail?