Neural Sync Active
Set Theory
Registry Synced
Set Theory
927 words
5 min read
Reading compass
Now · 🎯 Learning Objectives
Set Theory
🎯 Learning Objectives
- Define sets using roster and set-builder notation
- Perform set operations: ∪, ∩, − (difference), A (complement)
- Prove set identities using element arguments
- Understand power sets and Cartesian products
- Compare finite and infinite cardinalities
5.1 Intuition: The Building Blocks of Mathematics
A set is a collection of distinct objects. It's the most fundamental concept in mathematics — everything else (numbers, functions, relations) is built from sets.
🔑 Key Insight: Two sets are equal iff they have exactly the same elements. Order and repetition don't matter.
5.2 Definitions
Basic Notation
- A={1,2,3} — roster notation
- B={x∈N:x>5} — set-builder notation
- ∅ — empty set (or {})
- a∈A — a is an element of A
- A⊆B — A is a subset of B
Important Sets
- N={1,2,3,…} — natural numbers
- Z={…,−2,−1,0,1,2,…} — integers
- Q={qp:p,q∈Z,q=0} — rationals
- R — real numbers
- C — complex numbers
5.3 Set Operations
| Operation | Notation | Definition | Example ( A={1,2},B={2,3} ) |
|---|---|---|---|
| Union | A∪B | {x:x∈A∨x∈B} | {1,2,3} |
| Intersection | A∩B | {x:x∈A∧x∈B} | {2} |
| Difference | A−B | {x:x∈A∧x∈/B} | {1} |
| Complement | A | {x∈U:x∈/A} | Depends on universe U |
5.4 Set Identities
| Name | Identity |
|---|---|
| Commutative | A∪B=B∪A ; A∩B=B∩A |
| Associative | (A∪B)∪C=A∪(B∪C) |
| Distributive | A∩(B∪C)=(A∩B)∪(A∩C) |
| De Morgan | A∪B=A∩B ; A∩B=A∪B |
| Identity | A∪∅=A ; A∩U=A |
| Domination | A∪U=U ; A∩∅=∅ |
Proving Set Identities: Element Method
Prove A∩(B∪C)=(A∩B)∪(A∩C):
Proof (⊆): Let x∈A∩(B∪C). Then x∈A AND x∈B∪C.
- Since x∈B∪C, either x∈B or x∈C.
- If x∈B, then x∈A∩B, so x∈(A∩B)∪(A∩C).
- If x∈C, then x∈A∩C, so x∈(A∩B)∪(A∩C). Proof (⊇): Let x∈(A∩B)∪(A∩C).
- Either x∈A∩B or x∈A∩C.
- In either case, x∈A. And x∈B or x∈C, so x∈B∪C.
- Therefore x∈A∩(B∪C). □
5.5 Power Sets
The power set P(A) is the set of all subsets of A.
If ∣A∣=n, then ∣P(A)∣=2n.
Example: A={a,b}, P(A)={∅,{a},{b},{a,b}}.
5.6 Cartesian Products
A×B={(a,b):a∈A,b∈B} — ordered pairs.
If ∣A∣=m and ∣B∣=n, then ∣A×B∣=mn.
5.7 Cardinality
Finite sets: ∣A∣ = number of elements.
Infinite sets: Two sets have the same cardinality if there's a bijection between them.
- ∣N∣=∣Z∣=∣Q∣ (countably infinite)
- ∣R∣ is uncountably infinite (Cantor's diagonal argument)
✅ Practice Questions
Q1: If A={1,2,3}, B={2,3,4}, find A∪B, A∩B, A−B, B−A.
>f(n)=⎩⎨⎧02n−2n−1n=1n evenn odd,n>1>SolutionA∪B={1,2,3,4}, A∩B={2,3}, A−B={1}, B−A={4}. Q2: Prove A∩B=A∪B using element argument. Solution(⊆): Let x∈A∩B. Then x∈/A∩B, so x∈/A or x∈/B. If x∈/A, then x∈A⊆A∪B. Similarly if x∈/B. (⊇): Let x∈A∪B. Then x∈/A or x∈/B, so x∈/A∩B, hence x∈A∩B. Q3: How many subsets does {a,b,c,d} have? Solution24=16 subsets. Q4: Prove A⊆B iff A∩B=A. Solution(→) Assume A⊆B. If x∈A, then x∈B, so x∈A∩B. Thus A⊆A∩B. Also A∩B⊆A always. So A∩B=A. (←) Assume A∩B=A. If x∈A, then x∈A∩B, so x∈B. Thus A⊆B. Q5: Show ∣N∣=∣Z∣ by constructing a bijection. SolutionDefine f:N→Z as:
This gives: 1→0, 2→1, 3→−1, 4→2, 5→−2, etc. It's bijective. Join Discord PreviousAdvanced ProofsNextSet Operation Proofs