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

Predicates and Quantifiers

College Depth 63 in the knowledge graph ☐ I know this ☆ Set as goal
637topics build on this
286prerequisites beneath it
See this on the map →
Formal Logic and Propositional Calculus→→Proof Strategies in Discrete Mathematics
logic quantifiers predicates first-order

Core Idea

Predicates extend propositional logic by introducing variables and quantifiers. Universal quantification (∀) asserts a property holds for all values; existential quantification (∃) asserts it holds for at least one. Together they enable precise mathematical statements about sets and domains.

How It's Best Learned

Translate English statements to logical notation and back. Practice negating quantified statements (∼∀x P(x) ≡ ∃x ∼P(x)). Work with nested quantifiers, paying careful attention to order.

Common Misconceptions

Swapping the order of quantifiers changes meaning completely: ∀x ∃y is different from ∃y ∀x. Negation rules often trip people up.

Explainer

From propositional logic you know how to reason about fixed statements like "P is true" or "P and Q are both true." But mathematical claims rarely work this way. Instead, they speak about *families* of objects: "every even number is divisible by 2," "there exists a prime larger than 1000," "for any triangle, the angles sum to 180°." These claims can't be expressed with propositional variables alone — they need predicates and quantifiers.

A predicate is a statement with a variable: P(x) = "x is even" is not itself true or false until you substitute a value for x. P(4) is true; P(7) is false. Once you have predicates, quantifiers let you make sweeping claims over a whole domain (some specified set of objects). The universal quantifier ∀x P(x) asserts that P holds for *every* object in the domain — every number, every triangle, every student in the class. The existential quantifier ∃x P(x) asserts that P holds for *at least one* object in the domain. Together they give formal logic the reach to express essentially every mathematical claim.

The most important skill with quantifiers is negation. The negation of "all swans are white" is not "no swans are white" — it's "at least one swan is not white." Formally: ¬∀x P(x) ≡ ∃x ¬P(x). Similarly, ¬∃x P(x) ≡ ∀x ¬P(x). These rules follow a simple pattern: push the negation inside the quantifier and flip ∀ to ∃ (or ∃ to ∀). This is the quantifier analogue of De Morgan's laws from propositional logic, which you already know.

Nested quantifiers are where the real subtlety lives. ∀x ∃y (x + y = 0) says "for every x, there exists a y such that x + y = 0" — true in the integers (y = −x). But ∃y ∀x (x + y = 0) says "there exists a single y that simultaneously satisfies x + y = 0 for every x" — false. The *same* predicate, the *same* two quantifiers, but reversed order produces a completely different claim. When translating mathematical proofs into logic, always read left to right: the outer quantifier's variable is chosen first, and the inner quantifier's variable may depend on that choice. Getting quantifier order right is the foundation for understanding limits, continuity, and virtually every formal definition you'll meet in advanced 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 → 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 → Conditional Statements (If-Then Formal) → Converse, Inverse, and Contrapositive → Biconditional Statements → Biconditional Statements and Equivalence → Conditional and Biconditional Statements → Formal Logic and Propositional Calculus → Predicates and Quantifiers

Longest path: 64 steps · 286 total prerequisite topics

Prerequisites (1)

Leads To (1)