Discrete MathematicsMathematical LogicPredicates and Quantifiers
Negation of Nested Quantified Statements
After learning multiple and nested quantifiers, we now study how negation passes through several quantifier layers. Negation of nested quantified statements follows a simple rule: each ∀ changes to ∃, each ∃ changes to ∀, and the final predicate is negated. The difficulty lies in simplifying the final predicate correctly. In this lesson, negation of nested quantified statements will be applied to symbolic statements and standard mathematical definitions.
:::definition[Principle of Negating Nested Quantifiers]
When a quantified statement is negated, each quantifier changes as the negation passes through it:
¬∀xp(x)¬∃xp(x)↔∃x¬p(x),↔∀x¬p(x).
Thus, ∀ changes to ∃, ∃ changes to ∀, and the final predicate is negated.
:::
:::solved-problem
Let p(x,y), q(x,y), and r(x,y) be open statements. Negate and simplify ∀x∃y[((p(x,y)∧q(x,y))→r(x,y))].
:::
:::solution
Given that the statement is
∀x∃y[((p(x,y)∧q(x,y))→r(x,y))].
To negate it, write
¬{∀x∃y[((p(x,y)∧q(x,y))→r(x,y))]}.
Move the negation through the first quantifier:
∃x¬{∃y[((p(x,y)∧q(x,y))→r(x,y))]}.
Move the negation through the second quantifier:
∃x∀y¬[((p(x,y)∧q(x,y))→r(x,y))].
The negation of A→B is A∧¬B. Here A=p(x,y)∧q(x,y) and B=r(x,y). Therefore the negation is
∃x∀y[(p(x,y)∧q(x,y))∧¬r(x,y)].
:::
:::definition[Negation of a Nested Quantified Implication]
The negation
¬{∀x∃y[((p(x,y)∧q(x,y))→r(x,y))]}
is equivalent to
∃x∀y[(p(x,y)∧q(x,y))∧¬r(x,y)].
:::
:::solved-problem
Negate the definition limx→af(x)=L, where
∀ε>0∃δ>0∀x[(0<∣x−a∣<δ)→(∣f(x)−L∣<ε)]
defines the limit.
:::
:::solution
Given that limx→af(x)=L means
∀ε>0∃δ>0∀x[(0<∣x−a∣<δ)→(∣f(x)−L∣<ε)].
To negate it, change each quantifier as the negation passes through:
∃ε>0∀δ>0∃x¬[(0<∣x−a∣<δ)→(∣f(x)−L∣<ε)].
The negation of the implication is
(0<∣x−a∣<δ)∧¬(∣f(x)−L∣<ε).
Since ¬(∣f(x)−L∣<ε) is ∣f(x)−L∣≥ε, the negation becomes
∃ε>0∀δ>0∃x[(0<∣x−a∣<δ)∧(∣f(x)−L∣≥ε)].
Hence limx→af(x)=L is represented by this statement.
:::
:::solved-problem
Let the universe for all variables be the set of all real numbers. Negate and simplify ∀x∀y[(x>y)→(x−y>0)].
:::
:::solution
Given that the statement is
∀x∀y[(x>y)→(x−y>0)].
To negate it,
¬[∀x∀y[(x>y)→(x−y>0)]]
is equivalent to
∃x∃y¬[(x>y)→(x−y>0)].
The negation of the implication is
(x>y)∧¬(x−y>0).
Since ¬(x−y>0) is x−y≤0, the simplified negation is
∃x∃y[(x>y)∧(x−y≤0)].
:::
When negating a nested quantified statement, do not try to change the final predicate first. Move the negation inward one quantifier at a time. After all quantifiers have been changed, simplify the remaining propositional form using De Morgan’s laws and the rule ¬(p→q)↔p∧¬q. This order prevents mistakes in statements with three or more quantifiers.
Nested negation works best when each quantifier is changed in order. Choose a template and read the transformation from the outside inward. The calculator separates the quantifier changes from the final propositional simplification, so the last step is not skipped. Use it to check that the final predicate is also negated, not only the quantifier symbols.
:::calculator[Nested Negation Stepper]
Choose a template.
:::
:::exercise
Negate and simplify: ∀x∀y[(x>y)→(x−y>0)]; ∀x∀y[((x>0)∧(y=log10x))→(x=10y)]; ∀x∀y[(x<y)→∃z(x<z<y)]; ∀x∀y[(∣x∣=∣y∣)→(y=x∨y=−x)].
:::
:::answer
The negations are ∃x∃y[(x>y)∧(x−y≤0)], ∃x∃y[(x>0)∧(y=log10x)∧(x=10y)], ∃x∃y[(x<y)∧∀z¬(x<z<y)], and ∃x∃y[(∣x∣=∣y∣)∧(y=x)∧(y=−x)].
:::
:::faq[Frequently Asked Questions]
Q: What changes when a negation passes through ∀?
A: The quantifier becomes ∃ and the negation moves inward.
Q: What changes when a negation passes through ∃?
A: The quantifier becomes ∀ and the negation moves inward.
Q: What is the most common error?
A: Forgetting to negate the final implication or connective after changing the quantifiers.
:::
:::call-to-action[Negate Nested Statements]
subtitle: Practise moving negation through every quantifier before studying unique existence.
button: Next Lesson | /discrete-mathematics/mathematical-logic/predicates-and-quantifiers/unique-existence
button-ghost: Previous Lesson | /discrete-mathematics/mathematical-logic/predicates-and-quantifiers/multiple-and-nested-quantifiers
:::
Learn negation of nested quantified statements in mathematical logic for VU Semester 6 MATHDSE2 with clear notes, examples, solved problems, and practice blocks.
After learning multiple and nested quantifiers, we now study how negation passes through several quantifier layers. Negation of nested quantified statements follows a simple rule: each ∀ changes to ∃, each ∃ changes to ∀, and the final predicate is negated. The difficulty lies in simplifying the final predicate correctly. In this lesson, negation of nested quantified statements will be applied to symbolic statements and standard mathematical definitions.
Core definition02
Principle of Negating Nested Quantifiers
When a quantified statement is negated, each quantifier changes as the negation passes through it:
¬∀xp(x)¬∃xp(x)↔∃x¬p(x),↔∀x¬p(x).
Thus, ∀ changes to ∃, ∃ changes to ∀, and the final predicate is negated.
Worked problem03
Let p(x,y), q(x,y), and r(x,y) be open statements. Negate and simplify ∀x∃y[((p(x,y)∧q(x,y))→r(x,y))].
Complete solution04
Given that the statement is
∀x∃y[((p(x,y)∧q(x,y))→r(x,y))].
To negate it, write
¬{∀x∃y[((p(x,y)∧q(x,y))→r(x,y))]}.
Move the negation through the first quantifier:
∃x¬{∃y[((p(x,y)∧q(x,y))→r(x,y))]}.
Move the negation through the second quantifier:
∃x∀y¬[((p(x,y)∧q(x,y))→r(x,y))].
The negation of A→B is A∧¬B. Here A=p(x,y)∧q(x,y) and B=r(x,y). Therefore the negation is
∃x∀y[(p(x,y)∧q(x,y))∧¬r(x,y)].
Core definition05
Negation of a Nested Quantified Implication
The negation
¬{∀x∃y[((p(x,y)∧q(x,y))→r(x,y))]}
is equivalent to
∃x∀y[(p(x,y)∧q(x,y))∧¬r(x,y)].
Worked problem06
Negate the definition limx→af(x)=L, where
∀ε>0∃δ>0∀x[(0<∣x−a∣<δ)→(∣f(x)−L∣<ε)]
defines the limit.
Complete solution07
Given that limx→af(x)=L means
∀ε>0∃δ>0∀x[(0<∣x−a∣<δ)→(∣f(x)−L∣<ε)].
To negate it, change each quantifier as the negation passes through:
∃ε>0∀δ>0∃x¬[(0<∣x−a∣<δ)→(∣f(x)−L∣<ε)].
The negation of the implication is
(0<∣x−a∣<δ)∧¬(∣f(x)−L∣<ε).
Since ¬(∣f(x)−L∣<ε) is ∣f(x)−L∣≥ε, the negation becomes
∃ε>0∀δ>0∃x[(0<∣x−a∣<δ)∧(∣f(x)−L∣≥ε)].
Hence limx→af(x)=L is represented by this statement.
Worked problem08
Let the universe for all variables be the set of all real numbers. Negate and simplify ∀x∀y[(x>y)→(x−y>0)].
Complete solution09
Given that the statement is
∀x∀y[(x>y)→(x−y>0)].
To negate it,
¬[∀x∀y[(x>y)→(x−y>0)]]
is equivalent to
∃x∃y¬[(x>y)→(x−y>0)].
The negation of the implication is
(x>y)∧¬(x−y>0).
Since ¬(x−y>0) is x−y≤0, the simplified negation is
∃x∃y[(x>y)∧(x−y≤0)].
When negating a nested quantified statement, do not try to change the final predicate first. Move the negation inward one quantifier at a time. After all quantifiers have been changed, simplify the remaining propositional form using De Morgan’s laws and the rule ¬(p→q)↔p∧¬q. This order prevents mistakes in statements with three or more quantifiers.
Nested negation works best when each quantifier is changed in order. Choose a template and read the transformation from the outside inward. The calculator separates the quantifier changes from the final propositional simplification, so the last step is not skipped. Use it to check that the final predicate is also negated, not only the quantifier symbols.
Interactive calculator
Nested Negation Stepper
NESTED NEGATION STEPPER
Initializing Workspace
Independent practice12
Negate and simplify: ∀x∀y[(x>y)→(x−y>0)]; ∀x∀y[((x>0)∧(y=log10x))→(x=10y)]; ∀x∀y[(x<y)→∃z(x<z<y)]; ∀x∀y[(∣x∣=∣y∣)→(y=x∨y=−x)].
Answer13
The negations are ∃x∃y[(x>y)∧(x−y≤0)], ∃x∃y[(x>0)∧(y=log10x)∧(x=10y)], ∃x∃y[(x<y)∧∀z¬(x<z<y)], and ∃x∃y[(∣x∣=∣y∣)∧(y=x)∧(y=−x)].
Questions to consolidate
Frequently Asked Questions
3
1What changes when a negation passes through ∀?
The quantifier becomes ∃ and the negation moves inward.
2What changes when a negation passes through ∃?
The quantifier becomes ∀ and the negation moves inward.
3What is the most common error?
Forgetting to negate the final implication or connective after changing the quantifiers.
Continue learning
Negate Nested Statements
Practise moving negation through every quantifier before studying unique existence.