Professional Documents
Culture Documents
Proofs
Summary
Homework Review
Introduction to Proofs
Section 1.7
Section Summary
Mathematical Proofs
Forms of Theorems
Direct Proofs
Indirect Proofs
Some Terminology
definitions
other theorems
axioms (statements which are given as true) See Appendix 1
rules of inference
http://www.math.sjsu.edu/~
hsu/courses/131a/axioms.pdf
http://www.math.washington.edu/~lee/Courses/300
-2011/axioms-for-R.pdf
Forms of Theorems
really means
For all positive real numbers x and y, if x > y, then x2 >
y2 .
Proving Theorems
Remember:
A theorem is a statement that can be shown to
be true using:
definitions
other theorems
We will need
this basicwhich
factareabout
the
axioms (statements
given as
true)integers
of inference
in some rules
of the
example proofs to follow. We
Proof Methods
3 Methods
Direct Proof
Indirect/Contraposition Proof
Proof by Contradiction
Direct Proof: Assume that p is true. Use rules of inference, axioms, and
logical equivalences to show that q must also be true.
Example:
Give a direct proof of the theorem If n is an odd integer, then n2 is odd.
Solution:
Assume that n is odd.
Then n = 2k + 1 for an integer k.
Squaring both sides of the equation, we get:
n2 = (2k + 1)2
= 4k2 + 4k +1
= 2(2k2 + 2k) + 1
= 2r + 1,
where r = 2k2 + 2k , an integer.
We have proved that if n is an odd integer, then n2 is an odd integer.
(
marks the end of the proof. Sometimes QED or is used
instead. )
Proof by Contraposition
Assume q and show p is true also. This is sometimes
Proof by Contraposition
Example: Prove that for an integer n, if n2 is odd, then n is odd.
Solution: Use proof by contraposition.
Assume n is even (i.e., not odd).
Therefore, there exists an integer k such that n = 2k.
Hence, n2
= 4k2
= 2 (2k2)
and n2 is even (i.e., not odd).
We have shown that if n is an even integer, then n2 is even.
Therefore by contraposition, for an integer n, if n2 is odd, then n
is odd.
Proof by Contradiction
Proof by Contradiction: We begin by assuming p ~q is true until
we reach a contradiction.
(Continued)
Since a2 is even, it follows that a is even, so a =
2c for some integer c.
Now plug a = 2c back into contradiction a 2 - 4b
= 2.
We get
(2c)2 - 4b = 2
so 4c2 - 4b = 2.
Dividing by 2, we get 2c2-2b = 1.
Therefore 1 = 2(c2 - b), and since c2 - b is an
integer, it follows that 1 is even. We know one is
not even!!! Therefore our proposition is true!
Looking Ahead
Questions?