Section 4.6 More Proof by Contradiction and Contrapositive
In this section we will use contradiction and contrapositive to prove two classical theorems in mathematics.
In Activity 4.5.2 you used contrapositive to prove if is even, then is even. This statement is an important step in our first big theorem. We state it here formally as a lemma.
Proof.
We will prove this by contrapositive. Assume is odd. Show is odd. Since is odd, for some Then
Since is odd.
Theorem 4.6.2.
Proof.
We will prove this by contradiction. Assume is rational. Then with We will additionally assume and have no common factors. [Note, this additional assumption just makes the proof simpler. You should convince yourself that it is reasonable to add this assumption--that given any fraction, we can always reduce so and have no common factors.]
Since is even, for some Thus, we can substitute into the above equation.
But now we have and both even, which means they both have a common factor of 2. This contradicts our assumption that and have no common factors. Since we reached a contradiction, we can conclude that is irrational.
Make sure you can read through the above proof and follow from one step to the next.
Activity 4.6.1.
In Lemma 4.6.1 and Activity 4.5.2, we proved if is even then is even. Now suppose you want to prove if is divisible by 3 then is divisible by 3.
(a)
To prove the statement by contrapositive, what should you assume?
(b)
To prove the statement by contrapositive, what should you show?
(c)
The problem with now giving a direct proof of the contrapositive, is that we need to know what we mean by “ is not divisible by 3.” Recall the Quotient-Remainder Theorem, Theorem 4.4.1. If is not divisible by 3, what are the possible forms for
Hint.
Think of the forms for
(d)
Now write a proof by cases using the cases for from (c) to show if is not divisible by 3, then is not divisible by 3.
Our second classical theorem is to prove there are infinitely many prime numbers. We previously proved there are infinitely many integers. In that proof, if we had a biggest integer, we were able to construct an integer that was greater than namely However, primes are not that nice. If you were to list out several prime numbers, it would be impossible to find a pattern for the “next” prime. Sometimes primes are close together, like 17 and 19, and sometimes they are far apart. In fact, it is possible to prove that we can find a list of consecutive integers where none of the consecutive integers are prime for any positive integer This means there are arbitrarily long sequences of consecutive integers with no primes, or there are primes that are arbitrarily far apart.
First we need to understand a bit more about divisibilty with primes.
Activity 4.6.2.
(a)
Write the contrapositive of the statement.
(b)
Write the negation of the statement.
(c)
Based on the contrapositive and the negation, which seem easier to use in a proof?
(d)
(e)
If you were able to find a contradiction, try to write a careful proof by contradiction for the statement.
The statement in Activity 4.6.2 is an important lemma for proving there are infinitely many primes.
Lemma 4.6.3.
Proof.
We will prove this by contradiction. Let prime. Assume and Since for some Since for some Thus,
Since and is a factor of 1. However, the only factors of 1 are 1 and -1, which are not prime. Thus, we have a contradiction.
Theorem 4.6.4.
There are infinitely many primes.
Proof.
Assume there are finitely many primes. Since there are finitely many, we can list them all, say, Now let the product of all the primes. Consider We know for each prime By Lemma 4.6.3, This means is an integer greater than 1 with no prime divisor, which contradicts Theorem 4.3.5.
Reading Questions Check Your Understanding
1.
2.
Suppose you are given that Use the Quotient-Remainder Theorem (Theorem 4.4.1) to list the possible cases for
Hint.
What are the possible values for the remainder,
3.
Hint.
Multiply out
4.
Hint.
Multiply out
5.
True.
is rational.False.
is rational.
6.
True.
- Try
False.
- Try
7.
True.
- Try
False.
- Try
8.
True.
- Try
False.
- Try
Exercises Exercises
1.
Prove or disprove is irrational.
2.
Prove or disprove the difference of any two irrational numbers is irrational.
3.
4.
Prove or disprove the product of any two irrational numbers is irrational.
5.
6.
- Prove that for all integers
if is even then is even. - Prove that
is irrational.
Hint.
7.
Prove is irrational.
Hint.
You have attempted 1 of 9 activities on this page.