Skip to content

Elements of set theory: operations, De Morgan and difference

Why this is asked: A free minute at the start of Part B if you rewrite every difference as A ∩ Bᶜ, and a two-minute case analysis if you do not. The recurring question is A \ (B \ C), and the recurring wrong answer moves the brackets.

In one sentence

Rewrite every set difference as AB=ABcA \setminus B = A \cap B^{c}, and the whole subject collapses into Boolean algebra where De Morgan does the rest.

Why the exam asks it

Because it is a free minute at the start of Part B for anyone who knows the rewrite, and a two-minute case analysis for anyone who does not. The identities look interchangeable on the page, so the question is really testing whether you can compute rather than recognise.

The idea

One move does almost all of the work:

AB  =  ABc.A \setminus B \;=\; A \cap B^{c}.

Difference is not a third operation to memorise rules for. It is intersection with a complement, and once written that way every question becomes union, intersection and complement — where the laws are the ones you already trust.

De Morgan, the only law you need to hold

(AB)c=AcBc,(AB)c=AcBc.(A \cup B)^{c} = A^{c} \cap B^{c}, \qquad (A \cap B)^{c} = A^{c} \cup B^{c}.

Complementation swaps union and intersection. Everything else follows.

The worked case the papers keep setting

A(BC)A \setminus (B \setminus C). Apply the rewrite twice and push the complement inwards:

A(BC)=A(BCc)c=A(BcC)=(ABc)(AC)=(AB)(AC).A \setminus (B \setminus C) = A \cap (B \cap C^{c})^{c} = A \cap (B^{c} \cup C) = (A \cap B^{c}) \cup (A \cap C) = (A \setminus B) \cup (A \cap C).

Four rewrites, no diagram. The last step is distributivity of \cap over \cup.

Read it in words: something survives A(BC)A \setminus (B \setminus C) if it is in AA and not in the part of BB outside CC — so either it misses BB altogether, or it is in CC where BCB \setminus C cannot reach it.

Where intuition breaks

Difference is not associative. (AB)CA(BC)(A \setminus B) \setminus C \ne A \setminus (B \setminus C) in general. Take A=C={1}A = C = \{1\} and B=B = \varnothing: the left side is {1}\{1\} \setminus \varnothing \setminus{1}=\{1\} =\varnothing, the right is {1}\{1\} \setminus \varnothing={1} = \{1\}. The brackets are not decoration, and an option that has silently moved them is the standard wrong answer.

Difference is not commutative either, which is obvious stated plainly and easy to lose inside a longer expression.

A(BC)A \setminus (B \setminus C) is not (AB)C(A \setminus B) \cup C. The CC term has to be cut down to ACA \cap C first. An option offering the uncut CC is testing exactly this.

Symmetric difference is associative, unlike ordinary difference — AB=(AB)(BA)A \triangle B = (A \setminus B) \cup (B \setminus A) behaves like addition mod 2 on indicator functions, so brackets genuinely do not matter there. Knowing which of the two is associative is worth a mark on its own.

The exam's angle

Two methods, and use whichever is faster for the shape in front of you:

  1. Rewrite and push complements. Best when the expression is short and the options are algebraic. Three lines, as above.
  2. Test a small example. Best when the options are concrete or the expression is nested. A={1,2}A = \{1,2\}, B={2,3}B = \{2,3\}, C={1,3}C = \{1,3\} separates almost every wrong option, because it makes all four regions of the Venn diagram non-empty. One counterexample kills an option outright — you never need to prove the survivor, only eliminate the rest.

Method 2 is underrated under time pressure. An identity that fails on a three-element example is finished, and checking costs seconds.

The night before

  • AB=ABcA \setminus B = A \cap B^{c}. Always start here.
  • De Morgan swaps \cup and \cap under complement.
  • A(BC)=(AB)(AC)A \setminus (B \setminus C) = (A \setminus B) \cup (A \cap C) — note the AA \cap.
  • \setminus is neither associative nor commutative; \triangle is associative.
  • To disprove an identity, one small set with all regions occupied is enough.

More in The Real Line

Take it further

Last revised . Found a mistake? Tell us — corrections are the fastest thing we act on.

Next: Completeness, sup/inf, Archimedean property

Create a free account to keep your place and have this feed your study plan.

Open this in the full syllabus view · Unit 1