Skip to main content

Contradiction

Another important proof strategy is called proof by contradiction. In particular, we assume that the statement we want to prove is false, and use logical deductions to derive something which is trivially false (e.g., 000 \neq 0). This would then imply that the original statement must be true. Let’s again look at a concrete and classical example. We say that a positive integer xx is a prime if 11 and xx are the only positive integers that divide xx. We will use the following lemma (whose proof is deferred to the subsequent lectures).

Lemma 1

Every integer greater than 11 has a prime divisor.

Example 12 (Infinitude of primes)

We want to prove that there are infinitely many primes. Let us start by assuming that this statement is false, so we can list the primes as p1,,pnp_1, \ldots , p_n. Now we can define x=p1p2pn+1x = p_1 \cdot p_2 \cdot \ldots \cdot p_n + 1. This number is greater than every (assumed) prime, so this is not a prime. By Lemma 1, there is a prime pip_i that divides xx. Since pip_i divides xx and also divides p1p2pnp_1 \cdot p_2 \cdot \ldots \cdot p_n, we have that pi(xp1p2pn)=1p_i | (x - p_1 \cdot p_2 \cdot \ldots \cdot p_n) = 1, so pi1p_i \le 1, a contradiction.

Example 13

2\sqrt{2} is irrational. To prove this assume that a=2a = \sqrt{2} is rational (a=p/qa = p/q for integers pp and qq that have no common factor). By squaring both sides, we have that p2=2q2p^2 = 2q^2 , and thus p2p^2 is even. Applying Exercise 1, we know that pp must be even, so p=2kp = 2k for some integer kk. Plugging this in, we have 4k2=2q24k^2 = 2q^2 or 2k2=q22k^2 = q^2 , and thus q2q^2 is even. Again, from Exercise 1, we have that qq is even, so 22 is a common factor of pp and qq, a contradiction.

Again, in this proof strategy, it would seem like we have no way to know in advance which contradiction we are looking for. In general, what people do is to keep deriving more facts/information about the problem, and hopefully the contradiction would reveal itself at some point. Of course, once you gain more experience, this thing becomes more systematic and gets easier.