Augment Education
  • Blog
Log inStart free
augment

Augment Education

IB Diploma revision built around the syllabus.

contact@augment-education.com

Product

  • Features
  • Question bank
  • Quick fire
  • Worksheets
  • Flashcards
  • Notes
  • Subjects
  • What's new

Learn

  • IB guide
  • Booklets, explained
  • Blog
  • Free tools
  • Grade calculator
  • Subject checker

Company

  • About
  • Help
  • For parents
  • For teachers
  • Comparisons

Augment Education is developed independently of the International Baccalaureate Organization and is not endorsed by it. “IB” and “International Baccalaureate” are its trademarks.

© 2026 Augment Education. All rights reserved.

PrivacyTerms
  1. Subjects
  2. Maths AA
  3. 4 Statistics and probability
  4. 4.11 Conditional probability and independence

4.11 Conditional probability and independence

Use the formula P(A|B) = P(A ∩ B)/P(B) to find conditional probabilities from Venn diagrams, tables and trees, reverse a conditional on a tree, and test whether two events are independent.

  • IB Mathematics: Analysis and Approaches
  • Part of 4 Statistics and probability
  • SL and HL

Key terms introduced here

Each is in the Maths AA glossary, with every other term in the subject.

Conditional probability

The probability that AAA occurs given that BBB has occurred, P(A∣B)=P(A∩B)P(B)P(A \mid B) = \frac{P(A \cap B)}{P(B)}P(A∣B)=P(B)P(A∩B)​, where P(B)>0P(B) > 0P(B)>0.

Dependent events

Events that are not independent: knowing that one has occurred changes the probability of the other, so P(A∩B)≠P(A)P(B)P(A \cap B) \neq P(A)P(B)P(A∩B)=P(A)P(B).

Independent events

Events for which the occurrence of one does not change the probability of the other: P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B)P(A∩B)=P(A)P(B), or equivalently P(A∣B)=P(A)P(A \mid B) = P(A)P(A∣B)=P(A).

Notes on 4.11 Conditional probability and independence

22 min readLast reviewed 14 Oct 2026

Learning objectives

  • State and use the definition P(A∣B)=P(A∩B)P(B)P(A \mid B) = \frac{P(A \cap B)}{P(B)}P(A∣B)=P(B)P(A∩B)​.

  • Find conditional probabilities from Venn diagrams, sample spaces, two-way tables and tree diagrams.

  • Use the multiplication rule P(A∩B)=P(A)P(B∣A)P(A \cap B) = P(A)P(B \mid A)P(A∩B)=P(A)P(B∣A) to find probabilities along the branches of a tree.

  • Find a reverse conditional probability, such as P(A∣B)P(A \mid B)P(A∣B) from a tree drawn with AAA first.

  • Determine whether two events are independent using P(A∣B)=P(A)P(A \mid B) = P(A)P(A∣B)=P(A) or P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B)P(A∩B)=P(A)P(B).

  • Prove simple results about independent events, and solve problems with an unknown probability.

New information changes probabilities. The chance that a randomly chosen person is over 1.901.901.90 m tall is small, but it is much larger if the person is known to be a professional basketball player. A conditional probability measures the chance of one event when another event is known to have occurred, and it is the basis of medical diagnosis, weather forecasting and risk assessment.

Conditional probability also gives a precise meaning to the idea that two events are unrelated. Two events are independent exactly when knowing that one has occurred leaves the probability of the other unchanged.

Scope: the formal definition of conditional probability, the multiplication rule, reversing a conditional for two events on a tree, and independence. The diagrams themselves are introduced in 4.6. Bayes' theorem, which reverses conditionals in general and for up to three events, is in 4.13 (HL).

Conditional probability

The idea of a reduced sample space

In 4.6, "given that" probabilities were read from diagrams by restricting attention to one group. When it is known that BBB has occurred, every outcome outside BBB is ruled out, so BBB becomes the new sample space. The event AAA can now occur only through the outcomes it shares with BBB, which are the outcomes in A∩BA \cap BA∩B.

Venn diagram of A and B in U. Circle B is shaded: the overlap A ∩ B darkly and the rest of B lightly, labelled given region. The part of A outside B, labelled A ∩ B′, is unshaded.
Once B is known to have occurred, only the shaded circle B remains possible. The probability of A is the darker part, A ∩ B, as a fraction of the whole of B.

With equally likely outcomes, the probability of AAA given BBB is therefore the number of outcomes in A∩BA \cap BA∩B divided by the number in BBB:

P(A∣B)=n(A∩B)n(B).P(A \mid B) = \frac{n(A \cap B)}{n(B)}.P(A∣B)=n(B)n(A∩B)​.

Dividing the top and bottom by n(U)n(U)n(U) turns the counts into probabilities, which gives the general definition.

Definition

The conditional probability of AAA given BBB, written P(A∣B)P(A \mid B)P(A∣B), is the probability that AAA occurs when it is known that BBB has occurred:

P(A∣B)=P(A∩B)P(B),P(B)>0.P(A \mid B) = \frac{P(A \cap B)}{P(B)}, \qquad P(B) > 0.P(A∣B)=P(B)P(A∩B)​,P(B)>0.

