Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Analysis and Approaches
  3. ›4 Statistics and probability
  4. ›4.11 Conditional probability and independence

IB Mathematics: Analysis and Approaches · Topic 4 · Statistics and probability

4.11 Conditional probability and independence

Calculate conditional probabilities from formulas, tables and tree diagrams, and decide whether two events are independent.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5Knowing one event has happened changes the probabilities
  1. 1Knowing one event has happened changes the probabilities
  2. 2Conditional probability is a share of the given event
  3. 3Rearranging the formula gives the multiplication rule
  4. 4Independent events leave each other’s probabilities unchanged
  5. 5Tree diagrams organise sequential conditional probabilities
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: Knowing one event has happened changes the probabilities

Pick one student at random from a school and ask whether the student plays chess. The chance is fixed by the school’s records. Now suppose you learn that the student is in Year 12. You now look only at Year 12, so the chance changes.

The new chance is a conditional probability. We write it P(A∣B)P(A\mid B)P(A∣B) and read it as “the probability of AAA given BBB”. The event after the bar is the information you already know to be true. Always identify the given event before you start any calculation.

Key term

conditional probability

A conditional probability is the probability 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)​ that event AAA occurs, given that event BBB has occurred.

Part 1 done

2

Part 2 of 5: Conditional probability is a share of the given event

Now that the idea is clear, we need a way to calculate it. Given BBB, only outcomes inside BBB remain possible, so BBB becomes the new sample space. The favourable outcomes are those that lie in both AAA and BBB.

This gives the formula 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)​, valid when P(B)>0P(B)>0P(B)>0. In words, divide the probability of both events by the probability of the given event. A table of counts shows the idea clearly.

Students by year group and chess club membership

Year groupChess clubNo chess clubTotal
Year 12184260
Year 13223860
Total4080120
Year group
Year 12
Chess club
18
No chess club
42
Total
60
Year group
Year 13
Chess club
22
No chess club
38
Total
60
Year group
Total
Chess club
40
No chess club
80
Total
120

Worked example

Reading conditional probabilities from a table

Use the table to find P(chess∣Year 13)P(\text{chess}\mid\text{Year 13})P(chess∣Year 13) and P(Year 13∣chess)P(\text{Year 13}\mid\text{chess})P(Year 13∣chess).
  1. 1
    Given Year 13, the sample space is the 60 Year 13 students.
  2. 2
    P(chess∣Year 13)=2260=1130≈0.367P(\text{chess}\mid\text{Year 13})=\frac{22}{60}=\frac{11}{30}\approx0.367P(chess∣Year 13)=6022​=3011​≈0.367.
  3. 3
    Given chess club, the sample space is the 40 club members.
  4. 4
    P(Year 13∣chess)=2240=0.55P(\text{Year 13}\mid\text{chess})=\frac{22}{40}=0.55P(Year 13∣chess)=4022​=0.55.

Answer: The two answers are 1130≈0.367\frac{11}{30}\approx0.3673011​≈0.367 and 0.55.

Common mistake

Order matters. P(A∣B)P(A\mid B)P(A∣B) and P(B∣A)P(B\mid A)P(B∣A) share a numerator but have different denominators, so they are usually unequal. Check which event is given before you divide.

Part 2 done

Quick check

One question on the part you just read

Easy

State which expression equals P(A∣B)P(A\mid B)P(A∣B), where P(B)>0P(B)>0P(B)>0.
Show answer and explanation

Answer: C · Worked explanation

Given BBB, only outcomes in BBB remain. The probability of being in both AAA and BBB is divided by P(B)P(B)P(B). Dividing by P(A)P(A)P(A) instead gives P(B∣A)P(B\mid A)P(B∣A), which reverses the roles of the two events and is a common slip.
3

Part 3 of 5: Rearranging the formula gives the multiplication rule

Sometimes a conditional probability is known and the joint probability is wanted. Rearranging the formula gives the multiplication rule: P(A∩B)=P(B) P(A∣B)P(A\cap B)=P(B)\,P(A\mid B)P(A∩B)=P(B)P(A∣B). By symmetry, 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). Either form can be used.

Use this when events happen in sequence. Suppose two counters are drawn from a bag and the first is not replaced. The second draw depends on the first, because the bag has changed. Drawing without replacement is a common source of dependence.

