Section 1.5: Basic Proof Methods II: Dr. Yassir Dinar
Section 1.5: Basic Proof Methods II: Dr. Yassir Dinar
Spring 2020
Dr. Yassir Dinar Section 1.5: Basic Proof Methods II Spring 2020 1 / 13
Proof by Contraposition
Dr. Yassir Dinar Section 1.5: Basic Proof Methods II Spring 2020 2 / 13
Examples of Proof by Contraposition I
Example 5.1
Let m be an integer. Prove that if m2 is even, then m is even.
Dr. Yassir Dinar Section 1.5: Basic Proof Methods II Spring 2020 3 / 13
Examples of Proof by contraposition II
Example 5.2
Let a, b be integers. If ab is even, then either a or b is even.
Dr. Yassir Dinar Section 1.5: Basic Proof Methods II Spring 2020 4 / 13
Proof of P ⇒ Q by Contradiction
Recall that ∼ (P ⇒ Q) ≡ P ∧ ∼ Q
Proof of P ⇒ Q by Contradiction.
Assume P ∧ ∼ Q.
{Use definitions, axioms, properties,algebraic manipulation,
principles of logic, mathematical tricks, etc...}
Therefore, R
Therefore, ∼ R
Hence, R∧ ∼ R a contradiction
Thus, P ⇒ Q
Dr. Yassir Dinar Section 1.5: Basic Proof Methods II Spring 2020 5 / 13
Examples of Proof by Contradiction I
Example 5.3
Let m be an integer. Prove that if m2 is even, then m is even.
Dr. Yassir Dinar Section 1.5: Basic Proof Methods II Spring 2020 6 / 13
Proof of T by Contradiction
Dr. Yassir Dinar Section 1.5: Basic Proof Methods II Spring 2020 7 / 13
Examples Proof by Contradiction II
Example 5.4
√
Prove that 2 is irrational.
Solution.
√ √ p
Assume 2 is rational. Then by definition, 2= q for some integers p, q
2
and q 6= 0. Suppose p and q have no common factors. Then 2 = pq2 ,
which implies 2q 2 = p2 . Then p2 is even which implies p is even.
Hence p = 2k for some integer k. Substituting, 2q 2 = (2k)2 = 4k 2 . Thus
q 2 = 2k 2 , which implies q 2 is even. Therefore, q is even.
Since both p and q are even, then p and q have 2 as a common factor.
This is a contradiction
√ to the assumption that p and q has no common
factor. Therefore, 2 is irrational.
Dr. Yassir Dinar Section 1.5: Basic Proof Methods II Spring 2020 8 / 13
Proof of Contradiction III
Solution.
Suppose that two graphs .... Therefore, two graphs does not intersect.
Dr. Yassir Dinar Section 1.5: Basic Proof Methods II Spring 2020 9 / 13
Proof by Contradiction IV
Example 5.6
The set of prime integers is infinite.
Solution.
Suppose the set of prime numbers is finite. Let p1 , p2 , . . . , pk be all these
prime numbers. Let n = p1 p2 · · · pk + 1. Then n is an integer greater than
1. Then there exist a prime number q divides n. Since q is prime, it
divides the product of all prime numbers (p1 p2 · · · pk ). Hence q divides
n − (p1 p2 · · · pk ) = 1. This gives a contradiction since q > 1. Therefore,
the set of prime numbers is infinite.
Dr. Yassir Dinar Section 1.5: Basic Proof Methods II Spring 2020 10 / 13
Proof of Biconditional
Recall that P ⇔ Q ≡ (P ⇒ Q) ∧ (Q ⇒ P ).
Example 5.7
Let m be integer. Show that m2 is even if and only if m is even.
Solution.
Suppose m2 is even and m is odd.Then, by definition, m = 2t + 1 for some
integer t. m2 = 2(2t2 + 2t) + 1. Since (2t2 + 2t) is an integer. Therefore,
m2 is odd, a contradiction Therefore, if m2 is even, then m is even.
For the converse, suppose m is even. Then m = 2k for some integer k.
Thus m2 = 2(2k 2 ) is even since 2k 2 is an integer. Therefore, if m is even
then m2 is even.
Dr. Yassir Dinar Section 1.5: Basic Proof Methods II Spring 2020 11 / 13
Proof of Biconditional
Biconditional Proof of P ⇔ Q.
P if and only if R1
if and only if R2
···
if and only if Rn
if and only if Q
Example 5.8
Suppose a, b, c and d are real numbers with a 6= 0 and c 6= 0. Show that the lines
y = ax + b and y = cx + d have the same x-intercept if and only if ad = bc.
Solution.
The lines have the same x-intercept if and only if −b/a = −d/c
if and only if −bc = −ad
if and only if ad = bc
Dr. Yassir Dinar Section 1.5: Basic Proof Methods II Spring 2020 12 / 13
Different Proofs of The Same Result