The vertical line is read "given". The formula is in the formula booklet. It is only defined when P(B)>0P(B) > 0P(B)>0, since it makes no sense to condition on an event that cannot happen. A conditional probability is still a probability, so it lies between 000 and 111, and P(A∣B)+P(A′∣B)=1P(A \mid B) + P(A' \mid B) = 1P(A∣B)+P(A′∣B)=1.

Using the formula with given probabilities

Worked example

Events AAA and BBB satisfy P(A)=0.45P(A) = 0.45P(A)=0.45, P(B)=0.5P(B) = 0.5P(B)=0.5 and P(A∩B)=0.2P(A \cap B) = 0.2P(A∩B)=0.2. Find

(a) P(A∣B)P(A \mid B)P(A∣B) (b) P(B∣A)P(B \mid A)P(B∣A) (c) P(A∣B′)P(A \mid B')P(A∣B′) (d) P(A′∣B)P(A' \mid B)P(A′∣B).

Show the solution

(a) Substitute into the definition.

P(A∣B)=P(A∩B)P(B)=0.20.5=0.4P(A \mid B) = \frac{P(A \cap B)}{P(B)} = \frac{0.2}{0.5} = 0.4P(A∣B)=P(B)P(A∩B)​=0.50.2​=0.4

(b) Now the given event is AAA, so divide by P(A)P(A)P(A).

P(B∣A)=P(A∩B)P(A)=0.20.45=49≈0.444P(B \mid A) = \frac{P(A \cap B)}{P(A)} = \frac{0.2}{0.45} = \frac{4}{9} \approx 0.444P(B∣A)=P(A)P(A∩B)​=0.450.2​=94​≈0.444

(c) First find P(A∩B′)=P(A)−P(A∩B)=0.45−0.2=0.25P(A \cap B') = P(A) - P(A \cap B) = 0.45 - 0.2 = 0.25P(A∩B′)=P(A)−P(A∩B)=0.45−0.2=0.25 (the part of AAA outside BBB) and P(B′)=1−0.5=0.5P(B') = 1 - 0.5 = 0.5P(B′)=1−0.5=0.5.

P(A∣B′)=0.250.5=0.5P(A \mid B') = \frac{0.25}{0.5} = 0.5P(A∣B′)=0.50.25​=0.5

(d) Use the complement within the reduced sample space BBB.

P(A′∣B)=1−P(A∣B)=1−0.4=0.6P(A' \mid B) = 1 - P(A \mid B) = 1 - 0.4 = 0.6P(A′∣B)=1−P(A∣B)=1−0.4=0.6

Common mistake

P(A∣B)P(A \mid B)P(A∣B) and P(B∣A)P(B \mid A)P(B∣A) are different. In the example, P(A∣B)=0.4P(A \mid B) = 0.4P(A∣B)=0.4 but P(B∣A)≈0.444P(B \mid A) \approx 0.444P(B∣A)≈0.444. The numerators are the same, P(A∩B)P(A \cap B)P(A∩B), but the denominators are the probabilities of different events. The probability that a person speaks English given that they live in London is high, while the probability that a person lives in London given that they speak English is low. Always divide by the probability of the event after the "given" bar.

Conditional probability from a sample space

When the outcomes are equally likely, conditional probabilities can be found by counting within the given event. This is often quicker than the formula, and it is a good check on it.

Worked example

Two fair six-sided dice are rolled.

(a) Given that the total is 888, find the probability that at least one die shows a six.

(b) Given that at least one die shows a six, find the probability that the total is 888.

Show the solution

(a) The given event "total is 888" contains the outcomes (2,6),(3,5),(4,4),(5,3),(6,2)(2, 6), (3, 5), (4, 4), (5, 3), (6, 2)(2,6),(3,5),(4,4),(5,3),(6,2): five equally likely outcomes. Two of them, (2,6)(2, 6)(2,6) and (6,2)(6, 2)(6,2), contain a six.

P(a six∣total 8)=25P(\text{a six} \mid \text{total } 8) = \frac{2}{5}P(a six∣total 8)=52​

(b) The given event "at least one six" contains 111111 of the 363636 outcomes (six with a six on the first die, six on the second, minus (6,6)(6, 6)(6,6) counted twice). Two of them have a total of 888.

P(total 8∣a six)=211P(\text{total } 8 \mid \text{a six}) = \frac{2}{11}P(total 8∣a six)=112​

Using the formula gives the same result: 2/3611/36=211\frac{2/36}{11/36} = \frac{2}{11}11/362/36​=112​.

Conditional probability from a two-way table

In a two-way table, the given event picks out a row or a column. Its total becomes the denominator.

A café records the drink ordered by each of 300300300 customers and whether it was ordered in the morning or the afternoon.

Coffee

Tea

Juice

Total

Morning

848484

363636

202020

140140140

Afternoon

464646

545454

606060

160160160

Total

130130130

909090

808080

300300300

Worked example

A customer is chosen at random from the 300300300 in the table. Find the probability that the customer

(a) ordered coffee, given that the order was in the morning

(b) ordered in the morning, given that the order was coffee

(c) ordered in the afternoon, given that the order was not coffee.

Show the solution

(a) Restrict to the 140140140 morning customers.

P(coffee∣morning)=84140=35=0.6P(\text{coffee} \mid \text{morning}) = \frac{84}{140} = \frac{3}{5} = 0.6P(coffee∣morning)=14084​=53​=0.6

(b) Restrict to the 130130130 coffee orders.

P(morning∣coffee)=84130=4265≈0.646P(\text{morning} \mid \text{coffee}) = \frac{84}{130} = \frac{42}{65} \approx 0.646P(morning∣coffee)=13084​=6542​≈0.646

(c) The orders that were not coffee number 90+80=17090 + 80 = 17090+80=170, and 54+60=11454 + 60 = 11454+60=114 of them were in the afternoon.

P(afternoon∣not coffee)=114170=5785≈0.671P(\text{afternoon} \mid \text{not coffee}) = \frac{114}{170} = \frac{57}{85} \approx 0.671P(afternoon∣not coffee)=170114​=8557​≈0.671

The multiplication rule and tree diagrams

Rearranging the definition

Multiplying both sides of the definition by P(B)P(B)P(B) gives a rule for the probability that both events occur:

P(A∩B)=P(B) P(A∣B)=P(A) P(B∣A).P(A \cap B) = P(B)\,P(A \mid B) = P(A)\,P(B \mid A).P(A∩B)=P(B)P(A∣B)=P(A)P(B∣A).

This is the rule used on every tree diagram. The first set of branches gives P(A)P(A)P(A) and P(A′)P(A')P(A′), and the second set gives conditional probabilities such as P(B∣A)P(B \mid A)P(B∣A), because each second-stage branch describes what happens after the first stage. Multiplying along a path is exactly the multiplication rule.

General tree diagram. First branches: A with P(A), A′ with P(A′). From A: B with P(B | A), B′ with P(B′ | A). From A′: B with P(B | A′), B′ with P(B′ | A′). Ends: P(A ∩ B) = P(A) P(B | A), P(A ∩ B′), P(A′ ∩ B), P(A′ ∩ B′).
Second-stage branches are conditional on the first stage. Multiplying along the top path gives P(A ∩ B) = P(A) P(B | A).

Worked example

Two cards are dealt at random from a standard pack of 525252 cards, without replacement.

(a) Write down the probability that the second card is an ace, given that the first card is an ace.

(b) Find the probability that both cards are aces.

Show the solution

(a) After an ace is dealt, 515151 cards remain and 333 of them are aces.

P(2nd ace∣1st ace)=351=117P(\text{2nd ace} \mid \text{1st ace}) = \frac{3}{51} = \frac{1}{17}P(2nd ace∣1st ace)=513​=171​

(b) Use the multiplication rule.

P(both aces)=P(1st ace)×P(2nd ace∣1st ace)=452×351=122652=1221P(\text{both aces}) = P(\text{1st ace}) \times P(\text{2nd ace} \mid \text{1st ace}) = \frac{4}{52} \times \frac{3}{51} = \frac{12}{2652} = \frac{1}{221}P(both aces)=P(1st ace)×P(2nd ace∣1st ace)=524​×513​=265212​=2211​

The multiplication rule is equally useful without a tree. Given one conditional probability and the probability of the condition, it gives the intersection, and from there the addition rule and the definition give everything else.

Worked example

Events AAA and BBB satisfy P(A)=0.4P(A) = 0.4P(A)=0.4, P(B)=0.6P(B) = 0.6P(B)=0.6 and P(A∣B)=0.3P(A \mid B) = 0.3P(A∣B)=0.3. Find

(a) P(A∩B)P(A \cap B)P(A∩B) (b) P(A∪B)P(A \cup B)P(A∪B) (c) P(B∣A)P(B \mid A)P(B∣A) (d) P(B′∣A′)P(B' \mid A')P(B′∣A′).

Show the solution

(a) Rearrange the definition.

P(A∩B)=P(B)P(A∣B)=0.6×0.3=0.18P(A \cap B) = P(B)P(A \mid B) = 0.6 \times 0.3 = 0.18P(A∩B)=P(B)P(A∣B)=0.6×0.3=0.18

(b) Use the addition rule.

P(A∪B)=0.4+0.6−0.18=0.82P(A \cup B) = 0.4 + 0.6 - 0.18 = 0.82P(A∪B)=0.4+0.6−0.18=0.82

(c) Now condition on AAA.

P(B∣A)=0.180.4=0.45P(B \mid A) = \frac{0.18}{0.4} = 0.45P(B∣A)=0.40.18​=0.45

(d) A′∩B′A' \cap B'A′∩B′ is the complement of A∪BA \cup BA∪B, so P(A′∩B′)=1−0.82=0.18P(A' \cap B') = 1 - 0.82 = 0.18P(A′∩B′)=1−0.82=0.18, and P(A′)=0.6P(A') = 0.6P(A′)=0.6.

P(B′∣A′)=0.180.6=0.3P(B' \mid A') = \frac{0.18}{0.6} = 0.3P(B′∣A′)=0.60.18​=0.3

A Venn diagram with the four regions 0.220.220.22, 0.180.180.18, 0.420.420.42 and 0.180.180.18 (AAA only, both, BBB only, neither) confirms every answer.

Finding the probability of the second event

The probability that the second event occurs, whatever happened first, is found by adding every path that ends in it. On a two-stage tree this is

P(B)=P(A)P(B∣A)+P(A′)P(B∣A′).P(B) = P(A)P(B \mid A) + P(A')P(B \mid A').P(B)=P(A)P(B∣A)+P(A′)P(B∣A′).

The two paths are mutually exclusive, because the first stage cannot give both AAA and A′A'A′.

Worked example

On any day, the probability of rain is 0.30.30.3. When it rains, the probability that a particular bus is late is 0.40.40.4; when it does not rain, the probability that the bus is late is 0.10.10.1.

(a) Draw a tree diagram to represent this information.

(b) Find the probability that the bus is late on a randomly chosen day.

Show the solution

(a) Let RRR be "it rains" and LLL be "the bus is late". The second-stage branches are P(L∣R)=0.4P(L \mid R) = 0.4P(L∣R)=0.4 and P(L∣R′)=0.1P(L \mid R') = 0.1P(L∣R′)=0.1, with their complements.

Tree diagram: rain R 0.3, no rain R′ 0.7. After rain: bus late L 0.4, not late L′ 0.6. After no rain: L 0.1, L′ 0.9. Path probabilities 0.12, 0.18, 0.07 and 0.63.
The two paths ending in L give the total probability that the bus is late.

(b) Add the two paths that end in LLL.

P(L)=0.3×0.4+0.7×0.1=0.12+0.07=0.19P(L) = 0.3 \times 0.4 + 0.7 \times 0.1 = 0.12 + 0.07 = 0.19P(L)=0.3×0.4+0.7×0.1=0.12+0.07=0.19

Reversing a conditional probability

A tree diagram is drawn in the order the events happen, so its branches give probabilities such as P(L∣R)P(L \mid R)P(L∣R): the bus is late given that it rains. A question may instead ask about the reverse: given that the bus was late, what is the probability that it rained? This reverse conditional is found with the definition, taking both the numerator and the denominator from the tree.

P(R∣L)=P(R∩L)P(L)P(R \mid L) = \frac{P(R \cap L)}{P(L)}P(R∣L)=P(L)P(R∩L)​

The numerator is the single path through RRR and LLL. The denominator is the sum of all the paths that end in LLL.

Worked example

Use the tree diagram for the rain and the bus.

(a) Given that the bus is late, find the probability that it rained.

(b) Given that the bus is not late, find the probability that it rained.

Show the solution

(a) The path "rain and late" has probability 0.120.120.12, and P(L)=0.19P(L) = 0.19P(L)=0.19.

P(R∣L)=P(R∩L)P(L)=0.120.19=1219≈0.632P(R \mid L) = \frac{P(R \cap L)}{P(L)} = \frac{0.12}{0.19} = \frac{12}{19} \approx 0.632P(R∣L)=P(L)P(R∩L)​=0.190.12​=1912​≈0.632

(b) P(R∩L′)=0.3×0.6=0.18P(R \cap L') = 0.3 \times 0.6 = 0.18P(R∩L′)=0.3×0.6=0.18 and P(L′)=1−0.19=0.81P(L') = 1 - 0.19 = 0.81P(L′)=1−0.19=0.81.

P(R∣L′)=0.180.81=29≈0.222P(R \mid L') = \frac{0.18}{0.81} = \frac{2}{9} \approx 0.222P(R∣L′)=0.810.18​=92​≈0.222

The probability of rain was 0.30.30.3 before the bus was observed. Learning that the bus was late raises it to 0.6320.6320.632, and learning that it was on time lowers it to 0.2220.2220.222.

Tip

For a reverse conditional, write the fraction with "the path you want" on top and "all the paths that end in the given event" underneath. The top path is always one of the paths on the bottom, so the answer can never exceed 111.

The same method answers questions about which of two causes produced an observed result.

Worked example

A bag contains two coins. One is fair; the other has heads on both sides. A coin is chosen at random and tossed, and it shows heads. Find the probability that the fair coin was chosen.

Show the solution

Let FFF be "the fair coin is chosen", DDD be "the double-headed coin is chosen" and HHH be "the coin shows heads". Then P(H∣F)=0.5P(H \mid F) = 0.5P(H∣F)=0.5 and P(H∣D)=1P(H \mid D) = 1P(H∣D)=1.

Tree diagram: fair coin F 0.5 or double-headed coin D 0.5. Fair coin: H 0.5, T 0.5. Double-headed coin: H with probability 1. Path probabilities 0.25, 0.25 and 0.5.
The double-headed coin always shows heads, so its branch has probability 1. Two of the three paths end in H.
P(H)=0.5×0.5+0.5×1=0.25+0.5=0.75P(H) = 0.5 \times 0.5 + 0.5 \times 1 = 0.25 + 0.5 = 0.75P(H)=0.5×0.5+0.5×1=0.25+0.5=0.75
P(F∣H)=P(F∩H)P(H)=0.250.75=13P(F \mid H) = \frac{P(F \cap H)}{P(H)} = \frac{0.25}{0.75} = \frac{1}{3}P(F∣H)=P(H)P(F∩H)​=0.750.25​=31​

Seeing heads makes the fair coin less likely than it was before the toss (13\frac{1}{3}31​ instead of 12\frac{1}{2}21​), because heads is more likely to come from the double-headed coin.

The general form of this reasoning, for any number of causes, is Bayes' theorem, which HL students meet in 4.13. With two events and a tree, the definition of conditional probability is all that is needed.

Independent events

The definition

In 4.6, independent events were described as events that do not affect each other, and the rule P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B)P(A∩B)=P(A)P(B) was used for them. Conditional probability makes this precise. If knowing that BBB has occurred does not change the probability of AAA, then P(A∣B)=P(A)P(A \mid B) = P(A)P(A∣B)=P(A).

Definition

Events AAA and BBB are independent if the occurrence of one does not change the probability of the other:

P(A∣B)=P(A)=P(A∣B′).P(A \mid B) = P(A) = P(A \mid B').P(A∣B)=P(A)=P(A∣B′).

Equivalently, AAA and BBB are independent if and only if

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

Events that are not independent are dependent.

The two forms are equivalent. If P(A∣B)=P(A)P(A \mid B) = P(A)P(A∣B)=P(A), then substituting into the definition of conditional probability gives P(A∩B)P(B)=P(A)\frac{P(A \cap B)}{P(B)} = P(A)P(B)P(A∩B)​=P(A), so P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B)P(A∩B)=P(A)P(B). Reversing the steps shows that the product rule implies P(A∣B)=P(A)P(A \mid B) = P(A)P(A∣B)=P(A). The condition P(A∣B′)=P(A)P(A \mid B') = P(A)P(A∣B′)=P(A) says that learning that BBB did not occur also leaves AAA unchanged, which follows from the product rule in the same way.

For independent events the rule works in both directions: P(B∣A)=P(B)P(B \mid A) = P(B)P(B∣A)=P(B) as well. Dependent events are the ones for which at least one of these equalities fails, and then all of them fail.

Testing for independence

To determine whether two events are independent, calculate both sides of one of the equivalent conditions and compare them.

Test

Independent if

Most convenient when

Product rule

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

P(A)P(A)P(A), P(B)P(B)P(B) and P(A∩B)P(A \cap B)P(A∩B) are given or easy to find

Conditional

P(A∣B)=P(A)P(A \mid B) = P(A)P(A∣B)=P(A)

the data are in a table or tree, where conditionals are easy to read

Conditional, reversed

P(B∣A)=P(B)P(B \mid A) = P(B)P(B∣A)=P(B)

the tree is drawn with AAA first

One test is enough: if one condition holds, they all hold. To show that events are not independent, a single condition that fails is also enough.

Worked example

Events AAA and BBB are such that P(A)=0.4P(A) = 0.4P(A)=0.4, P(B)=0.25P(B) = 0.25P(B)=0.25 and P(A∪B)=0.55P(A \cup B) = 0.55P(A∪B)=0.55.

(a) Find P(A∩B)P(A \cap B)P(A∩B).

(b) Determine whether AAA and BBB are independent.

(c) Hence write down P(A∣B)P(A \mid B)P(A∣B).

Show the solution

(a) Use the addition rule.

P(A∩B)=P(A)+P(B)−P(A∪B)=0.4+0.25−0.55=0.1P(A \cap B) = P(A) + P(B) - P(A \cup B) = 0.4 + 0.25 - 0.55 = 0.1P(A∩B)=P(A)+P(B)−P(A∪B)=0.4+0.25−0.55=0.1

(b) Compare P(A∩B)P(A \cap B)P(A∩B) with P(A)P(B)P(A)P(B)P(A)P(B).

P(A)P(B)=0.4×0.25=0.1=P(A∩B)P(A)P(B) = 0.4 \times 0.25 = 0.1 = P(A \cap B)P(A)P(B)=0.4×0.25=0.1=P(A∩B)

The product rule holds, so AAA and BBB are independent.

(c) Because AAA and BBB are independent, P(A∣B)=P(A)=0.4P(A \mid B) = P(A) = 0.4P(A∣B)=P(A)=0.4. Check: 0.10.25=0.4\frac{0.1}{0.25} = 0.40.250.1​=0.4.

When the information is in a table, the conditional form of the test compares the probability of an event within one group with its probability in the whole sample.

Worked example

(a) For the café data, determine whether ordering coffee is independent of ordering in the morning.

(b) In a survey of 200200200 students, 202020 are left-handed and 606060 play chess. Of the left-handed students, 666 play chess. Determine whether being left-handed and playing chess are independent.

Show the solution

(a) From the table, P(coffee)=130300≈0.433P(\text{coffee}) = \frac{130}{300} \approx 0.433P(coffee)=300130​≈0.433, while P(coffee∣morning)=84140=0.6P(\text{coffee} \mid \text{morning}) = \frac{84}{140} = 0.6P(coffee∣morning)=14084​=0.6.

Since P(coffee∣morning)≠P(coffee)P(\text{coffee} \mid \text{morning}) \neq P(\text{coffee})P(coffee∣morning)=P(coffee), the events are not independent. Morning customers are more likely to order coffee.

(b) P(chess)=60200=0.3P(\text{chess}) = \frac{60}{200} = 0.3P(chess)=20060​=0.3 and P(chess∣left-handed)=620=0.3P(\text{chess} \mid \text{left-handed}) = \frac{6}{20} = 0.3P(chess∣left-handed)=206​=0.3.

The two are equal, so the events are independent. As a check with the product rule: P(left∩chess)=6200=0.03P(\text{left} \cap \text{chess}) = \frac{6}{200} = 0.03P(left∩chess)=2006​=0.03 and P(left)P(chess)=0.1×0.3=0.03P(\text{left})P(\text{chess}) = 0.1 \times 0.3 = 0.03P(left)P(chess)=0.1×0.3=0.03.

Only use P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B)P(A∩B)=P(A)P(B) when independence is given in the question or has been shown. It can be justified by the way the trials work (two separate dice, draws with replacement) or by a calculation. Draws without replacement, and events in the same trial that are linked, are usually dependent.

With real data, two relative frequencies are rarely exactly equal, even when the events are unrelated, because samples vary. A large difference, as in the café data, suggests dependence; a very small one suggests that independence is a reasonable model. Deciding how large a difference must be before it counts as evidence of dependence needs a statistical test, such as the chi-squared test of independence.

Independence of complements

If AAA and BBB are independent, then AAA and B′B'B′ are independent, and so are A′A'A′ and B′B'B′. This is used often: for example, if hitting a target with two shots are independent events, then so are missing with each.

Worked example

Prove that if AAA and BBB are independent events, then AAA and B′B'B′ are also independent.

Show the solution

The event AAA is made up of the two mutually exclusive parts A∩BA \cap BA∩B and A∩B′A \cap B'A∩B′, so

P(A∩B′)=P(A)−P(A∩B).P(A \cap B') = P(A) - P(A \cap B).P(A∩B′)=P(A)−P(A∩B).

Since AAA and BBB are independent, P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B)P(A∩B)=P(A)P(B). Substitute and factorise.

P(A∩B′)=P(A)−P(A)P(B)=P(A)(1−P(B))=P(A)P(B′)P(A \cap B') = P(A) - P(A)P(B) = P(A)\big(1 - P(B)\big) = P(A)P(B')P(A∩B′)=P(A)−P(A)P(B)=P(A)(1−P(B))=P(A)P(B′)

The product rule holds for AAA and B′B'B′, so they are independent.

Problems with an unknown probability

When independence is given, the product rule supplies an extra equation, which can be combined with the addition rule to find an unknown probability.

Worked example

Events AAA and BBB are independent, with P(A)=0.3P(A) = 0.3P(A)=0.3 and P(A∪B)=0.65P(A \cup B) = 0.65P(A∪B)=0.65.

(a) Find P(B)P(B)P(B).

(b) Find P(A∣B′)P(A \mid B')P(A∣B′).

Show the solution

(a) Let P(B)=pP(B) = pP(B)=p. By independence, P(A∩B)=0.3pP(A \cap B) = 0.3pP(A∩B)=0.3p. Substitute into the addition rule.

0.65=0.3+p−0.3p⟹0.35=0.7p⟹p=0.50.65 = 0.3 + p - 0.3p \quad\Longrightarrow\quad 0.35 = 0.7p \quad\Longrightarrow\quad p = 0.50.65=0.3+p−0.3p⟹0.35=0.7p⟹p=0.5

(b) AAA and B′B'B′ are independent, because AAA and BBB are, so

P(A∣B′)=P(A)=0.3.P(A \mid B') = P(A) = 0.3.P(A∣B′)=P(A)=0.3.

Check: P(A∩B′)=0.3−0.15=0.15P(A \cap B') = 0.3 - 0.15 = 0.15P(A∩B′)=0.3−0.15=0.15 and P(B′)=0.5P(B') = 0.5P(B′)=0.5, giving 0.150.5=0.3\frac{0.15}{0.5} = 0.30.50.15​=0.3.

Common mistake

Independent events are not the same as mutually exclusive events. If AAA and BBB are mutually exclusive and both have non-zero probability, then P(A∩B)=0P(A \cap B) = 0P(A∩B)=0 while P(A)P(B)>0P(A)P(B) > 0P(A)P(B)>0, so they cannot be independent. A question that says "independent" calls for multiplying; one that says "mutually exclusive" means the overlap is 000.

Several independent events

The product rule extends to any number of independent events: if AAA, BBB and CCC are independent, then P(A∩B∩C)=P(A)P(B)P(C)P(A \cap B \cap C) = P(A)P(B)P(C)P(A∩B∩C)=P(A)P(B)P(C). This is how the reliability of a system built from separate components is calculated, and it is the basis of the binomial distribution in 4.8.

Worked example

A machine works only if all three of its components work. The components fail independently, and the probabilities that they work on a given day are 0.90.90.9, 0.950.950.95 and 0.80.80.8.

(a) Find the probability that the machine works on a given day.

(b) Find the probability that exactly one component fails.

Show the solution

(a) All three must work, and the events are independent.

P(works)=0.9×0.95×0.8=0.684P(\text{works}) = 0.9 \times 0.95 \times 0.8 = 0.684P(works)=0.9×0.95×0.8=0.684

(b) The failing component can be the first, second or third. The probabilities of failing are 0.10.10.1, 0.050.050.05 and 0.20.20.2, and failures are independent of each other because the original events are (as with complements of two events).

0.1×0.95×0.8+0.9×0.05×0.8+0.9×0.95×0.2=0.076+0.036+0.171=0.2830.1 \times 0.95 \times 0.8 + 0.9 \times 0.05 \times 0.8 + 0.9 \times 0.95 \times 0.2 = 0.076 + 0.036 + 0.171 = 0.2830.1×0.95×0.8+0.9×0.05×0.8+0.9×0.95×0.2=0.076+0.036+0.171=0.283

Independence is a modelling assumption here. If all three components were affected by the same power surge, their failures would be linked, and the true probability that the machine works could be quite different from 0.6840.6840.684.

Exam-style questions on conditional probability

Conditional probability questions usually build a tree or a table in the first part and then ask for a reverse conditional and a test for independence. Labelling events with letters at the start makes every later line shorter and clearer.

Worked example

No GDC. Events AAA and BBB are such that P(A)=0.5P(A) = 0.5P(A)=0.5, P(B∣A)=0.4P(B \mid A) = 0.4P(B∣A)=0.4 and P(B∣A′)=0.2P(B \mid A') = 0.2P(B∣A′)=0.2.

(a) Find P(A∩B)P(A \cap B)P(A∩B). [2]

(b) Find P(B)P(B)P(B). [2]

(c) Find P(A∣B)P(A \mid B)P(A∣B). [2]

(d) Determine whether AAA and BBB are independent, justifying your answer. [2]

Show the solution

(a) Use the multiplication rule. (M1)

P(A∩B)=P(A)P(B∣A)=0.5×0.4=0.2(A1)P(A \cap B) = P(A)P(B \mid A) = 0.5 \times 0.4 = 0.2 \quad \text{(A1)}P(A∩B)=P(A)P(B∣A)=0.5×0.4=0.2(A1)

(b) Add the two paths that end in BBB; P(A′)=0.5P(A') = 0.5P(A′)=0.5. (M1)

P(B)=0.2+0.5×0.2=0.2+0.1=0.3(A1)P(B) = 0.2 + 0.5 \times 0.2 = 0.2 + 0.1 = 0.3 \quad \text{(A1)}P(B)=0.2+0.5×0.2=0.2+0.1=0.3(A1)

(c) Reverse the conditional. (M1)

P(A∣B)=P(A∩B)P(B)=0.20.3=23(A1)P(A \mid B) = \frac{P(A \cap B)}{P(B)} = \frac{0.2}{0.3} = \frac{2}{3} \quad \text{(A1)}P(A∣B)=P(B)P(A∩B)​=0.30.2​=32​(A1)

(d) P(B∣A)=0.4P(B \mid A) = 0.4P(B∣A)=0.4 but P(B)=0.3P(B) = 0.3P(B)=0.3. (R1) These are not equal, so AAA and BBB are not independent. (A1)

Equally valid: P(A)P(B)=0.5×0.3=0.15≠0.2=P(A∩B)P(A)P(B) = 0.5 \times 0.3 = 0.15 \neq 0.2 = P(A \cap B)P(A)P(B)=0.5×0.3=0.15=0.2=P(A∩B).

Exam tip

A conclusion about independence needs numbers to support it. "Not independent because P(B∣A)=0.4≠0.3=P(B)P(B \mid A) = 0.4 \neq 0.3 = P(B)P(B∣A)=0.4=0.3=P(B)" earns both marks; "not independent because the second probability depends on the first" with no values usually earns none. State which condition is being tested, give both values, and then conclude.

The second question uses a context and allows a graphic display calculator (GDC), but the reasoning is the same.

Worked example

GDC allowed. A darts player throws two darts at the bullseye. The probability that the first dart hits the bullseye is 0.70.70.7. If the first dart hits, the probability that the second hits is 0.80.80.8; if the first misses, the probability that the second hits is 0.50.50.5.

(a) Draw a tree diagram to represent this information. [2]

(b) Find the probability that exactly one dart hits the bullseye. [2]

(c) Find the probability that the second dart hits the bullseye. [2]

(d) Given that the second dart hits the bullseye, find the probability that the first dart also hit. [2]

(e) Show that the events "the first dart hits" and "the second dart hits" are not independent. [2]

Show the solution

(a) Let H1H_1H1​ and H2H_2H2​ be the events that the first and second darts hit. (A1 for the first branches, A1 for the conditional second branches)

Tree diagram for two darts aimed at the bullseye. First dart: hit H₁ 0.7, miss H₁′ 0.3. After a hit: H₂ 0.8, H₂′ 0.2. After a miss: H₂ 0.5, H₂′ 0.5. Path probabilities 0.56, 0.14, 0.15, 0.15.
The second-stage probabilities change with the first dart, which already suggests the events are dependent.

(b) Exactly one hit: H1∩H2′H_1 \cap H_2'H1​∩H2′​ or H1′∩H2H_1' \cap H_2H1′​∩H2​. (M1)

0.7×0.2+0.3×0.5=0.14+0.15=0.29(A1)0.7 \times 0.2 + 0.3 \times 0.5 = 0.14 + 0.15 = 0.29 \quad \text{(A1)}0.7×0.2+0.3×0.5=0.14+0.15=0.29(A1)

(c) Add the two paths that end in H2H_2H2​. (M1)

P(H2)=0.56+0.15=0.71(A1)P(H_2) = 0.56 + 0.15 = 0.71 \quad \text{(A1)}P(H2​)=0.56+0.15=0.71(A1)

(d) Reverse the conditional. (M1)

P(H1∣H2)=P(H1∩H2)P(H2)=0.560.71=0.789 (3 s.f.)(A1)P(H_1 \mid H_2) = \frac{P(H_1 \cap H_2)}{P(H_2)} = \frac{0.56}{0.71} = 0.789 \text{ (3 s.f.)} \quad \text{(A1)}P(H1​∣H2​)=P(H2​)P(H1​∩H2​)​=0.710.56​=0.789 (3 s.f.)(A1)

(e) P(H2∣H1)=0.8P(H_2 \mid H_1) = 0.8P(H2​∣H1​)=0.8 and P(H2)=0.71P(H_2) = 0.71P(H2​)=0.71. (M1) Since 0.8≠0.710.8 \neq 0.710.8=0.71, the events are not independent. (A1)

Exam tip

Reverse conditional probabilities are the most common place to lose marks in these questions. Write P(H1∣H2)=P(H1∩H2)P(H2)P(H_1 \mid H_2) = \frac{P(H_1 \cap H_2)}{P(H_2)}P(H1​∣H2​)=P(H2​)P(H1​∩H2​)​ before substituting: the formula with the correct events earns the method mark. Keep P(H2)P(H_2)P(H2​) unrounded from part (c), or exact, so that the final answer is accurate to 333 significant figures.

Self-check

  • To do:

    I can state the definition P(A∣B)=P(A∩B)P(B)P(A \mid B) = \frac{P(A \cap B)}{P(B)}P(A∣B)=P(B)P(A∩B)​ and explain it as a reduced sample space.

  • To do:

    I can find conditional probabilities from given probabilities, sample spaces, Venn diagrams and two-way tables.

  • To do:

    I can explain why P(A∣B)P(A \mid B)P(A∣B) and P(B∣A)P(B \mid A)P(B∣A) are usually different.

  • To do:

    I can use P(A∩B)=P(A)P(B∣A)P(A \cap B) = P(A)P(B \mid A)P(A∩B)=P(A)P(B∣A) and recognise that second-stage tree branches are conditional probabilities.

  • To do:

    I can find the total probability of an event from a tree and reverse a conditional probability.

  • To do:

    I can test whether two events are independent, using P(A∣B)=P(A)P(A \mid B) = P(A)P(A∣B)=P(A) or P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B)P(A∩B)=P(A)P(B), and justify my conclusion with values.

  • To do:

    I can prove that if AAA and BBB are independent then so are AAA and B′B'B′, and use independence to find an unknown probability.

Questions on 4.11

67 exam-style questions on this subtopic, written in the style of the IB papers. The first has its markscheme open. Counted on 20 October 2026

Question 1 · AA-004096 marks

Consider two events AAA and BBB such that P(A′)=35\mathrm{P}(A') = \frac{3}{5}P(A′)=53​, P(B∣A)=14\mathrm{P}(B \mid A) = \frac{1}{4}P(B∣A)=41​ and P(A∪B)=34\mathrm{P}(A \cup B) = \frac{3}{4}P(A∪B)=43​.

  1. (a)

    Find P(A∩B)\mathrm{P}(A \cap B)P(A∩B).

    [2]2 marks

    Markscheme (a)

    P(A)=1−35=25\mathrm{P}(A) = 1 - \frac{3}{5} = \frac{2}{5}P(A)=1−53​=52​ (seen anywhere) (A1)

    P(A∩B)=P(A) P(B∣A)=25×14=110\mathrm{P}(A \cap B) = \mathrm{P}(A)\,\mathrm{P}(B \mid A) = \frac{2}{5} \times \frac{1}{4} = \frac{1}{10}P(A∩B)=P(A)P(B∣A)=52​×41​=101​ A1

  2. (b)

    Find P(B)\mathrm{P}(B)P(B).

    [2]2 marks

    Markscheme (b)

    correct substitution into P(A∪B)=P(A)+P(B)−P(A∩B)\mathrm{P}(A \cup B) = \mathrm{P}(A) + \mathrm{P}(B) - \mathrm{P}(A \cap B)P(A∪B)=P(A)+P(B)−P(A∩B) (M1)

    34=25+P(B)−110\frac{3}{4} = \frac{2}{5} + \mathrm{P}(B) - \frac{1}{10}43​=52​+P(B)−101​

    P(B)=920\mathrm{P}(B) = \frac{9}{20}P(B)=209​ A1

  3. (c)

    Find P(B∣A′)\mathrm{P}(B \mid A')P(B∣A′).

    [2]2 marks

    Markscheme (c)

    P(A′∩B)=920−110=720\mathrm{P}(A' \cap B) = \frac{9}{20} - \frac{1}{10} = \frac{7}{20}P(A′∩B)=209​−101​=207​ (A1)

    P(B∣A′)=72035=712\mathrm{P}(B \mid A') = \dfrac{\frac{7}{20}}{\frac{3}{5}} = \frac{7}{12}P(B∣A′)=53​207​​=127​ A1

    Note: Follow through from their answers to parts (a) and (b).

Question 2 · AA-004105 marks

In a class of 40 students, 10 students belong to the chess club (CCC) and 16 students play in the school orchestra (OOO). Four students belong to the chess club and also play in the orchestra.

A student is selected at random from the class.

  1. (a)

    Determine whether the events CCC and OOO are independent. Justify your answer.

    [3]3 marks

  2. (b)

    Find the probability that the student belongs to the chess club, given that the student does not play in the orchestra.

    [2]2 marks

Answer it, then compare with the markscheme.Check this one with a free account
Question 3 · AA-004117 marks

On one day, 250 visitors to a museum were asked whether they hired an audio guide (GGG). Each visitor holds exactly one type of ticket: adult, student (SSS) or senior. The results are shown in the following table.

Audio guide (GGG)

No audio guide (G′G'G′)

Total

Adult

48

72

120

Student (SSS)

xxx

yyy

75

Senior

22

33

55

A visitor is selected at random from these 250 visitors.

  1. (a)

    Given that P(G∣S)=0.36\mathrm{P}(G \mid S) = 0.36P(G∣S)=0.36, find the value of xxx and the value of yyy.

    [2]2 marks

  2. (b)

    Find the probability that the visitor holds a student ticket, given that the visitor hired an audio guide.

    [2]2 marks

  3. (c)

    Determine whether the events GGG and SSS are independent. Justify your answer.

    [3]3 marks

Answer it, then compare with the markscheme.Check this one with a free account

Try a quick-fire question

One of 37 short multiple-choice questions on 4.11. Pick an answer to see why it's right or wrong.

The tree diagram shows events AAA and BBB. Find P(A∣B)P(A \mid B)P(A∣B).

Tree diagram. First branches: A with probability 0.4, A′ with 0.6. From A: B 0.6, B′ 0.4. From A′: B 0.3, B′ 0.7.

From the formula booklet

The entries of the mathematics: analysis and approaches formula booklet that 4.11 uses. Each opens in the explained booklet.

  • Conditional probabilityTopic 4: Statistics and probability › SL and HL › SL 4.6 Conditional probabilityP(A∣B)=P(A∩B)P(B)\mathrm{P}(A \mid B) = \frac{\mathrm{P}(A \cap B)}{\mathrm{P}(B)}P(A∣B)=P(B)P(A∩B)​
  • Independent eventsTopic 4: Statistics and probability › SL and HL › SL 4.6 Independent eventsP(A∩B)=P(A) P(B)\mathrm{P}(A \cap B) = \mathrm{P}(A)\,\mathrm{P}(B)P(A∩B)=P(A)P(B)
  • Bayes’ theorem for two eventsHL onlyTopic 4: Statistics and probability › HL only › AHL 4.13 Bayes’ theoremP(B∣A)=P(B) P(A∣B)P(B) P(A∣B)+P(B′) P(A∣B′)\mathrm{P}(B \mid A) = \frac{\mathrm{P}(B)\,\mathrm{P}(A \mid B)}{\mathrm{P}(B)\,\mathrm{P}(A \mid B) + \mathrm{P}(B')\,\mathrm{P}(A \mid B')}P(B∣A)=P(B)P(A∣B)+P(B′)P(A∣B′)P(B)P(A∣B)​
  • Bayes’ theorem for three eventsHL onlyTopic 4: Statistics and probability › HL only › AHL 4.13 Bayes’ theoremP(Bi∣A)=P(Bi)P(A∣Bi)P(B1)P(A∣B1)+P(B2)P(A∣B2)+P(B3)P(A∣B3)\mathrm{P}(B_i \mid A) = \frac{\mathrm{P}(B_i)\mathrm{P}(A \mid B_i)}{\mathrm{P}(B_1)\mathrm{P}(A \mid B_1) + \mathrm{P}(B_2)\mathrm{P}(A \mid B_2) + \mathrm{P}(B_3)\mathrm{P}(A \mid B_3)}P(Bi​∣A)=P(B1​)P(A∣B1​)+P(B2​)P(A∣B2​)+P(B3​)P(A∣B3​)P(Bi​)P(A∣Bi​)​

On this page

  • Key terms
  • Notes
  • Questions
  • Quick fire
  • Formula booklet

Published for 4.11

Exam-style questions
67
Notes pages
1
Quick-fire questions
37
Key terms
3
Counted on 20 October 2026Open it in Augment

More of IB Maths AA

  • 4.10 Regression of x on yBefore this in the Maths AA syllabus.
  • 4.12 Standardising normal variablesAfter this in the Maths AA syllabus.
  • 4 Statistics and probabilityThe whole topic, with all 14 of its subtopics.
  • IB Maths AAThe Maths AA syllabus, assessment and what Augment has for it.

Carry on with 4.11 in Augment

With a free account, Augment remembers where you stopped and what you have practiced.

Start freeOpen 4.11 in Augment