P6, P7 - Sample spaces, sets and Venn diagrams

P6, P7 - Sample spaces, sets and Venn diagrams

P6 uses lists, tables, grids, Venn diagrams and trees to organise possibilities without omissions or repeats. P7 turns equally likely outcomes into theoretical probabilities. You will also complete two-way tables and separate overlapping groups before counting them.

Complete possibility spaces

Are the totals 22 to 1212 equally likely when you roll two dice? There are eleven named totals, but listing their names hides how they happen.

You already know

For equally likely outcomes, probability is successful outcomes divided by all outcomes. An event can contain several individual outcomes.

For two coins, the ordered list is HH,HT,TH,TTHH,HT,TH,TT. Exactly one head has probability 2/4=1/22/4=1/2: the categories zero, one and two heads are not equally likely. Keep the first and second object distinguishable.

Possibility space

A complete collection of all individual outcomes, each included once. A list suits a single die; a labelled grid suits two dice. Outcomes such as (1,4)(1,4) and (4,1)(4,1) differ when the first and second die are distinguished.

Label one grid axis with every first-die score and the other with every second-die score. Fill each cell with the requested total, product or difference. A repeated total in different cells represents different underlying pairs.

[DIAGRAM: asset_name: Two-dice possibility space; asset_slug: 1ma1_m65_sample_space; caption: Every cell is an equally likely ordered pair; four cells give total five and six give total seven.; description: Six-by-six grid with first-die scores one to six down the rows and second-die scores one to six across columns. Each cell contains the sum. The four total-five cells are blue; the six total-seven cells are sage.]
Every cell is an equally likely ordered pair

Use the grid to see every successful pair.

Worked example 1: a total of five

Question. Two independent fair dice are rolled. Find the probability of total 55.

Plan. Count the ordered pairs giving five in the complete grid.

N=6×6=36all equally likely pairssuccesses=(1,4),(2,3),(3,2),(4,1)four cellsP(total 5)=436=19successful share\begin{aligned} N&=6\times6=36 && \text{all equally likely pairs}\\ \text{successes}&=(1,4),(2,3),(3,2),(4,1) && \text{four cells}\\ P(\text{total }5)&=\frac4{36}=\frac19 && \text{successful share} \end{aligned}

Why this step? Each cell corresponds to one outcome of the two separate fair dice.

Answer. 1/91/9.

Check. The four highlighted five-cells match the four listed pairs.

Change only the target total to seven. The sample space stays the same size.

Worked example 2: a total of seven

Question. Find the probability of total 77 with the same two dice.

Plan. Count its complete diagonal of successful pairs.

successes=(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)P(total 7)=636=16six of thirty-six cells\begin{aligned} \text{successes}&=(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)\\ P(\text{total }7)&=\frac6{36}=\frac16 && \text{six of thirty-six cells} \end{aligned}

Why this step? Different totals occupy different numbers of cells, so their chances differ.

Answer. 1/61/6.

Check. Total seven has three times the chance of total three, which has only (1,2)(1,2) and (2,1)(2,1).

That gives a useful surprise: the middle total is more likely than either extreme, even though each die is fair.

Watch out

Wrong: P(total 7)=1/11P(\text{total }7)=1/11 because totals run from 22 to 1212. Those totals are not equally likely. Count 66 successful ordered pairs out of 3636, giving 1/61/6.

Change the target total again, and make the successful outcomes visible.

Completing and using two-way tables

A two-way table classifies the same population by two attributes, so each person occupies one internal cell.

For example, a row may say how a pupil travels and a column whether they bring lunch. The outside row and column totals are marginal totals. Add cells to get a total; subtract known cells from a total to fill a gap. Every row and column must agree with the grand total.

Two-way table

A table with categories for one attribute in rows and another attribute in columns. Each internal cell meets both its row and column descriptions. Its totals count whole rows, whole columns and the complete population.

If one person is chosen uniformly from the complete population, every probability here uses the grand total as its denominator. A table cell describes “both”; several disjoint cells can describe “either” or “neither”.

Worked example 3: completing cells and totals

Question. Complete this table of 8080 pupils and find the probability that a randomly chosen pupil cycles and brings lunch.

TravelBrings lunchDoes not bring lunchTotal
Cycles1818?3030
Other?2222?
Total??8080

Plan. Complete the rows by subtraction, then add down the columns.

cycles, no lunch=30−18=12complete first rowother total=80−30=50complete total columnother, lunch=50−22=28complete second rowlunch total=18+28=46add first columnno-lunch total=12+22=34add second columnP(cycles and lunch)=1880=940one cell, whole population\begin{aligned} \text{cycles, no lunch}&=30-18=12 && \text{complete first row}\\ \text{other total}&=80-30=50 && \text{complete total column}\\ \text{other, lunch}&=50-22=28 && \text{complete second row}\\ \text{lunch total}&=18+28=46 && \text{add first column}\\ \text{no-lunch total}&=12+22=34 && \text{add second column}\\ P(\text{cycles and lunch})&=\frac{18}{80}=\frac9{40} && \text{one cell, whole population} \end{aligned}

