Sets and Elements
Learning objectives
- Define sets using roster and set-builder notation
- Understand subset, union, and intersection
- Work with the empty set
Modern mathematics speaks set theory the way physics speaks calculus. Every mathematical object — a number, a function, a vector, a triangle — lives in some set. Every theorem is a claim about elements of a set. Get fluent here and the rest of mathematics opens up. A set is a well-defined collection of objects called elements (or members). We write to mean " is an element of " and to mean " is not in ."
Set Notation
Roster: lists all elements.
Set-builder: describes elements by a property.
Set Operations
Union:
Intersection:
Subset: means every element of is also in .
Empty set: has no elements. It is a subset of every set.
(Click a dot to move it between regions of the Venn diagram. Watch the readout update with |A|, |B|, |A ∪ B|, and |A ∩ B|. Toggle to 3-set mode for a more complex picture.)
Two famous identities
The inclusion-exclusion principle for two sets: . The intersection is subtracted because elements in both sets would otherwise be double-counted.
The distributive law: . This mirrors from arithmetic, with playing the role of multiplication and the role of addition.
Try it
- In the widget, place dots so that . Read off . Confirm it equals .
- Let and . Find and .
- List the elements of . (Hint: check the integers between and .)
- Switch the widget to 3-set mode. Place a dot in the central A ∩ B ∩ C region. Now move it to the A ∩ B but NOT C region. What changes in the summary?
A trap to watch for
Beginners write and worry. In set theory, elements are not repeated — either an object is in the set or it is not, and listing it twice does not change the set. Also, order does not matter: . If you need order, you want an ordered pair or tuple, not a set. The fix: when a set looks like it has duplicates, mentally collapse them; when order matters, use parentheses instead of braces.
What you now know
You can describe sets in roster or set-builder form, perform union, intersection, and subset operations, and articulate the role of the empty set. The next section catalogues the symbolic notation that builds on these set foundations.
Quick check
References
- Lang, S. (1971). Basic Mathematics. Springer. Intermezzo, §3 — sets, elements, and basic operations.
- Halmos, P. (1974). Naive Set Theory. Springer. The classic gentle introduction to set theory.
- Velleman, D. (2019). How to Prove It: A Structured Approach, 3rd ed. Cambridge. Chapter 2 — set theory presented alongside the proof techniques that use it.