Professional Documents
Culture Documents
1.2 Techniques of Proof
1.2 Techniques of Proof
1.2 Techniques of Proof
Techniques of
Proof I:
Direct Proof
2
DIRECT PROOF Example 1
Let x and y are integers.
Given hypothesis, p. Show that if x is odd and y is odd, then x + y is even.
Let hypothesis, p.
use definition Proof :
use theorem Let x and y are integers.
use axiom Suppose x is odd and y is odd.
use corollary Let x = 2a + 1 and y = 2b + 1 where a, b .
use properties Then x + y = 2a + 1 + 2b + 1
Get conclusion, q. = 2a + 2b + 2
= 2 ( a + b + 1)
= 2c where c = a + b + 1 .
Hence, x + y is even.
Therefore, if x is odd and y is odd, then x + y is even.
3
Example 2
Let x and y are integers.
Show that if x is odd and y is odd, then x + 3 y is even.
Proof :
Let x and y are integers.
Suppose x is odd and y is odd.
Let x = 2a + 1 and y = 2b + 1 where a, b .
Then x + 3 y = 2a + 1 + 3 ( 2b + 1)
= 2a + 6b + 4
= 2 ( a + 3b + 2 )
= 2c where c = a + 3b + 2 .
Hence, x + 3 y is even.
Therefore, if x is odd and y is odd, then x + 3 y is even.
4
Example 3
Let x and y are integers.
Show that if x is even or y is even, then xy is even.
Proof :
Techniques of
Proof I:
Contrapositive
6
PROOF BY CONTRAPOSITIVE
Example 1
Given p q Show that
Proof: if 7 m is an odd number, then m is an odd number.
( p q) ( q p) Proof :
Let hypothesis, q.
( q p ) : If m is an even number, then 7 m is an even number.
use definition
Suppose m is an even number.
use theorem
Let m = 2a where a .
use axiom
Then,
use corollary
7 m = 7 ( 2a )
use properties
Get conclusion, p. = 2 ( 7a )
Therefore, p q. = 2b where b = 7 a .
Hence, 7 m is an even number.
Therefore, if 7 m is an odd number, then m is an odd number.
7
Example 2
Proof :
( q p ) : If for every x in 0, 1 , f ( x ) = 0, then f ( x ) dx = 0.
1
Let x 0, 1 and f ( x ) = 0.
Then,
f ( x ) dx = 0
1
f ( x ) dx = 0.
1
such that
0
8
Example 3 Let x be an integer. Show that if x 2 − 2 x + 7 is even, then x is odd.
Proof :
( q p ) : If x is even, then x 2 − 2 x + 7 is odd.
= 2 ( 2a 2 − 2a + 3 ) + 1
= 2b + 1 where b = 2a 2 − 2a + 3 .
Hence, x 2 − 2 x + 7 is an odd number.
Therefore, if x 2 − 2 x + 7 is even, then x is odd.
9
Example 3
Show that if x is irrational, then x is irrational.
Proof :
( q p ) : If x is rational, then x is rational.
Suppose x is rational.
Then,
a
x= where a, b and b 0.
b
a2 c
x = 2 = where c = a 2 and d = b 2 0.
b d
Hence, x is rational.
Therefore, if x is irrational, then x is irrational.
10
Example 4 Show that if x + y is irrational, then x is irrational or y is irrational.
Proof :
( q p ) : If x is rational and y is rational, then x + y is rational.
Suppose f ( x1 ) = f ( x2 ) .
Then
4 x1 + 7 = 4 x2 + 7
4 x1 = 4 x2
x1 = x2 .
Therefore, if x1 = x2 , then 4 x1 + 7 = 4 x2 + 7.
12
Chapter 1
Techniques of
Proof I:
Contradiction
14
PROOF BY CONTRADICTION
Example 1
1
Given p q Let x be a real number. Show that if x 0, then 0.
x
Proof:
1
( p q ) (( p q) c) Idea : ( p q ) c: x 0 and 0c
x
Let hypothesis, p q.
use definition Proof : Suppose x 0 and 1 0.
x
use theorem
Then,
use axiom
1
use corollary ( ) ( x )( 0 )
x
x
use properties
1 0
Get false statement, c.
Contradicting to the fact that 1 0.
Therefore, p q.
1
Therefore, if x 0, then 0.
x
15
Example 2 Show that if x is rational and y is irrational, then x + y is irrational.
Idea : ( p q ) c :
Proof : x is rational and y is irrational and x + y is rational c
Suppose x is rational and y is irrational.
Suppose x + y is rational.
a c
Let x = and x + y = where a, b, c, d , b 0 and d 0.
b d
c
Then x + y =
d Implies that y is rational.
a c
+y= Contradicts to our assumption that y is irrational.
b d
Therefore, if x is rational and y is irrational,
c a bc − ad m
y= − = = then x + y is irrational.
d b bd n
where m = bc − ad and n = bd 0.
16
2a = 7b
which is a contradiction since 2 a is even and 7b is odd.
Therefore, log 2 7 is irrational.
17
Idea : Proof :
( p q) c Let x such that g ( x ) = 3.
3x + 4
x g ( x ) = 3 and g ( x ) = Then
x+3 3x + 4
g ( x) = =3
x+3
3 x + 4 = 3 ( x + 3)
3x + 4 = 3x + 9
4 = 9 which is false.
Chapter 1
Techniques of
Proof I:
Counterexample
19
PROOF BY
COUNTEREXAMPLE Example 1
Therefore,
if n is a positive integer, then n 2 + n + 17 is a prime number
is a false statement.
20
Example 2 Example 3
Answer : Answer :
Let x = −3 . Then Let n = −2 . Then
x = ( −3) = 9 n = ( −2 ) = −8
2 2 3 3
Example 3 Example 4
Answer : Answer :
Let x = 0.8 . Then
Let n = 2 . Then
x = ( 0.8 ) = 0.64
2 2
n 2 + n + 4 = 22 + 2 + 4 = 10
x 3 = ( 0.8 ) = 0.512
3
Proof with
quantifiers
23
To illustrate the process of writing a proof with quantifiers, consider the following:
Solution : Proof : Given any 0, let = 0. Then,
2
5 − 2x + 3 5 + 1− x 1+
5 − − 3 2x 5 + − 3
1− x 1+
2 − 2x 2 + 2 2
2 − 2x 2 +
1− x 1+
2 2 5 − − 3 2x 5 + − 3
5 − 2 x + 3 5 + as required.
Take = .
2
24
Solution : Proof : Given any 0, let = 0. Then,
3
2 − x 2 +
11 − 3 x + 5 11 +
11 − − 5 3 x 11 + − 5 2− x 2+
3 3
6 − 3x 6 + 6 − 3x 6 +
6 − + 5 3x + 5 6 + + 5
2− x 2+
3 3
11 − 3 x + 5 11 + as required.
Take = .
3
Chapter 1
Techniques of
Proof II
26
Idea : Proof :
Example 2 Prove that if the sum of a real number with itself is equal to its square,
then the number is 0 or 2.
The Principle of
Mathematical
Induction
29
Recall that denotes the set of positive integers, also called the natural numbers.
= 1, 2, 3, 4, ...
In proving theorems about the natural numbers, we need a technique that does not
depend on verifying the validity one number at a time.
Let P ( n ) be a statement that is either true or false for each n . Then P ( n ) is true
for all n , provided that
(a) P (1) is true
(b) P ( k ) is true for each k
(c) P ( k + 1) is true for each k
In applying the Principle Verifying condition (a) is called the basis for induction.
of Mathematical
Verifying conditions (b, c) is called the induction step.
Induction, there are two
steps: The assumption that P (k) is true in verifying part (b) is known as the
induction hypothesis.
Let’s look at a couple of examples of using mathematical induction.
31
1
Example 1 Prove that 1 + 2 + 3 + ... + n = n ( n + 1) for every natural number n.
2
Proof :
1
Let P ( n ) : 1 + 2 + 3 + ... + n = n ( n + 1) P ( k + 1) : 1 + 2 + 3 + ... + k + ( k + 1)
2 1
= k ( k + 1) + ( k + 1)
1 2
P (1) : RHS (1)(1 + 1) = 1
= ( k ( k + 1) + 2 ( k + 1) )
2 1
LHS 1 2
RHS = LHS 1
= ( k + 1)( k + 2 ) as required.
P (1) is true for n = 1.
2
P ( k + 1) is true.
1 1
P ( k ) : Assume that 1 + 2 + 3 + ... + k = k ( k + 1) Therefore, 1 + 2 + 3 + ... + n = n ( n + 1) is true
2 2
is true for every natural number k . for every natural number n.
32
Example 2 Prove that 1 + 3 + 5 + ... + ( 2n − 1) = n 2 for every natural number n.
Proof :
Let P ( n ) : 1 + 3 + 5 + ... + ( 2n − 1) = n 2 P ( k + 1) : 1 + 3 + 5 + ... + ( 2k − 1) + ( 2 ( k + 1) − 1)
= k 2 + 2k + 1
P (1) : RHS 12 = 1 = ( k + 1) as required.
2
Proof :
P ( k + 1) : 1 + 4 + 12 + ... + k 2k −1 + ( k + 1) 2k +1−1
n
i2 i −1
= 1 + 4 + 12 + + n2 n −1
= ( n − 1) 2 + 1
n
i =1
= ( k − 1) 2k + 1 + ( k + 1) 2k
Let P ( n ) : 1 + 4 + 12 + + n2 n −1 = ( n − 1) 2 n + 1
= 2k ( k − 1 + k + 1) + 1
P (1) : RHS (1 − 1) 2 + 1 = 1
1 = 2 k ( 2k ) + 1
LHS 1 = 1 = k 2k +1 + 1 as required.
RHS = LHS P ( k + 1) is true.
P (1) is true for n = 1.
Therefore
P ( k ) : Assume that 1 + 4 + 12 + + k 2 k −1 = ( k − 1) 2 k + 1 n
Proof :
Let P ( n ) : 7 − 4 = 3a where a
n n +
. P ( k + 1) : 7 k +1 − 4k +1
= 7 k +1 − 7 4k + 7 4k − 4k +1
= 7 7 k − 7 4k + 7 4k − 4k 4
P (1) : RHS 7 − 4 = 3 = 3 (1) where a = 1
= 7 ( 7 k − 4k ) + 4k ( 7 − 4 )
P (1) is true for n = 1.
= 7 3b + 3 4k
P ( k ) : Assume that 7 k − 4k = 3b where b = 3 ( 7b + 4 k )
is true for every natural number k . = 3c where c = 7b + 4k as required.
P ( k + 1) is true.