01 / 21
∀ ∃

Quantified Statements
in Predicate Logic

Learn to translate English sentences using the universal quantifier \(\forall\) and the existential quantifier \(\exists\) into precise logical formulas.

Discrete Math

What Is Predicate Logic?

Propositional logic deals with statements that are simply true or false. But many claims talk about objects in a domain: "Every student passed the exam" or "Some number is even." Predicate logic extends propositional logic with variables, predicates, and quantifiers so we can express these ideas precisely.

The Two Quantifiers

\(\forall\) : Universal
"For all," "every," "each," "any." Claims something holds for every element in the domain.
\(\exists\) : Existential
"There exists," "some," "at least one." Claims something holds for at least one element in the domain.

Anatomy of a Quantified Statement

\(\forall x \in D,\; P(x)\)
Quantifier Variable Domain Predicate "For every x in domain D, property P holds for x."

The Universal Quantifier \(\forall\)

English "Every integer is either even or odd."
↓
Predicate Logic \(\forall x \in \mathbb{Z},\; \text{Even}(x) \lor \text{Odd}(x)\)

The Existential Quantifier \(\exists\)

English "There exists a prime number that is even."
↓
Predicate Logic \(\exists x \in \mathbb{Z},\; \text{Prime}(x) \land \text{Even}(x)\)

Key Rule: Connective Pairing

\(\forall\) Universal \(\exists\) Existential
Typical connective \(\to\) (implication) \(\land\) (conjunction)
Pattern \(\forall x,\; P(x) \to Q(x)\) \(\exists x,\; P(x) \land Q(x)\)
English model "All P's are Q's" "Some P is a Q"
Why? We only care about objects that satisfy P We need one object satisfying both

Negating Quantified Statements

\(\neg\,\forall x,\; P(x)\)
≡
\(\exists x,\; \neg P(x)\)
\(\neg\,\exists x,\; P(x)\)
≡
\(\forall x,\; \neg P(x)\)
De Morgan's Laws for Quantifiers

Nested Quantifiers

Many mathematical statements use two or more quantifiers. The order matters when mixing \(\forall\) and \(\exists\).

\(\forall x\, \exists y,\; P(x,y)\)
"For every x, there is some y such that P holds." The y can depend on x.
\(\exists y\, \forall x,\; P(x,y)\)
"There is one y that works for all x." Much stronger: one fixed y serves everyone.

How to Translate: Step by Step

1
Identify the domain. What collection of objects are we talking about? Integers, students, real numbers?
2
Spot the quantifier keywords. "Every / all / each" → \(\forall\). "Some / exists / there is" → \(\exists\).
3
Name predicates. Assign a symbol to each property: \(P(x)\), \(Q(x)\), \(R(x,y)\), etc.
4
Choose the correct connective. Universal → \(\to\). Existential → \(\land\).
5
Assemble the formula. Write the quantifier, variable, and predicate expression together.

Example 1: Basic Universal

English "All cats are animals."
1
Domain: All living things (or the universal set).
2
Quantifier: "All" → \(\forall\).
3
Predicates: Let \(C(x)\) = "x is a cat," \(A(x)\) = "x is an animal."
4
Connective: Universal → implication \(\to\).
Result \(\forall x,\; C(x) \to A(x)\)

Example 2: Existential Statement

English "Some student in the class speaks French."
1
Domain: All people.
2
Quantifier: "Some" → \(\exists\).
3
Predicates: Let \(S(x)\) = "x is a student in the class," \(F(x)\) = "x speaks French."
4
Connective: Existential → conjunction \(\land\).
Result \(\exists x,\; S(x) \land F(x)\)

Example 3: Nested Quantifiers

English "For every real number, there exists a greater real number."
1
Domain: \(\mathbb{R}\) (real numbers).
2
Quantifiers: "For every" → \(\forall\), "there exists" → \(\exists\).
3
Predicate: \(G(x,y)\) = "\(y\) is greater than \(x\)," i.e., \(y > x\).
Result \(\forall x \in \mathbb{R},\; \exists y \in \mathbb{R},\; y > x\)

Example 4: Translating a Negation

English "Not all birds can fly."
1
Start with the affirmative: "All birds can fly" → \(\forall x,\; B(x) \to F(x)\).
2
Negate: \(\neg\bigl(\forall x,\; B(x) \to F(x)\bigr)\).
3
Apply De Morgan: \(\exists x,\; \neg\bigl(B(x) \to F(x)\bigr)\).
4
Simplify: Since \(\neg(P \to Q) \equiv P \land \neg Q\), we get \(\exists x,\; B(x) \land \neg F(x)\).
Result \(\exists x,\; B(x) \land \neg F(x)\)

Common Mistakes to Avoid

✕ Wrong Connective
Writing \(\forall x,\; P(x) \land Q(x)\) when you mean "All P's are Q's." This claims everything is both P and Q. Use \(\to\) with \(\forall\).
✕ Existential with \(\to\)
Writing \(\exists x,\; P(x) \to Q(x)\). This is vacuously true whenever any non-P exists. Use \(\land\) with \(\exists\).
✕ Swapped Quantifier Order
Writing \(\exists y\, \forall x\) when you mean \(\forall x\, \exists y\). Quantifier order changes the meaning drastically.

Summary Reference Table

English Phrase Logic Form Connective
All P's are Q's \(\forall x,\; P(x) \to Q(x)\) \(\to\)
Some P is a Q \(\exists x,\; P(x) \land Q(x)\) \(\land\)
No P is a Q \(\forall x,\; P(x) \to \neg Q(x)\) \(\to\) with \(\neg\)
Not all P's are Q's \(\exists x,\; P(x) \land \neg Q(x)\) \(\land\) with \(\neg\)
Some P is not a Q \(\exists x,\; P(x) \land \neg Q(x)\) \(\land\) with \(\neg\)

Question 1 of 5

Translate: "Every student has an email address."
Let \(S(x)\) = "x is a student," \(E(x)\) = "x has an email."

Question 2 of 5

Translate: "Some integer is divisible by 7."
Let \(D(x)\) = "x is divisible by 7," domain = \(\mathbb{Z}\).

Question 3 of 5

What is the negation of \(\forall x,\; P(x) \to Q(x)\)?

Question 4 of 5

Which formula correctly translates "For every positive real number, there exists a smaller positive real number"?
Domain: \(\mathbb{R}^+\).

Question 5 of 5

Translate: "No reptile is a mammal."
Let \(R(x)\) = "x is a reptile," \(M(x)\) = "x is a mammal."