Section4.5Proof by Contradiction and Contrapositive
In this section we will learn two new proof techniques, contradiction and contrapositive. Both proof techniques rely on being able to negate mathematical statements.
As we add more proof techniques, it is important to realize that you are not expected to know which technique to use when you start a proof. Proof-writing often takes some trial and error. First try a direct proof, if you get stuck, you may think about whether breaking your set into cases will help, or whether negating a statement will make it easier to use. It is also quite possible that different methods can be used to prove the same statement.
By contradiction. Assume there is a greatest integer. Call this greatest integer . Now consider . Since is an integer, is an integer. We can see that , which contradicts that was the greatest. Therefore, there is no greatest integer.
Since contradiction relies on negating statements, recall the following negations:
Recall from Section 2.2 that a conditional, , and its contrapositive, , are logically equivalent. This means we can prove the contrapositive rather than the original statement.
Show any contradiction. The contradiction may be or it may be , or some other logical contradiction.
Since you can reach any contradiction at all, it may be difficult to know what you are looking for. It also may be difficult to know if you’ve made an error.
With contradiction you get to assume more, but it is less clear what you want to show.
Suppose you want to prove the following statement by contradiction: For all real numbers , if is not rational then is not rational. What should you assume? What should you show?
Suppose you want to prove the following statement by contrapositive: For all real numbers , if is not rational then is not rational. What should you assume? What should you show?
Suppose you want to prove the following statement by contradiction: For all integers and primes , if then . What should you assume? What should you show?
Suppose you want to prove the following statement by contrapositive: For all integers and primes , if then . What should you assume? What should you show?
A Test to Determine if a Number is Prime: Given any integer , to test whether is prime check to see if it is divisible by a prime number less than or equal to . If it is not divisible by any prime less than or equal to , then is prime.