Converse, Inverse and Contrapositive Explained
See how the three rearrangements of an if-then statement differ, which one is always equivalent to the original, and how to avoid mixing them up.
Key takeaways
- The converse swaps the two parts, the inverse negates both, and the contrapositive swaps and negates.
- A statement and its contrapositive are logically equivalent, so proving either one proves the other.
- The converse and inverse are equivalent to each other, but neither follows from the original.
- When a statement and its converse are both true, you can combine them into "P if and only if Q".
- Always check a converse on its own, with a proof or a counterexample.
Starting from "if P, then Q", the converse is "if Q, then P", the inverse is "if not P, then not Q", and the contrapositive is "if not Q, then not P". The contrapositive always has the same truth value as the original statement. The converse and the inverse do not have to.
Confusing these is among the most common errors in mathematics and in everyday argument. A few clear examples and one small table are enough to keep them straight.
The four statements
Call P the hypothesis and Q the conclusion. Take this true example about integers: "if n is divisible by 4, then n is even".
| Name | Form | Example | True? |
|---|---|---|---|
| Original | If P, then Q | If n is divisible by 4, then n is even | Yes |
| Converse | If Q, then P | If n is even, then n is divisible by 4 | No (n = 6) |
| Inverse | If not P, then not Q | If n is not divisible by 4, then n is not even | No (n = 6) |
| Contrapositive | If not Q, then not P | If n is not even, then n is not divisible by 4 | Yes |
The same number, 6, refutes both the converse and the inverse. That is no accident, as you will see.
All four statements here are understood to apply to every integer n.
Why the contrapositive always agrees
Think about what would make "if P, then Q" false: an instance where P holds and Q fails. Now ask what would make "if not Q, then not P" false: an instance where "not Q" holds and "not P" fails. That is, Q fails and P holds. It is the same situation.
Two statements that are false in exactly the same cases are logically equivalent. A truth table, which lists every combination of true and false, shows it in full. Here T means true and F means false, and an implication is false only when its first part is true and its second part false.
| P | Q | P → Q | Q → P | ¬P → ¬Q | ¬Q → ¬P |
|---|---|---|---|---|---|
| T | T | T | T | T | T |
| T | F | F | T | T | F |
| F | T | T | F | F | T |
| F | F | T | T | T | T |
The third and sixth columns match in every row. The fourth and fifth also match each other, because the inverse is the contrapositive of the converse. They differ from the third column in the middle two rows.
If the rows where P is false look odd, read why a false premise makes an implication true, and see truth tables explained for how such tables are built.
A picture with sets
You can see the same facts by thinking about collections. "If n is divisible by 4, then n is even" says that the set of multiples of 4 sits inside the set of even numbers.
If one region lies inside another, then anything outside the larger region is certainly outside the smaller one. That is the contrapositive. But something inside the larger region need not be in the smaller one, so the converse can fail. And something outside the smaller region may still be inside the larger one, so the inverse can fail.
The converse would be true only if the two regions were the same.
The original pairs with the contrapositive; the converse pairs with the inverse.
Theorems whose converses fail
Some of the most useful warnings in calculus and number theory are failed converses.
- If a function is differentiable at a point, it is continuous there. The converse is false: the absolute value function is continuous at 0 but has a corner and no derivative there.
- If an infinite series converges, its terms tend to 0. The converse is false: the terms 1/n tend to 0, yet 1 + 1/2 + 1/3 + ... grows without bound.
- If two angles are both right angles, they are equal. The converse is false: two angles of 30 degrees are equal too.
- If x = 3, then x² = 9. The converse is false, since x = −3 also works.
The last one matters when solving equations. Squaring both sides is a step that runs in one direction, so it can introduce extra "solutions" that you must check against the original equation.
Theorems whose converses hold
Sometimes the converse is true, but it takes its own proof.
The Pythagorean theorem says that if a triangle has a right angle, then the square on the longest side equals the sum of the squares on the other two. Its converse says that if the sides satisfy a² + b² = c², then the angle opposite c is a right angle. Euclid's Elements proves both, one after the other.
When both directions are true, mathematicians write "P if and only if Q", often shortened to "iff". For an integer n:
n is even if and only if n² is even Proving it means proving two implications, as set out in proving if and only if statements.
Reading the many ways of saying "if"
English offers several phrasings, and some reverse the apparent order.
| Phrase | Meaning |
|---|---|
| If P, then Q | P → Q |
| Q if P | P → Q |
| P only if Q | P → Q |
| P is sufficient for Q | P → Q |
| Q is necessary for P | P → Q |
| Q only if P | Q → P (the converse) |
"Only if" causes the most trouble. "You may vote only if you are registered" says that voting requires registration. It does not promise that every registered person may vote.
"Unless" is another: "the alarm stays silent unless the door opens" can be read as "if the door does not open, the alarm is silent".
Using the contrapositive in proofs
Because it is equivalent to the original, the contrapositive is a legitimate target for a proof. It is a good choice when "not Q" gives you something concrete.
Claim: for an integer n, if n² is odd, then n is odd. Starting from "n² = 2k + 1" is awkward, since taking a square root leads nowhere useful. The contrapositive says: if n is even, then n² is even. Write n = 2m, so n² = 4m² = 2(2m²). Done.
More examples of this technique appear in proof by contrapositive, step by step.
How to test a converse
When you have proved a theorem, asking about its converse is a habit that pays. Follow a short routine.
- Write the converse out in full, keeping any background assumptions in place.
- Test it on small and unusual examples: zero, negative numbers, equal values, flat triangles if they are allowed.
- If an example breaks it, record that counterexample next to the theorem.
- If none does, try to reverse your proof step by step, noting any step that runs only one way.
- If one step fails to reverse, ask what extra hypothesis would repair it.
Take the theorem "if a = b, then ac = bc". The converse says "if ac = bc, then a = b". Trying c = 0 breaks it at once: 2 × 0 = 5 × 0. Adding the hypothesis c ≠ 0 makes the converse true, since you may divide both sides by c.
Failed converses are often informative in this way. They show exactly which condition is doing the work, and the repaired statement can be a useful theorem of its own.
Errors in everyday argument
The two false forms have traditional names in logic. Concluding P from "if P then Q" and Q is called affirming the consequent. Concluding "not Q" from "if P then Q" and "not P" is called denying the antecedent.
Say a rule is "if the battery is dead, the car will not start". Finding that the car will not start does not show that the battery is dead, since the fault could be elsewhere. Replacing the battery does not guarantee a start.
The valid patterns are the other two: from P conclude Q, and from "not Q" conclude "not P". These are covered with related forms in rules of inference.
Common questions
Is the contrapositive the same as the negation?
No. The contrapositive agrees with the original statement. The negation disagrees with it in every case, and it takes the form "P and not Q".
How do you handle a hypothesis with several parts?
Be careful with De Morgan's laws. The contrapositive of "if a > 0 and b > 0, then ab > 0" is "if ab ≤ 0, then a ≤ 0 or b ≤ 0". The "and" turns into "or".
You can also keep a standing assumption fixed. For "suppose n is an integer; if n² is odd, then n is odd", the phrase "n is an integer" is background and is not negated.
Do definitions have converses?
A definition is meant to work both ways, even when it is written with "if". "A number is even if it is divisible by 2" also tells you that every even number is divisible by 2.