Chapter 5 Existence and Proof by contradiction

Slides:



Advertisements
Similar presentations
With examples from Number Theory
Advertisements

Introduction to Proofs
PROOF BY CONTRADICTION
Chapter 3 Elementary Number Theory and Methods of Proof.
Chapter 3 Direct Proof and Proof by Contrapositive
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Elementary Number Theory and Methods of Proof
Copyright © Cengage Learning. All rights reserved.
22C:19 Discrete Structures Logic and Proof Spring 2014 Sukumar Ghosh.
CSE115/ENGR160 Discrete Mathematics 01/31/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/01/11
Logic: Connectives AND OR NOT P Q (P ^ Q) T F P Q (P v Q) T F P ~P T F
So far we have learned about:
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2.1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
Introduction to Proofs ch. 1.6, pg. 87,93 Muhammad Arief download dari
Introduction to Proofs Goals 1.Introduce notion of proof & basic proof methods. 2.Distinguish between correct & incorrect arguments 3.Understand & construct.
ELEMENTARY NUMBER THEORY AND METHODS OF PROOF
C OURSE : D ISCRETE STRUCTURE CODE : ICS 252 Lecturer: Shamiel Hashim 1 lecturer:Shamiel Hashim second semester Prepared by: amani Omer.
Methods of Proof & Proof Strategies
Chapter 6 Mathematical Induction
Introduction to Proofs
Mathematical Induction. F(1) = 1; F(n+1) = F(n) + (2n+1) for n≥ F(n) n F(n) =n 2 for all n ≥ 1 Prove it!
Introduction to Proofs
MATH 224 – Discrete Mathematics
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.
Section 1.8. Section Summary Proof by Cases Existence Proofs Constructive Nonconstructive Disproof by Counterexample Nonexistence Proofs Uniqueness Proofs.
CSci 2011 Discrete Mathematics Lecture 6
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 © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
Section 3.3: Mathematical Induction Mathematical induction is a proof technique that can be used to prove theorems of the form:  n  Z +,P(n) We have.
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 The Foundations: Logic and Proofs Introduction to Proofs.
Applications of Differentiation Section 4.2 The Mean Value Theorem
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
APPLICATIONS OF DIFFERENTIATION 4. We will see that many of the results of this chapter depend on one central fact—the Mean Value Theorem.
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 © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
CS104:Discrete Structures Chapter 2: Proof Techniques.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
Introduction to Proofs
1 CMSC 250 Chapter 3, Number Theory. 2 CMSC 250 Introductory number theory l A good proof should have: –a statement of what is to be proven –"Proof:"
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.
1 Introduction to Abstract Mathematics Proof Methods , , ~, ,  Instructor: Hayk Melikya Purpose of Section:Most theorems in mathematics.
Section 1.8. Proof by Cases Example: Let b = max{a, b} = a if a ≥ b, otherwise b = max{a, b} = b. Show that for all real numbers a, b, c
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 And Strategies Chapter 2. Lecturer: Amani Mahajoub Omer Department of Computer Science and Software Engineering Discrete Structures Definition Discrete.
Introduction to Proofs Goals 1.Introduce notion of proof & basic proof methods. 2.Distinguish between correct & incorrect arguments 3.Understand & construct.
Chapter 1 Logic and Proof.
The Foundations: Logic and Proofs
Indirect Argument: Contradiction and Contraposition
Indirect Argument: Two Classical Theorems
Direct Proof by Contraposition Direct Proof by Contradiction
Proof methods We will discuss ten proof methods: Direct proofs
Methods of Proof CS 202 Epp, chapter 3.
Predicate Calculus Validity
Chapter 1: The Foundations: Logic and Proofs
The Foundations: Logic and Proofs
Indirect Proof by Contradiction Direct Proof by Cases
CS 220: Discrete Structures and their Applications
Copyright © Cengage Learning. All rights reserved.
Foundations of Discrete Mathematics
Copyright © Cengage Learning. All rights reserved.
Agenda Proofs (Konsep Pembuktian) Direct Proofs & Counterexamples
Proof: [We take the negation and suppose it to be true.]
Introduction to Proofs
Presentation transcript:

