# Probability concepts, conditional probability, independent events

> IB Mathematics Applications and Interpretation HL · Unit 5: Statistics and Probability
> Source: https://www.owlsprep.com/study/ib-math-ai-hl-u5-probability-concepts-conditional-probability-independent/

This subtopic covers core foundational probability definitions, the formula and calculation of conditional probability, and the key distinction between independent and dependent events for IB AI HL exam questions.

**Prerequisites:** [Basic set notation and Venn diagrams](https://www.owlsprep.com/study/ib-math-ai-hl-u5-basic-set-theory/)

## Learning objectives

- Recall core definitions and rules for basic probability
- Calculate conditional probability using the formal definition
- Distinguish between independent and mutually exclusive events
- Apply probability rules to solve exam-style problems

## Core Probability Fundamentals

**Sample Space and Event** — The sample space is the set of all possible outcomes of a random experiment. An event is a subset of the sample space.

*Notation:* $S$ for sample space, $A, B$ for events

*Example:* Rolling a 6-sided die: $S = \{1,2,3,4,5,6\}$, event "roll even" is $A = \{2,4,6\}$

All probability follows core basic rules: the probability of any event is between 0 and 1, and the sum of probabilities of all outcomes in the sample space equals 1. A very useful rule is the **complement rule** for the event that $A$ does not occur, written $A'$.

$$P(A') = 1 - P(A)$$

**Worked example:** A fair 10-sided die is rolled once. Find the probability that the outcome is *not* a multiple of 3.

1. 1. Identify the sample space and event:
2. $$S = \{1,2,...,10\}, \quad n(S) = 10$$
3. Let $A$ = outcome is a multiple of 3, so $A = \{3,6,9\}$, $n(A) = 3$
4. 2. Calculate $P(A)$:
5. $$P(A) = \frac{n(A)}{n(S)} = \frac{3}{10}$$
6. 3. Use the complement rule to find $P(A')$, the probability the outcome is not a multiple of 3:
7. $$P(A') = 1 - P(A) = 1 - \frac{3}{10} = \frac{7}{10}$$

## Conditional Probability

**Conditional Probability** — The probability of event $A$ occurring given that event $B$ has already occurred is called conditional probability, written $P(A|B)$. The formula is:

*Example:* Probability of drawing a red card second, given the first card drawn was red

$$P(A|B) = \frac{P(A \cap B)}{P(B)}, \quad P(B) > 0$$

Conditional probability restricts the sample space to only outcomes where $B$ has occurred, so we normalize the joint probability $P(A \cap B)$ by the total probability of $B$. This matches our intuitive understanding of how prior information changes probability.

**Worked example:** A bag contains 5 red marbles and 7 blue marbles. Two marbles are drawn *without replacement*. Find the probability that the second marble is red, given the first was red.

1. 1. Define events: $A$ = second marble red, $B$ = first marble red. We need $P(A|B)$.
2. 2. Calculate the joint probability both are red:
3. $$P(A \cap B) = \frac{5}{12} \times \frac{4}{11} = \frac{20}{132} = \frac{5}{33}$$
4. 3. We know $P(B) = \frac{5}{12}$, the probability the first marble is red.
5. 4. Apply the conditional probability formula:
6. $$P(A|B) = \frac{P(A \cap B)}{P(B)} = \frac{\frac{5}{33}}{\frac{5}{12}} = \frac{12}{33} = \frac{4}{11}$$
7. This matches intuition: after drawing one red, 4 red out of 11 total marbles remain.

> **Exam tip:** Always confirm $P(B) \neq 0$; if $B$ cannot occur, conditional probability is undefined, a common trick exam question.

## Independent Events and Key Distinctions

**Independent Events** — Two events $A$ and $B$ are independent if the occurrence of one does not change the probability of the other. This gives the core mathematical condition:

*Example:* Rolling a die twice: the result of the first roll does not affect the second

$$P(A \cap B) = P(A) \times P(B)$$

> **warning**
>
> Never confuse independent events with mutually exclusive events! For two events with non-zero probability, they cannot be both independent and mutually exclusive. If they are independent, $P(A \cap B) = P(A)P(B) > 0$, so they can occur together.

Mutually exclusive events are events that cannot occur at the same time, so $P(A \cap B) = 0$. This is a completely separate concept from independence, and mixing the two up is one of the most common exam mistakes.

**Worked example:** A student takes two independent tests. The probability they pass test 1 is 0.7, and the probability they pass test 2 is 0.6. Find the probability the student passes exactly one test.

1. 1. Define events: $P_1$ = pass test 1, $P_2$ = pass test 2, events are independent.
2. 2. "Pass exactly one" means (pass 1 and fail 2) OR (fail 1 and pass 2). These are mutually exclusive, so we add their probabilities.
3. 3. Calculate the first probability using the independence rule:
4. $$P(P_1 \cap P_2') = P(P_1) \times P(P_2') = 0.7 \times (1 - 0.6) = 0.28$$
5. 4. Calculate the second probability:
6. $$P(P_1' \cap P_2) = P(P_1') \times P(P_2) = (1 - 0.7) \times 0.6 = 0.18$$
7. 5. Add the probabilities:
8. $$P(\text{exactly one pass}) = 0.28 + 0.18 = 0.46$$

## Common pitfalls

- **Wrong:** Confusing independent and mutually exclusive events for non-zero probability events
  - Why it fails: These are separate concepts, and their conditions are contradictory for events with positive probability
  - Correct: Remember: mutually exclusive means $P(A \cap B) = 0$, independent means $P(A \cap B) = P(A)P(B)$. Only use mutually exclusive if events cannot occur together.
- **Wrong:** Forgetting to divide by $P(B)$ when calculating conditional probability, leaving $P(A \cap B)$ as the final answer
  - Why it fails: Conditional probability restricts the sample space to $B$, so normalization is required
  - Correct: Always write the full formula $P(A|B) = \frac{P(A \cap B)}{P(B)}$ and divide by $P(B)$ before finishing.
- **Wrong:** Treating draws with replacement the same as draws without replacement (or vice versa)
  - Why it fails: The sample size only changes when drawing without replacement, which changes probabilities for subsequent draws
  - Correct: Always read the question carefully to check if draws are with or without replacement before starting your calculation.
- **Wrong:** Assuming all events are independent when the question does not state this
  - Why it fails: Many exam problems test your ability to check for independence, not assume it from the start
  - Correct: Only use the rule $P(A \cap B) = P(A)P(B)$ if the question explicitly states events are independent, or you have verified independence via the definition.

## Cheatsheet

| Concept | Formula / Rule |
| --- | --- |
| Complement Rule | $P(A') = 1 - P(A)$ |
| Conditional Probability | $P(A\|B) = \frac{P(A \cap B)}{P(B)}, P(B) > 0$ |
| General Multiplication Rule | $P(A \cap B) = P(A\|B)P(B)$ |
| Independent Events | $P(A \cap B) = P(A)P(B)$, $P(A\|B) = P(A)$ |
| Mutually Exclusive Events | $P(A \cup B) = P(A) + P(B)$, $P(A \cap B) = 0$ |

## What's next

Mastering these core probability concepts is the foundation for all further probability and statistics topics in IB AI HL, including discrete and continuous probability distributions, expected value, hypothesis testing, and regression analysis. Conditional probability is especially critical for Bayes' theorem, a common higher-mark exam topic that extends the ideas you learned here. The distinction between independent and dependent events also comes into play when checking for association in contingency tables for chi-squared tests, so building a solid understanding here will help you avoid common mistakes in more advanced topics.

- [Probability distributions: expected value and variance](https://www.owlsprep.com/study/ib-math-ai-hl-u5-probability-distributions-expected-value-and/)
- [Binomial, Poisson and normal distributions](https://www.owlsprep.com/study/ib-math-ai-hl-u5-binomial-poisson-and-normal-distributions/)
- [Non-linear regression models](https://www.owlsprep.com/study/ib-math-ai-hl-u5-non-linear-regression-models/)

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ib-math-ai-hl-u5-probability-concepts-conditional-probability-independent/
