1 Indirect Argument: Contradiction and Contraposition.

Slides:



Advertisements
Similar presentations
Tutorial 2: First Order Logic and Methods of Proofs
Advertisements

Discrete Mathematics Lecture 3
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.
(CSC 102) Lecture 12 Discrete Structures. Previous Lecture Summary Floor and Ceiling Functions Definition of Proof Methods of Proof Direct Proof Disproving.
3.3 Divisibility Definition If n and d are integers, then n is divisible by d if, and only if, n = dk for some integer k. d | n  There exists an integer.
Elementary Number Theory and Methods of Proof
Quotient-Remainder Theory, Div and Mod
CSE115/ENGR160 Discrete Mathematics 01/31/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/01/11
CMSC 250 Discrete Structures Number Theory. 20 June 2007Number Theory2 Exactly one car in the plant has color H( a ) := “ a has color”  x  Cars –H(
So far we have learned about:
Copyright © Zeph Grunschlag,
Introduction to Proofs ch. 1.6, pg. 87,93 Muhammad Arief download dari
1 Section 3.3 Mathematical Induction. 2 Technique used extensively to prove results about large variety of discrete objects Can only be used to prove.
Methods of Proof Lecture 4: Sep 16 (chapter 3 of the book)
1 Number Theory and Methods of Proof Content: Properties of integer, rational and real numbers. Underlying theme: Methods of mathematical proofs.
ELEMENTARY NUMBER THEORY AND METHODS OF PROOF
Methods of Proof & Proof Strategies
Introduction to Proofs
1 Georgia Tech, IIC, GVU, 2006 MAGIC Lab Rossignac Lecture 03: PROOFS Section 1.5 Jarek Rossignac CS1050: Understanding.
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
Ch 1.5: Basic Proof Methods II Proof by Contraposition of P => Q Suppose ~Q …proof details here…. Therefore, ~P (via a direct proof) Thus, ~Q => ~P. Therefore,
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.
CS 173, Lecture B August 27, 2015 Tandy Warnow. Proofs You want to prove that some statement A is true. You can try to prove it directly, or you can prove.
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.
Chapter 5 Existence and Proof by contradiction
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.
1 Methods of Proof Proof techniques in this handout –Direct proof –Division into cases –Proof by contradiction In this handout, the proof techniques will.
Logical Reasoning:Proof Prove the theorem using the basic axioms of algebra.
Proof By Contradiction Chapter 3 Indirect Argument Contradiction Theorems and pg. 171.
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 The Foundations: Logic and Proofs Introduction to Proofs.
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.
Week 4 - Monday.  What did we talk about last time?  Divisibility  Quotient-remainder theorem  Proof by cases.
Copyright © Curt Hill Proofs An Introduction.
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.
CS104:Discrete Structures Chapter 2: Proof Techniques.
Week 3 - Monday.  What did we talk about last time?  Predicate logic  Multiple quantifiers  Negating multiple quantifiers  Arguments with quantified.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
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.
5-5 Indirect Proof. Indirect Reasoning: all possibilities are considered and then all but one are proved false. The remaining possibility must be true.
Methods of Proof Lecture 4: Sep 20 (chapter 3 of the book, except 3.5 and 3.8)
CS 173, Lecture B August 27, 2015 Tandy Warnow. Proofs You want to prove that some statement A is true. You can try to prove it directly, or you can prove.
Dr Nazir A. Zafar Advanced Algorithms Analysis and Design Advanced Algorithms Analysis and Design By Dr. Nazir Ahmad Zafar.
Chapter 1 Logic and Proof.
Methods of Proof Proof techniques in this handout
Indirect Argument: Contradiction and Contraposition
CSE15 Discrete Mathematics 02/01/17
Indirect Argument: Two Classical Theorems
Direct Proof by Contraposition Direct Proof by Contradiction
Discrete Math for CS CMPSC 360 LECTURE 4 Last time and recitations:
Indirect Proof by Contradiction Direct Proof by Cases
CS 220: Discrete Structures and their Applications
Methods of Proof Rosen 1.7, 1.8 Lecture 4: Sept 24, 25.
Elementary Number Theory & Proofs
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
Proof: [We take the negation and suppose it to be true.]
Introduction to Proofs
Methods of Proof Rosen 1.7, 1.8 Lecture 4: Sept, 2019.
Presentation transcript:

1 Indirect Argument: Contradiction and Contraposition

2 Method of Proof by Contradiction 1.Suppose the statement to be proved is false. 2.Show that this supposition logically leads to a contradiction. 3.Conclude that the statement to be proved is true.

Method of Proof by Contradiction (Ex.) Theorem: There is no least positive rational number. Proof: Suppose the opposite:  least positive rational number x. That is,  x  Q + s.t. for  y  Q +, y≥x. (1) Consider the number y*=x/2. x>0 implies that y*=x/2>0.(2) x  Q implies that y*=x/2  Q.(3) x>0 implies that y*=x/2<x.(4) Based on (2),(3),(4), y*  Q + and y<x. This contradicts (1). Thus, the supposition is false and there is no least positive rational number. ■

4 Method of Proof by Contraposition 1. Express the statement to be proved in the form:  x  D, if P(x) then Q(x). 2. Rewrite in the contrapositive form:  x  D, if Q(x) is false then P(x) is false. 3. Prove the contrapositive by a direct proof: (a) Suppose x is an element of D such that Q(x) is false. (b) Show that P(x) is false.

5 Method of Proof by Contraposition (Example) Proposition 1: For any integer n, if n 2 is even then n is also even. Proof: The contrapositive is: For any integer n, if n is not even then n 2 is not even. (1) Let’s show (1) by direct proof. Suppose n is not even. Then n is odd. So n=2k+1 for some k  Z. Hence n 2 =(2k+1) 2 =4k 2 +4k+1 Thus, n 2 is not even. ■

6 Comparison of Contradiction and Contrapositive methods Advantage of contradiction method: –Contrapositive method only for universal conditional statements. –Contradiction method is more general. Advantage of contrapositive method: –Easier structure: after the first step, Contrapositive method requires a direct proof. –Contradiction method normally has more complicated structure.

When to use indirect proof  Statements starting with “There is no”. (E.g., “There is no greatest integer” ).  If the negation of the statement deals with sets which are easier to handle with. (E.g., “ is irrational”; rational numbers are more structured and easier to handle with than irrational numbers).  If the infinity of some set to be shown. (E.g., “The set of prime numbers is infinite” ).

8 Method of Proof by Contradiction (Ex.) Theorem: is irrational. Proof: Assume the opposite:is rational. Then by definition of rational numbers, (1) where m and n are integers with no common factors. ( by dividing m and n by any common factors if necessary) Squaring both sides of (1), Then m 2 =2n 2 (by basic algebra) (2)

Method of Proof by Contradiction (Ex.) Proof (cont.): (2) implies that m 2 is even. (by definition) Then m is even. (by Proposition 1)(3) So m=2k for some integer k. (by definition)(4) By substituting (4) into (2): 2n 2 = m 2 =(2k) 2 = 4k 2. By dividing both sides by 2, n 2 = 2k 2. Thus, n 2 is even (by definition) and n is even (by Prop. 1).(5) Based on (3) and (5), m and n have a common factor of 2. This contradicts (1). ■

10 Infinity of Prime Numbers Infinity of Prime Numbers Lemma 1: For any integer a and any prime number p, if p|a then p doesn’t divide a+1. Proof (by contradiction): Assume the opposite: p|a and p|(a+1). Then a=p·n and a+1=p·m for some n,m  Z. So 1=(a+1)-a=p·(m-n) which implies that p|1. But the only integer divisors of 1 are 1 and -1. Contradiction. ■

11 Infinity of Prime Numbers Theorem: The set of prime numbers is infinite. Proof (by contradiction): Assume the opposite: The set of prime numbers is finite. Then they can be listed as p 1 =2, p 2 =3, …, p n in ascending order. Consider M = p 1 · p 2 ·…·p n +1. p|M for some prime number p (1) (based on the th-m from handout 9/23). p is one of p 1, p 2, …, p n.. Thus, p | p 1 · p 2 ·…·p n..(2) By (2) and Lemma 1, p is not a divisor of M. (3) (3) contradicts (1). ■