Chapter 5 Existence and Proof by contradiction 5.1 Counterexamples 5.2 Proof by Contradiction 5.3* A Review of Three Proof Techniques 5.4 Existence Proofs 5.5 Disproving Existence Statements

Section 5.1 Counterexamples Notice that some quantified statements of the type xS, R(x)are false. We have seen that  (x  S, R(x))   x  S,  R(x), that is, xS, R(x)is false, then there exists some element xS for which R(x) is false. Such an element x is called a counterexample of the statement xS, R(x). Finding a counterexample verifies that xS, R(x) is false.

Examples Example: Consider the statement: If x  R, then (x2-1)2>0. Show that this is false by exhibiting a counterexample. Solution: For x=1, (x2-1)2=(12-1)2=0. Thus x=1 is a counterexample. If a statement P is shown to be false in some manner, then P is said to be disproved. Example Disprove the statement: For every odd positive integer n, 3 | (n2-1). Solution: Since 3 (32-1), it follows that n=3 is a counterexample.

Counterexample for x  S, P(x)Q(x) We see that a quantified statement of the type x  S, R(x) is false if  x  S,  R(x) is true. Similarly, the quantified statement x  S, P(x)Q(x) is false if  x  S,  (P(x)Q(x)) is true, Where  (P(x)Q(x))  P(x)  ( Q(x)). Thus, x  S, P(x)Q(x) is false if  x  S, (P(x)  ( Q(x))). That is, to show that x  S, P(x)Q(x) is false, we need to exhibit a counterexample, which is then an element x  S for which P(x) is true and Q(x) is false.

Examples Example Disprove the statement: Let n  Z. If n2+3n is even, then n is odd. Solution: If n=2, then n2+3n= 22+3(2)=10 is even and 2 is even. Thus n=2 is a counterexample. Show that the statement: Let n  Z. If 4 | (n2-1), then 4 | (n-1) is false. Solution: Since 4 | (32-1) but 4 (3-1), it follows that n=3 is a counterexample.

Section 5.2 Proof by Contradiction Suppose that we would like to show that a certain mathematical statement R is true. We may assume R is false statement and, from this assumption, we are able to arrive at or deduce a statement that contradicts some assumption we made in the proof or some known fact. Therefore, we have established the truth of the implication ( R) C However, because ( R) C is true and C is false, it follows that  R is false and so R is true, as desired. This technique is called proof by contradiction. Often a proof by contradiction begins with Suppose that R is false. or Assume, to the contrary, that R is false.

Proof by Contradiction Cont. If R is the statement x  S, P(x)Q(x), then a proof by contradiction of the statement consists of verifying the implication (x  S, P(x)Q(x))  C for some contradiction C. Note that (x  S, P(x)Q(x))   x  S, (P(x)  ( Q(x))), it follows that a proof by contradiction of x  S, P(x)Q(x) might begin with Assume, to the contrary, that there exists some element x  S for which P(x) is true and Q(x) is false. The remainder of the proof then consists of showing that this assumption leads to a contradition.

Example Result: There is no smallest positive real number. Proof: Assume, to the contrary, that there is a smallest positive real number, say r. Since 0<r/2<r, it follows that r/2 is a positive real number that is smaller than r. This, however, is a contradiction. #

Example Result: If a is an even integer and b is an odd integer, then 4 (a2+2b2). Proof: Assume, to the contrary, that there exists an even integer a and an odd integer b such that 4|(a2+2b2). Thus a=2x, b=2y+1, and a2+2b2=4z for some integer x, y, and z. Hence (2x)2+2(2y+1)2=4z. Simplifying, we obtain 4x2+8y2+8y+2=4z or, equivalently, 2=4z-4x2-8y2-8y= 4(z-x2-2y2-2y). Since z-x2-2y2-2y is an integer, 4 | 2, which is impossible. #

