Why This Matters
Set theory is the language underlying virtually every topic in discrete mathematics—from logic and proof techniques to functions, relations, and combinatorics. When you're working with probability, database queries, or algorithm analysis later in the course, you'll be using these notations constantly. The symbols you'll learn here aren't just abstract squiggles; they're precise tools for describing membership, containment, and combination of mathematical objects.
You're being tested on more than symbol recognition. Exam questions will ask you to translate between set-builder notation and roster form, determine subset relationships, compute cardinalities of combined sets, and apply operations in sequence. Don't just memorize what each symbol looks like—know what logical relationship it expresses and how it connects to other operations. That's what separates a correct answer from a complete one.
Describing Sets and Their Elements
Before you can operate on sets, you need to describe them precisely. These notations establish what a set contains and how we specify membership.
Set Notation: {}
- Curly braces define a set—the most fundamental notation, enclosing all elements that belong together
- Order is irrelevant and duplicates collapse—{1,2,3} and {3,1,2} are identical sets
- Roster form lists elements explicitly, useful when sets are small and finite
Set-Builder Notation: {x∣P(x)}
- Defines sets by property rather than listing—read as "the set of all x such that P(x) is true"
- Essential for infinite or large sets—{x∣x>0} describes all positive numbers concisely
- The vertical bar (or colon) separates the variable from its defining condition
Element Of: ∈
- Asserts membership in a set—if A={1,2,3}, then 2∈A is a true statement
- Fundamental to logical proofs—proving x∈A∩B requires showing x∈A AND x∈B
- Distinguishes elements from sets—2∈{1,2,3} but {2}∈{1,2,3} (the singleton set isn't an element)
Not an Element Of: ∈/
- Negates membership—4∈/{1,2,3} states that 4 is absent from the set
- Critical for complement definitions—x∈A′ means x∈/A
- Appears in counterexample proofs—showing one element ∈/ a set can disprove universal claims
Compare: ∈ vs. ⊆—both describe relationships, but ∈ connects an element to a set, while ⊆ connects a set to another set. Confusing these is a common exam error.
Containment and Subset Relationships
These notations describe when one set lives entirely inside another—a relationship that's central to proofs and logical arguments.
Subset: ⊆
- Every element of A is also in B—A⊆B means "if x∈A, then x∈B"
- Allows equality—a set is always a subset of itself: A⊆A is always true
- The empty set is a subset of everything—∅⊆A for any set A (vacuously true)
Proper Subset: ⊂
- Subset but not equal—A⊂B requires A⊆B AND A=B
- B must contain at least one extra element—if A={1,2} and B={1,2,3}, then A⊂B
- Watch notation variations—some textbooks use ⊊ for proper subset; know your course's convention
Compare: ⊆ vs. ⊂—the difference is whether equality is permitted. If an FRQ asks you to prove A⊂B, you must show containment AND find an element in B that's not in A.
Special Sets: The Boundaries
These sets represent the extremes—everything and nothing—and serve as reference points for other operations.
Empty Set: ∅ or {}
- Contains no elements—the unique set with cardinality zero
- Subset of every set—this is vacuously true since there's no element in ∅ that could fail to be in another set
- Identity for union, annihilator for intersection—A∪∅=A and A∩∅=∅
Universal Set: U
- Contains all elements under consideration—defines the "universe of discourse" for a problem
- Context-dependent—in number theory, U might be Z; in a survey problem, it might be all respondents
- Required for complements—A′ only makes sense relative to some universal set U
Compare: ∅ vs. U—these are logical opposites. The empty set is contained in everything; the universal set contains everything. Complements swap between them: ∅′=U and U′=∅.
Set Operations: Combining and Separating
These operations take existing sets and produce new ones—the algebraic heart of set theory.
Union: ∪
- Combines all elements from both sets—A∪B={x∣x∈A OR x∈B}
- Duplicates appear once—{1,2}∪{2,3}={1,2,3}, not {1,2,2,3}
- Corresponds to logical OR—essential connection for translating between set theory and propositional logic
Intersection: ∩
- Keeps only shared elements—A∩B={x∣x∈A AND x∈B}
- Can produce the empty set—when A∩B=∅, we call A and B disjoint
- Corresponds to logical AND—intersection is more restrictive than union
Set Difference: ∖ or −
- Elements in A but not in B—A∖B={x∣x∈A AND x∈/B}
- Not commutative—A∖B=B∖A in general
- Relates to complement—A∖B=A∩B′ when working within a universal set
Complement: A′ or Aˉ or Ac
- Everything outside A—A′={x∈U∣x∈/A}
- Double complement returns the original—(A′)′=A
- De Morgan's Laws apply—(A∪B)′=A′∩B′ and (A∩B)′=A′∪B′ (memorize these!)
Compare: ∪ vs. ∩—union grows sets (result is at least as large as the larger input), intersection shrinks them (result is at most as large as the smaller input). FRQs often test whether you can apply De Morgan's Laws to switch between them.
Counting and Constructing New Sets
These notations let you measure sets and build more complex structures from simpler ones.
Cardinality: ∣A∣
- Counts the number of elements—if A={a,b,c}, then ∣A∣=3
- Key formula for unions—∣A∪B∣=∣A∣+∣B∣−∣A∩B∣ (inclusion-exclusion principle)
- Infinite sets have cardinality too—but that's a topic for later; focus on finite sets for now
Power Set: P(A) or 2A
- The set of all subsets of A—includes ∅ and A itself
- Cardinality is 2n—if ∣A∣=n, then ∣P(A)∣=2n (each element is either in or out of each subset)
- Example: P({1,2})={∅,{1},{2},{1,2}}—four subsets from two elements
Cartesian Product: ×
- All ordered pairs from two sets—A×B={(a,b)∣a∈A and b∈B}
- Order matters and cardinality multiplies—∣A×B∣=∣A∣⋅∣B∣
- Foundation for relations and functions—any relation R from A to B is a subset of A×B
Compare: P(A) vs. A×A—both create new sets from A, but power sets contain subsets while Cartesian products contain ordered pairs. If ∣A∣=2, then ∣P(A)∣=4 but ∣A×A∣=4 too—same size, completely different structures.
Quick Reference Table
|
| Defining sets | {}, set-builder notation {x∣P(x)} |
| Membership | ∈, ∈/ |
| Containment | ⊆, ⊂ |
| Boundary sets | ∅, U |
| Combining sets | ∪, ∩ |
| Removing elements | ∖, complement A′ |
| Measuring sets | ∣A∣, inclusion-exclusion |
| Building structures | P(A), A×B |
Self-Check Questions
-
What's the difference between ∈ and ⊆? Give an example where {1}⊆A is true but {1}∈A is false.
-
If A={1,2,3} and B={2,3,4}, compute A∪B, A∩B, A∖B, and B∖A. Which two results are equal?
-
Explain why ∅⊆A is true for every set A, using the definition of subset.
-
Compare P(A) and A×A when A={a,b}. List all elements of each and explain why they have the same cardinality but different types of elements.
-
Using De Morgan's Laws, rewrite (A∪B)′ in terms of complements and intersection. Then verify with U={1,2,3,4}, A={1,2}, B={2,3}.