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

Set Theory Fundamentals

College Depth 58 in the knowledge graph ☐ I know this ☆ Set as goal
9,135topics build on this
282prerequisites beneath it
See this on the map →
Predicates and QuantifiersSet Notation Basics→→Abstract Syntax Trees (ASTs)Basic Model Theory+29 more
sets foundations membership

Core Idea

A set is a well-defined collection of distinct objects. Membership (x ∈ S) and subset relationships (A ⊆ B) form the foundation for formal mathematics. The principle of extensionality—two sets are equal if and only if they have the same elements—provides the rigorous framework for reasoning about sets throughout mathematics.

Explainer

You have already worked with predicates and quantifiers — statements like "x is even" that are true or false depending on the value of x. Set theory formalizes the next step: collecting all objects that satisfy a predicate into a single mathematical entity. The set of all even integers, for example, is {x : x is even}. This notation, called set-builder notation, directly connects sets to the predicate logic you already know.

Two features distinguish sets from informal collections. First, sets contain only *distinct* elements — writing {2, 2, 5} is the same as writing {2, 5}. Repetition carries no meaning. Second, sets are *unordered* — {1, 2, 3} and {3, 1, 2} are identical. What matters is membership, not position. The principle of extensionality captures both ideas: two sets are equal if and only if every element of one is an element of the other, and vice versa. This gives mathematics a precise definition of equality for collections.

The membership relation x ∈ S is the atomic building block of set theory. From it, we define the subset relation: A ⊆ B means that for every x, if x ∈ A then x ∈ B. Notice this is just a universally quantified conditional — the logic you already know. A proper subset (A ⊂ B) adds the condition that A ≠ B, so B contains at least one element not in A. The empty set ∅ is a subset of every set, because the statement "for every x, if x ∈ ∅ then x ∈ B" is vacuously true — there is nothing in ∅ to check.

These definitions might seem overly careful, but the precision pays off immediately when you start doing proofs. To prove A ⊆ B, you take an arbitrary element x ∈ A and show it must also be in B — a direct application of the universal quantifier proof strategy. To prove two sets are equal, you prove A ⊆ B and B ⊆ A, which is extensionality in action. Every proof about sets reduces to the membership relation and the logic you already mastered.

Practice Questions 3 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 → Making 10 as an Addition Strategy → 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 Through 10 → 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 → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → Variables in Logic → Set Notation Basics → Set Theory Fundamentals

Longest path: 59 steps · 282 total prerequisite topics

Prerequisites (2)

Leads To (31)