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.

4 short lessons · about 20 minutes · 3 sources · updated November 2026

Two paper scenes of a child with finished homework, one holding a game controller and one watching a parent hold the controller out of reach.

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

Before you readIn logic, is the statement "If 2 plus 2 equals 5, then the moon is made of cheese" true or false?

Correct.Not quite. The answer is It counts as true.

It counts as true. This lesson shows why an if-then statement is read as a promise, and when that promise is broken.

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.

Check yourselfA shop promises, "If you spend 50 dollars, then you get free delivery." In which case has the shop broken its promise?

Correct.Not quite. The answer is You spend 50 dollars and are charged for delivery.

A conditional is false only when the hypothesis holds and the conclusion fails. Spending enough and still being charged for delivery is exactly that case. Spending less and paying is what you'd expect. Spending less and getting free delivery anyway is a bonus, since the promise said nothing about that situation.

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

  1. 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.

    Essentials · 5 min

  2. 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.

    Essentials · 5 min

  3. 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.

    Deeper · 5 min

  4. 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.

    Deeper · 5 min

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

This topic is part of Where quick math intuition goes wrong, a guided path through related topics.

  • Why examples are not a proof

    Watch a formula produce 40 primes in a row and then fail, then learn to prove a claim for every case by direct argument, by induction and by the contrapositive.

    4 lessons · 17 min

  • Sets and Venn diagrams

    A set is a collection with a clear rule for what belongs. Learn union, intersection and complement, draw them as overlapping circles, and use them to count survey answers and build search queries.

    4 lessons · 16 min

  • Truth tables and the logic of and, or, not

    Logic builds complicated statements from simple ones joined by and, or and not. Learn to test any of them with a truth table, spot two that say the same thing, and see how Boole turned reasoning into algebra.

    4 lessons · 16 min

  • Game theory and the prisoner's dilemma

    Game theory studies choices whose results depend on what others choose. See how two prisoners acting sensibly both end up worse off, what a Nash equilibrium is, and why repeating the game can make cooperation pay.

    4 lessons · 16 min

  • Why the shortest delivery route is so hard to find

    Ask for a route that visits every place once, instead of every road once, and the easy test disappears. The number of possible tours outruns any computer, which is why real route planners settle for good enough.

    4 lessons · 22 min

  • How calculus measures the area under a curve

    Fill a curved region with thin rectangles, let them shrink, and you have an integral. Then see the theorem that replaces all that adding with one subtraction, because adding up and finding a rate undo each other.

    4 lessons · 21 min

All mathematics & logic topics · Take the quiz