Proof and Reasoning

How to Negate a Mathematical Statement Correctly

Learn the rules for negating and, or, if-then and quantified statements, with step-by-step examples and the mistakes that most often slip in.

Key takeaways

  • A statement and its negation always have opposite truth values, with no case where both are true or both false.
  • "Not all are" means "at least one is not", which is very different from "none are".
  • Negating "and" gives "or", and negating "or" gives "and", with each part negated.
  • The negation of "if P then Q" is "P and not Q", which is not another if-then statement.
  • In a chain of quantifiers, flip each one, keep the order and negate the final condition.

The negation of a statement is the statement that is true exactly when the original is false. To build it, work from the outside in: swap "for all" with "there exists", swap "and" with "or", turn "if P then Q" into "P and not Q", and only then negate the innermost condition.

You need this skill whenever you want to disprove a claim, argue by contradiction, use a contrapositive or understand what it means for a property to fail. Guessing the "opposite" in everyday speech usually gives the wrong answer.

Negation is not the opposite

Consider "every swan in this lake is white". A common attempt at the negation is "every swan in this lake is not white". Both can be false at once: a lake with one white swan and one black swan makes both wrong.

The correct negation is "at least one swan in this lake is not white". It is true precisely when the original is false.

That gives you a test. Imagine every possible situation. In each one, exactly one of the statement and its negation must hold. If you can describe a situation where both fail, your negation claims too much. If both can hold, it claims too little.

In symbols we write ¬P for "not P". Negating twice returns you to the start: ¬¬P is equivalent to P in the classical logic that most mathematics uses.

Negating simple comparisons

The comparisons you meet in algebra have clean negations.

Statement Negation
x = y x ≠ y
x < y x ≥ y
x ≤ y x > y
x > 0 x ≤ 0
n is even (n an integer) n is odd
x is in the set A x is not in A

The most frequent slip is writing x > y as the negation of x < y. That forgets the possibility x = y. Likewise, the negation of "x is positive" includes zero. It is "x is negative or zero".

Check the setting as well. "Not even" means "odd" for integers. For real numbers in general, a number that is not even could be 2.5.

And, or

To deny "P and Q", you need only one of the two to fail. To deny "P or Q", both must fail.

¬(P and Q)   is equivalent to   (¬P) or (¬Q)
¬(P or Q)    is equivalent to   (¬P) and (¬Q)

These are De Morgan's laws, examined further in De Morgan's laws and their uses. In mathematics "or" is inclusive: "P or Q" is true when both are.

Compound inequalities hide an "and". The condition 0 < x < 5 means "x > 0 and x < 5". Its negation is therefore "x ≤ 0 or x ≥ 5". Writing "0 ≥ x ≥ 5" is meaningless, since no number is both at most 0 and at least 5.

The phrase "neither even nor prime" negates "even or prime": the number is not even and not prime, as with 9.

If, then

"If P then Q" is false in only one situation: P is true and Q is false. So that situation is the negation.

¬(P → Q)   is equivalent to   P and (¬Q)

The negation of "if it rains, the match is canceled" is "it rains and the match is not canceled". It is not "if it rains, the match is not canceled", and it is not "if it does not rain, the match is not canceled".

In mathematics the "if" often comes with an unspoken "for all". The claim "if n is prime, then n is odd" means "for every integer n, if n is prime, then n is odd". Its negation is "there exists an integer n that is prime and not odd". The number 2 shows that the negation is true, so the claim is false.

Do not confuse negation with the converse, inverse or contrapositive, which are different rearrangements of the same two parts.

Quantifiers

The rules for quantifiers are the heart of the method.

¬(for all x, P(x))        is   there exists x with ¬P(x)
¬(there exists x, P(x))   is   for all x, ¬P(x)

"All primes are odd" becomes "some prime is not odd". "There is a real number whose square is negative" becomes "every real number has a square that is zero or positive".

When a domain is restricted, keep the restriction and negate only the property. The negation of "for all x > 0, x² > x" is "there exists x > 0 with x² ≤ x". The condition x > 0 describes where you are looking, so it stays as it is. Here x = 1/2 works, since 1/4 ≤ 1/2.

