Give reasons for all steps in a proof

advertisement
Chapter 2 A Primer of Mathematical Writing (Proofs)
Types of proofs
Give reasons for all steps in a proof
Proposition 1: (p. 87) Other than 3, 4 there is no pair of consecutive
integers where the first is a prime number and the second is a
perfect square.
Theorem 2: For all integers n > 4, if n is a perfect square, then n –
1 is not a prime number.
Tracing proofs
Alternate proof of Theorem 2
Section 2.2 Proofs about numbers
An integer n is even if
An integer m is odd if
Closure Property of the Integers: Whenever the operation of
addition, subtraction or multiplication is applied to integers, the
result is an integer.
Proposition 3: The result of summing an odd integer and an even
integer is an odd integer.
Correct proof:
Incorrect proof:
Proposition 5: If n is even then n2 is divisible by 4.
Proposition 6: For all integers n, if n2 is even then n is even.
Example: Prove that if n + 1 separate passwords are issued to n
students, then some student gets ≥ 2 passwords.
More Proofs About Numbers
An integer n is divisible by
Prove or disprove: If n is an odd integer, then n2 - 1 is divisible by 8.
If integers m and n are both divisible by 3 then
1. n + m is also divisible by 3.
2. m•n is divisible by 9.
3. n2 + 3n is divisible by 9.
Prop. 4: For any nonzero integer d, if integers m and n are both
divisible by d, then m + n is also divisible by d.
Definition: A real number r is rational if there exist integers a and
b (b 0) with r = a/b. Rational numbers (also called fractions) can
be expressed in many equivalent ways. (1/2 = 2/4 = 3/6 = …)It is
always possible to choose the integers a and b with no common
divisors greater than 1. Such numbers are called relatively prime.
2. A real number is irrational if it is not rational.
More Examples
Example 1: Prove that the sum of two rational numbers is rational
Example 2: Prove or disprove the product of two irrational
numbers is irrational.
Example 3: Prove that for every integer n, 3(n2 + 2n + 3) – 2n2 is a
perfect square.
Proposition 6: For any integer n, n2 + n is even.
Example 4: Prove n3 – n is divisible by 3 for all n ≥ 0
Example 5: The difference of two consecutive cubes is odd.
Proving by cases
Prove that for any two numbers x and y, |x + y|  |x| + |y|
Case 1: x > 0 and y > 0
Case 2: x > 0, y < 0
Case 3: y > 0, x < 0
Case 4: x < 0, y < 0
Example 6: Prove or disprove there exist three consecutive odd
primes.
Example 7: Prove or disprove that given a positive integer n there
exist n consecutive odd positive integers that are prime.
The Division Theorem
Theorem 8: For all integers a and b with b > 0, there is an integer
q (the quotient) and an integer r (the remainder) such that
1. a = b•q + r
2. 0  r < b
Proposition 9: If n is any integer not divisible by 5 then n has a
square that is either of the form 5k + 1 or 5k + 4.
Definition: We write a mod b = r to mean that r is the remainder
when a is divided by b. (i.e. a = b•q + r and 0  r < b)
Proving the equivalence of three or more statements
Prove that if n is an integer, then the following four statements
are equivalent:
(1) n is even
(2) n + 1 is odd
(3) 3n + 1 is odd
(4) 3n is even
Proof Techniques
Proof Technique
Exhaustive
Proof
Direct Proof
How to prove P  Q
Show P  Q for all
possible cases
Assume P, deduce Q
Comments
Only works for a finite
number of cases.
The standard
approach to try.


Contrapositive
Assume Q, deduce P Use if Q as a
(Indirect) Proof
hypothesis seems to
give more information
to work with.
Contradiction
Assume P Λ Q, deduce Try this approach
when Q says
a contradiction
something is not true.
Proof by Cases
Break the domain into
Try this for proving
two or more subsets
properties of numbers
and prove PQ for the where odd and even
elements in each such or positive and
negative numbers
subset.
require different
proofs.
Counterexample Prove statement false
Used to show that
by finding one value for PQ is false.
P such that Q is false.
Existence
Find one explicit
This is the only time
solution
you may "prove by
(e.g. there exists an
example"
even prime number)
Modification of Table 2.2 p. 91 Gersting
Download