Skip to content
Part IA Michaelmas, Lent Term

Negation and Proof by Contradiction

Negation

The negation of a statement PP, written ¬P\neg P, is true when PP is false and false when PP is true.

Truth Table

PP¬P\neg P
TF
FT

Double Negation

¬(¬P)P\neg(\neg P) \equiv P

Negation of Compound Statements

Negation of Conjunction and Disjunction

¬(PQ)¬P¬Q\neg(P \land Q) \equiv \neg P \lor \neg Q ¬(PQ)¬P¬Q\neg(P \lor Q) \equiv \neg P \land \neg Q

Negation of Implication

¬(PQ)P¬Q\neg(P \Rightarrow Q) \equiv P \land \neg Q

This is because PQ¬PQP \Rightarrow Q \equiv \neg P \lor Q, so:

¬(PQ)¬(¬PQ)P¬Q\neg(P \Rightarrow Q) \equiv \neg(\neg P \lor Q) \equiv P \land \neg Q

Negation of Quantifiers

¬(x.P(x))x.¬P(x)\neg(\forall x. P(x)) \equiv \exists x. \neg P(x) ¬(x.P(x))x.¬P(x)\neg(\exists x. P(x)) \equiv \forall x. \neg P(x)

Negation of Bi-implication

¬(PQ)(P¬Q)(¬PQ)\neg(P \Leftrightarrow Q) \equiv (P \land \neg Q) \lor (\neg P \land Q)

The negation says “exactly one of PP, QQ holds.”

Proof by Contradiction

The Principle

To prove PP by contradiction:

  1. Assume ¬P\neg P
  2. Derive a contradiction (e.g., Q¬QQ \land \neg Q for some statement QQ)
  3. Conclude PP must be true

This is also called reductio ad absurdum.

Logical Justification

From ¬PFalse\neg P \Rightarrow \text{False}, we conclude PP.

Since ¬PFalse\neg P \Rightarrow \text{False} is equivalent to ¬(¬P)FalsePFalseP\neg(\neg P) \lor \text{False} \equiv P \lor \text{False} \equiv P.

Examinable Proof: Irrationality of 2\sqrt{2}

Theorem: 2\sqrt{2} is irrational.

Proof by contradiction:

Suppose 2\sqrt{2} is rational. Then 2=pq\sqrt{2} = \frac{p}{q} for integers p,qp, q with gcd(p,q)=1\gcd(p, q) = 1 (the fraction is in lowest terms).

Squaring: 2=p2q22 = \frac{p^2}{q^2}, so p2=2q2p^2 = 2q^2.

This means p2p^2 is even. Since nn even implies n2n^2 even, and n2n^2 even implies nn even (contrapositive), we have pp is even.

Write p=2kp = 2k for some integer kk.

Substituting: 4k2=2q24k^2 = 2q^2, so q2=2k2q^2 = 2k^2.

Thus q2q^2 is even, so qq is even.

But pp and qq are both even, contradicting gcd(p,q)=1\gcd(p, q) = 1.

Therefore 2\sqrt{2} is irrational.

Examinable Proof: Infinitude of Primes

Theorem: There are infinitely many prime numbers.

Proof by contradiction (Euclid):

Suppose there are finitely many primes: p1,p2,,pnp_1, p_2, \ldots, p_n.

Let N=p1p2pn+1N = p_1 \cdot p_2 \cdot \cdots \cdot p_n + 1.

Since N>1N > 1, the Fundamental Theorem of Arithmetic says NN has a prime divisor pp.

If p=pip = p_i for some ii, then pp1p2pnp \mid p_1 \cdot p_2 \cdot \cdots \cdot p_n and pNp \mid N.

This implies p(Np1p2pn)=1p \mid (N - p_1 \cdot p_2 \cdot \cdots \cdot p_n) = 1.

But no prime divides 1. Contradiction.

Therefore pp is not in our list, so there is a prime not among p1,,pnp_1, \ldots, p_n.

This contradicts the assumption of finitely many primes.

Therefore there are infinitely many primes.

When to Use Contradiction

Contradiction is useful when:

  1. The negation gives better structure (e.g., proving irrationals)
  2. Direct proof seems impossible or awkward
  3. The statement asserts non-existence or impossibility

Example: Negation Simplifies Structure

Statement: There are no integers a,ba, b such that a2=2b2a^2 = 2b^2.

If we negate: “There exist integers a,ba, b such that a2=2b2a^2 = 2b^2.”

This gives us something to work with algebraically.

Contradiction vs Contrapositive

If you find yourself assuming ¬P\neg P and deriving ¬Q\neg Q, you might instead prove the contrapositive QPQ \Rightarrow P directly.

Both are valid; contrapositive is often clearer when applicable.

Example

Statement: If n2n^2 is even, then nn is even.

  • Contrapositive proof: If nn is odd, then n2n^2 is odd. (Direct)
  • Contradiction proof: Suppose n2n^2 is even and nn is odd. Then n2n^2 is odd. Contradiction.

Both work; contrapositive is simpler here.

Common Pitfalls

Forgetting to Negate Assumptions

Trap: In proof by contradiction, you assume ¬P\neg P. Some students assume PP instead.

Circular Reasoning

Trap: Assuming what you want to prove within the proof.

This defeats the purpose of proof by contradiction.

Overusing Contradiction

Trap: Using contradiction when a direct proof is simpler.

Direct proofs are often clearer. Use contradiction when necessary.


Summary

  • ¬(PQ)¬P¬Q\neg(P \land Q) \equiv \neg P \lor \neg Q and ¬(PQ)¬P¬Q\neg(P \lor Q) \equiv \neg P \land \neg Q
  • ¬(PQ)P¬Q\neg(P \Rightarrow Q) \equiv P \land \neg Q
  • Proof by contradiction: assume ¬P\neg P, derive False\text{False}
  • Examinable proofs: irrationality of 2\sqrt{2}, infinitude of primes