The Contrapositive

Swap and negate, and the truth is unchanged.

Swap, then negate

The contrapositive of if P then Q does both moves. Swap the hypothesis and the conclusion, then negate each of them. The result is if not Q then not P.

From one conditional there are now four statements: the original, if P then Q; the converse, if Q then P; the inverse, if not P then not Q; and the contrapositive, if not Q then not P.

For "if n is a multiple of 4, then n is even", the contrapositive is "if n is not even, then n is not a multiple of 4". For a whole number, not even means odd, so it reads "if n is odd, then n is not a multiple of 4".

Why it says the same thing

A conditional is broken only when its hypothesis is true and its conclusion is false. The contrapositive is broken when "not Q" is true and "not P" is false, which means Q is false and P is true. That is exactly the one case that breaks the original.

Two statements that are broken in the same cases are true in the same cases, so a conditional and its contrapositive are logically equivalent. The table checks all four statements in every case.

case 1case 2case 3case 4PTTFFQTFTForiginalTFTTconverseTTFTinverseTTFTcontraposTFTT

All four statements in every case of P and Q. The original and the contrapositive are false only in case 2, P true and Q false. The converse and the inverse are false only in case 3, P false and Q true. Rows that match belong to equivalent statements.

The example

The original, "if n is a multiple of 4, then n is even", is true, because a multiple of 4 is 4k for a whole number k, and 4k = 2(2k) is even.

Its contrapositive, "if n is odd, then n is not a multiple of 4", is true for the same reason. Both statements say that no number is a multiple of 4 and odd at the same time, and 4k = 2(2k) shows that no such number exists.

The converse, "if n is even, then n is a multiple of 4", is false at n = 6. A statement and its converse can differ; a statement and its contrapositive cannot.

whole numbersmultiple of 4even·P ⇒ Qthe statement·¬Q ⇒ ¬Pcontrapositive·Q ⇒ Pconverse·¬P ⇒ ¬Qinversen = 8

a statement and its contrapositive are broken by the same numbers, which is why one is true whenever the other is

Find a number that makes the converse false

The gold circle holds the multiples of 4, inside the circle of even numbers. Move the number being tested anywhere among the whole numbers. The statement and its contrapositive are never crossed out, because no number is in the gold circle and outside the even one. The converse and the inverse are crossed out together, by every number in the ring between the circles, such as 6.

Two pairs

So the four statements fall into two pairs. The original and its contrapositive are always true together or false together. So are the converse and the inverse, because the inverse is the contrapositive of the converse: swap the two parts of if Q then P and negate both, and you get if not P then not Q.

The two pairs need not agree with each other. For the multiples of 4, the first pair is true and the second is false. They can also both be true. "If a whole number is odd, then it leaves remainder 1 when divided by 2" is true, and so is its converse, so all four statements hold.

Proving the contrapositive instead

Because a statement and its contrapositive are equivalent, proving one proves the other. That helps when the negated parts are easier to work with.

To prove "if n² is even, then n is even", starting from n² is even gives little to work with. Prove the contrapositive, "if n is odd, then n² is odd", instead. Write n = 2k + 1, where k is a whole number. Then n² = 4k² + 4k + 1 = 2(2k² + 2k) + 1, which is one more than an even number, so n² is odd. That proves the original statement, with no extra step.

The usual mistakes

Doing only one of the two moves. Swapping without negating gives the converse; negating without swapping gives the inverse. The contrapositive of "if n² is odd, then n is odd" is "if n is even, then n² is even": both parts swapped and both negated.

Negating a part wrongly. The contrapositive of "if it is raining, then the match is off" is "if the match is on, then it is not raining". The negation of "the match is off" is "the match is on".

Expecting the converse to follow from the original. They are in different pairs, so the truth of one says nothing about the other.

The museum’s price board

In the application below, the board says that a visitor under 12 enters free. Under the museum’s full policy, the board and its contrapositive are true and the converse and the inverse are false: one pair each.

Worked example: A Museum's Free Entry for Children, and Its Converse, Inverse and Contrapositive

