Leave lesson

Probability · Venn diagrams & set notation

1 / 15

Set notation

The formal language of sets — the universal set ξ, n(A) for a count, union A∪B ("in either, or both"), intersection A∩B, the complement A′, and combined expressions such as A∩B′ and (A∪B)′ — read as names for regions of a Venn diagram.

Probability · Venn diagrams & set notation

Set notation

The formal language of sets — the universal set ξ, n(A) for a count, union A∪B ("in either, or both"), intersection A∩B, the complement A′, and combined expressions such as A∩B′ and (A∪B)′ — read as names for regions of a Venn diagram.

Why it works

Set notation looks like a pile of unfamiliar symbols, but every symbol is a name for a region of a picture. Draw two overlapping circles inside a rectangle and you have already made four regions: in AA only, in both, in BB only, and in neither. The notation exists so you can say "that region" in writing, without pointing at it.

The box: the universal set ξ\xi. Everything the question is about lives in the rectangle — the 3030 students in the class, the whole numbers from 11 to 1212, the people who answered the survey. The Greek letter ξ\xi ("xi") names that whole collection. It matters more than it looks, because AA' below means "everything else", and "everything else" is meaningless until you have said what everything is.

Elements, lists, and nn. A set is a collection of things written inside curly brackets: A={2,3,5,7,11}A = \{2, 3, 5, 7, 11\}. Each thing in it is an element, and \in means "is an element of", so 5A5 \in A while 6A6 \notin A. The notation n(A)n(A) is not another set — it is a count: "how many elements are in AA". Here n(A)=5n(A) = 5. So "list the members of AA" wants a set in brackets, and "find n(A)n(A)" wants a single number; getting those two mixed up throws marks away before any real thinking has happened.

Union ABA \cup B — and the everyday-"or" trap. In ordinary English, "tea or coffee?" means one or the other, and not both. Mathematics cannot afford that ambiguity, so \cup is defined once and for all as: in AA, or in BB, or in both. It is everything inside either circle, and the overlap is very definitely included. The symbol helps — \cup is a cup, and it scoops up everything from both circles. This is why

n(AB)=n(A)+n(B)n(AB),n(A \cup B) = n(A) + n(B) - n(A \cap B),

because adding the two totals counts everyone in the overlap twice, so you subtract that overlap exactly once to put it right.

Intersection ABA \cap B. Only the things that are in AA and in BB — the overlap alone. The peak of \cap is the "n" of "and", and it is always the smaller region: nothing can be in the intersection without also being in the union.

Complement AA'. The dash means "not". AA' is everything in ξ\xi that is outside circle AA — including things that are in BB, and things that are in neither. Because every element is either in AA or not in AA,

n(A)+n(A)=n(ξ).n(A) + n(A') = n(\xi).

Combined expressions. Read them left to right, treating the dash as "not": ABA \cap B' is "in AA and not in BB", which is the part of circle AA outside the overlap — the region a question would call "AA only". That is the standard exam way of writing "only", so it is worth recognising instantly. Likewise ABA' \cap B is "BB only", and ABA \cup B' is a big region: everything except the part of BB outside AA.

Why (AB)=AB(A \cup B)' = A' \cap B' — read, don't memorise. Take (AB)(A \cup B)' first. The bracket comes first, so build the union: both circles, overlap included. Then the dash says "everything else", so you are left with the region outside both circles — the corner of the box. Now take ABA' \cap B'. AA' is everything outside circle AA; BB' is everything outside circle BB; the intersection asks for what is in both of those at once — outside AA and outside BB. That is the same corner of the box. Two names, one region, no memorising required.

Notice what changed on the way: the dash moved inside the bracket and the \cup flipped to a \cap. The flip is the whole point. The tempting (AB)=AB(A \cup B)' = A' \cup B' is wrong, and badly so: ABA' \cup B' means "outside AA or outside BB", which is everything except the overlap — nearly the whole diagram, rather than one small corner. The same swap works the other way round: (AB)=AB(A \cap B)' = A' \cup B'.

Two last symbols. \varnothing is the empty set — the set with no elements at all, so n()=0n(\varnothing) = 0. You meet it whenever two sets have nothing in common, e.g. the odd numbers and the multiples of 44. And ABA \subset B says every element of AA is also an element of BB: circle AA drawn entirely inside circle BB.

Once you can name a region, you can count it — and every set question at GCSE is either "name this region" or "count that one".