Resources For Teachers For Tutors For Students & Parents Pricing
Year 11 Specialist (Unit 1 & 2) Combinatorics

Problems involving sets

20 practice questions 0 video lessons Theory + worked examples

Master problems involving sets for Year 11 Specialist Mathematics in Queensland (QCAA). A Venn diagram pictures how two or three sets overlap, so you can organise and count a survey at a glance.

You will learn the four set operations — union, intersection, complement and difference — read set-builder notation, and pull the "only", "exactly" and "neither" numbers from a diagram. It is the set-reasoning foundation for counting and probability.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Problems involving sets use Venn diagrams and set notation to organise a collection of objects in Year 11 Specialist Mathematics (QCAA, Queensland). This page covers the four set operations — union, intersection, complement and difference — set-builder notation, and how to read the only, exactly and neither regions of a diagram.

A set is a collection of distinct objects called its elements. Write \(x\in A\) for "\(x\) is an element of \(A\)", and \(|A|\) for the number of elements in \(A\) (its cardinality). The universal set \(\xi\) contains every object under discussion; a subset \(A\subseteq\xi\) has all its elements inside \(\xi\).

The four operations combine sets. The union \(A\cup B\) collects every element in \(A\) or \(B\) (each once). The intersection \(A\cap B\) keeps only elements in both. The complement \(A'\) holds the elements of \(\xi\) that are not in \(A\). The difference \(A\setminus B\) keeps the elements of \(A\) that are not in \(B\).

Set-builder notation describes a set by a rule instead of a list: \(A=\{x : x \text{ is a factor of } 12\}\) means "all \(x\) such that \(x\) is a factor of \(12\)". You still list and count the elements the rule produces.

On a Venn diagram the wording matters. Only \(A\) means the part of \(A\) outside every other circle; exactly one adds the separate only-regions; and neither is everything outside all circles, \(|\xi|-|A\cup B|\).

Two-set Venn diagram Two overlapping circles inside a rectangle (the universal set). The left circle is set Y, the right circle is set P. The overlap (shaded) holds 7, the left-only region holds 17, the right-only region holds 11, and 5 lie outside both circles. Y P ξ 17 7 11 5
Two-set Venn (gym survey): yoga-only \(17\), both \(7\), Pilates-only \(11\); the shaded lens is \(Y\cap P\), and \(5\) do neither.
Three-set Venn diagram Three overlapping circles A, B and C inside a rectangle. Only-A holds 11, only-B holds 8, only-C holds 6; the pair-only overlaps hold 7 (A and B), 5 (A and C) and 4 (B and C); the central all-three region holds 5; and 4 lie outside every circle. A B C ξ 11 8 6 7 5 4 5 4
Three-set Venn (cafe survey): only-regions \(11,8,6\); pair-only overlaps \(7,5,4\); all three \(5\); and \(4\) chose none.

The complement takes every element of the universal set that is not in \(A\):

\[ |A'| = |\xi| - |A| \]
|A|=|ξ||A|

The difference removes the shared part from \(A\):

\[ |A\setminus B| = |A| - |A\cap B| \]
|AB|=|A||AB|

For two sets, exactly one adds the two only-regions:

\[ \text{exactly one} = \big(|A|-|A\cap B|\big) + \big(|B|-|A\cap B|\big) \]
(|A||AB|)+(|B||AB|)
De Morgan. "Neither" is outside the union, and \(A'\cap B' = (A\cup B)'\), so the count of elements in neither set is \(|\xi|-|A\cup B|\).

How to read a set problem

  1. Name the sets and the universal set \(\xi\); note each given cardinality (\(|A|\), \(|A\cap B|\), and so on).
  2. Fill the overlap first. Place the innermost count (\(A\cap B\), or the all-three region) before anything else, then subtract to find each only-region.
  3. Match the wording to a region: "only" is one lobe, "exactly one/two" sums the matching regions, and "neither" is outside every circle.
  4. Count or combine the required regions, checking that all regions add back to \(|\xi|\).
Example 1 — Four operations by listing
The universal set is \(\xi=\{1,2,3,4,5,6,7,8,9,10\}\), with \(A=\{2,4,6,8,10\}\) and \(B=\{1,2,3,4,5\}\). Find \(A\cup B\), \(A\cap B\), \(A'\) and \(A\setminus B\).
Solution

Union — every element in \(A\) or \(B\), each listed once:

\(A\cup B\)\(=\)\(\{1,2,3,4,5,6,8,10\}\)
\(|A\cup B|\)\(=\)\(8\)

Intersection — the elements in both sets:

\(A\cap B\)\(=\)\(\{2,4\}\)
\(|A\cap B|\)\(=\)\(2\)

Complement — the elements of \(\xi\) not in \(A\):

\(A'\)\(=\)\(\{1,3,5,7,9\}\)
\(|A'|\)\(=\)\(5\)

Difference — the elements of \(A\) with those in \(B\) removed:

\(A\setminus B\)\(=\)\(\{6,8,10\}\)
\(|A\setminus B|\)\(=\)\(3\)

\(A\cup B=\{1,2,3,4,5,6,8,10\}\), \(A\cap B=\{2,4\}\), \(A'=\{1,3,5,7,9\}\), \(A\setminus B=\{6,8,10\}\).

Example 2 — Set-builder and complement
The universal set is \(\xi=\{1,2,\dots,12\}\) and \(A=\{x : x \text{ is a multiple of } 3\}\). List \(A\), then find \(A'\) and \(|A'|\).
Solution

Apply the rule — list the multiples of \(3\) up to \(12\):

\(A\)\(=\)\(\{3,6,9,12\}\)
\(|A|\)\(=\)\(4\)

Complement — the elements of \(\xi\) that are not multiples of \(3\):

\(A'\)\(=\)\(\{1,2,4,5,7,8,10,11\}\)
\(|A'|\)\(=\)\(|\xi| - |A|\)
\(=\)\(12 - 4\)
\(=\)\(8\)

\(A=\{3,6,9,12\}\), so \(A'=\{1,2,4,5,7,8,10,11\}\) and \(|A'|=8\).

Example 3 — Two-set survey (only / neither)
Of \(40\) gym members, \(24\) do yoga, \(18\) do Pilates and \(7\) do both. How many do exactly one of the two activities, and how many do neither?
Solution

Subtract the overlap of \(7\) to get each only-region:

\(\text{yoga only}\)\(=\)\(24 - 7\)
\(=\)\(17\)
\(\text{Pilates only}\)\(=\)\(18 - 7\)
\(=\)\(11\)

Exactly one adds the two only-regions:

\(\text{exactly one}\)\(=\)\(17 + 11\)
\(=\)\(28\)

Neither is the total minus the union of the three inside regions:

\(|Y\cup P|\)\(=\)\(17 + 7 + 11\)
\(=\)\(35\)
\(\text{neither}\)\(=\)\(40 - 35\)
\(=\)\(5\)

\(28\) members do exactly one activity, and \(5\) do neither.

Two-set Venn diagram Two overlapping circles inside a rectangle (the universal set). The left circle is set Y, the right circle is set P. The overlap (shaded) holds 7, the left-only region holds 17, the right-only region holds 11, and 5 lie outside both circles. Y P ξ 17 7 11 5
Example 4 — Three-set survey (exactly two)
Three sets satisfy \(|A|=30\), \(|B|=25\), \(|C|=20\), \(|A\cap B|=10\), \(|A\cap C|=8\), \(|B\cap C|=6\) and \(|A\cap B\cap C|=3\). How many elements lie in exactly two of the sets?
Solution

Each pair overlap minus the all-three region gives its exactly-two part:

\(A\cap B \text{ only}\)\(=\)\(10 - 3\)
\(=\)\(7\)
\(A\cap C \text{ only}\)\(=\)\(8 - 3\)
\(=\)\(5\)
\(B\cap C \text{ only}\)\(=\)\(6 - 3\)
\(=\)\(3\)

Add the three exactly-two regions:

\(\text{exactly two}\)\(=\)\(7 + 5 + 3\)
\(=\)\(15\)

\(15\) elements lie in exactly two of the sets.

Common pitfalls

Reading "\(24\) do yoga" as "yoga only". Watch out: the set total \(|A|\) already includes the overlap. For the only-region, subtract the intersection first (\(24-7=17\)).
Taking a complement without a universal set. \(A'\) only makes sense once \(\xi\) is fixed — find it as \(|\xi|-|A|\), never as a stand-alone count.
Assuming \(A\setminus B = B\setminus A\). The difference is not symmetric: \(A\setminus B\) removes the shared part from \(A\), while \(B\setminus A\) removes it from \(B\).
Confusing "exactly two" with "at least two". Exactly two excludes the all-three region; at least two adds it back on.

Frequently asked questions

What is the difference between union and intersection?

The union \(A\cup B\) collects every element in \(A\) or \(B\) (each once); the intersection \(A\cap B\) keeps only the elements that are in both sets.

What does the complement \(A'\) mean?

It is every element of the universal set \(\xi\) that is not in \(A\). Its size is \(|A'|=|\xi|-|A|\), so you must know \(\xi\) first.

What does set-builder notation \(\{x : \dots\}\) mean?

It describes a set by a rule rather than a list. \(\{x : x \text{ is a factor of } 12\}\) reads "all \(x\) such that \(x\) is a factor of \(12\)", giving \(\{1,2,3,4,6,12\}\).

How do you find 'exactly one' on a Venn diagram?

Subtract the overlap from each set to get the two only-regions, then add them: \((|A|-|A\cap B|)+(|B|-|A\cap B|)\).

What does 'neither' mean on a Venn diagram?

It is everything outside all the circles — the complement of the union, counted as \(|\xi|-|A\cup B|\).

Is \(A\setminus B\) the same as \(B\setminus A\)?

No. \(A\setminus B\) keeps the elements of \(A\) not in \(B\); \(B\setminus A\) keeps the elements of \(B\) not in \(A\). They are usually different sets.