The Timpson Lyceum · Discrete Math (2025)
Proof by Contradiction and Contrapositive - Lecture 10 (Discrete Math)
Overview
This lecture introduces two new proof techniques to add to the direct proof you have used so far: proof by contrapositive and proof by contradiction. Both are built on logical equivalences you can verify with a truth table, and both give you an alternative route when a direct proof gets stuck. Proof by contrapositive proves by instead proving , while proof by contradiction proves by assuming and together and deriving an impossible statement. These are not single-section tricks — they recur throughout this course and in every advanced math course beyond it, so it is worth getting comfortable with the logic now.
Key Concepts
Direct proof (review). To prove an implication directly, you assume the antecedent and show that the consequent must follow. This is the structure you have used up to now.
Proof by contrapositive. Instead of proving , you prove its contrapositive . These two statements are logically equivalent:
- This is useful when the assumption is awkward to "unravel" (hard to turn the definition into something workable). Starting from is often easier.
Proof by contradiction. To prove (under hypothesis ), assume together with and show this leads to a contradiction — a statement that is always false. Since is impossible, must hold:
- The intuition: if it is impossible for a statement to be false, it must be true. Mark the impossible result with the contradiction symbol (arrows pointing into each other).
Truth-table confirmation. Both equivalences can be checked column-by-column:
Supporting definitions used in the examples.
- Relation: a set of ordered pairs. A relation on a set has ordered pairs drawn from .
- Five relation properties: reflexive, irreflexive, symmetric, antisymmetric, transitive.
- Equivalence relation: a relation that is reflexive, symmetric, and transitive (abbreviated E.R.).
- Equivalence class of : the set of everything related to , written .
- Even / odd integers: is even iff with ; is odd iff with .
Choosing a style. You are never forced to use a particular proof style — pick whichever makes the reasoning easiest. Proof by contradiction is frequently the most natural choice. Other styles exist too (e.g. induction, the pumping lemma, pigeonhole), but contrapositive and contradiction are ubiquitous.
Worked Example
Claim: If , then is not both even and odd. (Proof by contradiction.)
Here is "" and is " is not both even and odd." Assume by way of contradiction : that is an integer and is both even and odd. By the definitions of even and odd there exist integers with and . Setting the two expressions equal and solving:
But is a difference of integers, so , while . So is simultaneously an integer and not an integer — a contradiction . Therefore cannot be both even and odd.
Second example (proof by contrapositive). Let be an equivalence relation on and let . Claim: if then . Rather than unraveling " is not related to ," prove the contrapositive: assume , i.e. . Then there exists , so and . By symmetry, gives ; combining and by transitivity gives — which is . Having shown , the original statement holds.
Summary
- Direct proof assumes and derives ; the two new styles are alternatives for when that gets stuck.
- Proof by contrapositive proves by proving the equivalent — handy when is hard to work with.
- Proof by contradiction assumes and derives an always-false statement, marked ; impossibility of forces .
- Both styles rest on logical equivalences verifiable by truth table, and both lean on the negation as the starting point.
- You are never required to use a specific style — choose the one that makes the argument clearest (contradiction is often the most natural).
- These techniques recur throughout this course and all later math courses; mastering them now pays off repeatedly.