Contrapositive definition
The contrapositive of “if p, then q” is “if not q, then not p.”
Contrapositive in a picture
How it works
Switch the hypothesis and conclusion, then negate both. The contrapositive ¬q → ¬p has the same truth value as p → q. A proof by contrapositive proves the switched and negated statement, which establishes the original implication.
Worked examples
Write the contrapositive of “If x > 5, then x > 2.”
If x ≤ 2, then x ≤ 5.
Write the contrapositive of “If n is odd, then n² is odd.”
If n² is even, then n is even.
Prove “If n² is odd, then n is odd” by contrapositive.
If n is even, write n = 2k. Then n² = 4k² is even. This proves the original claim.
Common mistake
Swap the parts and negate both. Doing only one step gives the converse or inverse.
Quick check
What is the contrapositive of p → q?
Show answer
¬q → ¬p.
Can a true implication have a false contrapositive?
Show answer
No.
What is the negation of n is even, for an integer n?
Show answer
n is odd.
Sources
Flashcard
Contrapositive
Reveal the definition
The contrapositive of “if p, then q” is “if not q, then not p.”
Effortless Math. “Contrapositive.” Math Dictionary.
