Mathematics & Logic · Logic & proof
If-then statements and the mistake of reversing them
Learn the one way an if-then statement can be false, why reversing it makes a different claim, and what you commit to when you deny one.

What you will learn
- Identify the one combination of truth values that makes a conditional false
- Explain why a conditional with a false hypothesis counts as true
- Form the converse, inverse and contrapositive of a given conditional
- Say which of the three is logically equivalent to the original, and which two match each other
Lesson 1 of 4 · 5 min
The one way an if-then statement can be false
Say a parent tells a child, "If you do your homework, then you can play your video games." When exactly would the parent have broken that promise? Answer that, and you understand every if-then statement.
A statement of the form "if p, then q" is called a conditional. Here p, "you do your homework," is the hypothesis. And q, "you can play," is the conclusion. Logic reads a conditional as a promise. It's false only when the promise is broken.
Say the child does the homework and gets to play. The promise was kept, so the conditional is true. Now say the child does the homework and the parent says it's too late for games. The child held up their end and got nothing. The promise was broken, so the conditional is false.
That one broken case is the whole rule. A conditional is false when the hypothesis is true and the conclusion is false. In every other case it's true. Logicians list the four possible cases as the rows of a truth table, and the conditional is false in just one row.
The two rows with a false hypothesis are the ones that look wrong, and the promise reading handles both. Suppose the child doesn't do the homework. The hypothesis is false, so the promise never kicked in, and a promise that never kicked in can't be broken.
If the child then doesn't play video games, they may be unhappy, but that's the expected outcome, because they didn't hold up their end of the bargain. False implies false is true. And if the parent lets them play anyway, nobody is upset. Nothing in the original promise ruled that out, so false implies true is true as well.
So a conditional whose hypothesis is false counts as true, whatever the conclusion. The statement was never tested. That convention makes "if 2 plus 2 equals 5, then the moon is made of cheese" a true statement, which sounds absurd in ordinary speech. But the statement makes no claim about the moon. The convention is bookkeeping, so that promises that were never triggered don't count as broken.
Try to recallWhy does a conditional count as true whenever its hypothesis is false?
Read the conditional as a contract. A false hypothesis means the contract was never entered into, so it can't have been broken. If a parent promises video games for finished homework and the child doesn't do the homework, no promise has been broken, whether or not the child plays. So false implies false and false implies true both count as true. The convention stops a statement that was never tested from counting as a violation, which is why the only false row is the one where the hypothesis holds and the conclusion fails.
An if-then statement makes one promise. It's false only when the "if" happens and the "then" doesn't. When the "if" never happens, logic counts the statement as true, even when it's about a moon made of cheese.
Lessons in this topic
The one way an if-then statement can be false
An if-then statement works like a promise, and it's false only when the promise is broken. That explains why logic counts some absurd-sounding statements as true.
Three ways to rearrange an if-then statement
Swap the two parts of an if-then statement, negate them, or do both. Only one of the three results says the same thing as the original.
Why a wet pavement doesn't prove rain
Reading an if-then statement backwards feels like logic and often lands on the right answer, which is why the mistake is hard to notice. See where it fails and which backward inference is safe.
What it takes to deny an if-then statement
Denying an if-then statement means claiming its "if" part is true and its "then" part false. See why, and use De Morgan's rules to deny "and" and "or" statements.
Three quick stories from this topic
The four-card test
Fewer than 10% of people solved Peter Wason's four-card test of a single if-then rule
One version shows cards reading 3, 8, blue and red. To test "if a card has an even number, its other side is blue," you must turn over the 8 and the red card. The blue card can't break the rule, whatever is behind it.
Why the red card matters
An even number behind the red card would break the rule. An odd number behind the blue card breaks nothing, because the rule says nothing about odd numbers.
The same test, made easy
Change the rule to "if you're drinking alcohol, you must be over 18," and most people pick the right cards, the beer drinker and the 16-year-old.
Wet pavement, dry pavement
A wet pavement can't prove it's raining, but a dry pavement proves it isn't
Both rest on "if it's raining, the pavement is wet." Reverse that and you get a new claim, which one burst pipe proves false. Reverse it and negate both halves and you get the original back, so a dry pavement means no rain.
Which ones match
The contrapositive is logically equivalent to the conditional, and the converse is logically equivalent to the inverse. So the four are really two statements, each dressed up two ways.
What it licenses
From the conditional and p, conclude q. From the conditional and not q, conclude not p. From q, conclude nothing. From not p, conclude nothing.
The moon made of cheese
In logic, "if 2 plus 2 is 5, then the moon is made of cheese" counts as a true statement
Logic treats an if-then statement as a promise, and the statement is false only when the promise is broken. Two plus 2 never equals 5, so this promise is never put to the test and can't be broken.
One way to break a promise
"If you do your homework, you can play your video games" is broken in one case only, when the homework gets done and the games are refused.
No homework, no broken promise
If the homework isn't done, the promise never came into force. Whether the child plays or not, the if-then statement still counts as true.
Sources
- 2.4 Truth Tables for the Conditional and Biconditional - Contemporary Mathematics, OpenStax, Rice University
- Wason selection task, Wikimedia Foundation
- 2.5 Equivalent Statements - Contemporary Mathematics, OpenStax, Rice University





