In this guide
← Maths AA guides

Statistics & probability · AA SL & HL

Combined and conditional probability

Translate “and”, “or” and “given” into the right probability operation, including dependent draws and tree diagrams.

Course focus: AA SL & HL: shared methods are taught first. Sections labelled HL extension go beyond SL requirements.

Before you start: Fractions, sets and basic probability.

Start with a small example

Build it from the beginning

A probability needs a clearly defined set of possible outcomes. The word given changes that set: once you know event B occurred, count only outcomes inside B. Draw a table or tree before choosing a denominator.

A first walkthrough

Of 20 students, 8 take music and 5 of those also take art. Find P(art given music).

  1. The condition restricts attention to the 8 music students.
  2. Five of these also take art.
  3. The conditional probability is \(5/8\), not \(5/20\).
Try the practice ladder after learning the methods ↓

The foundations behind the method

Understand what the symbols mean

An event is a set of outcomes. Union means at least one event happens, intersection means both happen, and complement means the event does not happen. Mutually exclusive events cannot occur together. Independence instead means learning that one occurred does not change the probability of the other.

How the ideas connect

Conditional probability changes the reference group. In \(P(A\mid B)\), only outcomes inside B form the denominator. A tree multiplies conditional probabilities along a branch and adds mutually exclusive complete branches. Without replacement, the later denominator and available counts change.

01

Start with the idea

Build your understanding

Probability models compare favourable outcomes with a defined sample space. “Given” changes that space. A diagram or table can make the denominator visible before you calculate, preventing a common confusion between a joint event and a conditional event.

Joint event

Both requirements happen in the same trial. Its probability is measured relative to the full experiment unless a condition is stated.

Conditional event

Only outcomes satisfying the given condition remain eligible. The numerator must also belong to that smaller set.

Compare the approaches

Choose by the information in the question, rather than the formula you recognise first.

And

When it helpsUse an intersection or multiply along a conditional path.

Check before using itIndependence must be justified before using unconditional factors.

Given

When it helpsRestrict the sample space and divide by its probability.

Check before using itThe conditioning event must have positive probability.

Your method plan

  1. Define the experiment and the events.
  2. Represent overlap or branches before selecting the operation.
  3. Check the conditional denominator and whether independence actually holds.
02

Learn the methods

Learn step by step

1. And versus or

\(A\cap B\) means both events occur; \(A\cup B\) means at least one occurs. For “or”, adding P(A) and P(B) double-counts the overlap, so subtract it. For disjoint events the overlap is zero. Disjoint and independent are different ideas: two disjoint positive-probability events cannot be independent.

Union

Why this formula works

Adding P(A) and P(B) counts the overlap twice, because those outcomes belong to each event. Subtracting \(P(A\cap B)\) restores a single count for each union outcome.

The formula

\(P(A\cup B)=P(A)+P(B)-P(A\cap B)\).

Quick example

If \(P(A)=0.4\), \(P(B)=0.3\) and \(\text{overlap}=0.1\), the probability of A or B is \(0.4+0.3-0.1=0.6\).

2. Conditioning changes the sample space

\(P(A|B)\) asks for the fraction of B outcomes that are also A. Divide the overlap by P(B), not by P(A). Read the given information carefully. Knowing an outcome has occurred can change which cases are possible.

Conditional and product rules

Why this formula works

When B is known to occur, only B outcomes remain possible. The fraction of those also in A is the overlap divided by P(B). Rearranging gives the product rule; independence is the special case when the condition does not change A’s probability.

The formula

\(P(A|B)=P(A\cap B)/P(B)\) \(P(B)>0\) \(P(A\cap B)=P(B)P(A|B)\).

Quick example

If \(P(B)=0.5\) and \(P(A\cap B)=0.2\), then \(P(A|B)=0.4\). The denominator is the given event B.

3. Multiplying along branches

The multiplication rule uses conditional probabilities. Only if the events are independent may you multiply unconditional P(A)P(B). For draws without replacement, the second draw’s denominator and sometimes numerator change. With replacement, independence is often justified by the stated model.

Worked example: Without replacement

A bag has three red and two blue counters. Draw two without replacement. Find the chance of exactly one red.

  1. Red then blue has probability \((\frac{3}{5})(\frac{2}{4})=\frac{3}{10}\).
  2. Blue then red has probability \((\frac{2}{5})(\frac{3}{4})=\frac{3}{10}\).
  3. The paths are disjoint, so add them: \(\frac{3}{5}\). Drawing both red is \((\frac{3}{5})(\frac{2}{4})\), which happens to have the same numerical value as one path but is a different event.

