3.4: Indirect Proofs
( \newcommand{\kernel}{\mathrm{null}\,}\)
Instead of proving
Proof by Contrapositive
Proof by contrapositive is based on the fact that an implication is equivalent to its contrapositive. Therefore, instead of proving
Assume
Show that
The proof may proceed as follow:
Prove:
Proof: We will prove the contrapositive of the stated result.
That is, we will prove
Assume
.
.
.
. . . Therefore
Thus
Therefore, by contraposition,
Lemma
Let
- Proof:
-
Proof by contrapositive: We want to prove that if
is odd, then is odd. Let be an odd integer, then for some integer by definition of odd. By algebra Since is closed under addition & multiplication, is an integer. Hence is odd by definition of odd.Thus if
is odd, then is odd.Therefore, by contraposition, for all integers
if is even, then is even.
Note: Lemma
Example
Show that if
- Solution
-
We shall prove the contrapositive of the given statement. We want to prove that if
is composite, then the sum of its positive divisors is not . Let be a composite number. Then its divisors include 1, , and at least one other positive divisor different from 1 and . So the sum of its positive divisors is at least . Since is positive, we gather that We deduce that the sum of the divisors cannot be . Therefore, if the sum of the divisors of is precisely , then must be prime.
Proof by Contradiction
Another indirect proof is proof by contradiction. To prove that
Suppose
Argue until we obtain a contradiction, which could be any result that we know is false.
How does this prove that
This is what a typical proof by contradiction may look like:
Proof: Suppose not. That is, suppose
. . .
.
.
a contradiction!!
Thus our assumption that
Therefore,
There is a more general form for proving a statement
Suppose
Argue until we obtain a contradiction.
Proof: Suppose not. That is, suppose
.
.
a contradiction!!
Thus our assumption that
Therefore,
Example
Show that if
- Solution
-
Suppose we can find more than one perpendicular line from
onto . Pick any two of them, and denote their intersections with as and . Then we have a triangle , where the angles and are both . This implies that the sum of the interior angles of the triangle exceeds , which is impossible. Hence, there is only one perpendicular line from onto .
Example
Show that if
note: if no set of numbers is specified, the default is the set of real numbers.
- Solution
-
Assume
. We want to show that . Suppose, on the contrary, we have .By definition,
or .So either
, or .The second case,
is the same as (by multiplying both sides by negative 1).If
, then , by algebra; note: since x is a positive number the inequality sign does not change.If
, we again have , by algebra; note: since x is a negative number the inequality sign reverses.In either case, we have both
and which is a contradiction.Hence
. if , then .
hands-on exercise
Prove that if
Example
Prove
- Solution
-
Suppose
is false for some statements and . Then we find is true, and is false.
For the conjunction
to be true, we need to be true, and to be true.
Having
true and true, we must have true. That gives us is true and is false, a contradiction! Thus it cannot be that is false. Therefore, is always true, hence it is a tautology.
Example
Prove, by contradiction, that if
- Solution
-
Let
be a rational number and an irrational number. We want to show that is irrational. Suppose, on the contrary, that is rational. Then for some integers and , where by definition of rational. Since is rational, we also have for some integers and , where by defintion of rational. It follows by substitution that Hence by algebra, where and are both integers because is closed under addition and multiplication. Also by the Zero Product Property. This makes rational by definition of rational. Now we have is rational and is irrational (by assumption). This is a contradiction! Thus, cannot be rational, it must be irrational. if is rational and is irrational, then is irrational.
hands-on exercise
Prove that
- Hint
-
The words “for any” suggest this is a universal quantification. Be sure you negate the problem statement properly.
Lemma
We will use this lemma (along with Lemma 3.4.1) for the proof that
Lemma 3.4.2 Given a rational number, x, x can be written as a fraction
- Proof:
-
Given a rational number, x, x can be written as a fraction
where , by definition of rational number.If
is not in lowest terms, then and have a common factor. Divide out that common factor to get an equivalent fraction,If
is not in lowest terms, then and have a common factor. Divide out that common factor to get an equivalent fraction,If
is not in lowest terms, then and have a common factor. Divide out that common factor to get an equivalent fraction,Continue this process until the numerator and denominator do not have any common factors. Rename the numerator as
and the denominator asNow
and is in lowest terms.
a rational number can be written as a fraction in lowest terms.
The is irrational.
Prove that
- Proof:
-
Suppose, on the contrary,
is rational. Then we can write for some positive integers and such that and do not share any common divisor except 1 (hence is in lowest terms) by Lemma 3.4.2. Squaring both sides and cross-multiplying yields Since are closed under multiplication, is an integer and thus is even by the definition of even. Consequently, by Lemma 3.4.1, is also even. Then we can write for some integer by the definition of even. By substitution and algebra, the equation above becomes Hence, Since are closed under multiplication, is an integer and thus is even by the definition of even. Consequently, by Lemma 3.4.1, is also even. Even numbers are divisible by 2, by the definition of divides. We have shown that both and are divisible by 2. This contradicts the assumption that and do not share any common divisor. Thus is is not possible for to be rational.Therefore,
must be irrational.
hands-on exercise
Prove that
Very often, a proof by contradiction can be rephrased into a proof by contrapositive or even a direct proof, both of which are easier to follow. If this is the case, rewrite the proof.
Example
Show that
- Solution
-
Consider the following proof by contradiction:
Suppose there exists a real number
such that .
Using calculus, it can be shown that the function
has an absolute minimum at . **Need to show those calculus steps.**Thus,
for
any . This contradicts the assumption that there exists an
such that . Thus, has no real solution.A close inspection reveals that we do not really need a proof by contradiction. The crux of the proof is the fact that
for all . This already shows that could never be zero. It is easier to use a direct proof, as follows.Using calculus, we see
. Setting we get . Since , thus ,we find that the function has an
absolute minimum at . Therefore, for any , we always have
. Hence, there does not exist any such that
.Do you agree that the second proof (the direct proof) is more elegant?
Proving a Biconditional Statement
Recall that a biconditional statement
Example
Let
- Solution
-
(
) We first prove that if is even, then must be even.We shall prove its contrapositive: if
is odd, then is odd. If is odd, then we can write for some integer by definition of odd. Then by algebra where is an integer since is closed under addition and multiplication. Thus, is odd. So, if is odd, then is odd. By contraposition, if is even, then is even.(
) Next, we prove that if is even, then is even.If
is even, we can write for some integer by definition of even. Then where is an integer since is closed under multiplication. Hence, is even. if is even, then is even. is even if and only if is even.
hands-on exercise
Let
Summary and Review
- We can use indirect proofs to prove an implication.
- There are two kinds of indirect proofs: proof by contrapositive and proof by contradiction.
- In a proof by contrapositive, we actually use a direct proof to prove the contrapositive of the original implication.
- In a proof by contradiction, we start with the supposition that the implication is false, and use this assumption to derive a contradiction. This would prove that the implication must be true.
- A proof by contradiction can also be used to prove a statement that is not of the form of an implication. We start with the supposition that the statement is false, and use this assumption to derive a contradiction. This would prove that the statement must be true.
- Sometimes a proof by contradiction can be rewritten as a direct proof. If so, the direct proof is the more direct way to write the proof.
Exercises
exercise
Let
(a) A proof by contrapositive (this one is done - see proof of Lemma 3.4.1)
(b) A proof by contradiction.
- Remark
-
The two proofs are very similar, but the wording is slightly different, so be sure you present your proof clearly.
exercise
Let
(a) A proof by contrapositive.
(b) A proof by contradiction.
exercise
Let
exercise
Let
exercise
Let
exercise
Let
exercise
Prove that
exercise
Prove that
exercise
Let
exercise
Use contradiction to prove that, for all integers
exercise
Let
exercise
Let
exercise
Prove that, if
exercise
Let
exercise
Prove that the logical formula
(See example 3.4.4.)
exercise
Prove that the logical formula
(See example 3.4.4.)


