Definition
Given a conditional statement “If , then ” (), the contrapositive is the statement formed by negating and interchanging both the hypothesis () and the conclusion (): How to read: “Not Q implies not P.” Meaning / when to use: The statement that if the conclusion is false, then the hypothesis must also be false. The contrapositive is logically equivalent to the original conditional statement.
Why It Matters
Because a statement and its contrapositive always have the same truth value, proving the contrapositive is a standard method of indirect proof (proof by contraposition) in mathematics and computer science when the direct statement is difficult to prove.
Core Concepts
- Negate and Swap: Both negates the terms and swaps their positions.
- Logical Equivalence: If is true, is guaranteed to be true. If is false, is guaranteed to be false.
- Proof Technique: To prove , assume is true and show that it logically leads to .