Question A museum's price board says: "If a visitor is under 12, the visitor enters free." Every visitor either enters free or pays. (a) Write the converse, the inverse and the contrapositive of the statement on the board. (b) The museum's full policy is that visitors under 12 and visitors aged 65 and over enter free, and everyone else pays. Under this policy, which of the four statements (the one on the board and the three from (a)) are true?

  1. 1.The hypothesis is "the visitor is under 12" and the conclusion is "the visitor enters free". Every visitor either enters free or pays, so their negations are "the visitor is 12 or over" and "the visitor pays".

    Ageunder 12under 1265 and overHypothesis: the visitor is under 12Conclusion: the visitor enters freeTheir negations: 12 or over, and pays
    Ageunder 1265 and overHypothesis: the visitor is under 12Conclusion: the visitor enters freeTheir negations: 12 or over, and pays
    The hypothesis is what is assumed, and the conclusion is what is promised.
  2. 2.(a) The converse swaps the two parts: if a visitor enters free, the visitor is under 12. The inverse negates both: if a visitor is 12 or over, the visitor pays. The contrapositive swaps and negates: if a visitor pays, the visitor is 12 or over.

    Ageunder 12under 1265 and overBoard: if under 12, then freeConverse: if free, then under 12Inverse: if 12 or over, then paysContrapositive: if pays, then 12 or over
    Ageunder 1265 and overBoard: if under 12, then freeConverse: if free, then under 12Inverse: if 12 or over, then paysContrapositive: if pays, then 12 or over
    (a) The converse swaps the parts, the inverse negates both, and the contrapositive does both.
  3. 3.Under the full policy every visitor under 12 enters free, so the statement on the board is true. The contrapositive is true exactly when the original is, and indeed the visitors who pay are those aged 12 to 64, each of whom is 12 or over.

    Agefreepaysfreeunder 1265 and overBoard: if under 12, then free. TrueConverse: if free, then under 12Inverse: if 12 or over, then paysContrapositive: if pays, then 12 or over. True
    Agefreepaysfreeunder 1265 and overBoard: if under 12, then free. TrueConverse: if free, then under 12Inverse: if 12 or over, then paysContrapositive: if pays, then 12 or over. True
    Everyone under 12 enters free, so the board and its contrapositive are true.
  4. 4.Test the converse on a visitor aged 65. That visitor enters free but is not under 12, so the converse is false. The same visitor is 12 or over and does not pay, so the inverse is false too.

    Agefreepaysfreeunder 1265 and overBoard: if under 12, then free. TrueConverse: if free, then under 12. False at 65Inverse: if 12 or over, then pays. False at 65Contrapositive: if pays, then 12 or over. True
    Agefreepaysfreeunder 1265 and overBoard: if under 12, then free. TrueConverse: if free, then under 12. False at 65Inverse: if 12 or over, then pays. False at 65Contrapositive: if pays, then 12 or over. True
    A visitor aged 65 enters free without being under 12: the converse and the inverse are false.
  5. 5.(b) The statement on the board and its contrapositive are true, and the converse and the inverse are false. Check: the inverse is the contrapositive of the converse, so those two must share a truth value, and they do.

    Agefreepaysfreeunder 1265 and overBoard: if under 12, then free. TrueConverse: if free, then under 12. False at 65Inverse: if 12 or over, then pays. False at 65Contrapositive: if pays, then 12 or over. True
    Agefreepaysfreeunder 1265 and overBoard: if under 12, then free. TrueConverse: if free, then under 12. False at 65Inverse: if 12 or over, then pays. False at 65Contrapositive: if pays, then 12 or over. True
    (b) True: the board and the contrapositive. False: the converse and the inverse.

Answer: (a) Converse: if a visitor enters free, the visitor is under 12. Inverse: if a visitor is 12 or over, the visitor pays. Contrapositive: if a visitor pays, the visitor is 12 or over. (b) The statement on the board and the contrapositive are true; the converse and the inverse are false, as a visitor aged 65 shows.

Common mistakes

  • Writing the inverse as the denial of the whole statement, "it is not true that visitors under 12 enter free". The inverse keeps the if-then form and negates each part: if a visitor is 12 or over, the visitor pays.
  • Calling the converse true because it holds for every child. A visitor aged 65 enters free without being under 12, and one counterexample is enough to make an if-then statement about every visitor false.

More mathematical statements problems, worked step by step →

Practice The Contrapositive in the app