A proof by contraposition is a method of proof that is logically equivalent to a direct proof but uses a different approach. In this method, you prove the contrapositive of a statement instead of proving the statement itself directly.
Contrapositive:
The contrapositive of an implication of the form P→Q (i.e., "If P, then Q") is the statement ¬Q→¬P (i.e., "If not Q, then not P").
- Original statement: P→Q ("If P, then Q")
- Contrapositive: ¬Q→¬P ("If not Q, then not P")
It turns out that a statement and its contrapositive are logically equivalent. This means that if you prove the contrapositive, you have also proven the original statement.
Steps in a Proof by Contraposition:
- Restate the statement: Start with the original statement, typically of the form "If P, then Q".
- Form the contrapositive: Write the contrapositive of the statement, which will be of the form "If not Q, then not P".
- Prove the contrapositive: Prove the contrapositive directly, i.e., prove that ¬Q implies ¬P.
- Conclude the original statement: Since the contrapositive is logically equivalent to the original statement, proving the contrapositive proves the original statement.
Example of Proof by Contraposition:
Let's prove the following statement by contraposition:
Statement: If n2 is even, then n is even.
Step 1: Restate the original statement
The original statement is:
"If n2 is even, then n is even."
This is in the form of an implication: P→Q, where:
- P: n2 is even.
- Q: n is even.
Step 2: Form the contrapositive
The contrapositive of this statement is:
"If n is not even (i.e., n is odd), then n2 is not even (i.e., n2 is odd)."
This is equivalent to:
"If n is odd, then n2 is odd."
Step 3: Prove the contrapositive
Now, we prove the contrapositive: "If n is odd, then n2 is odd."
-
If n is odd, then by definition, n=2k+1, where k is an integer.
-
Squaring both sides of n=2k+1, we get:
n2=(2k+1)2
Expanding this:
n2=4k2+4k+1
Notice that 4k2+4k is an even number, because it is divisible by 2. Therefore, n2 is of the form 2m+1, where m is an integer, which means n2 is odd.
Thus, we've shown that if n is odd, then n2 is odd.
Step 4: Conclude the original statement
Since we have proven the contrapositive, which is logically equivalent to the original statement, we can conclude that the original statement is true: "If n2 is even, then n is even."
General Structure of Proof by Contraposition:
- State the original implication: P→Q.
- Write the contrapositive: ¬Q→¬P.
- Prove the contrapositive: Show that ¬Q implies ¬P.
- Conclude that the original implication P→Q is true.
Why Use Contraposition?
- Simplicity: Sometimes proving the contrapositive is easier or more direct than proving the original statement.
- Logical equivalence: Since a statement and its contrapositive are logically equivalent, proving one is as good as proving the other.
If you need further help with specific examples or problems involving contraposition, feel free to ask!