Why this step? Both attributes must hold, so only their crossing cell is successful.

Answer. Missing cells/totals are 12,28,50,46,3412,28,50,46,34; the probability is 9/409/40.

Check. Row totals 30+5030+50 and column totals 46+3446+34 both give 8080.

Keep every count unchanged and change only the event to “cycles or brings lunch”. This includes people meeting both descriptions.

Worked example 4: a union and its complement

Question. For the same table, find the probability of cycling or bringing lunch, and the probability of neither.

Plan. Add the three successful cells once, then use the remaining cell for neither.

cycles or lunch=18+12+28=58three separate cellsP(cycles or lunch)=5880=2940use all pupilsP(neither)=2280=1140other travel, no lunch\begin{aligned} \text{cycles or lunch}&=18+12+28=58 && \text{three separate cells}\\ P(\text{cycles or lunch})&=\frac{58}{80}=\frac{29}{40} && \text{use all pupils}\\ P(\text{neither})&=\frac{22}{80}=\frac{11}{40} && \text{other travel, no lunch} \end{aligned}

Why this step? The 1818 pupils meeting both conditions belong in the union once.

Answer. 29/4029/40 for either or both; 11/4011/40 for neither.

Check. 29/40+11/40=129/40+11/40=1.

A row total counts all pupils in that row, including both lunch categories. A grand total remains necessary when selecting from everyone.

Watch out

Wrong: P(cycles and lunch)=18/30P(\text{cycles and lunch})=18/30. This chooses a denominator containing cyclists only. The selection is from all 8080, so the correct probability is 18/8018/80. Also, 30+4630+46 counts the crossing cell twice; the union is 5858.

Keep the same population and change only the other travellers not bringing lunch from 2222 to 2424.

Sets, intersections and complements

Sets give short names to groups, and the universal set tells you which objects are available to be grouped.

Set notation

The universal set UU contains all objects under consideration. The intersection A∩BA\cap B contains members of both sets; the union A∪BA\cup B contains members of either or both. The complement A′A' contains members of UU outside AA. The empty set ∅\varnothing has no members.

A complement depends on UU. If UU changes, the objects outside AA may change too. Write each member once; order within a set does not matter.

Worked example 5: numerical sets

Question. Let U={1,2,3,4,5,6,7,8}U=\{1,2,3,4,5,6,7,8\}, AA be the even numbers and BB the numbers greater than five. Find A∩BA\cap B, A∪BA\cup B and A′A'.

Plan. List each set, then select shared, combined and outside members.

A={2,4,6,8},B={6,7,8}apply the descriptionsA∩B={6,8}in bothA∪B={2,4,6,7,8}in either, onceA′={1,3,5,7}in U, outside A\begin{aligned} A&=\{2,4,6,8\},\quad B=\{6,7,8\} && \text{apply the descriptions}\\ A\cap B&=\{6,8\} && \text{in both}\\ A\cup B&=\{2,4,6,7,8\} && \text{in either, once}\\ A'&=\{1,3,5,7\} && \text{in U, outside A} \end{aligned}

Why this step? Union includes the overlap; “or” does not exclude members belonging to both.

Answer. The three sets are as listed.

Check. AA and A′A' together contain all eight members, without repetition.

Change only the complement requested: take the complement of the union rather than of AA alone.

Worked example 6: outside a union

Question. With the same U,A,BU,A,B, find (A∪B)′(A\cup B)'.

Plan. Remove every union member from the universal set.

A∪B={2,4,6,7,8}combine both sets(A∪B)′={1,3,5}remaining U members\begin{aligned} A\cup B&=\{2,4,6,7,8\} && \text{combine both sets}\\ (A\cup B)'&=\{1,3,5\} && \text{remaining U members} \end{aligned}

Why this step? The brackets make the entire union the group being complemented.

Answer. {1,3,5}\{1,3,5\}.

Check. None of 1,3,51,3,5 is even or greater than five.

The same notation works with letters: for U={a,b,c,d,e,f}U=\{a,b,c,d,e,f\}, R={a,c,e}R=\{a,c,e\}, S={c,d,f}S=\{c,d,f\}, the intersection is {c}\{c\} and the complement of the union is {b}\{b\}.

Watch out

Wrong: A∪B={2,4,7}A\cup B=\{2,4,7\}, excluding shared members. Union means either or both, so 66 and 88 must also be included. Only “exactly one set” excludes the intersection.

Change only B's boundary from greater than five to greater than four, keeping example 6's operation.

Venn regions and probabilities

A Venn diagram puts every member in exactly one region, making overlaps visible before you calculate probabilities.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account