Chapter 1 P 4
Chapter 1 P 4
Mathematical Proofs
Forms of Theorems
Direct Proofs
Indirect Proofs
• Proof of the Contrapositive
• Proof by Contradiction
r = p / q, s = t / u , u ≠ 0, q ≠ 0
p t pu + qt v
r+s= + = = where v = pu + qt
q u qu w w = qu ≠ 0
a2
2= 2 2b 2 = a 2
b
Therefore a2 must be even. If a2 is even then a must be even (an exercise). Since
a is even, a = 2c for some integer c. Thus,
2b 2 = 4c 2 b 2 = 2c 2
Therefore b2 is even. Again then b must be even as well.
But then 2 must divide both a and b. This contradicts our assumption that a
and b have no common factors. We have proved by contradiction that our
initial assumption must be false and therefore √2 is irrational.
© 2019 McGraw-Hill Education
Proof by Contradiction 2
r = p1 × p2 × … × pn + 1
None of the prime numbers on the list divides r.
Therefore, by a theorem in Chapter 4, either r is prime or
there is a smaller prime that divides r. This contradicts
the assumption that there is a largest prime. Therefore,
there is no largest prime.
© 2019 McGraw-Hill Education
Theorems that are Biconditional Statements
To prove a theorem that is a biconditional statement, that
is, a statement of the form p ↔ q, we show that p → q
and q →p are both true.
Example: Prove the theorem: “If n is an integer, then n is
odd if and only if n2 is odd.”
Solution: We have already shown (previous slides) that
both p →q and q →p. Therefore we can conclude p ↔ q.
Sometimes iff is used as an abbreviation for “if and only if,” as in
“If n is an integer, then n is odd iff n2 is odd.”
Proof by Cases
Existence Proofs
• Constructive
• Nonconstructive
Disproof by Counterexample
Nonexistence Proofs
Uniqueness Proofs
Proof Strategies
Proving Universally Quantified Assertions
(p1 ∨ p2 ∨ … ∨ pn )→ q
Use the tautology
⎡⎣(p1 ∨ p2 ∨ … ∨ pn )→ q ⎤⎦ ↔
⎡⎣(p1 → q )∧ (p2 → q )∧ … ∧ (pn → q )⎤⎦
Case 1: a ≥ b ≥ c
(a @ b) = a, a @ c = a, b @ c = b
Hence (a @ b) @ c = a = a @ (b @ c)
Therefore the equality holds for the first case.
A complete proof requires that the equality be
shown to hold for all 6 cases. But the proofs of
the remaining cases are similar. Try them.
Step n-1: Player2 will have to leave such a pile if the pile that he/she is faced with has 4 stones.
Step n-2: Player1 can leave 4 stones when there are 5,6, or 7 stones left at the beginning of his/her
turn.
Step n-3: Player2 must leave such a pile, if there are 8 stones .
Step n-4: Player1 has to have a pile with 9,10, or 11 stones to ensure that there are 8 left.
Step n-5: Player2 needs to be faced with 12 stones to be forced to leave 9,10, or 11.
Now reasoning forward, the first player can ensure a win by removing 3 stones and leaving 12.
To prove theorems of the form ∀xP (x) ,assume x is an arbitrary member of the
domain and show that P(x) must be true. Using UG it follows that ∀xP (x) .
Example: An integer x is even if and only if x2 is even.
Solution: The quantified assertion is
∀x [x is even ↔ x2 is even]
We assume x is arbitrary.
Recall that P ↔ q is equivalent to (P → q ) ∧ (q → p )
So, we have two cases to consider. These are considered in turn.
Two Dominoes
Dominoes
Nonstandard Checkerboard
Solution:
There are 62 squares in this board.
To tile it we need 31 dominos.
Key fact: Each domino covers one black and one white
square.
Therefore the tiling covers 31 black squares and 31 white
squares.
Our board has either 30 black squares and 32 white
squares or 32 black squares and 30 white squares.
Contradiction!
© 2019 McGraw-Hill Education