Probability Tables
Master two-way probability tables for Queensland Year 11 Mathematical Methods (QCAA). A two-way table sorts outcomes by two features, laying out counts so probabilities can be read at a glance.
You will learn to complete a table from row and column totals, tell joint from marginal probabilities, convert counts to probabilities using relative frequency, and apply the addition and complement rules — a practical skill for QCAA data and probability.
Every question with a fully worked solution.
- Probability Tables - Video - Probability tables Watch
Theory
In Year 11 Mathematical Methods (QCAA, Unit 1 Topic 5), a two-way table lays out events in rows and columns. This page shows how to read joint and marginal probabilities, complete a table from given totals, turn counts into probabilities (relative frequency), and apply the addition and complement rules from a table.
A two-way (contingency) table splits outcomes by two variables. The inside cells are the joint values \(A\cap B\), \(A\cap B'\), \(A'\cap B\), \(A'\cap B'\); the margins (row and column totals) give \(P(A)\), \(P(B)\) and their complements.
In a probability table every cell is a probability and the grand total is \(1\). In a frequency table the cells are counts and the grand total is the sample size \(N\); a probability is then the relative frequency \(\dfrac{\text{cell count}}{N}\).
Rows add across to the row total and columns add down to the column total, so any one missing value can be found by back-solving.
| \(B\) | \(B'\) | Total | |
|---|---|---|---|
| \(A\) | 0.20 | 0.30 | 0.50 |
| \(A'\) | 0.15 | 0.35 | 0.50 |
| Total | 0.35 | 0.65 | 1 |
Relative frequency from a frequency table:
Marginal probability (a row or column total):
Addition and complement from a table:
How to work with a two-way table
- Label the rows and columns with the events and their complements.
- Fill the margins: each row and column adds to its total, and everything adds to \(1\) (or \(N\)).
- Back-solve any missing cell by subtracting from a known total.
- Answer: read a joint value from a cell, a marginal from a total, or apply the addition rule; for counts, divide by \(N\) to get a probability.
| Owns a pet | No pet | Total | |
|---|---|---|---|
| Male | 60 | 40 | 100 |
| Female | 70 | 30 | 100 |
| Total | 130 | 70 | 200 |
Read the ‘female and owns a pet’ cell and the grand total:
| \(\text{count}\) | \(=\) | \(70\) |
| \(N\) | \(=\) | \(200\) |
Relative frequency \(=\dfrac{\text{cell}}{N}\):
| \(P(\text{female}\cap\text{pet})\) | \(=\) | \(\dfrac{70}{200}\) |
| \(=\) | \(\dfrac{7}{20}\) | |
| \(=\) | \(0.35\) |
\(P(\text{female and pet})=\dfrac{7}{20}=0.35\).
| \(B\) | \(B'\) | Total | |
|---|---|---|---|
| \(A\) | 0.20 | 0.30 | ? |
| \(A'\) | 0.15 | ? | ? |
| Total | ? | ? | 1 |
The whole table adds to \(1\), so the missing bottom-right cell is:
| \(P(A'\cap B')\) | \(=\) | \(1-(0.20+0.30+0.15)\) |
| \(=\) | \(1-0.65\) | |
| \(=\) | \(0.35\) |
Column \(B\) total is the marginal \(P(B)\):
| \(P(B)\) | \(=\) | \(0.20+0.15\) |
| \(=\) | \(0.35\) |
\(P(A'\cap B')=0.35\) and \(P(B)=0.35\).
| \(B\) | \(B'\) | Total | |
|---|---|---|---|
| \(A\) | 0.20 | 0.30 | 0.50 |
| \(A'\) | 0.15 | 0.35 | 0.50 |
| Total | 0.35 | 0.65 | 1 |
Marginals from the totals:
| \(P(A)\) | \(=\) | \(0.50\) |
| \(P(B)\) | \(=\) | \(0.35\) |
| \(P(A\cap B)\) | \(=\) | \(0.20\) |
Apply the addition rule:
| \(P(A\cup B)\) | \(=\) | \(0.50+0.35-0.20\) |
| \(=\) | \(0.65\) |
Check with the complement of the ‘neither’ cell:
| \(1-P(A'\cap B')\) | \(=\) | \(1-0.35\) |
| \(=\) | \(0.65\) |
\(P(A\cup B)=0.65\).
| Physics | No physics | Total | |
|---|---|---|---|
| Maths | 20 | 30 | 50 |
| No maths | 15 | 15 | 30 |
| Total | 35 | 45 | 80 |
Both is the overlap; Maths only \(=50-20\), Physics only \(=35-20\):
| \(\text{Maths only}\) | \(=\) | \(50-20=30\) |
| \(\text{Physics only}\) | \(=\) | \(35-20=15\) |
Neither \(=80-(\text{Maths}+\text{Physics}-\text{both})\):
| \(\text{neither}\) | \(=\) | \(80-(50+35-20)\) |
| \(=\) | \(80-65\) | |
| \(=\) | \(15\) |
Probability of Maths only:
| \(P(\text{Maths only})\) | \(=\) | \(\dfrac{30}{80}\) |
| \(=\) | \(\dfrac{3}{8}\) |
\(15\) study neither, and \(P(\text{Maths only})=\dfrac{3}{8}\).
Common pitfalls
Frequently asked questions
How do you read a probability from a two-way table?
A joint probability is a single inside cell; a marginal probability is a row or column total. For counts, divide the cell by the grand total \(N\).
How do you turn a frequency table into probabilities?
Divide each count by the grand total: \(P=\dfrac{\text{cell count}}{N}\).
What is a marginal probability?
A row or column total, for example \(P(A)=P(A\cap B)+P(A\cap B')\).
How do you complete a missing cell?
Subtract the known values from the relevant total, since each row and column must add to its margin and the whole table to \(1\).
How do you find P(A or B) from a table?
Use \(P(A\cup B)=P(A)+P(B)-P(A\cap B)\), or take \(1\) minus the ‘neither’ cell \(P(A'\cap B')\).
What is the difference between a joint and a marginal probability?
A joint probability is a cell (both events); a marginal probability is a total for a single event.