Mathematical Proof/Methods of Proof
Template:Nav There are many different ways to prove things in mathematics. This chapter will introduce some of those methods.
Introduction
In this chapter, for every method of proof introduced, we will discuss it in this manner:
- Explaining Template:Colored em the method works, by considering its underlying Template:Colored em.
- Introducing Template:Colored em to use the method.
- Giving examples of using the method (and possibly also some previous method introduced) to prove some results.
Before introducing the first proof method, let us go through the meanings of some frequently used terms in mathematics books (some are already used in previous chapters actually), which are used more frequently starting from this chapter.
- Definition: an explanation of meaning of a term.
- Theorem: an important and interesting true mathematical statement.
- Proposition: a (relatively) less important theorem.
- Lemma: a true mathematical statement that is useful in establishing the truth of other true statements, and is less important than a theorem.
- Corollary: a true mathematical statement that can be deduced from a theorem (or proposition) simply.
- Proof: an explanation of why a statement is true.
- Axiom: a true mathematical statement whose truth is accepted Template:Colored em.
- Conjecture: a statement that is Template:Colored em to be true, but is Template:Colored em proven to be true.
Direct proof
Many mathematical theorems can be expressed in the form of ", in which and are Template:Colored em about elements in a set [1]. This expression means "If then " is true for every . However, in practice, we rarely include the phrase "is true", and usually just write the theorem in the form of "For every , if , then ." Sometimes, we write instead "Let . If , then .", which has the same meaning.
In some situations, the statement is not stated in such a form Template:Colored em, but can be Template:Colored em in such a form. For example, the statement "The square of an even integer is even." can be expressed as "For every , is even is even.", or "For every , if is even, then is even.", or "Let . If is even, then is even.", etc.
Now, we will introduce the first proof method to prove statements in such a form, which is known as Template:Colored em. As suggested by its name, this method is quite "direct", and is probably the simplest method among all methods discussed in this chapter.
Consider the statement "". We would like to prove that it is true. Suppose is Template:Colored em for some . Then, the conditional must be true for this by definition, regardless of the truth value of . Hence, in the proof, we do not need to consider those for which the hypothesis is false.
Because of this, to give a Template:Colored em of "", we first Template:Colored em is Template:Colored em (So, we are considering every for which is true.), and then proceed to show that is true for every such (or else the conditional will be false).
This shows that is true for those for which is Template:Colored em, and this is enough to prove is true for Template:Colored em (for which may or may not be true), since we have mentioned that the conditional must be true for those for which is false.
Template:Colored example Template:Colored remark Template:Colored exercise Template:Colored exercise Template:Colored exercise Template:Colored exercise Template:Colored example Template:Colored remark Template:Colored example Template:Colored remark Template:Colored exercise Combining the two results in the previous example and exercise, we get an "if and only if" result:
- For every , we have if and only if .
In other words, using set language, (Both sets represent the curve (strictly) under the horizontal line in the above graph.)
Letting and be the open statement "" and "" respectively, we can express the above result symbolically: Recall that "" means "" Template:Colored em "". So, to give a direct proof to the statement in the form of "", a usual way is to break the proof into two parts:
- proving that (known as the "Template:Colored em" part, or "" direction)
- proving that (known as the "Template:Colored em" part, or "" direction)
Template:Colored example Template:Colored example Template:Colored example
Proofs related to congruence of integers
After introducing the method of direct proof, let us apply this method on proving some results relating to congruence of integers. Before this, let us introduce the concept of congruence of integers. We begin by a motivation for the definition of congruence of integers.
We know that an integer is either even or odd, i.e., can be expressed as or for some integer , according to whether the remainder is 0 or 1 when is divided by 2. Thus, if two integers and have the same remainder when divided by 2 (i.e., have the same parity), then the difference can be proved to be a multiple of 2 (it can be proved that the converse is also true). Similarly, an integer can be expressed as or for some integer , according to whether remainder is 0, 1 or 2 when is divided by 3. Hence, if two integers and have the same remainder when divided by 3, then the difference can be proved to be a multiple of 3 (the converse is also true).
Hence, "two integers have the same remainder when divided by some integer " is equivalent to "their difference is a multiple of ". This leads us to the following definition. Template:Colored definition Template:Colored remark Template:Colored example Template:Colored exercise Template:Colored example Now, let us apply direct proof to prove some results related to the congruence of integers. Template:Colored theorem
Proof. We will only prove the compatibility with addition and multiplication. The proof of other two compatibilities is left to the following exercise.
Compatibility with addition: Assume that and . Then, and for some . Thus, Since , we have .
Compatibility with multiplication: Assume that and . Then, and for some . Thus, Since , we have .
Template:Colored remark Template:Colored exercise Template:Colored exercise In the above result, everything is with the same "modulo ". It is then natural to ask whether there are any results for different "modulo". The answer is yes, and to discuss a result, we need the concept of Template:Colored em integers. Template:Colored definition Template:Colored remark Template:Colored example Template:Colored theorem
Proof. Omitted.
Using this result, we can deduce the following result: Template:Colored theorem
Proof. Assume , , and are relatively prime. Then, we have and for some . This means . Also, for some . Multiplying both sides by the integer , we get Putting , we get Putting this into , we get Since , we have .
Template:Colored remark Template:Colored exercise Template:Colored example Template:Colored remark Template:Colored example Template:Colored example The following lemma is quite useful for proving results about congruence of integers. Template:Colored lemma
Proof. We separate the proof into Template:Colored em part and Template:Colored em part.
Existence part:
Case 1: .
Then, we set and . After that, the equation can be rewritten equivalently as , and also the inequality can be rewritten equivalently as . Through this, we transform this case to case 2.
Case 2: .
Subcase 1: and .
Then, we set , , and . After that, the equation can be rewritten equivalently as (this is equivalent to ). Also, the inequality can be rewritten equivalently as . Through this, we transform this case to the subcase 2.
Subcase 2: and .
Set and . Then, we have .
Subsubcase 1: . Take and . Then, we have and we are done.
Subsubcase 2: .
Set and . Then, we have with . Since there are exactly nonnegative integers less than , we need to repeat this process Template:Colored em times (, so is Template:Colored em the preceding integer of ) to get a such that [2] (and also a ).
So, we take and . Then, we have and we are done.
Uniqueness part:
Assume there exists another pair of integers and (in addition to the pair of integers and ) such that Since we have also we get, by subtracting the two equations,
Also, by considering the above two inequalities, we get Putting it in the above equation, we get .
Thus, we have and .
Template:Colored remark Template:Colored example
Proofs related to sets
The proofs related to sets are often in the form of
- A set is a subset of another set.
- A set equals another set.
To prove that a set is a subset of another set, we use the definition of subset:
- A set is a subset of another set if for every element , if , then .
Thus, we can employ direct proof to prove that a set is a subset of another set.
For the equality of two sets, recall that:
- A set equals another set if and only if and .
Thus, to prove the equality of two sets, we often need to separate the proof into two parts: (i) proving that ; (ii) proving that .
Template:Colored example Template:Colored example We can observe that to prove different laws for the sets, we just simply use the corresponding laws in logic to prove them. Hence, the proofs for other laws, e.g., commutative law and distributive law, are similar. Template:Colored exercise Template:Colored example Template:Colored example Template:Colored exercise Template:Colored example Template:Colored example Template:Colored exercise Template:Colored example Template:Colored example Template:Colored exercise
Proof by contrapositive
Recall that the Template:Colored em of a conditional is the statement , which is Template:Colored em to the original conditional . Hence, if we can show that , then it follows that . This gives us another method of proof, namely Template:Colored em.
A Template:Colored em of the statement is a Template:Colored em of . That is, we first assume that is true, and proceed to show that is true. In other words, we first assume that is Template:Colored em, and proceed to show that is Template:Colored em.
Generally, when we encounter a statement , and observe that the consequent is "simpler" than the hypothesis , using proof by contrapositive is usually more preferable. Template:Colored example Template:Colored example Template:Colored remark Template:Colored example Template:Colored example Template:Colored exercise Template:Colored example Template:Colored exercise Template:Colored exercise
Proof by cases
In the previous sections, we have actually employed the method of Template:Colored em already. It is natural to use this method when we need to break down a problem into several cases, and then tackle every case individually ("divide and conquer"). Sometimes, we may even need to further divide a case into several subcases. The following are some typical cases:
- an integer is even or odd;
- a real number is less than 0, equal to 0, or greater than 0;
- for two nonzero real numbers and , either or .
- For every of the cases, it can be divided into two subcases:
- : ( and ) or ( and )
- : ( and ) or ( and )
But, we should be aware that when we use proof by cases to prove that "", the cases should cover all possibilities, i.e., all . Template:Colored example Template:Colored example Template:Colored remark Template:Colored exercise The following inequality is quite important in mathematics. Template:Colored theorem
Proof.
Case 1: and .
Then, , and so
Case 2: and .
Then, , and so
Case 3: one of and is nonnegative, and the other is negative.
WLOG, assume and .
Subcase 1: .
Then,
Subcase 2: .
Then,
So, we have the desired inequality for every .
Proof by contradiction
Another important method of proof is Template:Colored em.
Let be a statement. Now, suppose we want to prove that is true. If we can show that the conditional is true (i.e., ), then the truth table for conditional tells us that Template:Colored em false, and hence must be true, as desired.
The truth table: In words, the method of proof by contradiction is as follows: we first assume that the statement we want to prove to be true is Template:Colored em, and then proceed to show that this gives a Template:Colored em, and therefore our assumption must be wrong. That is, it is impossible for the statement to be false since it leads to something "absurd". Hence, the statement is true.
The name of Template:Colored em comes from the fact that the assumption that the statement is false is later Template:Colored em by some other fact. This is also known as Template:Colored em, which means reduction to absurdity.
In general, we often use the method of proof by contradiction when the statement we want to prove is Template:Colored em, e.g. "There is no ....", "There does not exist ...", etc.
Also, to indicate to the reader that we are using proof by contradiction, it is recommended that we write "assume to the contrary that ..." (or something similar) instead of just "assume ..." for the assumption that the statement is false. Template:Colored example Template:Colored example Template:Colored example The following is a typical example in introducing proof by contradiction: Template:Colored example The following example is another typical example for demonstrating proof by contradiction. But before discussing it, we need to introduce the following theorem since it is used in the proof. Template:Colored theorem
Proof. We will prove this theorem after introducing Template:Colored em.
Template:Colored remark Template:Colored example Template:Colored remark We can also use proof by contradiction to prove that a statement "" is true. We first assume that the negation of the statement, i.e., "" is true, and proceed to arrive at a contradiction. (Recall that . So, .) Thus, to prove that Template:Colored em, we assume that there exists such that is true and is false, and then deduce a contradiction. Template:Colored example Template:Colored exercise Template:Colored example Template:Colored exercise Template:Colored example Sometimes we can prove a statement using multiple methods: Template:Colored example Template:Colored exercise We can see that when proving a statement "", we may be able to use both proof by contrapositive and proof by contradiction. However, the two proofs are different, and we will compare them in the following table:
| Proof by contrapositive | Proof by contradiction | |
|---|---|---|
| Assumption | ||
| Goal |
From this table, we can see that the proof by contradiction is more advantageous in terms of assumption, since it has one more "help" from (when we assume , we can use both and .) However, in terms of goal, the proof by contrapositive is more advantageous since the goal is more clear (), while for the proof by contradiction, it is not clear that what the form of the contradiction is. There can be many "ways" for arriving at a contradiction (compare the contradiction in the proof of " is irrational" vs. that of "there are infinitely many primes").
Existence proof
Consider the statement "". This statement is true if is true for Template:Colored em . Otherwise, it is false. Thus, to prove such kind of statement, it suffices to find Template:Colored em element such that is true, and this is known as an existence proof. In particular, we should verify that the choice of element is actually belonging to and is actually true for that choice. Template:Colored example Template:Colored remark Template:Colored example The following example demonstrates a more advanced version of existence proof: Template:Colored em. Template:Colored example Template:Colored remark Template:Colored exercise
Disproof
Consider the statement ".". Suppose we somehow believe that the statement is Template:Colored em. Then, we want to prove that it is false, i.e., prove that " such that is false." An element for which is false is known as a Template:Colored em of the statement, and a process of showing that the statement is Template:Colored em (in other words, Template:Colored em the statement) is called a Template:Colored em of the statement. One counterexample is enough to disprove the statement. Template:Colored example Template:Colored example To disprove the statement ", we show that there exists an element such that is false, i.e., is true and is false. Template:Colored example To disprove the statement "", we need to show that there is Template:Colored em such . That is, we need to show that "" (the negation of statement) is true. In this case, we are Template:Colored em just constructing counterexamples. We have to prove that , instead of . Template:Colored example Often, before proving or disproving statements, the truth of falseness of them are Template:Colored em known, and we need to decide whether every of them is true or false. After that, we will prove it if it is true and disprove it otherwise. Of course, our decision is not perfectly accurate, and sometimes we make mistake, which leads us to do the opposite thing, i.e., proving a wrong statement or disproving a correct statement. Clearly, when we do such thing, we cannot succeed. However, the Template:Colored em of performing such wrong thing may give us some insights about what the correct direction is, and how to prove/disprove the statement.
To decide whether a statement is true or false, you may follow some tips below:
- Follow your mathematical intuition. As you have learnt more about mathematics, you may have intuition and idea about whether a statement is true or false, before proving/disproving it.
- Construct some simple examples. Such examples constructed may be a counterexample (for disproving "")/example (for proving "") if you are lucky. Even if they are not counterexamples/examples, you may observe some kind of patterns from it, which may give you some insights about how to prove/disprove the statement.
Template:Colored example Template:Colored exercise
Proof by mathematical induction
The last proof method discussed in this chapter is Template:Colored em. This method is used to prove a statement in the form of "For every integer greater than or equal to an integer , is true.". That is, it is used to prove that a Template:Colored em of statements is true. Of course, we can prove that every of these statements is true one by one, but the principle of mathematical induction gives an alternative and more convenient method.
To Template:Colored em the principle of mathematical induction, we need the Template:Colored em. Before introducing it, we need the definition of Template:Colored em. Template:Colored definition Template:Colored example Now, one may ask that whether the set is well-ordered. It may Template:Colored em that it is well-ordered. Here, we will just regard this as an Template:Colored em: Template:Colored axiom The well-ordering principle can then be used to prove (a less general version of) the principle of mathematical induction. Template:Colored theorem This theorem is quite intuitive: with the conditions satisfied, we have an "infinite chain of implications":
- is true (by (i)).
- Thus, is true (by (ii)).
- Thus, is true (by (ii)).
- Thus, is true (by (ii)) ...
But strictly speaking, this is not counted as a proof. We will give a formal (partial) proof to this theorem below:
Proof. Here we only prove the case where .
Assume to the contrary that the theorem is false. Then, the conditions (i) and (ii) are satisfied by the statements, but there exist some positive integers for which is false. Now, let the set Since is a nonempty [3] subset of , by the well-ordering principle, contains a least element. Let us assume to be the least element.
Since is true by the condition (i), . This means the least element cannot be . Hence, , which means .
Since is the least element of , we have , i.e., is a true statement. Then, by the condition (ii), is true (we have ). It follows that . But this contradicts to our assumption that is the least Template:Colored em of (in particular, ).
Template:Colored remark Using the principle of mathematical induction, to prove that the statement is true for every integer , it suffices to prove two things:
(i) is true.
(ii) For every integer , .
Thus, proof in this form is a two-step process. We often call the proof of (i) as the Template:Colored em or Template:Colored em, and the proof of (ii) is called the Template:Colored em. In particular, when we prove (ii), we usually use the method of direct proof, and first assume is true for Template:Colored em integer with . Such assumption is often called the Template:Colored em. Template:Colored example Template:Colored remark Template:Colored exercise We can use the proof by mathematical induction for proving some inequalities also: Template:Colored example Template:Colored exercise Template:Colored example Template:Colored example Template:Colored exercise
The strong form of induction
In this section, we will discuss a stronger form of mathematical induction. Sometimes, we need this form of mathematical induction since merely assuming " is true ..." in the inductive hypothesis may not be enough to show that is true. We may need some more helps, particularly the fact that the statement is true for Template:Colored em from the basis step to the given . That is, if "" is 1, then we assume are all true.
Since "" is Template:Colored em than "", we have the name "the Template:Colored em form of induction". Template:Colored theorem This theorem is also quite intuitive: with the conditions satisfied, we get an "infinite chain of implications":
- is true by (i).
- Because of 1., is true by (ii).
- Because of 1. and 2., is true by (ii).
- Because of 1., 2., and 3., is true by (ii) ...
Proof. The proof for the strong form of induction is similar to that of the principle of mathematical induction. We just need to modify some parts of the proof. The Template:Color is the modified part.
Here we only prove the case where .
Assume to the contrary that the theorem is false. Then, the conditions (i) and (ii) are satisfied by the statements, but there exist some positive integers for which is false. Now, let the set Since is a nonempty subset of , by the well-ordering principle, contains a least element. Let us assume to be the least element.
Since is true by the condition (i), . This means the least element cannot be . Hence, , which means .
Since is the least element of , we have , i.e., is a true statement. Template:Color Then, by the condition (ii), is true (we have ). It follows that . But this contradicts to our assumption that is the least Template:Colored em of (in particular, ).
Hence, to prove that the statement is true for every by the strong form of induction, we need to prove
(i) the basis step: is true; and (ii) the inductive step: for every integer , if are true (the inductive hypothesis), then is true.
We usually use the strong form of induction to prove results that are related to Template:Colored em. Template:Colored example Template:Colored exercise Template:Colored example Template:Colored remark Template:Colored exercise Template:Nav Template:BookCat