Proof by contrapositive
- 1 min read
- 2 chapters
Related on Lably
Through Logic, Mathematics and Rule of inference
In mathematics, proof by contrapositive, or proof by contraposition, is a rule of inference used in proofs, where one infers a conditional statement from its contrapositive. In other words, the conclusion "if A, then B" is inferred by constructing a proof of the claim "if not B, then not A" instead. More often than not, this approach is preferred if the contrapositive is easier to prove than the original conditional statement itself.
Logically, the validity of proof by contrapositive can be demonstrated by the use of the following truth table, where it is shown that p → q and q → p share the same truth values in all scenarios:
Difference with proof by contradiction
Proof by contradiction: Assume (for contradiction) that is true. Use this assumption to prove a contradiction. It follows that is false, so is true.
Proof by contrapositive: To prove , prove its contrapositive statement, which is .
Sign in to keep reading
One more chapter is free with a Lably account.
Example
Let be an integer.
- To prove: If is even, then is even.
Although a direct proof can be given, we choose to prove this statement by contraposition. The contrapositive of the above statement is:
- If is not even, then is not even.
This latter statement can be proven as follows: suppose that x is not even, then x is odd. The product of two odd numbers is odd, hence is odd. Thus is not even.
Having proved the contrapositive, we can then infer that the original statement is true.

