A set is a collection of distinct elements. You can describe one by listing its members or by stating a rule, then use membership, subset, and operation symbols to compare sets. This guide works through those basics and shows how to read the same operations in a Venn diagram.
What is a set in math?
A set is a collection whose elements are treated as distinct. For example, {2, rat, 3/5} and {rat, 3/5, 2} name the same set: changing the order does not change which elements it contains.
Write a set by listing or by rule
Roster notation lists the elements directly, as in A = {1, 2, 3}. Set-builder notation describes the rule an element must satisfy. For example, {x ∈ ℤ | 1 ≤ x ≤ 3} means the integers x from 1 through 3, so it describes {1, 2, 3}. The symbol ℤ denotes the integers.
How do membership and subset notation work?
Membership notation tests whether one object is an element of a set: x ∈ A means “x is in A,” while x ∉ A means it is not. If A = {1, 2, 3}, then 2 ∈ A and 4 ∉ A.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
#1 Best Overall
Subset notation compares two sets. A ⊆ B means every element of A also belongs to B. A proper-subset symbol is often used to say that A is a subset of B but is not equal to it; textbooks and contexts vary in which symbol they use for this distinction, so check the convention in use.
The empty set, written ∅, has no elements. Since it has no elements that could fail the subset test, it is a subset of every set.
Rank #2
What are union, intersection, and difference?
Use the same two sets throughout: A = {1, 2, 3} and B = {3, 4}. The key distinction is the membership condition each operation applies.
| Operation | Membership condition | Result for A and B |
|---|---|---|
Union, A ∪ B |
In A or B or both | {1, 2, 3, 4} |
Intersection, A ∩ B |
In both A and B | {3} |
Difference, A B |
In A and not in B | {1, 2} |
“Or” in the definition of union includes the possibility of being in both sets, which is why 3 appears in the union. Difference is directional: A B asks what remains from the first set after excluding elements of the second. Reversing the order gives B A = {4}, not {1, 2}.
Rank #3
Two sets are disjoint if they share no elements; equivalently, their intersection is the empty set. The example sets are not disjoint because both contain 3.
How do you find a set’s complement?
A complement depends on a stated universe: the set of elements being considered. If the universe is U = {1, 2, 3, 4, 5} and A = {1, 2, 3}, then the complement of A, written Aᶜ, is {4, 5}. It contains the elements in U that are not in A.
Rank #4
Without the universe, a complement is not fully specified. A set may have different complements under different universes, so write or identify the universe before calculating one.
What is a power set?
The power set of A, written P(A) or 𝒫(A), is the set of every subset of A, including the empty set and A itself. For A = {1, 2}, it is {∅, {1}, {2}, {1, 2}}.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problemsIf a finite set has n elements, its power set has 2n elements. Each original element can either be included in a particular subset or left out, giving two choices per element.
How do set operations appear in a Venn diagram?
A Venn diagram represents sets as regions inside a universe, often drawn as overlapping circles. Shading a region makes the operation’s membership condition visible:
- Union: shade the regions belonging to either set, including their overlap.
- Intersection: shade only the shared overlap.
- Difference: for
A B, shade the part ofAoutsideB. - Complement: shade the area inside the stated universe but outside the set.
A diagram is a useful visual aid, but the precise test is always the definition: check whether an element meets the operation’s membership condition. When combining operations, establish the notation first, evaluate one operation at a time, and use parentheses to make the intended grouping clear.
For formal introductory treatments, see the University of Oxford’s Introduction to University Mathematics: Sets, OpenStax’s Contemporary Mathematics, Chapter 1 key concepts, and the United States Naval Academy’s set theory introduction.
Recommended Free Tools
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




