Four operations, four connectives
In the last node we built sets and the membership question . Now we combine sets — and every combination is defined by a logical connective acting on membership statements. That's not an analogy. It's the literal definition, and anyone who sells you a different story is lying to you, possibly for grant money.
Union. is everything in or (or both):
Intersection. is everything in and :
Difference. (" minus ") is everything in but not in :
Complement. Fix a universe (the set of all things under discussion). The complement (also written or ) is everything in not in :
Look at the right-hand sides. , , , . Set theory is logic wearing a bag costume — every truth table you sweated over in the Logic stratum is secretly a statement about sets, and vice versa. This is the single most important idea in the next three lessons, so let it sink all the way in. Write it on the lab wall if you have to. I have chalk — some of it is technically contraband, but the math doesn't care.
Venn diagrams are truth tables you can see
A Venn diagram draws each set as a circle and the universe as the box around them. For two sets that box is carved into exactly four regions, one for each combination of "in ? / in ?":
| in ? | in ? | region |
|---|---|---|
| yes | yes | |
| yes | no | |
| no | yes | |
| no | no | outside both, i.e. |
That table is a truth table with rows "" and "". Four rows, four regions — same object. For three sets, you get regions (each of , , independently in or out), which is exactly why the standard three-circle picture has eight pieces. Push the buttons and watch each expression light up its regions; this is a truth table you can poke:
When a "set identity" looks mysterious, color the regions on both sides. If they match, the identity is plausible — but a picture is only a hypothesis. We promote it to a theorem with an element proof in the next node. For now, let the picture build your intuition.
Disjoint sets and the preview of partitions
Two sets are disjoint when they share nothing: . On the Venn diagram their circles don't overlap at all. Disjointness is the cleanest possible relationship — no double-counting, no overlap, no messy specimens contaminating each other's beakers.
Push this further. Suppose you carve a universe into several pieces that are pairwise disjoint (no two overlap) and that cover everything (their union is all of ). That's a partition of — a clean division into non-overlapping blocks with nothing left over. The even and odd integers partition : disjoint, and together they're all of . Hold this thought — partitions become the secret heart of equivalence relations two lessons from now, where "same remainder mod " slices the integers into perfect disjoint blocks.
These operations work on real intervals, not just toy sets
Finite sets like are great for practice, but the operations don't care about size — they run on infinite sets too, and the most important case is intervals of . Recall the interval notation: includes both endpoints, excludes both, and half-open ones like mix.
Run the connectives. Let and .
- Intersection (in both, so overlap): — the stretch they share.
- Union (in either, and they touch): — one continuous block, because they overlap.
- Difference ( but not ): — note the open endpoint at , because gets removed from .
That open bracket at in is where students bleed out — and they bleed consistently, predictably, despite my yelling: removing removes the point itself, so the leftover can't include it. The connective "" demands it. Now suppose instead and — no overlap, so (disjoint), and stays as two separate blocks because there's a gap between them. Union doesn't magically fill gaps; it just collects.
The grand summary
Every operation, one connective, no exceptions:
Memorize the goddamn dictionary, not a pile of rules. If I catch you memorizing rules instead of understanding why they're true, I will be genuinely upset — not performing upset, actually upset, the kind that fuses the reactor core. When you hit a set identity you can't remember, translate it into logic, where you already know the answer, and translate back. That trick — set statement logic statement answer — is the whole engine of the next lesson's proofs.