A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Set Operations: Union, Intersection, and Complement

College Depth 68 in the knowledge graph ☐ I know this ☆ Set as goal
8,616topics build on this
319prerequisites beneath it
See this on the map →
Set Theory FundamentalsComplement of a Set+2 more→→Cartesian Products and RelationsHerbrand Universe and Herbrand Models+5 more
sets operations union intersection complement

Core Idea

Union (A ∪ B) combines all elements from two sets; intersection (A ∩ B) contains only common elements; complement (Ac) contains all elements not in A (relative to a universal set). These operations correspond to OR, AND, and NOT in logic. Their algebraic properties, including De Morgan's laws, are essential for set-based reasoning.

Explainer

You already know what a set is and how membership works. The three operations — union, intersection, and complement — are the basic algebra of sets, and they mirror the logical connectives you've seen: ∪ corresponds to OR, ∩ corresponds to AND, and complement corresponds to NOT. This correspondence is not accidental. The statement "x ∈ A ∪ B" is literally the logical claim "x ∈ A or x ∈ B," and proving things about sets is often just applying logical rules to membership statements.

To sharpen the intuitions: union A ∪ B is the most permissive operation — it includes everything from either set. Intersection A ∩ B is the most restrictive — only what both sets share. Complement Aᶜ (relative to a universal set U) contains everything in U not in A. Venn diagrams capture these visually, but precise membership-condition definitions are what enable proofs. The standard method for proving a set equality A = B is to show A ⊆ B and B ⊆ A: take an arbitrary element of one side and prove it belongs to the other by chasing through the logical definitions.

The most important algebraic identities are De Morgan's laws: (A ∪ B)ᶜ = Aᶜ ∩ Bᶜ and (A ∩ B)ᶜ = Aᶜ ∪ Bᶜ. These say that complementing a union flips it to an intersection, and vice versa. The logical reading makes this immediate: "not (P or Q)" means "not P, and not Q." Sets also satisfy distributive laws — A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C) — exactly mirroring AND distributing over OR. These identities let you rewrite complex set expressions into simpler equivalent forms, a skill that recurs in probability theory, topology, and formal logic.

When you encounter proof by cases (your next topic), set operations structure the argument directly: partition a set A into disjoint pieces A₁ ∪ A₂ = A with A₁ ∩ A₂ = ∅, then prove the desired property on each piece separately. In this sense, set operations are not just definitional machinery — they are the grammar of mathematical reasoning about collections, and fluency with them is a prerequisite for almost everything in pure mathematics.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Set Operations: Union, Intersection, and Complement

Longest path: 69 steps · 319 total prerequisite topics

Prerequisites (4)

Leads To (7)