Worked example

Two draws without replacement

A bag holds 5 red and 3 blue counters. Two are drawn without replacement. Find the probability that both are red.
  1. 1
    Let R1R_1R1​ be a red first draw and R2R_2R2​ a red second draw.
  2. 2
    P(R1)=58P(R_1)=\frac{5}{8}P(R1​)=85​.
  3. 3
    With one red removed, 4 red remain among 7 counters, so P(R2∣R1)=47P(R_2\mid R_1)=\frac{4}{7}P(R2​∣R1​)=74​.
  4. 4
    P(R1∩R2)=58×47=2056=514P(R_1\cap R_2)=\frac{5}{8}\times\frac{4}{7}=\frac{20}{56}=\frac{5}{14}P(R1​∩R2​)=85​×74​=5620​=145​.

Answer: The probability that both are red is 514≈0.357\frac{5}{14}\approx0.357145​≈0.357.

Exam tip

Without replacement, update both the numerator and the denominator for the second draw. Forgetting to reduce the total is a frequent error.

Part 3 done

4

Part 4 of 5: Independent events leave each other’s probabilities unchanged

Sometimes the given information is useless. Flip a fair coin, then roll a die. The coin result does not change the chance of a six, so the two events do not influence each other.

Two events show independence when knowing one has occurred never changes the probability of the other. So P(A∣B)=P(A)P(A\mid B)=P(A)P(A∣B)=P(A). Substituting into the multiplication rule gives P(A∩B)=P(A) P(B)P(A\cap B)=P(A)\,P(B)P(A∩B)=P(A)P(B). This product test is the standard check, and you will use it whenever a question asks you to test independence.

Worked example

Testing for independence

Events AAA and BBB have P(A)=0.4P(A)=0.4P(A)=0.4, P(B)=0.5P(B)=0.5P(B)=0.5 and P(A∪B)=0.7P(A\cup B)=0.7P(A∪B)=0.7. Determine whether they are independent.
  1. 1
    Use the addition rule: P(A∪B)=P(A)+P(B)−P(A∩B)P(A\cup B)=P(A)+P(B)-P(A\cap B)P(A∪B)=P(A)+P(B)−P(A∩B).
  2. 2
    0.7=0.4+0.5−P(A∩B)0.7=0.4+0.5-P(A\cap B)0.7=0.4+0.5−P(A∩B), so P(A∩B)=0.2P(A\cap B)=0.2P(A∩B)=0.2.
  3. 3
    Compare with the product: P(A) P(B)=0.4×0.5=0.2P(A)\,P(B)=0.4\times0.5=0.2P(A)P(B)=0.4×0.5=0.2.

Answer: The two values match, so AAA and BBB are independent.

Common mistake

Independent does not mean mutually exclusive. Mutually exclusive events cannot both occur, so P(A∩B)=0P(A\cap B)=0P(A∩B)=0. With positive probabilities, such events are dependent.

Key term

independence

Independence of events AAA and BBB means P(A∩B)=P(A) P(B)P(A\cap B)=P(A)\,P(B)P(A∩B)=P(A)P(B), which is equivalent to P(A∣B)=P(A)P(A\mid B)=P(A)P(A∣B)=P(A) when P(B)>0P(B)>0P(B)>0.

Part 4 done

Quick check

One question on the part you just read

Easy

State the condition that shows events AAA and BBB are independent.
Show answer and explanation

Answer: B · Worked explanation

Independence means the joint probability equals the product of the separate probabilities. The statement P(A∩B)=0P(A\cap B)=0P(A∩B)=0 describes mutually exclusive events instead. The equation P(A∪B)=P(A)+P(B)P(A\cup B)=P(A)+P(B)P(A∪B)=P(A)+P(B) also needs P(A∩B)=0P(A\cap B)=0P(A∩B)=0, so it does not test independence. Check any proposed test against the product P(A) P(B)P(A)\,P(B)P(A)P(B) before accepting it.
5

Part 5 of 5: Tree diagrams organise sequential conditional probabilities

Many problems have two or more stages. A tree diagram shows them clearly. Each stage is a set of branches, and each branch carries a probability.

Second-stage branches carry conditional probabilities, because they depend on the first stage. Multiply along a path to get the probability of that combined outcome. Add the paths that match an event. The branches leaving any node must sum to 1.

