Contrapositive
A conditional statement is logically equivalent to its contrapositive, but not to its converse . Proof by contrapositive is used whenever it is easier to show that failing the conclusion forces failing the hypothesis.
LaTeX
p\to q\equiv\neg q\to\neg pVariables
- hypothesis
- conclusion
- not
Example
Prove: if is even, then is even.
- Contrapositive: if is odd, then is odd.
- gives , which is odd.
- Truth table: and agree in all rows.
Answer: The statement holds; the equivalence is true in all rows.