For the background on these symbols, see quantifiers in plain English.

A step-by-step method for long statements

  1. Write the statement with every quantifier and connective showing.
  2. Put "not" in front of the whole thing.
  3. Move the "not" past one quantifier at a time, flipping it. Keep the order.
  4. When you reach the condition, apply the rules for "and", "or" and "if-then".
  5. Simplify inequalities and read the result aloud.
Pushing a negation inward
1 Expose the structure Write out all quantifiers and connectives 2 Flip each quantifier For all becomes there exists, and the reverse 3 Treat connectives And and or trade places; if-then becomes P and not Q 4 Negate the core Reverse the final condition with care for equality 5 Test it Check that exactly one of the two can be true Expose the structure Write out all quantifiers and connectives 1 Flip each quantifier For all becomes there exists, and the reverse 2 Treat connectives And and or trade places; if-then becomes P and not Q 3 Negate the core Reverse the final condition with care for equality 4 Test it Check that exactly one of the two can be true 5

Worked example: a bounded function

A real function f is bounded above if there exists a number M such that for all x, f(x) ≤ M.

statement:   ∃M ∀x   f(x) ≤ M
negation:    ∀M ∃x   f(x) > M

In words: whatever ceiling you propose, some input goes above it. To show that f(x) = x² is not bounded above on the reals, take any M. If M < 0, then x = 0 works. If M ≥ 0, then x = M + 1 gives (M + 1)² = M² + 2M + 1 > M.

Notice that the negation hands you the plan for the proof: receive M, then build x.

Worked example: convergence

A sequence converges to L if for every ε > 0 there is an N such that for all n > N, |aₙ − L| < ε. Flip all three quantifiers and negate the inequality.

there exists ε > 0 such that
for every N
there exists n > N with |aₙ − L| ≥ ε

Apply it to aₙ = (−1)ⁿ and L = 1. Choose ε = 1. For any N, pick an odd n greater than N. Then aₙ = −1 and |−1 − 1| = 2 ≥ 1. So the sequence does not converge to 1.

To say that the sequence does not converge at all adds one more quantifier: for every real L, the statement above holds. For this sequence, ε = 1 still works, because −1 and 1 are 2 apart, so no L can be within less than 1 of both.

Worked example: sets and subsets

Set statements hide quantifiers too. "A is a subset of B" means that for every x, if x is in A, then x is in B. To negate it, flip the quantifier and negate the implication.

statement:   ∀x  (x ∈ A → x ∈ B)
negation:    ∃x  (x ∈ A and x ∉ B)

The symbol ∈ means "is in", and ∉ means "is not in". So A fails to be a subset of B when at least one element of A lies outside B. It does not require that A and B share nothing.

For A = {1, 2, 3} and B = {2, 3, 4}, the element 1 shows that A is not a subset of B, although the two sets overlap. A consequence is that the empty set is a subset of every set: its negation would need an element of the empty set, and there is none.

Common mistakes

  • Turning "not all" into "none". Say "at least one is not".
  • Reversing the order of quantifiers while flipping them. Flip in place.
  • Negating the domain. In "for all ε > 0", the phrase ε > 0 does not become ε ≤ 0.
  • Writing the negation of an implication as another implication.
  • Forgetting equality when reversing < or >.
  • Negating only the first half of a compound condition.

Why it pays off

A disproof is a proof of a negation, so a correctly negated statement tells you exactly what a counterexample must satisfy. In a proof by contradiction, the negation is your opening assumption, and an error there ruins everything that follows. Spend an extra minute on that first line.

Try these for practice. Negate "every continuous function is differentiable". Negate "there is a largest prime". Negate "if x² = 9, then x = 3". The answers are: some continuous function is not differentiable; for every prime there is a larger one (or there is no largest prime); and there exists x with x² = 9 and x ≠ 3.

Written for 4Mathematics with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 41 articles in Proof and Reasoning →

Latest news on this topic