4. Tree diagrams

Label each branch with a probability conditional on the path leading to it. Branches leaving any node sum to 1. Multiply along a path; add probabilities of mutually exclusive complete paths. “Exactly one” often corresponds to multiple paths.

Worked example: Reverse a condition

A student takes the bus with probability 0.6. Lateness probabilities are 0.2 by bus and 0.1 otherwise. Find bus given late.

  1. \(P(\text{late})=0.6(0.2)+0.4(0.1)=0.16\).
  2. \(P(\text{bus and late})=0.12\).
  3. \(P(bus|\text{late})=\frac{0.12}{0.16}=0.75\); it is not the original bus probability 0.6.

5. Complements

For “at least one”, the complement “none” can be simpler. For “not both”, complement the intersection, not the union. Check that the final probability lies between 0 and 1 and that all paths required have been counted.

Complement

Why this formula works

An event and its complement divide the entire sample space into disjoint pieces. Their probabilities therefore add to 1. This is especially useful when “none” is easier to count than “at least one”.

The formula

\(P(A^c)=1-P(A)\). Independence means \(P(A\cap B)=P(A)P(B)\).

Quick example

Two independent attempts each fail with probability 0.7. The probability of at least one success is \(1-0.7^{2}=0.51\).

6. Translate Venn regions and two-way tables into counts

\(A\cap B\) is the overlap, \(A\cup B\) includes either event and \(A^{c}\) is the complement within the specified universe. Fill the overlap first, subtract it from each event total to obtain “only” regions, then use the universe total to obtain neither. In a two-way table, row and column totals include their joint cell. For conditioning, restrict the denominator to the named row or column. Counts can be converted to probabilities by dividing by the universe total only when selection is uniform across individuals.

AB21141213Total: 60
Start with the overlap. Counts, rather than drawn areas, determine the probabilities.

Translate Venn regions and two-way tables into counts

Why this formula works

Adding event totals counts the overlap twice. Subtracting it gives the union count; subtracting the union from the universe gives neither. Conditioning then changes the relevant total from the universe to the given event.

The formula

\(n(A\cup B)=n(A)+n(B)-n(A\cap B)\). A-only count =\(n(A)-n(A\cap B)\) \(\text{neither}=N-n(A\cup B)\).

Quick example

Among 60 people, A has 35, B has 26 and both has 14. A-only is 21, B-only 12, and neither is 13.

Worked example: Condition on the correct group

Using those 60 people, find the probability of A but not B, and the probability of A given B.

  1. A but not B contains \(35-14=21\) people, so its probability is \(\frac{21}{60}=\frac{7}{20}\).
  2. Given B, only the 26 B-members remain in the conditional sample space. Of them, 14 belong to A.
  3. Thus \(P(A|B)=\frac{14}{26}=\frac{7}{13}\), not \(\frac{14}{60}\). The two questions require different denominators.

7. Check independence rather than assuming it from the story

Two events are independent when learning one does not change the probability of the other. Test this using the product condition or a conditional probability when its denominator is nonzero. Disjoint positive-probability events are not independent: knowing one happened makes the other impossible. In repeated selections, replacement may justify independence, but only when the underlying probabilities and mechanism remain unchanged. “Different events” or “different people” alone is not a mathematical justification.

Check independence rather than assuming it from the story

Why this formula works

The product test is obtained by combining \(P(A|B)=P(A)\) with \(P(A\cap B)=P(A|B)P(B)\). This provides a numerical check instead of relying on an informal description. Each probability must refer to the same sampling experiment and the same definitions of the two events.

The formula

Independence: \(P(A\cap B)=P(A)P(B)\). For \(P(B)>0\), equivalently \(P(A|B)=P(A)\).

Quick example

If \(P(A)=0.4\), \(P(B)=0.5\) and \(\text{overlap}=0.2\), the product condition holds. If the overlap were zero, it would fail.

Worked example: A table can reveal dependence

Of 50 people, 20 belong to A, 15 to B and 8 to both. Are A and B independent under uniform selection?

  1. \(P(A)=\frac{20}{50}=0.4\) and \(P(B)=\frac{15}{50}=0.3\).
  2. The product is 0.12, while the overlap probability is \(\frac{8}{50}=0.16\).
  3. They are dependent. Equivalently \(P(A|B)=\frac{8}{15}\) differs from 0.4.

8. Three-set regions: inclusive overlaps versus exactly two

