How to prove a theorem of course depends on what you are asked to prove. We will give you some templates for how a proof must proceed. Of course this works only for simple theorems. For complex theorems, the idea is to decompose into simpler claims. Proving the simpler claims, we build upon them to prove more complex claims and so on.
Three types of proof strategiesOver the next 6 lectures or so, we will cover Chapter 2 of the textbook and learn the following three types of proof strategies:
In general, some good rules of thumb include the following.
We will restrict ourselves to facts about numbers for now.
A universal statement (over a certain set a.k.a ‘‘universe of discourse’’ ) is a claim that for every number
in
, some fact (described by some predicate) holds over
. Mathematically, a universal statement is in the form
.
Universal statements (over a set ) are proved as follows:
Let us now look at an example.
Let's try to prove the following theorem.
Theorem. For every natural number , the number
is an odd number.
hspace mod 2 &=& (2 n + 1)hspace mod 2 &=& (2 nhspace mod 2) + (1hspace mod 2) &=& 0 + 1 &=& 1 end " />
Let be any fixed natural number. Let
. Then
hspace mod 2 &=& (2 n + 1)hspace mod 2 &=& (2 nhspace mod 2) + (1hspace mod 2) &=& 0 + 1 &=& 1 end " />
Hence is an odd number. QED.
We now look at a special form of universal statements of the form:
Universal Statement With Implication.
We recall that for given two propositions and
(or predicates), the implication
is true if one of the following holds:
(An easy example is “If you win the bet, then I will give you $20.” If you don't win the bet, I can still give you $20 without breaking my promise!)
Following the general rule for universal statements, we write a proof as follows:
We can use a simple short-cut that avoids unnecessary language in such proofs.
Theorem. If is an even number and
then
is composite.
Here are our reasoning steps:
Theorem. For every natural number , if
, then
cannot be prime.
Here are the steps of our reasoning.
Now we are going to learn two commonly used techniques: proof by cases and proof by contrapositive (for implication statements).
This technique is used for proving implications of the form . Since an implication is always equivalent to its contrapositive, proving that
does the job.
Theorem. For any integer , if
is even, then
is even.
The statement in this theorem is equivalent to the contrapositive statement: For any integer , if
is not even, then
is not even. It suffices to prove this contrapositive statement here!
Caution: This technique is often useful but make sure you formulate the contrapositive statement properly before proving it!
When given a statement to prove, sometimes it is easier to consider severl complementary scenarios, and prove the statement in each of the scenarios via different arguments.
Prove that for any positive integers , if
, then
.
Since we are only concerned with positive integers and the conclusion
automatically holds when
or
is greater than or equal to 3, we can consider the following cases:
For any positive integers , we consider two different cases.
In conclusion, the implication holds for all positive integers
.
Finally, we look at the general proving techniques for one common type of universal statements:
Universal statements with implication and converseFor proving such a statement, we usually proceed in two main steps after fixing any .
Theorem. For any integer ,
is even if and only if
is even.