10 Proof Techniques
So far we have seen the power and utility of a truth table. However, it might be inconvenient and even inefficient to lay out all possible cases every time we attempt to prove certain claims. Thus there is a need for theorems, rules, and techniques to save time as well as organize our ideas.
The modus ponens rule is the most fundamental rule of our deductive reasoning, based on the tautology
In other words, whenever we have and , then we can conclude is true.
The details of such techniques are mentioned in the following subsections.
Direct Proofs
The structure of direct proof [14] of is simple, and takes the following form:
Direct Proof.
Assume .
Therefore, .
Therefore, .
Let us clarify with an example.
Example. Prove if is even, then is odd.
Proof.
Let be an even integer.
Then, there exists such that .
Then, .
Therefore, is odd for all .
Therefore, if is even, then is odd.
Above is the typical example of a direct proof – we began with the assumption
: is even
and with an elementary arithmetic operation we deduced
: is even
Indeed, this is quite simple an example, but illustrative of the direct proof method. Let us have a look at another.
Example. Let . Prove that if , then
Proof.
Let .
Then, and .
Therefore, .
Therefore, , where .
Therefore, if , then .
To analyze, again, we began with the assumption
and with an elementary arithmetic operation we deduced
and thus
Contraposition
Reasoning with the contrapositive or contraposition is also a well-known proof technique. Let us revisit the theorem of contraposition.
The proof by contrapositive takes the following form:
Proof by Contrapositive/Contraposition.
Assume .
Therefore, .
Therefore, .
If and only if .
Let us illustrate with examples.
Example. Prove that if is odd, then is odd.
Following our usual strategy, we might as well begin our proof by denoting an odd number for . However, this form does not really help, and we are not really sure how to proceed to show is odd.
Instead, the consequent that is odd, and the converse of the consequent that is even, fit the format we usually denote an odd/even number. Therefore, we strategize to prove the contrapositive, i.e. if is even, then is even.
Proof.
Suppose is even.
That is, there exists such that .
Then,
Therefore, is even for all .
Therefore, if is even, then is even.
Therefore, if is odd, then is odd.
Indirect Proofs
Indirect proofs are proofs based on tautologies, the statements that are always true, irrespective of the truth values of the propositions involved. Proof by contraposition was a motivating example of indirect proofs. In this section, we introduce another indirect proof technique, proof by contradiction. Following is the typical form of proof by contradiction:
Proof by Contradiction.
Assume .
Therefore, .
Also, .
This is contradiction, both and cannot be true at the same time. And therefore, we conclude it must be the case our assumption was wrong, i.e. , equivalent to , equivalent to , is true.
Let us illustrate with an example.
Example. Prove is irrational.
Our proof is divided into several parts. To prove by contradiction, first, we shall assume the negation, is not irrational, and thus rational. Then, we express this “rational number” as a fraction. While proceeding, we shall inevitably face a contradiction, since our assumption is rational is incorrect.
Proof.
First, assume the converse is true.
Suppose is rational.
Then, there exist integers such that , where and .
Then,
Therefore, is even.
Show is even is even
This part, let us prove the contrapositive.
Suppose is odd.
Then, there exists such that .
Then,
Therefore, is odd for all .
Therefore, if is odd, then is odd.
Then, if is even, then is even.
Finally, show is even is even is even.
Therefore, is even.
Then, likewise, is even.
In fact, it was our part of assumption . However, since both and are even . This is contradiction – it must be the case our assumption was wrong, i.e. is not rational, and thus irrational. Therefore, we conclude is irrational.
Proof by Exhaustion
Proof by exhaustion is a technique to examine every possible case. Let us illustrate with an example.
Example. Prove for .
Proof.
1. and
Then, , , and .
Therefore, .
2. and
Then, , , and .
Therefore, .
3. and
Then, , , and .
Therefore, .
4. and
Then, , , and .
Therefore, .
Therefore, for .
Mathematical Induction
Our discussion so far has been focused on deductive reasoning. Yes, deduction is our primary method of unfolding our logic, yet we also have briefly mentioned the existence of the principles of mathematical induction (PMI). Following is the basic scheme of the proof using the PMI:
Proof using the Principles of Mathematical Induction.
Let for be the collection of propositions.
1. (Basis Step) Show that is true.
2. (Inductive Step) Show that, for all , if is true, then is true.
3. Therefore, we conclude is true for all by the principles of mathematical induction.
Let us illustrate with a famous example, well-known as the problem of the Tower of Hanoi.
Example. The Tower of Hanoi
The Tower of Hanoi, also called the Tower of Brahma or Lucas’ Tower, is a famous mathematical puzzle. It is consisted of 3 rods and number of disks with differing radii (Figure ??). At the initial state, the disks are placed in a single rod with diameters increasing from top to bottom. The goal is to move the disks to another rod in the same order with the following rules:
1. Only one disk at the top of the rod can be moved to another rod in each turn.
2. Larger disk cannot be placed on top of a smaller disk.
It is known the fewest number of movements to solve the puzzle is . Prove this using the PMI.
Proof of the Tower of Hanoi.
1. (Basis Step) Show that is true.
Let .
Then, is true, since we only need a single movement to migrate a single piece of disk.
2. (Inductive Step) Show that, for all , if is true, then is true.
Suppose .
Then, to completely migrate a stack of pieces placed in one rod, we first need to move pieces from the top, except the last piece; move the last piece; and then on top of the last piece place the first pieces that were moved. Therefore,
Therefore the statement, the puzzle with disks can be solved in moves, is true for .
3. Therefore, we conclude is true for all by the principles of mathematical induction.