Figure 1. Multiply along each path to get a joint probability. The four path probabilities add to 1.

Worked example

Probability of being late

On a school day the probability of rain is 0.3. If it rains, the probability that a student is late is 0.4. If it does not rain, that probability is 0.1. Find the probability that the student is late.
  1. 1
    Rain and late: 0.3×0.4=0.120.3\times0.4=0.120.3×0.4=0.12.
  2. 2
    No rain and late: 0.7×0.1=0.070.7\times0.1=0.070.7×0.1=0.07.
  3. 3
    Add the two paths that end in late.

Answer: P(late)=0.12+0.07=0.19P(\text{late})=0.12+0.07=0.19P(late)=0.12+0.07=0.19.

Notice that the work always runs from left to right. Label every branch before you multiply, and use the conditional probability on each second-stage branch.

Exam tip

Check that the four path probabilities add to 1. This catches most arithmetic slips.

Key term

tree diagram

A tree diagram is a diagram whose branches show each stage of an experiment, with probabilities multiplied along paths and added across paths.

Note read

Check your recall[14 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.State[2 marks]

    State the formula for P(A∣B)P(A\mid B)P(A∣B) and say what the event BBB represents.

    Show mark schemeHide mark scheme

    Model answer

    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 BBB is the event already known to have occurred.

    • 1 mark for stating 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)​
    • 1 mark for stating that BBB is the event known to have occurred (the given information)
  2. 2.Calculate[2 marks]

    Calculate P(A∣B)P(A\mid B)P(A∣B) given P(A∩B)=0.15P(A\cap B)=0.15P(A∩B)=0.15 and P(B)=0.40P(B)=0.40P(B)=0.40.

    Show mark schemeHide mark scheme

    Model answer

    P(A∣B)=0.150.40=0.375P(A\mid B)=\frac{0.15}{0.40}=0.375P(A∣B)=0.400.15​=0.375.

    • 1 mark for dividing 0.15 by 0.40
    • 1 mark for obtaining 0.375
  3. 3.Determine[3 marks]

    Determine whether AAA and BBB are independent, given P(A)=0.6P(A)=0.6P(A)=0.6, P(B)=0.3P(B)=0.3P(B)=0.3 and P(A∪B)=0.72P(A\cup B)=0.72P(A∪B)=0.72.

    Show mark schemeHide mark scheme

    Model answer

    By the addition rule, P(A∩B)=0.6+0.3−0.72=0.18P(A\cap B)=0.6+0.3-0.72=0.18P(A∩B)=0.6+0.3−0.72=0.18. The product is 0.6×0.3=0.180.6\times0.3=0.180.6×0.3=0.18. The values are equal, so AAA and BBB are independent.

    • 1 mark for finding P(A∩B)=0.18P(A\cap B)=0.18P(A∩B)=0.18 using the addition rule
    • 1 mark for finding P(A) P(B)=0.18P(A)\,P(B)=0.18P(A)P(B)=0.18
    • 1 mark for concluding that the events are independent because the values match
  4. 4.Distinguish[2 marks]

    Distinguish between independent events and mutually exclusive events.

    Show mark schemeHide mark scheme

    Model answer

    For independent events, P(A∩B)=P(A) P(B)P(A\cap B)=P(A)\,P(B)P(A∩B)=P(A)P(B) and knowing one does not change the other’s probability. For mutually exclusive events, both cannot occur, so P(A∩B)=0P(A\cap B)=0P(A∩B)=0.

    • 1 mark for stating that independent events satisfy P(A∩B)=P(A) P(B)P(A\cap B)=P(A)\,P(B)P(A∩B)=P(A)P(B)
    • 1 mark for stating that mutually exclusive events cannot both occur, so P(A∩B)=0P(A\cap B)=0P(A∩B)=0
  5. 5.Calculate[3 marks]

    Calculate the probability that two counters drawn without replacement from a box of 4 green and 6 yellow counters are different colours.

    Show mark schemeHide mark scheme

    Model answer

    P(green then yellow)=410×69=2490P(\text{green then yellow})=\frac{4}{10}\times\frac{6}{9}=\frac{24}{90}P(green then yellow)=104​×96​=9024​. The yellow-then-green path also gives 2490\frac{24}{90}9024​. The total is 4890=815≈0.533\frac{48}{90}=\frac{8}{15}\approx0.5339048​=158​≈0.533.

    • 1 mark for finding one ordered path probability using 9 counters for the second draw
    • 1 mark for adding the probabilities of both orders
    • 1 mark for obtaining 815≈0.533\frac{8}{15}\approx0.533158​≈0.533
  6. 6.Explain[2 marks]

    Explain why P(A∣B)P(A\mid B)P(A∣B) is usually different from P(B∣A)P(B\mid A)P(B∣A).

    Show mark schemeHide mark scheme

    Model answer

    Both have the numerator P(A∩B)P(A\cap B)P(A∩B). Their denominators are P(B)P(B)P(B) and P(A)P(A)P(A), which are usually different, so the values differ.

    • 1 mark for stating that both share the numerator P(A∩B)P(A\cap B)P(A∩B)
    • 1 mark for explaining that the denominators P(B)P(B)P(B) and P(A)P(A)P(A) are usually different

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Calculate[1 mark]

