Contrapositive
Learn how to form the contrapositive of an if-then statement, why it always has the same truth value as the original, and how to use it to reason about numbers.
Intermediate25 min18 problems
Definition
The contrapositive of an if-then statement "If , then " () is the statement "If not , then not ":
To build it you do two things: swap the hypothesis and the conclusion, and negate both of them.
Key fact: a statement and its contrapositive are logically equivalent. They are always both true or both false. The truth table shows it, row by row:
The last two columns are identical, so we write . (The interactive table in this lesson checks this for you: its last column, , is T in every row.)
The four related statements of :
- Original:
- Converse: (swap only)
- Inverse: (negate only)
- Contrapositive: (swap and negate)
The original and the contrapositive always agree. The converse and the inverse also always agree with each other, because the inverse is the contrapositive of the converse.
Try it now
What is the contrapositive of ?
Interactive Visual
Truth Table
Expressionp → q ↔ ¬q → ¬p
| p | q | p → q | ¬q | ¬p | ¬q → ¬p | p → q ↔ ¬q → ¬p |
|---|---|---|---|---|---|---|
| T | T | T | F | F | T | T |
| T | F | F | T | F | F | T |
| F | T | T | F | T | T | T |
| F | F | T | T | T | T | T |
T= TrueF= False
Truth Table
p → q
| p | q | p → q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
T= TrueF= False
Interactive Sandbox
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
18 problemsProblem 1 of 18
Easy
What is the contrapositive of ?
Glossary
- Contrapositive
- The statement formed from by swapping and negating both parts
- Converse
- The statement , formed by swapping hypothesis and conclusion
- Inverse
- The statement , formed by negating hypothesis and conclusion without swapping
- Negation
- The opposite of a statement, written ; it is true exactly when is false
- Logically equivalent
- Two statements that have the same truth value in every row of a truth table, written with
Formula Card
Contrapositive
Swap and negate both parts; always equivalent to the original
Converse and inverse
Equivalent to each other, but not necessarily to the original
Negating inequalities
The negation of "greater than" is "less than or equal to"