Lesson 11 · Sets

Operations on Sets

MathematicsSubject
14 minEstimated read
Two sets, and two questions

Once you have two sets side by side, there are only two natural questions. Is it in this one OR that one? Is it in this one AND that one? The first builds the union, the second builds the intersection.

The four operations

Name Symbol The question it asks
UnionA ∪ BIs it in A OR in B, or in both?
IntersectionA ∩ BIs it in A AND in B?
DifferenceA − BIs it in A but NOT in B?
ComplementA′Everything in the universal set that is not in A
A way to remember the two symbols

The union symbol is shaped like a cup, and a cup holds everything you pour into it. The intersection symbol is the same shape upside down, like a cap, and a cap only covers the part that both share.

The universal set

The universal set, written U, is the collection of all the objects under discussion. If U is the numbers 1 to 10 and A is the even ones, then A complement is {1, 3, 5, 7, 9}. The same set A can have completely different complements depending on what U is.

Always look for U first

A question that asks for a complement must tell you the universal set somewhere. Read the whole question, underline U, and write it at the top of your working.

Counting a union without counting twice

If 18 play football, 12 play volleyball and 5 play both, the answer is not 30. The 5 who play both have been counted twice. Subtract the overlap once and you get 25.

\[ n(A \cup B) = n(A) + n(B) - n(A \cap B) \]

Why the subtraction is there

Every element of the intersection sits inside A and inside B, so adding the two totals counts it twice. Taking the intersection away once fixes exactly those elements and leaves the rest alone. It is a repair, not a formula to memorise.

Order matters for one of them

Operation Does the order matter?
A ∪ BNo. A ∪ B = B ∪ A
A ∩ BNo. A ∩ B = B ∩ A
A − BYES, and this is a common trap
A minus B is not B minus A

If A = {1, 2, 3, 4} and B = {3, 4, 5}, then A − B = {1, 2} but B − A = {5}. Read A − B as what is left of A when B is taken out, and the direction becomes obvious.

🔐

The full lesson is waiting for you

Create a free account to unlock activities, practice tests, presentations and videos - and to track your progress and confidence score for every subject.

🔐

The full lesson is waiting for you

Create a free account to unlock activities, practice tests, presentations and videos - and to track your progress and confidence score for every subject.