MathLabs
TheoremProved

Contrapositive equivalence

Statement

For all propositions P,QP, Q: (P→Q)≡(¬Q→¬P)(P \to Q) \equiv (\neg Q \to \neg P).

Why is it true?

A conditional statement and its contrapositive always carry the same information — "if raining then wet ground" is exactly as true as "if the ground is not wet then it is not raining". This equivalence is the logical justification for proof by contraposition, one of the two most common indirect proof techniques (the other being proof by contradiction).

Proof sketch

We prove (P→Q)≡(¬Q→¬P)(P \to Q) \equiv (\neg Q \to \neg P) by comparing truth tables for P→QP\to Q and ¬Q→¬P\neg Q\to\neg P across all four assignments.

Case P=1,Q=1P=1, Q=1: P→Q=1P\to Q=1 (a true hypothesis with a true conclusion). Also ¬Q=0\neg Q=0, so ¬Q→¬P\neg Q\to\neg P has a false hypothesis, which makes the whole conditional 11 regardless of ¬P\neg P. Both sides are 11.

Case P=1,Q=0P=1, Q=0: P→Q=0P\to Q=0 (true hypothesis, false conclusion is the only case that makes a conditional false). Also ¬Q=1\neg Q=1 and ¬P=0\neg P=0, so ¬Q→¬P\neg Q\to\neg P has a true hypothesis and false conclusion, giving 00. Both sides are 00.

Case P=0,Q=1P=0, Q=1: P→Q=1P\to Q=1 (false hypothesis makes any conditional true). Also ¬Q=0\neg Q=0, so ¬Q→¬P=1\neg Q\to\neg P=1 automatically. Both sides are 11.

Case P=0,Q=0P=0, Q=0: P→Q=1P\to Q=1 (false hypothesis). Also ¬Q=1\neg Q=1, ¬P=1\neg P=1, so ¬Q→¬P=1\neg Q\to\neg P=1 (true hypothesis, true conclusion). Both sides are 11.

All four rows agree, so P→QP\to Q and ¬Q→¬P\neg Q\to\neg P have identical truth tables and are logically equivalent. Note this differs from the converse Q→PQ\to P and the inverse ¬P→¬Q\neg P\to\neg Q, which are equivalent to each other but generally NOT equivalent to the original conditional — a common source of invalid arguments.

Topics that use this theorem

Step-by-step proofs

No step-by-step proof yet for this theorem.

References

  1. Kenneth H. Rosen (2018). Discrete Mathematics and Its Applications
  2. George Boole (1854). An Investigation of the Laws of Thought