Calculate P(A∩B)P(A\cap B)P(A∩B) for independent events AAA and BBB with P(A)=0.5P(A)=0.5P(A)=0.5 and P(B)=0.4P(B)=0.4P(B)=0.4.
Show answer and explanation

Answer: B · Worked explanation

For independent events, P(A∩B)=P(A) P(B)=0.5×0.4=0.2P(A\cap B)=P(A)\,P(B)=0.5\times0.4=0.2P(A∩B)=P(A)P(B)=0.5×0.4=0.2. The value 0.9 comes from adding the probabilities, and 0.7 is P(A∪B)P(A\cup B)P(A∪B), since 0.5+0.4−0.2=0.70.5+0.4-0.2=0.70.5+0.4−0.2=0.7. Neither is the probability of both events occurring. Multiplying is correct here because independence means one event does not change the other’s probability. The sum overstates the chance of both events together.
4.

Medium·Calculate[2 marks]

Calculate the probability that a hockey player chosen at random is a girl. Of 50 students, 30 are girls and 20 are boys, and hockey is played by 12 of the girls and 10 of the boys.
Show answer and explanation

Answer: D · Worked explanation

There are 12+10=2212+10=2212+10=22 hockey players, and 12 of them are girls. So the probability is 1222≈0.545\frac{12}{22}\approx0.5452212​≈0.545. The value 0.400 is 1230\frac{12}{30}3012​, the probability that a girl plays hockey, which reverses the given event. Always divide by the total for the given event, here all hockey players, not by the total for the group you are asked about.
5.

Medium·Calculate[2 marks]

Calculate P(A∣B)P(A\mid B)P(A∣B), given that P(B)=0.5P(B)=0.5P(B)=0.5 and P(A∩B)=0.15P(A\cap B)=0.15P(A∩B)=0.15.
Show answer and explanation

Answer: A · Worked explanation

Apply P(A∣B)=P(A∩B)P(B)=0.150.5=0.30P(A\mid B)=\frac{P(A\cap B)}{P(B)}=\frac{0.15}{0.5}=0.30P(A∣B)=P(B)P(A∩B)​=0.50.15​=0.30. The value 0.075 comes from multiplying the two numbers, which is the independence product and does not apply here. The value 0.65 comes from adding them, and 0.35 from subtracting them. Check each rearrangement by asking which event is given. Here it is BBB, so P(B)P(B)P(B) is the denominator.
6.

Medium·Calculate[2 marks]

Calculate the probability that both counters are blue when two are drawn without replacement from a bag of 6 red and 4 blue counters.
Show answer and explanation

Answer: C · Worked explanation

The first draw is blue with probability 410\frac{4}{10}104​. Then 3 blue remain among 9 counters, so the second is blue with probability 39\frac{3}{9}93​. The product is 1290≈0.133\frac{12}{90}\approx0.1339012​≈0.133. The value 0.160 is (410)2\left(\frac{4}{10}\right)^2(104​)2, which wrongly keeps the first counter in the bag.
7.

Medium·Determine[2 marks]

Determine P(A∣B)P(A\mid B)P(A∣B) when AAA and BBB are mutually exclusive, with P(A)=0.7P(A)=0.7P(A)=0.7 and P(B)=0.2P(B)=0.2P(B)=0.2.
Show answer and explanation

