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}.