For three sets, begin with the central triple intersection. A pairwise count such as \(n(A\cap B)\) includes people also in C unless “only” is stated. Subtract the triple from each inclusive pair to obtain exactly-two regions, then fill the three only-one regions and finally neither. Do not add inclusive pair counts to find exactly two: triple members would be counted three times. Check that all disjoint regions add to the universe total.

Three-set regions: inclusive overlaps versus exactly two

Why this formula works

Adding the three set totals counts each two-set region twice and the triple region three times. Subtracting each pair corrects the two-set regions but removes the triple too much; adding the triple back once restores the correct union count.

The formula

\(n(A\cup B\cup C)=n(A)+n(B)+n(C)-n(A\cap B)-n(A\cap C)-n(B\cap C)+n(A\cap B\cap C)\).

Quick example

An inclusive AB count of 18 with triple count 5 means AB-only contains 13, not 18.

Worked example: Exactly two activities

Among 100 people, \(n(A)=45\), \(n(B)=40\), \(n(C)=30\); inclusive pair counts are \(AB=18\), \(AC=12\), \(BC=10\) and the triple count is 5. Find exactly two and neither.

  1. Exactly-two counts are \(AB-\text{only}=13\), \(AC-\text{only}=7\) and \(BC-\text{only}=5\), so exactly two totals 25.
  2. The union is \(45+40+30-18-12-10+5=80\), giving \(\text{neither}=20\).
  3. As a check, \(A-\text{only}=20\), \(B-\text{only}=17\), \(C-\text{only}=13\). These 50 plus exactly-two 25 plus triple 5 make the union 80.
Quick formula reference

For revision once you understand the methods above. Check the conditions before using a formula.

Union

\(P(A\cup B)=P(A)+P(B)-P(A\cap B)\).

Return to the explanation →

Conditional and product rules

\(P(A|B)=P(A\cap B)/P(B)\), \(P(B)>0\); \(P(A\cap B)=P(B)P(A|B)\).

Return to the explanation →

Complement

\(P(A^c)=1-P(A)\). Independence means \(P(A\cap B)=P(A)P(B)\).

Return to the explanation →

Translate Venn regions and two-way tables into counts

\(n(A\cup B)=n(A)+n(B)-n(A\cap B)\). A-only count =\(n(A)-n(A\cap B)\); \(\text{neither}=N-n(A\cup B)\).

Return to the explanation →

Check independence rather than assuming it from the story

Independence: \(P(A\cap B)=P(A)P(B)\). For \(P(B)>0\), equivalently \(P(A|B)=P(A)\).

Return to the explanation →

Three-set regions: inclusive overlaps versus exactly two

\(n(A\cup B\cup C)=n(A)+n(B)+n(C)-n(A\cap B)-n(A\cap C)-n(B\cap C)+n(A\cap B\cap C)\).

Return to the explanation →

Learn to diagnose an error

Spot the mistake

The statement below is incorrect. Identify the missing condition or reasoning before opening the explanation.

Incorrect reasoning

Mutually exclusive events with positive probabilities are independent.

Explain and repair the mistake

Their intersection has probability zero, but independence would require \(P(A)P(B)>0\). If one occurs, the other becomes impossible, so the probability changes.

03

Connect and apply

Put the ideas together

A more demanding application of this guide’s methods. This is a learning stage; any additional HL content is labelled separately.

Worked application

Equal-looking fractions describe different events

A class has 30 students. Twelve study music, ten study drama and four study both. One student is selected uniformly.

  1. The probability of both is \(4/30=2/15\). This uses the whole class as the denominator.
  2. Given drama, the probability of music is \(4/10=2/5\). Given music, the probability of drama is \(4/12=1/3\).
  3. The union contains \(12+10-4=18\), so neither contains 12 students. These regions form a check on the total.
  4. Music and drama are independent here because \((12/30)(10/30)=4/30\). Independence is a numerical property of this model, not a claim that the subjects are unrelated in real life.
Pause and explain

If the overlap rose to five while both totals stayed fixed, would independence remain?

Check your reasoning

No. The product stays \(4/30\), but the joint probability becomes \(5/30\). The given data would then imply dependence.

Common mistakes and how to avoid them

  • Disjoint is not the same as independent.
  • Update probabilities after a draw without replacement.
  • “Given B” means divide by P(B).
04

Practise independently

Build confidence, then apply it

