HomeGuides › Negating quantified statements
Predicates & Quantifiers

How to Negate a Quantified Statement

There is one rule, it is entirely mechanical, and it works on statements of any length. Most lost points here come from stopping halfway or from quietly reordering the quantifiers.

The short answer

Two equivalences do all the work:

¬∀x P(x) ≡ ∃x ¬P(x)
¬∃x P(x) ≡ ∀x ¬P(x)

In words: the denial of "every x satisfies P" is "some x fails P". The denial of "some x satisfies P" is "every x fails P". These are De Morgan's laws for quantifiers, and they are the same idea as the propositional versions — a universal statement is a long conjunction, an existential one is a long disjunction.

From those two lines comes the procedure:

  1. Push the ¬ inward, left to right.
  2. Flip every quantifier it passes. ∀ becomes ∃, ∃ becomes ∀.
  3. Leave the order of the variables alone. You are moving the negation past them, not rearranging them.
  4. Negate the innermost predicate last, once the ¬ has nowhere further to go.

Nothing else is involved. If your answer still has a ¬ sitting in front of a quantifier, you are not finished.

Why "not all" is not "all not"

This is the distinction the rule protects, and it is worth seeing before the symbol pushing.

Take "Every bird flies": ∀x(Bird(x) → Flies(x)).

Its negation is ∃x(Bird(x) ∧ ¬Flies(x)) — some bird does not fly. One penguin is enough.

Compare that to "Every bird does not fly": ∀x(Bird(x) → ¬Flies(x)) — no bird flies at all. That is a far stronger claim, and it is not the negation of anything on this page.

The asymmetry to internalize: denying a universal statement takes exactly one counterexample. Denying an existential statement takes a claim about everything. That is why counterexamples disprove "all" claims and why you cannot disprove a "some" claim by checking a few cases.

The conditional hiding inside

Almost every universally quantified statement in a real course has the shape ∀x(P(x) → Q(x)) — "all P are Q". So negating one nearly always requires the propositional fact:

¬(P → Q) ≡ P ∧ ¬Q

Chain it with the quantifier rule:

¬∀x(P(x) → Q(x)) ≡ ∃x ¬(P(x) → Q(x)) ≡ ∃x(P(x) ∧ ¬Q(x))

Read the result: there is an x that satisfies the hypothesis and fails the conclusion. That is the definition of a counterexample. The arrow becomes an "and" — it does not survive the negation, and leaving it as → is the single most common error in this topic.

The mirror case is worth having too. "Some P is Q" is ∃x(P(x) ∧ Q(x)), and its negation is ∀x(P(x) → ¬Q(x)) — the "and" becomes an arrow going the other way. The connectives are not decoration; ∀ pairs with →, and ∃ pairs with ∧, and swapping them produces statements that are simply wrong. ∀x(P(x) ∧ Q(x)) claims everything in the universe is a P, which is almost never what was meant.

A full worked example

Here is the kind of definition that gets negated on an exam. A function f: ℝ → ℝ is periodic if

∃T > 0 (∀x ∈ ℝ, f(x + T) = f(x))

Negate it. Work outward to inward, one step per line, and change exactly one thing per line.

StepStatementWhat changed
0¬[ ∃T > 0 (∀x ∈ ℝ, f(x + T) = f(x)) ]Starting point.
1∀T > 0 ¬[ ∀x ∈ ℝ, f(x + T) = f(x) ]Passed ∃T; it became ∀T.
2∀T > 0 ∃x ∈ ℝ ¬[ f(x + T) = f(x) ]Passed ∀x; it became ∃x.
3∀T > 0 ∃x ∈ ℝ, f(x + T) ≠ f(x)Negated the predicate. Done.

In English: f is not periodic if, for every positive T, there is some x where shifting by T changes the value. That is exactly what "no period works" ought to mean, which is the sanity check — a negation you cannot read back in English is usually a negation you got wrong.

Two details worth noticing. First, the bound "T > 0" is a restriction on the domain, not a separate proposition, so it rides along unchanged; you do not negate it into "T ≤ 0". Second, the variables stayed in the order T then x. Flipping them to ∃x ∀T would assert something different and much stronger.

Order matters, and the negation never changes it

∀x ∃y and ∃y ∀x are not interchangeable, and this is the other half of the topic.

Over the positive integers with the predicate "x divides y":

Same predicate, same variables, opposite truth values — the only difference is which quantifier is on the outside. In ∃y ∀x, the y is chosen first and must work for all x. In ∀x ∃y, the y is chosen after x and may depend on it.

So when you negate, move the ¬ through the prefix and flip each quantifier in place. Never sort them, never group them, never move an ∃ to the front because it looks tidier.

Where these go wrong

Test yourself in the free Kestrel Exams app

Discrete Math practice is free and works offline — topic-selectable drills on quantifiers, negation, proof methods, and induction.

Drill predicates & quantifiers →

Frequently asked questions

What are De Morgan's laws for quantifiers?

¬∀x P(x) is equivalent to ∃x ¬P(x), and ¬∃x P(x) is equivalent to ∀x ¬P(x). In words: the denial of "every x satisfies P" is "some x fails P", and the denial of "some x satisfies P" is "every x fails P". Each quantifier flips to the other as the negation moves past it.

Is "not all are" the same as "all are not"?

No. "Not all birds fly" is ¬∀x(Bird(x) → Flies(x)), which is true if even one bird does not fly. "All birds do not fly" is ∀x(Bird(x) → ¬Flies(x)), which claims no bird flies at all. The first is a weak claim and the second is a very strong one, so treating them as interchangeable changes the meaning completely.

How do you negate a statement with nested quantifiers?

Move the negation left to right through the whole prefix, flipping each quantifier as you pass it — every ∀ becomes ∃ and every ∃ becomes ∀ — and leave the order of the variables untouched. Only when the negation reaches the innermost predicate do you negate that predicate. Never reorder the quantifiers; that changes the statement.

How do you negate a conditional inside a quantifier?

Use ¬(P → Q) ≡ P ∧ ¬Q. So ¬∀x(P(x) → Q(x)) becomes ∃x(P(x) ∧ ¬Q(x)) — "some x satisfies P but fails Q". This is the shape of a counterexample, and it is why disproving a universal claim means exhibiting one object that meets the hypothesis and breaks the conclusion.