QED
Sets · step 2 of 13

Union, intersection, difference & complement

The four basic operations combine sets: A ∪ B collects everything in either, A ∩ B keeps what is in both, A \ B removes B’s elements from A, and Aᶜ is everything in the universe U outside A. The complement is the only one that depends on U, which is why every complement question must state the universe — without it, Aᶜ is undefined.

Unlimited questions · marked criterion by criterion · no card needed

Method: how to approach it

The order below is what examiners expect to see, and each step carries its own marks.

  1. Write down the universeComplement and any expression containing it are meaningless until U is fixed.
  2. Work innermost brackets firstSet expressions follow the same precedence discipline as arithmetic. Compute A ∩ B before uniting it with anything.
  3. Translate each operation to a membership testx ∈ A ∪ B iff x ∈ A or x ∈ B; x ∈ A \ B iff x ∈ A and x ∉ B. Checking element by element is error-proof for small sets.
  4. Present the answer sortedList elements in a canonical order so that comparison with the model answer is unambiguous.

Worked example

With U = {1, …, 8}, A = {1, 2, 3, 4} and B = {3, 4, 5}, compute (A ∪ B)ᶜ and A \ B.

  1. A ∪ B = {1, 2, 3, 4, 5}.
  2. Complement within U: everything in {1,…,8} not listed above.
  3. (A ∪ B)ᶜ = {6, 7, 8}.
  4. A \ B removes 3 and 4 from A, leaving {1, 2}.

Answer. (A ∪ B)ᶜ = {6, 7, 8} and A \ B = {1, 2}.

Where marks get dropped

These are the specific errors that cost credit on union, intersection, difference & complement questions — QED's rubric penalises each of them separately.

Practise this until it is automatic

Unlimited fresh questions

QED generates new union, intersection, difference & complement problems on demand at warm-up, exam and challenge level, so you can drill this one skill until it stops costing you marks.

Marked like an examiner

Every answer is scored against a point-by-point rubric with partial credit, so you see exactly which step of the method broke down — not just a tick or a cross.

Answer in real notation

A one-tap symbol palette, a visual equation editor and a truth-table builder — or photograph your handwritten working and QED converts it to LaTeX.

Saved to your library

Every question you generate is kept and re-takeable as a timed exam, and your Sets mastery is tracked so you know when this is exam-ready.

Union, intersection, difference & complement — frequently asked questions

Is A \ B the same as A ∩ Bᶜ?

Yes, and that identity is often the cleanest way to prove statements about differences — it converts a difference into an intersection where the algebraic laws apply directly.

What is A \ A?

The empty set. Nothing is in A while also not in A. Similarly A ∪ Aᶜ = U and A ∩ Aᶜ = ∅.

Do these operations distribute?

Yes: A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C) and A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C). Both directions hold, unlike arithmetic where only one does.

The rest of Sets

Set-builder notation, operations, and set identities. Each subtopic below has its own method, worked example and mark-losing traps.

Ready to make union, intersection, difference & complement exam-proof?

Generate your first questions free — no card, no setup, no personal data stored. Practise until the method is second nature.

Start practising free →