Try each question before opening its hint or solution. If a method is new, return to the walkthrough, then try again. These learning stages describe the practice sequence; additional HL content is labelled separately.

  1. 1

    Build confidence

    In the same group, find P(art and music).

    Need a starting point?

    This question no longer restricts the sample to music students.

    Show the worked solution
    1. Five students satisfy both events, out of 20.
    2. The probability is \(5/20=1/4\).
  2. 2

    Apply and explain

    Draw two balls without replacement from 3 red and 2 blue. Find P(both red).

    Need a starting point?

    Update the second denominator after the first draw.

    Show the worked solution
    1. The first probability is \(3/5\); after red, the next is \(2/4\).
    2. Multiply to obtain \(3/10\).
  3. 3

    Check your understanding

    Of 20 students, 8 study physics and 5 of those study chemistry. Find chemistry given physics.

    Show the worked solution

    The relevant group has 8 students, giving \(P(C\mid P)=5/8\). Dividing by 20 would give the joint probability instead.

  4. 4

    Use the method

    Two independent events have probabilities 0.4 and 0.5. Find the probability of at least one.

    Show the worked solution

    The overlap is 0.2. The union is \(0.4+0.5-0.2=0.7\); alternatively \(1-0.6\times 0.5=0.7\).

  5. 5

    Combine the skills

    Translate Venn regions and two-way tables into counts

    For \(N=80\), \(n(A)=40\), \(n(B)=30\) and \(n(A\cap B)=10\), find neither.

    Show the worked solution

    The union contains \(40+30-10=60\), so neither contains \(80-60=20\).

  6. 6

    Combine the skills

    Check independence rather than assuming it from the story

    Can two disjoint events with probabilities 0.2 and 0.3 be independent?

    Show the worked solution

    No. Their overlap is zero but their product is 0.06, so the independence equation fails.

  7. 7

    Combine the skills

    Three-set regions: inclusive overlaps versus exactly two

    If inclusive pair counts sum to 40 and the triple intersection is 6, how many belong to exactly two?

    Show the worked solution

    Subtract the triple once from each of three pairs: \(40-3(6)=22\). The triple is not part of “exactly two”.

Finished? Use the linked question bank below to practise selecting the method without a guide telling you which rule to use.

Using these methods in exam questions

AA Paper 1

No calculator

Practise the algebra and exact values by hand. Keep fractions, surds and multiples of π exact where required. Show the steps that justify the result.

AA Paper 2

GDC required

Use graphing, numerical solving or statistical tools when appropriate. Write the setup before giving the output, and keep extra precision until the final answer.

For this topic: Define the variable or events, write the probability statement or hypotheses, then calculate. Name the distribution and its parameters; interpret the result using the original population or context.

HL only · GDC required

Paper 3: build a connected argument

Both AA HL and AI HL Paper 3 contain two extended problem-solving questions. A question develops a theme, so keep useful earlier results, test small cases and explain any proposed general rule. A calculator pattern can suggest a result; your mathematical reasoning must support it.

  1. Identify what the first part establishes and record the conditions under which it holds.
  2. When a later part introduces a new definition or model, connect it to methods you already know rather than assuming a new formula must have been memorised.
  3. Check the conclusion against an earlier numerical case and explain its meaning or limitation.

For the first-assessment-2021 courses. IB assessment reference ↗

Combine the skills

These questions need more than one step. Check all cases and justify why your answers are valid.

In a group of 100, \(n(A)=45\), \(n(B)=40\), \(n(C)=30\), inclusive \(AB=18\), \(AC=12\), \(BC=10\) and \(\text{triple}=5\). Find P(A|at least one of A,B,C) and P(A|exactly two).

Show complete reasoning

The union has 80 members, so the first probability is \(\frac{45}{80}=\frac{9}{16}\). The exactly-two regions have sizes \(13,7,5\), totalling 25. A occurs in the first two of those regions, giving \(\frac{13+7}{25}=\frac{4}{5}\). The condition changes both the denominator and the valid numerator.

Find a specific method or formula

Now practise the method

If you opened this guide from a question, return to that tab and try the method without looking at the example. Your answer stays in the question tab.

Practise this subtopic →

Want a broader practice session? Explore IB Maths AA SL practice questions →Explore IB Maths AA HL practice questions →Try free IB Maths exam-style questions and worked solutions →

Core-topic coverage checked against Haese Core Topics SL (2019), chapters 2 and 10; Haese Core Topics HL (2019), chapters 2 and 11. The explanations, diagrams and exercises here are original Arc material.

Original Arc Practice teaching notes for Maths AA. Core and HL sections are distinguished above. These notes follow the first-assessment-2021 course and are not an official IB publication or a complete syllabus checklist. IB course reference. Report a correction.