MAT 125 Lecture Notes on Methods of Proof
MAT 125 Lecture Notes on Methods of Proof
METHODS OF PROOF
By Dr. Runji Flora
Definition: A definition is an exact, unambiguous explanation of the
meaning of a mathematical word or phrase.
Even Integer: An integer n is even if, and only if, n equals twice some
integer. Symbolically, if n is an integer, then
n is even ⇔ ∃an integer k such that n = 2k.
Odd Integer: An integer n is odd if, and only if, n equals twice some
integer plus 1. Symbolically, if n is an integer, then
n is odd ⇔ ∃an integer k such that n = 2k + 1.
Consecutive Integers: Two integers a and b are consecutive if and only if
b=a+1
Prime Integer: An integer n is prime if, and only if, n>1 and for all positive
integers r and s, if n=rs, then either r or s equals n. In symbols:
n is prime ⇔ ∀positive integers r and s, if n = rs
then either r = 1 and s = n or r = n and s = 1.
Page 1 of 23
Parity: Two integers have the same parity if they are both even or they are
both odd. Otherwise they have opposite parity.
Rational Numbers: A real number x is defined to be a rational
number provided that there exist integers m and n with n≠0 such
m
that x A real number that is not a rational number is called
n
an irrational number.
Divisors: Suppose a and b are integers. We say that a divides b, written
a|b, if b = ac for some c ∈ Z. In this case we also say that a is a divisor of b,
and that b is a multiple of a.
For example, 5 divides 15 because 15 = 5 · 3. We write this as 5|15.
Similarly, 8|32 because 32 = 8 · 4, and −6|6 because 6 = −6. −1.
However, 6 does not divide 9 because there is no integer c for which
9 = 6 · c. We express this as 6∤9, which we read as “6 does not divide 9.”
Page 2 of 23
Propositions: A proposition is a theorem of lesser generality or of lesser
importance.
A proof is a valid argument that establishes the truth of a theorem. The
statements used in a proof can include axioms (or postulates), which are
statements we assume to be, the premises, if any, of the theorem, and
previously proven theorems. Axioms may be stated using primitive terms
that do not require definition, but all other terms used in theorems and
their proofs must be defined. Rules of inference, together with definitions
of terms, are used to draw conclusions from other assertions, tying together
the steps of a proof. In practice, the final step of a proof is usually just the
conclusion of the theorem.
Lemma: A lemma is a theorem whose main purpose is to help prove
another theorem.
Corollary: A corollary is a consequence of a theorem, usually one whose
proof is much easier than that of the theorem itself.
A conjecture is a statement that is being proposed to be a true statement,
usually on the basis of some partial evidence, a heuristic argument, or the
intuition of an expert. When a proof of a conjecture is found, the conjecture
becomes a theorem. Many times conjectures are shown to be false, so they
are not theorems.
Trivial Proof:
If we know q is true then p → q is true regardless of the truth value of p.
Example: Prove the statement: If there are 100 students enrolled in this
course this semester, then 62 36 .
Page 3 of 23
Proof. The assertion is trivially true, since the conclusion is true,
independent of the hypothesis (which, may or may not be true depending
on the enrollment).
Vacuous Proof:
If p is a conjunction of other hypotheses and we know one or more of these
hypotheses is false, then p is false and so p → q is vacuously true
regardless of the truth value of q.
Example: Prove the statement. If 6 is a prime number, then 62 30
Proof. The hypothesis is false, therefore the statement is vacuously true
(even though the conclusion is also false).
Direct Proof (Proof by Construction)
A direct proof of a conditional statement p → q is constructed when the
first step is the assumption that p is true; subsequent steps are constructed
using rules of inference, with the final step showing that q must also be
true.
A direct proof uses rules of inference to derive the conclusion from the
premises.
There are only two steps to a direct:
1. Assume that P is true.
2. Use P to show that Q must be true.
Example: Prove the statement: For all integers m and n, if m and n are
odd integers, then m + n is an even integer.
Proof. Assume m and n are arbitrary odd integers. Then m and n can be
written in the form m = 2a + 1 and n = 2b + 1,
where a and b are also integers.
Page 4 of 23
Then m + n = (2a + 1) + (2b + 1) (substitution)
= 2a + 2b + 2 (associative and commutative laws of addition)
= 2(a + b + 1) (distributive law)
Since m+n is twice another integer, namely, a+b+1, m+n is an even integer.
♦
Example: Theorem: The sum of two even numbers x and y is even.
Proof: Assume there are two even numbers x and y , then show that their
sum x y is even.
Let m and n be integers so that x 2m and y 2n (by defn of “even”).
Then x y 2m 2n (by substitution).
2(m n) (by left distribution)
Page 5 of 23
Example: Give a direct proof that if m and n are both perfect squares, then
nm is also a perfect square.
Proof: Assume that m and n are both perfect squares. By the definition of a
perfect square, it follows that there are integers s and t such that m s 2 and
n t 2 . We show that mn must also be a perfect square when m and n are;
Proof by Contraposition
Direct proofs lead from the premises of a theorem to the conclusion. They
begin with the premises, continue with a sequence of deductions, and end
with the conclusion. However, we will see that attempts at direct proofs
Page 6 of 23
often reach dead ends. We need other methods of proving theorems of the
form
∀x(P(x) → Q(x)). Proofs of theorems of this type that are not direct
proofs, that is, that do not start with the premises and end with the
conclusion, are called indirect proofs.
An extremely useful type of indirect proof is known as proof by
contraposition. Proofs by contraposition make use of the fact that the
conditional statement p → q is equivalent to its contrapositive, ¬q →¬p.
This means that the conditional statement p → q can be proved by showing
that its contrapositive, ¬q →¬p, is true.
In a proof by contraposition of p → q, we take ¬q as a premise, and using
axioms, definitions, and previously proven theorems, together with rules
of inference, we show that ¬p must follow.
Example: Prove the statement: For all integers m and n, if the product of m
and n is even, then m is even or n is even.
Proof: We prove the contrapositive of the statement: If m and n are both
odd integers, then mn is odd.
Proof. Suppose that m and n are arbitrary odd integers.
Then m = 2a + 1 and n = 2b + 1, where a and b are integers.
Then mn = (2a + 1)(2b + 1) (substitution)
= 4ab + 2a + 2b + 1 (associative, commutative, and
distributive laws)
= 2(2ab + a + b) + 1 (distributive law)
Since mn is twice an integer (namely, 2ab + a + b) plus 1, mn is odd.
Page 7 of 23
Proposition: Let a,b and c be integers. If a|b and b|c, then a|c.
Proof. Suppose a | b and b | c.
By Definition, a|b means there is an integer d with b = ad.
Likewise, b|c means there is an integer e for which c = be.
Thus c = be = (ad)e = a(de), so c = ax for the integer x = de. Therefore, a | c.
■
Proposition: If x is an even integer, then x2 −6x+5 is odd.
Proof: Suppose x is an even integer. Then x = 2a for some a ∈ ℤ, by
definition of an even integer.
So x2−6x+5 = (2a)2 - 6(2a) +5
= 4a2 - 12a+5
= 4a2 -12a+4+1
= 2(2a2 - 6a+2) +1.
Therefore, we have x 2 - 6x+5 = 2b +1, where b = 2a2 −6a+2 ∈ ℤ.
Consequently, x2 - 6x+5 is odd, by definition of an odd number. ■
Page 8 of 23
Proof by Cases
In proving a statement is true, we sometimes have to examine multiple
cases before showing the statement is true in all possible scenarios.
Page 9 of 23
Example: Show that if an integer n is not divisible by 3, then n2 -1 must be a
multiple of 3.
Proof: Let n be an integer that is not divisible by 3.
When it is divided by 3, the remainder is 1 or 2.
Hence, n=3q+1 or n=3q+2 some integer q.
Case 1: If n=3q+1 for some integer q, then
Page 11 of 23
Exercise:
Proof by Contradiction
The proof by contradiction is grounded in the fact that any proposition
must be either true or false, but not both true and false at the same time.
We arrive at a contradiction when we are able to demonstrate that a
statement is both simultaneously true and false, showing that our
assumptions are inconsistent. We can use this to demonstrate P ⇒ Q by
assuming both P and ¬Q are simultaneously true and deriving a
contradiction. When we derive this contradiction it means that one of our
assumptions was untenable. Presumably we have either assumed or
Page 12 of 23
already proved P to be true so that finding a contradiction implies that ¬Q
must be false.
The method of proof by contradiction.
1. Assume that P is true.
2. Assume that ¬Q is true.
3. Use P and ¬Q to demonstrate a contradiction.
Theorem: If a and b are consecutive integers, then the sum a + b is odd.
Proof. Assume that a and b are consecutive integers.
Assume also that the sum a + b is not odd.
Because the sum a + b is not odd, there exists no number k such that a + b =
2k + 1.
However, the integers a and b are consecutive, so we may write the sum a
+ b as 2a + 1. Thus, we have derived that a + b 6≠2k + 1 for any integer k
and also that a + b = 2a + 1. This is a contradiction. If we hold that a and b
are consecutive then we know that the sum a + b must be odd.
Example: Prove the statement is true: Let x and y be real numbers. If 5x +
25y = 1723, then x or y is not an integer.
Proof: Assume x and y are real numbers such that 5x+25y = 1723, and
assume that both x and y are integers. By the distributive law, 5(x + 5y) =
1723. Since x and y are integers, this implies 1723 is divisible by 5. The
integer 1723, however, is clearly not divisible by 5. This contradiction
establishes the result.
Example: Prove that√2 is irrational by giving a proof by contradiction
Page 13 of 23
Page 14 of 23
Proof by Mathematical Induction
Mathematical Induction is a mathematical technique which is used to
prove a statement, a formula or a theorem is true for every natural
number.
Page 15 of 23
Example: The sum of the first n odd numbers is equal to the nth
square. i.e.
Page 16 of 23
Example: Show that if n is a positive integer, then
Page 17 of 23
Example: Use mathematical induction to show that
Page 18 of 23
Example: Use mathematical induction to show that
Page 19 of 23
Example: Use the Principle of Mathematical Induction to verify that, for n
any positive integer, 6n - 1 is divisible by 5.
Page 20 of 23
Example: The sum of n consecutive cubes is equal to the square
of the sum of the first n numbers. i.e.
n 2 n 1
2
13 23 33 ... n3 1 2 3 ... n
2
Page 21 of 23
Example: Prove by mathematical induction:
Proof:
Page 22 of 23
Therefore the formular is true for all natural numbers.
Page 23 of 23