What Are Operations On Sets?
Operations on sets are rules that take one or more sets and return a new set. The four core operations are union, intersection, difference, and complement. A set is a well-defined collection of objects, and these operations let us combine and compare those collections without listing every element by hand.
Throughout, take a universal set — the full collection everything is drawn from — and two sets inside it:
These three sets run through every operation below, so you can watch one example deepen.
Union — combining everything
The union is the set of elements in , in , or in both. The symbol reads "or".
Shared elements are listed once — a set never repeats a member.
Intersection — keeping only the shared
The intersection is the set of elements in both and . The symbol reads "and".
When two sets share nothing, the intersection is the empty set, and the sets are called disjoint.
Difference — what one has that the other lacks
The difference (also written ) is the set of elements in but not in . Order matters here.
and are different sets — a clue that difference is not commutative.
Complement — everything outside
The complement (also written or ) is the set of elements in the universal set but not in .
Complement only makes sense once a universal set is fixed; without , "everything outside " has no boundary.
Symmetric difference — in one or the other, not both
The symmetric difference collects elements in exactly one of the two sets.
It is the union minus the intersection — useful when "either but not both" is the real question.
Properties Of Operations On Sets
The operations obey laws that mirror, but do not copy, the laws of arithmetic. Keep them straight and most set problems collapse to one line.
Commutative: and . (Difference is not commutative.)
Associative: , and the same for .
Distributive: , and the dual with over .
Identity: and .
De Morgan's laws: and . The complement of a union is the intersection of complements; flip the operation when you flip outside.
The cardinality of a union ties three counts together:
You subtract the intersection because adding and counts the shared elements twice.
Examples of Operations on Sets
Example 1
With and , find and .
Final answer: , .
Example 2 (where the first instinct goes wrong)
Given , , , find .
The first instinct is to complement each set and union them: , , then . Test it against the direct route.
Direct: , so .
The two answers disagree, so the shortcut is wrong. De Morgan's law says the complement of a union equals the intersection of complements, not the union:
Final answer: . Flip the operation when you complement.
Example 3
With and , find and .
The two are unequal, confirming difference depends on order. Final answer: , .
Example 4
Verify the distributive law for , , : is ?
Left side: , so .
Right side: , , so .
Both sides equal . Final answer: the law holds.
Example 5
In a group of people, like tea and like coffee; like both. How many like at least one?
Use the union count formula:
Final answer: people like at least one drink. (The remaining sit in the complement — they like neither.)
Example 6
With the same group, how many like exactly one of the two drinks?
That is the symmetric difference. Subtract the "both" count from each single count and add:
Final answer: people like exactly one drink.
Where Operations On Sets Go Sideways
Mistake 1: Misapplying De Morgan's laws
Where it slips in: Any time a complement sits on top of a union or intersection.
Don't do this: Writing .
The correct way: — the complement of an intersection is the union of complements. The single most common slip here is leaving the operation unchanged while complementing; the operation must flip () every time you take the complement of a combined set.
Mistake 2: Treating set difference as commutative
Where it slips in: Problems that ask for "what is in A but not B" when the student reads it as a symmetric "what is not shared".
Don't do this: Assuming .
The correct way: Difference depends on order. keeps elements of only; keeps elements of only. The rusher who treats it like subtraction of numbers (where order also matters, but the result is just sign-flipped) forgets that sets give two genuinely different collections, not a sign change.
Mistake 3: Forgetting the universal set for complement
Where it slips in: Computing without a stated .
Don't do this: Listing as "all numbers not in ".
The correct way: Complement is always relative to a fixed universal set . With and , the complement is — not the infinite "everything else". Define first, every time.
Conclusion
The four core operations on sets are union, intersection, difference, and complement, each returning a new set.
Union () means "or", intersection () means "and", difference keeps what one set has that another lacks, and complement keeps everything outside a set within .
De Morgan's laws flip the operation when you complement a union or intersection.
The union count formula is .
The most common mistakes are misapplying De Morgan's laws, treating difference as commutative, and forgetting the universal set.
Practice Questions on Operations on Sets
Use , , and . Work each out, then check below.
Find .
Find .
Find .
Find .
Find two ways — directly, and by De Morgan's law.
Answers
.
.
, the elements in but not .
, everything in outside .
Direct: , so . By De Morgan: , where and , giving . Both agree.
Keep Going With Operations on Sets
If you get stuck on the complement steps, come back to Example 2. From here, see how each operation works on its own in intersection of sets and complement of a set, how it all fits under sets, and how these regions are drawn in a Venn diagram. Want a live Bhanzu trainer to walk through more operations on sets problems? Book a free demo class.
Was this article helpful?
Your feedback helps us write better content

