Copyright © Zeph Grunschlag,

Slides:



Advertisements
Similar presentations
Lecture 3 – February 17, 2003.
Advertisements

With examples from Number Theory
Discrete Math Methods of proof 1.
Introduction to Proofs
PROOF BY CONTRADICTION
Chapter 3 Elementary Number Theory and Methods of Proof.
1 In this lecture  Number Theory ● Rational numbers ● Divisibility  Proofs ● Direct proofs (cont.) ● Common mistakes in proofs ● Disproof by counterexample.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
Direct Proof and Counterexample II Lecture 12 Section 3.2 Thu, Feb 9, 2006.
More Number Theory Proofs Rosen 1.5, 3.1. Prove or Disprove If m and n are even integers, then mn is divisible by 4. The sum of two odd integers is odd.
Logic and Proof. Argument An argument is a sequence of statements. All statements but the first one are called assumptions or hypothesis. The final statement.
CSE115/ENGR160 Discrete Mathematics 02/07/12
CSE115/ENGR160 Discrete Mathematics 01/31/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/01/11
1 Indirect Argument: Contradiction and Contraposition.
Introduction to Proofs ch. 1.6, pg. 87,93 Muhammad Arief download dari
EE1J2 – Discrete Maths Lecture 5 Analysis of arguments (continued) More example proofs Formalisation of arguments in natural language Proof by contradiction.
Methods of Proof Lecture 4: Sep 16 (chapter 3 of the book)
Methods of Proof & Proof Strategies
Introduction to Proofs
Introduction to Proofs
1 Methods of Proof CS/APMA 202 Epp, chapter 3 Aaron Bloomfield.
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
Methods of Proof. This Lecture Now we have learnt the basics in logic. We are going to apply the logical rules in proving mathematical theorems. Direct.
CSE 311: Foundations of Computing Fall 2013 Lecture 8: More Proofs.
Review I Rosen , 3.1 Know your definitions!
10/17/2015 Prepared by Dr.Saad Alabbad1 CS100 : Discrete Structures Proof Techniques(1) Dr.Saad Alabbad Department of Computer Science
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
1 Math/CSE 1019C: Discrete Mathematics for Computer Science Fall 2011 Suprakash Datta Office: CSEB 3043 Phone: ext
Methods of Proof Lecture 3: Sep 9. This Lecture Now we have learnt the basics in logic. We are going to apply the logical rules in proving mathematical.
Copyright © Zeph Grunschlag, Induction Zeph Grunschlag.
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 The Foundations: Logic and Proofs Introduction to Proofs.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 3 The Foundations: Logic and Proof,
Methods of Proof Dr. Yasir Ali. Proof A (logical) proof of a statement is a finite sequence of statements (called the steps of the proof) leading from.
Chapter 1: Introduction
Week 4 - Monday.  What did we talk about last time?  Divisibility  Quotient-remainder theorem  Proof by cases.
Method of proofs.  Consider the statements: “Humans have two eyes”  It implies the “universal quantification”  If a is a Human then a has two eyes.
Copyright © Zeph Grunschlag, Induction Zeph Grunschlag.
CS104:Discrete Structures Chapter 2: Proof Techniques.
CSE 311: Foundations of Computing Fall 2013 Lecture 8: Proofs and Set theory.
Introduction to Proofs
Week 4 - Wednesday.  What did we talk about last time?  Divisibility  Proof by cases.
Section 1.7. Definitions A theorem is a statement that can be shown to be true using: definitions other theorems axioms (statements which are given as.
CSE 311 Foundations of Computing I Lecture 8 Proofs Autumn 2012 CSE
1 Introduction to Abstract Mathematics Proof Methods , , ~, ,  Instructor: Hayk Melikya Purpose of Section:Most theorems in mathematics.
Lecture 1.5: Proof Techniques CS 250, Discrete Structures, Fall 2012 Nitesh Saxena Adopted from previous lectures by Cinda Heeren 1.
Methods of Proof Lecture 4: Sep 20 (chapter 3 of the book, except 3.5 and 3.8)
Section 1.7. Section Summary Mathematical Proofs Forms of Theorems Direct Proofs Indirect Proofs Proof of the Contrapositive Proof by Contradiction.
Proof Techniques CS160/CS122 Rosen: 1.5, 1.6, 1.7.
Lecture 2: Proofs and Recursion. Lecture 2-1: Proof Techniques Proof methods : –Inductive reasoning Lecture 2-2 –Deductive reasoning Using counterexample.
The Foundations: Logic and Proofs
Indirect Argument: Contradiction and Contraposition
CSE15 Discrete Mathematics 02/01/17
CSE15 Discrete Mathematics 02/08/17
Indirect Argument: Contradiction and Contraposition
Proof Techniques.
Methods of Proof A mathematical theorem is usually of the form pq
Indirect Argument: Contradiction and Contraposition
The Foundations: Logic and Proofs
Direct Proof and Counterexample II
CS 220: Discrete Structures and their Applications
CS 220: Discrete Structures and their Applications
Section 2.1 Proof Techniques Introduce proof techniques:   o        Exhaustive Proof: to prove all possible cases, Only if it is about a.
Methods of Proof Rosen 1.7, 1.8 Lecture 4: Sept 24, 25.
Indirect Argument: Contradiction and Contraposition
Dr. Halimah Alshehri MATH 151 Dr. Halimah Alshehri Dr. Halimah Alshehri.
Copyright © Cengage Learning. All rights reserved.
Introduction to Proofs
Agenda Proofs (Konsep Pembuktian) Direct Proofs & Counterexamples
Methods of Proof Rosen 1.7, 1.8 Lecture 4: Sept, 2019.
Presentation transcript:

Copyright © Zeph Grunschlag, 2001-2002. Proofs Zeph Grunschlag Copyright © Zeph Grunschlag, 2001-2002.

Agenda Proofs: General Techniques Direct Proof Indirect Proof Proof by Contradiction L14

If k is any integer such that k  1 (mod 3), Proof Nuts and Bolts A proof is a logically structured argument which demonstrates that a certain proposition is true. When the proof is complete, the resulting proposition becomes a theorem, or if it is rather simple, a lemma. For example, consider the proposition: If k is any integer such that k  1 (mod 3), then k 3  1 (mod 9). Let’s prove this fact: L14

Proofs Example PROVE: kZ k 1(mod 3)  k 31(mod 9) L14

Proofs Example PROVE: kZ k 1(mod 3)  k 31(mod 9) k 1(mod 3) L14

Proofs Example PROVE: kZ k 1(mod 3)  k 31(mod 9) k 1(mod 3) n k-1 = 3n L14

Proofs Example PROVE: kZ k 1(mod 3)  k 31(mod 9) k 1(mod 3) n k-1 = 3n n k = 3n + 1 L14

Proofs Example PROVE: kZ k 1(mod 3)  k 31(mod 9) k 1(mod 3) n k-1 = 3n n k = 3n + 1 n k 3 = (3n + 1)3 L14

Proofs Example PROVE: kZ k 1(mod 3)  k 31(mod 9) k 1(mod 3) n k-1 = 3n n k = 3n + 1 n k 3 = (3n + 1)3 n k 3 = 27n 3 + 27n 2 + 9n + 1 L14

Proofs Example PROVE: kZ k 1(mod 3)  k 31(mod 9) k 1(mod 3) n k-1 = 3n n k = 3n + 1 n k 3 = (3n + 1)3 n k 3 = 27n 3 + 27n 2 + 9n + 1 n k 3-1 = 27n 3 + 27n 2 + 9n L14

Proofs Example PROVE: kZ k 1(mod 3)  k 31(mod 9) k 1(mod 3) n k-1 = 3n n k = 3n + 1 n k 3 = (3n + 1)3 n k 3 = 27n 3 + 27n 2 + 9n + 1 n k 3-1 = 27n 3 + 27n 2 + 9n n k 3-1 = (3n 3 + 3n 2 + n)·9 L14

Proofs Example PROVE: kZ k 1(mod 3)  k 31(mod 9) k 1(mod 3) n k-1 = 3n n k = 3n + 1 n k 3 = (3n + 1)3 n k 3 = 27n 3 + 27n 2 + 9n + 1 n k 3-1 = 27n 3 + 27n 2 + 9n n k 3-1 = (3n 3 + 3n 2 + n)·9 m k 3-1 = m·9 L14

Proofs Example PROVE: kZ k 1(mod 3)  k 31(mod 9) k 1(mod 3) n k-1 = 3n n k = 3n + 1 n k 3 = (3n + 1)3 n k 3 = 27n 3 + 27n 2 + 9n + 1 n k 3-1 = 27n 3 + 27n 2 + 9n n k 3-1 = (3n 3 + 3n 2 + n)·9 m k 3-1 = m·9 k 31(mod 9) L14

Direct Proofs Previous was an example of a direct proof. I.e., to prove that a proposition of the form “k P(k)  Q(k)” is true, needed to derive that “Q(k) is true” for any k which satisfied “P(k) is true”. Three basic steps in a direct proof: L14

Direct Proofs Deconstruct Axioms Take the hypothesis and turn it into a usable form. Usually this amounts to just applying the definition. EG: k 1(mod 3) really means 3|(k-1) which actually means n k-1 = 3n L14

Direct Proofs Mathematical Insights Use your human intellect and get at “real reason” behind theorem. EG: looking at what we’re trying to prove, we see that we’d really like to understand k 3. So let’s take the cube of k ! From here, we’ll have to use some algebra to get the formula into a form usable by the final step: L14

Direct Proofs Reconstruct Conclusion This is the reverse of step 1. At the end of step 2 we should have a simple form that could be derived by applying the definition of the conclusion. EG. k 31(mod 9) is readily gotten from m k 3-1 = m·9 since the latter is the definition of the former. L14

Proofs Indirect In addition to direct proofs, there are two other standard methods for proving k P(k)  Q(k) Indirect Proof For any k assume: Q(k) and derive: P(k) Uses the contrapositive logical equivalence: P Q  Q  P L14

Proofs Reductio Ad Absurdum Proof by Contradiction (Reductio Ad Absurdum) For any k assume: P(k)  Q(k) and derive: P(k)  Q(k) Uses the logical equivalence: P Q  P  Q  P  Q  P  Q  (P  Q )  (P  Q )  (P  Q )  (P  Q )  (P  Q )  (P  Q ) Intuitively: Assume claim is false (so P must be true and Q false). Show that assumption was absurd (so P false or Q true) so claim true! L14

Indirect Proof Example PROVE: The square of an even number is even. (Ex. 1.16.b) L14

Indirect Proof Example PROVE: The square of an even number is even. (Ex. 1.16.b) Suppose k 2 is not even. L14

Indirect Proof Example PROVE: The square of an even number is even. (Ex. 1.16.b) Suppose k 2 is not even. So k 2 is odd. L14

Indirect Proof Example PROVE: The square of an even number is even. (Ex. 1.16.b) Suppose k 2 is not even. So k 2 is odd. n k 2 = 2n + 1 L14

Indirect Proof Example PROVE: The square of an even number is even. (Ex. 1.16.b) Suppose k 2 is not even. So k 2 is odd. n k 2 = 2n + 1 n k 2 - 1 = 2n L14

Indirect Proof Example PROVE: The square of an even number is even. (Ex. 1.16.b) Suppose k 2 is not even. So k 2 is odd. n k 2 = 2n + 1 n k 2 - 1 = 2n n (k - 1)(k + 1) = 2n L14

Indirect Proof Example PROVE: The square of an even number is even. (Ex. 1.16.b) Suppose k 2 is not even. So k 2 is odd. n k 2 = 2n + 1 n k 2 - 1 = 2n n (k - 1)(k + 1) = 2n 2 | (k - 1)(k + 1) L14

Indirect Proof Example PROVE: The square of an even number is even. (Ex. 1.16.b) Suppose k 2 is not even. So k 2 is odd. n k 2 = 2n + 1 n k 2 - 1 = 2n n (k - 1)(k + 1) = 2n 2 | (k - 1)(k + 1) 2 | (k - 1)  2 | (k + 1) since 2 is prime L14

Indirect Proof Example PROVE: The square of an even number is even. (Ex. 1.16.b) Suppose k 2 is not even. So k 2 is odd. n k 2 = 2n + 1 n k 2 - 1 = 2n n (k - 1)(k + 1) = 2n 2 | (k - 1)(k + 1) 2 | (k - 1)  2 | (k + 1) since 2 is prime a k - 1 = 2a  b k+1 = 2b L14

Indirect Proof Example PROVE: The square of an even number is even. (Ex. 1.16.b) Suppose k 2 is not even. So k 2 is odd. n k 2 = 2n + 1 n k 2 - 1 = 2n n (k - 1)(k + 1) = 2n 2 | (k - 1)(k + 1) 2 | (k - 1)  2 | (k + 1) since 2 is prime a k - 1 = 2a  b k+1 = 2b a k = 2a + 1  b k = 2b – 1 L14

Indirect Proof Example PROVE: The square of an even number is even. (Ex. 1.16.b) Suppose k 2 is not even. So k 2 is odd. n k 2 = 2n + 1 n k 2 - 1 = 2n n (k - 1)(k + 1) = 2n 2 | (k - 1)(k + 1) 2 | (k - 1)  2 | (k + 1) since 2 is prime a k - 1 = 2a  b k+1 = 2b a k = 2a + 1  b k = 2b – 1 In both cases k is odd L14

Indirect Proof Example PROVE: The square of an even number is even. (Ex. 1.16.b) Suppose k 2 is not even. So k 2 is odd. n k 2 = 2n + 1 n k 2 - 1 = 2n n (k - 1)(k + 1) = 2n 2 | (k - 1)(k + 1) 2 | (k - 1)  2 | (k + 1) since 2 is prime a k - 1 = 2a  b k+1 = 2b a k = 2a + 1  b k = 2b – 1 In both cases k is odd So k is not even L14

Rational Numbers an Easier Characterization Recall the set of rational numbers Q = the set of numbers with decimal expansion which is periodic past some point (I.e. repeatinginginginginging…) Easier characterization Q = { p/q | p,q are integers with q  0 } Prove that the sum of any irrational number with a rational number is irrational: L14

Reductio Ad Absurdum Example –English! You don’t have to use a sequence of formulas. Usually an English proof is preferable! EG: Suppose that claim is false. So [x is rational and y irrational] [=P] and [x+y is rational] [= Q]. But y = (x+y ) - x. The difference of rational number is rational since a/b – c/d = (ad-bc)/bd. Therefore [y must be rational] [implies P ]. This contradicts the hypotheses so the assumption that the claim was false was incorrect and the claim must be true.  You don’t need the bracketed symbols: [=P] [= Q] [ P  P  Q ] In the actual proof. These are added to point out where the symbolic version of Reductio Ad Absurdum is really being used. L14

Proofs Disrefutation Disproving claims is often much easier than proving them. Claims are usually of the form k P(k). Thus to disprove, enough to find one k –called a counterexample– which makes P(k) false. L14

Disrefutation by Counterexample Disprove: The product of irrational numbers is irrational. L14

Blackboard Exercise for 3.1 Proof that the square root of 2 is irrational L14