Skip to main content
\( \newcommand{\lt}{ < } \newcommand{\gt}{ > } \newcommand{\amp}{ & } \)

Section3Basic Proof Methods

It is time to prove some theorems. A theorem is a mathematical statement that is true and can be (and has been) verified as true. A proof of a theorem is a written verification that shows that the theorem is definitely and unequivocally true. A proof should be understandable and convincing to anyone who has the requisite background and knowledge.

Subsection3.1Direct Proof

To prove an implication \(P \Rightarrow Q\), the most straightforward way is the direct proof. The structure of a direct proof shall look like this:

Our first proof is a well-known fact: the sum of two even numbers is even. To prove this theorem, we need to know the meaning of even.

Definition3.1

An integer \(n\) is even if \(n=2k\) for some integer \(k\).

For the sake of completeness, we also define odd.

Definition3.2

An integer \(n\) is odd if \(n=2k-1\) for some integer \(k\).

The use of "if" in any definition is always the same as "if and only if" and not the same as the "if" in an "if...then.." statement. For comparison, the statement \begin{equation*}\text{If an integer $n$ can be written as $n=2k$ for some integer $k$, then $n$ is even.}\end{equation*} has a different meaning from the definition of even numbers because it only gives a sufficient condition for an integer to be an even and a priori, there are might be other situations for an integer to be even. On the other hand, the definition of even says that an integer \(n\) is even exactly when we can write \(n=2k\) for some integer \(k\). Let us see if you understand the definition of even and odd.

The following theorem is a consequence of elementary number theory and feel free to use it whenever you think it is appropriate. We will not prove this theorem in full extent in this course.

Subsection3.2Proof by Contrapositive

In the last chapter, we learned that \(P \Rightarrow Q\) is equivalent to \((\sim Q) \Rightarrow (\sim P)\). So in order to show that \(P \Rightarrow Q\) is true, we can just show that \((\sim Q) \Rightarrow (\sim P)\). If we were to to use direct proof to show that \((\sim Q) \Rightarrow (\sim P)\) is true, we would assume \(\sim Q\) is true and use this to deduce that \(\sim P\) is true. This is the basic idea of proof by contrapositive. The structure of a contrapositive proof shall look like this:

Subsection3.3Proof by Contradiction

The basic idea of proof by contradiction is to assume that the statement we want to prove is false. Then we show that this assumption leads to nonsense. We are then lead to conclude that we were wrong to assume the statement (the one that we want to prove) was false in the first place, so the statement must be true. Let us first investigate a few examples before we look into its logical validity.

At the very end of the proof in Task 3.16, we reach the conclusion that \(1\) is even. By the Parity Theorem, we know that the statement \(1\) is even is equivalent to \(1\) is not odd. But we also know that \(1\) is odd. Thus we obtained the statement \(1\) is odd and \(1\) is not odd, which has the form \(R \land (\sim R)\) where \(R\) stands for "\(1\) is odd". By Task 2.41, the general structure for a proof by contradiction of looks like this.

One unsettling feature of this method is that we may not know at the beginning of the proof what the statement \(R\) is going to be. In general, there is no recipe for this. You would have to find your own contradiction. In fact, different people might find different contradictions.

In general when we prove a theorem of the form \(P \Rightarrow Q\), we do not recommend to start by trying to use proof by contradiction. We should try to use direct proof first. If that is not possible, then try proof by contrapositive. If that is still not possible, try proof by contradiction at the end.

Subsection3.4Which one to choose?

In this section, you are free to choose any method you want to solve the tasks. After you solve a task using one method, ask yourself if you can solve the same task using another method(s). If so, which method would you prefer and why?

Definition3.20

Let \(m\) and \(n\) be two integers. We say that \(m\) divides \(n\), denoted by \(m \; | \; n\), provided that there exists an integer \(k\) such that \(n=km\). In this case, we also say that \(n\) is divisible by \(m\) or \(m\) is a factor of \(n\).

Definition3.28

A real number \(x\) is rational if \(x = a/b\) for some integers \(a\) and \(b\). A real number \(x\) is irrational if it is not rational, namely, \(x \neq a/b\) for all possible choices of integers \(a\) and \(b\).

Subsection3.5Some Advices

Before we move on to the next chapter, I would like to give you some advice on how to write mathematical proofs in general.

  1. Never begin a sentence with a mathematical symbol. Instead of saying "\(n\) is an even number", we can say "The number \(n\) is even.".
  2. End each sentence with a period just like writing an English article.
  3. Try to separate mathematical symbols and expressions with words to avoid confusions. Instead of saying "Because \(x^2-1=0\), \(x=1\) or \(x=-1\)", we can say "Because \(x^2-1=0\), we know that \(x=1\) or \(x=-1\)."
  4. Use mathematical symbols in mathematical expressions. Use English words in sentences. Instead of saying "Since two sets are \(=, \dots\)", we can say "Since two sets are equal, \(\dots\)."
  5. Avoid using unnecessary symbols. Instead of saying "Every set \(A\) is a subset of itself", we can say "Every set is a subset of itself". Unless you need to use \(A\) later on, there is no need to introduce extra notations to muddy the water.
  6. Use "we", "us" rather than "I", "you", "me". Pretend that you are having a conversation with the reader.
  7. Be specific as much as possible. Try not to use pronounce because it can lead to confusions. For example, "Since \(X \subset Y\) and \(X\) contains some element, we see that it is not empty."" Is "it" \(X\) or \(Y\)? Either one would make sense but it is not clear which one do we mean.