y=c/d-a/b=(bc-ad)/bd. Example The following results concern irrational numbers. Recall that a real number is rational if it can be expressed as m/n for some m, n  Z, where n0. A real number is irrational if it is not rational. Result: The sum of a rational number and an irrational number is irrational. Proof: Assume, to the contrary, that there exist a rational number x and an irrational number y whose sum is a rational number z. Thus x+y=z, where x=a/b and z=c/d for some integers a, b, c, d  Z and b, d 0. This implies that y=c/d-a/b=(bc-ad)/bd. Since bc-ad and bd are integers and bd 0 it follows that y is rational, which is a contradiction. #

Section 5.3 A Review of Three Proof Techniques In order to prove the truth of a statement x  S, P(x)Q(x), we have been introduced to three proof techniques: direct proof, proof by contrapositive, and proof by contradiction. Prove x  S, P(x)Q(x). If we use a direct proof, then Assume that P is true, and show that Q is true. If we use a proof by contrapositive, then Assume that Q is false, and show that P is false. If we use a proof by contradiction, then Assume that P Q is false, and obtain a contradiction.

Section 5.4 Existence Proofs An existence theorem concerning an open sentence R(x) over a domain S can be expressed as a quantified statement  x  S, R(x): There exists x  S such that R(x). Such a statement is true provided that R(x) is true for some x  S. A proof of existence theorem is called an existence proof. An existence proof may consist of displaying or constructing an example of such an object or perhaps, with the aid of known results, verifying that such objects must exist without every producing a single example of the desired example.

Example Result. There exists an integer whose cube equals its square. Proof: Since 13=12=1, the integer 1 has the desired property. # Result. There exist real numbers a and b such that (a+b)2=a2+b2. Proof: Let a=1 and b=0. Then (a+b)2=(1+0)2=12=12+02=a2+b2.

Example Result: There exist irrational numbers a and b such that ab is rational. Proof. Consider the number . This is either rational or irrational. We consider two cases. Case 1: is rational. Then we can take a=b= , and we have the desired result. Case 2: is irrational. In this case, consider ab, where a= and b= . Observe that ab= Which is rational. #

Existence of Solutions Recall Intermediate Value Theorem of Calculus If f is a function that is continuous on the closed interval [a, b] and k is a number between f(a) and f(b), then there exists a number c  (a, b) such that f(c)=k.

Example Result. The equation x5+2x-5=0 has a real number solution between x=1 and x=2. Proof. Let f(x)=x5+2x-5. Since f is a polynomial function, it is continuous on R and so f is continuous on [1, 2]. Now f(1)=-2 and f(2)=31. Since 0 is between f(1) and f(2), it follows by the Intermediate Value Theorem of Calculus that there is a number c between 1 and 2 such that f(c)= c5+2c-5=0. Hence c is a solution. #

Uniqueness An element belonging to some prescribed set A and possessing a certain property P is unique if it is the only element of A having property P. Typically, to prove that only one element of A having property P, we proceed in one of two ways: We assume that a and b are elements of A possessing property P and show that a=b. (direct proof) (2) We assume that a and b are distinct elements of A possessing property P and show that a=b. (proof by contradiction)

Example Result. The equation x5+2x-5=0 has a unique real number solution between x=1 and x=2. Proof. Assume, to the contrary, that the equation x5+2x-5=0 has two distinct real number solutions a and b between x=1 and x=2. We may assume that a<b. Since 1<a<b<2, it follows that a5+2a-5< b5+2b-5. On the other hand, a5+2a-5= b5+2b-5=0, which produces a contradiction. #

Section 5.5 Disproving Existence Statements To disprove a quantified statement of the type  x  S, R(x) requires a different approach. Note ( x  S, R(x))   x  S,  R(x), It follows that the statement  x  S, R(x) is false if R(x) is false for every x  S. Result: Disprove the statement: There is a real number x such that x6+2x4+x2+2=0. Solution: Let x  R. Since x6 ,x4, and x2 are all even powers of the real number x, it follows that x60, x4 0, and x2 0. Therefore, x6+2x4+x2+22 and so x6+2x4+x2+20. Hence the equation x6+2x4+x2+2=0 has no real number solution. #