Answer: B · Worked explanation

Mutually exclusive events cannot both occur, so P(A∩B)=0P(A\cap B)=0P(A∩B)=0. Then P(A∣B)=00.2=0P(A\mid B)=\frac{0}{0.2}=0P(A∣B)=0.20​=0. The value 0.70 would be correct only if the events were independent, and 0.14 is the independence product 0.7×0.20.7\times0.20.7×0.2. Mutually exclusive events with positive probabilities are never independent, because knowing one occurred rules out the other.
8.

Hard·Determine[2 marks]

Determine P(B)P(B)P(B) when AAA and BBB are independent, with P(A)=0.5P(A)=0.5P(A)=0.5 and P(A∪B)=0.8P(A\cup B)=0.8P(A∪B)=0.8.
Show answer and explanation

Answer: D · Worked explanation

Independence gives P(A∩B)=0.5 P(B)P(A\cap B)=0.5\,P(B)P(A∩B)=0.5P(B). The addition rule then gives 0.8=0.5+P(B)−0.5 P(B)0.8=0.5+P(B)-0.5\,P(B)0.8=0.5+P(B)−0.5P(B), so 0.5 P(B)=0.30.5\,P(B)=0.30.5P(B)=0.3 and P(B)=0.6P(B)=0.6P(B)=0.6. The value 0.3 comes from subtracting 0.8−0.50.8-0.50.8−0.5, which ignores the overlap between the events. Always include the overlap term when using the addition rule, and use independence to write it in terms of one unknown.
9.

Hard·Calculate[2 marks]

Calculate P(late)P(\text{late})P(late) when P(rain)=0.4P(\text{rain})=0.4P(rain)=0.4 on a given day, and the probability of being late is 0.5 if it rains and 0.2 if it does not.
Show answer and explanation

Answer: B · Worked explanation

Add the two tree paths: 0.4×0.5+0.6×0.2=0.20+0.12=0.320.4\times0.5+0.6\times0.2=0.20+0.12=0.320.4×0.5+0.6×0.2=0.20+0.12=0.32. The value 0.35 is the plain average of 0.5 and 0.2, which ignores that dry days are more likely than wet days. The value 0.70 adds the conditional probabilities. This is the rule of the tree: multiply along paths, then add the paths that end in the same outcome.
10.

Hard·Determine[2 marks]

Determine which statement is correct when P(A)=0.4P(A)=0.4P(A)=0.4, P(B)=0.5P(B)=0.5P(B)=0.5 and P(A∩B)=0.1P(A\cap B)=0.1P(A∩B)=0.1.
Show answer and explanation

Answer: C · Worked explanation

Here P(A∣B)=0.10.5=0.2P(A\mid B)=\frac{0.1}{0.5}=0.2P(A∣B)=0.50.1​=0.2, which differs from P(A)=0.4P(A)=0.4P(A)=0.4, so the events are dependent. Independence would need P(A∩B)=0.4×0.5=0.2P(A\cap B)=0.4\times0.5=0.2P(A∩B)=0.4×0.5=0.2. A non-zero intersection does not prove independence. The test is whether P(A∩B)P(A\cap B)P(A∩B) equals the product, not whether it is zero, small or smaller than both probabilities.

Keep going

Next topic4.12 Standardizing normal variablesPrevious topic4.10 Regression of x on y

More in Topic 4 · Statistics and probability

  1. 4.6Combined events and diagramsNotes · 10 questions
  2. 4.7Discrete random variablesNotes · 10 questions
  3. 4.8Binomial distributionNotes · 10 questions
  4. 4.9Normal distributionNotes · 10 questions
  5. 4.10Regression of x on yNotes · 10 questions
  6. 4.11Conditional probability and independenceNotes · 10 questions
  7. 4.12Standardizing normal variablesNotes · 10 questions
  8. 4.13Bayes' theoremNotes · 10 questions· HL only
  9. 4.14Continuous random variablesNotes · 10 questions· HL only

All IB Mathematics: Analysis and Approaches topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1Knowing one event has happened changes the probabilities
  2. 2Conditional probability is a share of the given event
  3. 3Rearranging the formula gives the multiplication rule
  4. 4Independent events leave each other’s probabilities unchanged
  5. 5Tree diagrams organise sequential conditional probabilities
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe