Set Theory & Venn Diagrams
✨ Login to trackSets, Subsets & Power Sets
✨ Login to trackA set is a well-defined collection of objects, and Venn diagrams are its picture. The core skill here is counting: subsets, unions, intersections and complements. Most exam questions are direct formula applications.
What a set is
A set is a collection of well-defined objects. The objects are called its elements.
Write a set in roster form: . Then , the number of elements.
- means 4 belongs to A.
- means 5 does not belong to A.
Two sets are equal when they have exactly the same elements. They are equivalent when they only have the same number of elements. and are equivalent but not equal.
The empty set has no elements, so . A singleton set has exactly one element.
Subsets and the power set
is a subset of (written ) when every element of A is also in B.
Each element makes two choices: in or out. So a set with elements has subsets.
The set of all subsets is the power set. A power set of an -element set has elements.
- Subsets:
- Proper subsets (drop the set itself):
- Non-empty subsets (drop the empty set):
- Non-empty proper subsets:
Rule: For elements: subsets , proper , non-empty proper .
Check with : the 8 subsets are , three singletons, three pairs and the full set. Proper: 7. Non-empty proper: 6.
Subsets of a fixed size
Subsets with exactly elements are counted by .
From , the subsets of size 2 number .
To count subsets that must contain a given element, put that element in first and choose the rest from the remaining . To count subsets that must avoid an element, choose everything from the other .
Tip: "At least one of two given elements" flips to "avoid both". Count the avoid case and subtract from .
Union, intersection, difference, complement
Take and .
- Union , so : in A or B or both.
- Intersection , so : in both.
- Difference : in A but not in B.
- Complement : everything of the universal set outside A.
Rule: . Subtract the overlap, not .
The union counting formula
Adding and counts the common elements twice. Subtract the overlap once.
Worked: , , . Union .
The formula also runs backwards. If the union is known, any one of the other three counts follows from it.
Tip: "At least one of A or B" always means the union. Spot those words and reach for this formula.
De Morgan's laws
The complement flips unions and intersections:
In words: "not in A or B" means "outside A and outside B".
Exam use: .
Worked: , , , . Union , so .
Watch: A complement turns into and into . Do not keep the same join sign.
Question types you will see
Each type: how to recognise it, the method step by step, and one question to try.
Number of subsets of a set
'How many subsets does a set with n elements have?' — a direct power-set ask.
Count the elements .
Compute .
For proper subsets subtract 1.
Each element independently joins or stays out, so the choices double for every element.
A set has 6 elements. How many subsets does it have?
Show solutionHide solution
Count the elements: .
Subsets .
64
Proper and non-empty subsets
The word 'proper' (drop the set itself) or 'non-empty' (drop the empty set) is attached to subsets.
Compute .
Subtract 1 for proper, 1 for non-empty.
Subtract 2 when both words appear.
Proper removes the full set and non-empty removes the empty set from the total.
A set has 5 elements. How many non-empty proper subsets does it have?
Show solutionHide solution
Subsets: .
Non-empty proper: .
30
Subsets of a fixed size or containing given elements
'Exactly 2 elements', 'containing a particular element', or 'at least one of two given elements'.
Fixed size r: answer .
Must contain a set of k elements: choose the rest from .
At least one of some elements: minus the subsets avoiding all of them.
Fixing or banning elements just shrinks the pool that the remaining choice works on.
A set has 6 elements. How many subsets have exactly 2 elements?
Show solutionHide solution
Count size-2 subsets: .
.
15
Union of two sets and the difference region
or is asked from counts of , and .
Write the union formula (or the difference formula).
Substitute the three counts.
Subtract the overlap for a union; subtract it from for a difference.
The plain sum double-counts the overlap, so it must be removed once.
If , and , find .
Show solutionHide solution
.
.
30
De Morgan complement count
The ask uses complements like or words like 'outside both A and B'.
Convert the complement expression with De Morgan.
Find from the counts.
Subtract the union from .
'Not (A or B)' equals 'not A and not B', so the complement of the union is the answer.
In a universal set of 50 elements, , and . Find .
Show solutionHide solution
.
Union: .
.
6
Formula sheet
A set with $n$ elements; the power set has $2^n$ elements.
All subsets except the set itself.
All subsets except the empty set.
Drops both the empty set and the full set.
Order does not matter inside a subset.
Subtract the overlap counted twice.
A complement swaps the join sign.
Shortcuts that save time
Subset questions are pure powers of two. Learn and every variant (proper, non-empty) becomes a one-step subtraction.
A set has 9 elements. How many subsets does it have?
Show solutionHide solution
Subsets .
.
512
For 'at least one of these elements' or 'non-empty proper', count the unwanted subsets and subtract from .
A set has 6 elements. How many non-empty proper subsets does it have?
Show solutionHide solution
Subsets: .
Drop the empty and the full set: .
62
looks scary. De Morgan converts it to , a two-line count.
In a universal set of 80 elements, , and . Find .
Show solutionHide solution
Union: .
Complement: .
15
Mistakes to avoid
Where most students lose marks on this subtopic.
Using where a smaller count is asked — proper subsets are and non-empty proper subsets are .
Adding and without subtracting the overlap — the common elements get counted twice.
Reading as — subtract the overlap , not the whole of .
Mixing up De Morgan — becomes , not .
Forgetting the empty set when listing subsets — is a subset of every set.
Treating equivalent sets as equal — equal needs the same elements; equivalent only the same count.
Quick revision
Read this the night before the exam.
Subsets of an -element set: ; power set has elements.
Proper subsets ; non-empty proper .
Fixed size : subsets.
.
.
De Morgan: , .
.
Practice: 12 questions
Sets of 10, mixed across the question types above. Every answer has a step-by-step explanation.
Topic test · 12 questions
Suggested time 9 min · wrong answers go to your mistake notebook automatically.