Professional Documents
Culture Documents
Tannaz R.Damavandi
Cal Poly Pomona
Credit for some of the slides in this lecture goes to : © 2014 by W.H. Freeman and Company & Dr.Fang Tang @ Cal Poly Pomona
Outline
2
Deductive reasoning
Proof by exhaustion
Direct proof
Proof by contraposition
Serendipity
Inductive Reasoning vs. Deductive Reasoning
6
• Suppose you are doing some research in some subject that you don’t know if it
is true or not.
• Inductive reasoning: draw a conclusion based on experience.
You observe a number of cases in which whenever P is true, Q is also true.
On the basis of these experiences, you may formulate a conjecture: P Q.
The more cases you find where Q follows from P, the more confident your
are in your conjecture. (Draw a conclusion based on experience)
But no matter how reasonable the conjecture sounds, you will not be
satisfied.
For more info:
https://www.math.toronto.edu/mathnet/questionCorner/deductive.html
Inductive Reasoning vs. Deductive Reasoning
7
Deductive reasoning: verify the truth or falsity of a conjecture
• Either produce a proof for P Q
• Or find a counterexample that disproves the conjecture, where P is true
and Q is false.
• In counterexample you need to prove (x)P(x) is NOT true, thus
[(x)P(x)]’ is true by showing (x)[P(x)]’
n n! n2 n!≤ n2
1 1 1 Yes
2 2 4 Yes
3 6 9 Yes
4 24 16 No
n=4 is a counterexample.
Practice
9
Provide counterexample to the following conjectures.
• Example: Consider the conjecture “x is an even integer Λ y is an even integer the product xy is
an even integer.”
• Example: Prove that if the square of an integer is odd, then the integer must
be odd
Hence, prove n2 odd n odd
To do a proof by contraposition prove n even n2 even
If n is even, then it can be written as 2m where m is an integer, i.e. even/odd.
Then, n2 = 4m2 which is always even no matter what m2 is because of the
factor 4.
Proof by Contradiction (Indirect proof)
18
Prove that “If a number added to itself gives itself, then the number
is 0.”
• The hypothesis (P) is x + x = x and the conclusion (Q) is x = 0.
Hence, the hypotheses for the proof by contradiction are:
• x + x = x and x 0 (the negation of the conclusion)
• Then 2x = x and x 0, hence dividing both sides by x, the
result is 2 = 1, which is a contradiction.
Hence, (x + x = x) (x = 0).
Serendipity
20 Serendipity: Fortuitous happening or something by chance or good
luck.
Not a formal proof technique.
Interesting proofs provided by this method although other methods
can be used as well.
Example: 342 players in a tennis tournament. One winner in the end. Each
match is between two players with exactly one winner and the loser gets
eliminated. Prove the total number of matches played in the tournament are
341.
Solution: Only one champion at the end of the tournament, hence 341
losers at the end, hence 341 matches should have been played to have
341 losers.
Summarizing Proof techniques
21
Source :study.com/academy/lesson/inductive-and-deductive-reasoning.html
First principle of Induction
25
First Principle:
P(1) is true
P(n) is true for all positive integers n
(k)P(k) true P(k+1) true
Inductive proof:
P(1) is the basis step.
We assume P(k) is true to prove the inductive step, P(k) is called the
inductive assumption or inductive hypothesis.
To prove something true for all n≥ some value, think induction.
Steps To Prove By First Principle of Induction
26
P(1) is true
P(n) is true for all positive integers n
P(r) true for all r, 1rk P(k+1) true
Why are the additional cases p(9) and p(10) proved separately?
To verify P(k+1) we subtract 3 from k+1. For the inductive hypothesis to hold it must (k+1)-3 ≥ 8 , so
k+1 ≥11. Therefore implication cannot be used to verify P(9) or P(10).
Use the second principal when information about “one position back” is not good
enough.
The truth of P(k) is not good enough to prove P(K+1).
The truth of P(r) for one or more values of r is/are enough to prove
P(K+1).
r : values “farther back” than k.