Mathematical Proofs A Transition To Advanced Mathematics: Direct Proof and Proof by Contrapositive
Mathematical Proofs A Transition To Advanced Mathematics: Direct Proof and Proof by Contrapositive
mathematical proofs.
Definition
A true mathematical statement whose truth is accepted without
proof is referred to as an axiom.
A true mathematical statement whose truth can be verified is often
referred to as a theorem, although many mathematicians reserve
the word “theorem” for such statements that are especially
significant or interesting.
For the most part then, our results are examples used to illustrate
proof techniques and our goal is to prove these results.
Definition
A corollary is a mathematical result that can be deduced from,
and is thereby a consequence of, some earlier result.
A lemma is a mathematical result that is useful in establishing the
truth of some other result.
Some people like to think of a lemma as a “helping result.”
Indeed, the German word for lemma is “hilfsatz,” whose English
translation is “helping theorem.” Ordinarily then, a lemma is not
of primary importance itself. Indeed, its very existence is due only
to its usefulness in proving another (more interesting) result.
or as
Let x ∈ S. If P(x), then Q(x).
This implication is true if P(x) ⇒ Q(x) is a true statement for
each x ∈ S; while it is false if P(x) ⇒ Q(x) is false for at least one
element x ∈ S.
Definition
Accordingly, if Q(x) is true for all x ∈ S or P(x) is false for all
x ∈ S, then determining the truth or falseness of
Example 1
Result Let x ∈ R. If x < 0, then x 2 + 1 > 0.
Proof. Since x 2 ≥ 0 for each real number x, it follows that
x 2 + 1 > x 2 ≥ 0.
Hence, x 2 + 1 > 0.
The symbol that occurs at the end of the proof indicates that
the proof is complete. There are definite advantages to using (or
some other symbol) to indicate the conclusion of a proof. First, as
you start reading a proof, you can look ahead for this symbol to
determine the length of the proof. Also, without this symbol, you
may continue to read past the end of the proof, still thinking that
you’re reading a proof of the result. When you reach this symbol,
you are supposed to be convinced that the result is true. If you
are, this is good! Everything happened as planned.
Definition
Let P(x) and Q(x) be open sentences over a domain S. Then
∀x ∈ S, P(x) ⇒ Q(x) is a true statement if it can be shown that
P(x) is false for all x ∈ S (regardless of the truth value of Q(x)),
according to the truth table for implication. Such a proof is called
a vacuous proof of ∀x ∈ S, P(x) ⇒ Q(x).
Example 2
Result Let x ∈ R. If x 2 − 2x + 2 ≤ 0, then x 3 ≥ 8.
Proof. First observe that
x 2 − 2x + 1 = (x − 1)2 ≥ 0.
Therefore,
x 2 − 2x + 2 = (x − 1)2 + 1 ≥ 1 > 0.
Definition
Whenever there is a vacuous proof of a result, we often say that
the result follows vacuously. While a trivial proof is almost never
encountered in mathematics, the same cannot be said of vacuous
proofs.
Example 3
Result Let S = {n ∈ Z : n ≥ 2} and let n ∈ S.
2 4
If 2n + n < 5, then 4n2 + n2
< 25.
Example 4
Result If n is an odd integer, then 3n + 7 is an even integer.
Proof. Assume that n is an odd integer. Since n is odd, we can
write n = 2k + 1 for some integer k. Now,
Example 5
Result If n is an even integer, then 3n5 is an even integer.
Proof. Since n is an even integer, n = 2x for some integer x.
Therefore,
Definition
For statements P and Q, the contrapositive of the implication
P ⇒ Q is the implication (∼ Q) ⇒ (∼ P).
is the implication
Theorem
For every two statements P and Q, the implication P ⇒ Q and its
contrapositive are logically equivalent; that is,
P ⇒ Q ≡ (∼ Q) ⇒ (∼ P).
P Q P⇒Q ∼Q ∼P (∼ Q) ⇒ (∼ P)
T T T F F T
T F F T F F
F T T F T T
F F T T T T
Definition
A proof by contrapositive of the result
Example 7
Result Let x ∈ Z. Then 11x − 7 is even if and only if x is odd.
Proof. There are two implications to prove here, namely,
(1) if x is odd, then 11x − 7 is even and
Example 7 (continued)
Since 11r + 2 is an integer, 11x − 7 is even.
We now prove (2), which is the converse of (1). We use a proof by
contrapositive here. Assume that x is even. Then x = 2s, where
s ∈ Z. Therefore,
Lemma
Let x ∈ Z. If 5x − 7 is odd, then x is even
Proof. Assume that x is odd. Then x = 2y + 1, where y ∈ Z.
Therefore,
Example 8
Result Let x ∈ Z. If 5x − 7 is odd, then 9x + 2 is even.
Proof. Let 5x − 7 be an odd integer. By the lemma, the integer
x is even. Since x is even, x = 2z for some integer z. Thus,
Definition
While attempting to give a proof of a mathematical statement
concerning an element x in some set S, it is sometimes useful to
observe that x possesses one of two or more properties. A common
property which x may possess is that of belonging to a particular
subset of S. If we can verify the truth of the statement for each
property that x may have, then we have a proof of the statement.
Such a proof is then divided into parts called cases, one case for
each property that x may possess or for each subset to which x
may belong. This method is called proof by cases. Indeed, it may
be useful in a proof by cases to further divide a case into other
cases, called subcases.
Example 9
Result If n ∈ Z, then n2 + 3n + 5 is an odd integer.
Proof. We proceed by cases, according to whether n is even or
odd.
Case 1. n is even. Then n = 2x for some x ∈ Z. So,
n2 + 3n + 5 = (2x)2 + 3(2x) + 5 = 4x 2 + 6x + 5
= 2(2x 2 + 3x + 2) + 1.
Example 9 (continued)
Case 2. n is odd. Then n = 2y + 1, where y ∈ Z. Thus,
Definition
Two integers x and y are said to be of the same parity if x and y
are both even or are both odd.
The integers x and y are of opposite parity if one of x and y is
even and the other is odd.
For example, 5 and 13 are of the same parity, while 8 and 11 are
of opposite parity.
Because the definition of two integers having the same (or
opposite) parity requires the two integers to satisfy one of two
properties, any result containing these terms is likely to be proved
by cases. The following theorem presents a characterization of two
integers that are of the same parity.
Proof (continued)
For the converse, assume that x and y are of opposite parity.
Again, we consider two cases.
Case 1. x is even and y is odd. Then x = 2a and y = 2b + 1,
where a, b ∈ Z. Then
x + y = 2a + (2b + 1) = 2(a + b) + 1.
Theorem
Let a and b be integers. Then ab is even if and only if a is even or
b is even.
Proof. First, assume that a is even or b is even. Without loss of
generality, let a be even. Then a = 2x for some integer x. Thus,
ab = (2x)b = 2(xb).
Proof (continued)
Since xb is an integer, ab is even.
For the converse, assume that a is odd and b is odd. Then
a = 2x + 1 and b = 2y + 1,
where x, y ∈ Z. Hence,
We have now stated several results and have given a proof of each
result (sometimes preceding a proof by a proof strategy or
following the proof with a proof analysis). Let’s reverse this
process by giving an example of a proof of a result but not stating
the result being proved. We will follow the proof with several
options for the statements of the result being proved.
Example 11
Result If x and y are integers of the same parity, then x − y is
even.
Proof. Let x and y be two integers of the same parity. We
consider two cases, according to whether x and y are both even or
are both odd.
Case 1. x and y are both even. Let x = 6 and y = 2, which are
both even. Then x − y = 4, which is even.
Case 2. x and y are both odd. Let x = 7 and y = 1, which are
both odd. Then x − y = 6, which is even.
Example 12
Result If m is an even integer and n is an odd integer, then
3m + 5n is odd.
Proof. Let m be an even integer and n an odd integer. Then
m = 2k and n = 2k + 1, where k ∈ Z. Therefore,