Indirect Argument: Contradiction and Contraposition

Slides:



Advertisements
Similar presentations
Is it rational or irrational?
Advertisements

Lecture 3 – February 17, 2003.
With examples from Number Theory
Discrete Math Methods of proof 1.
Introduction to Proofs
4-5 Warm Up Lesson Presentation Lesson Quiz
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.
Direct Proof and Counterexample II Lecture 12 Section 3.2 Thu, Feb 9, 2006.
Copyright © Cengage Learning. All rights reserved.
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 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,
1 Indirect Argument: Contradiction and Contraposition.
Introduction to Proofs ch. 1.6, pg. 87,93 Muhammad Arief download dari
Methods of Proof Lecture 4: Sep 16 (chapter 3 of the book)
TR1413: Discrete Mathematics For Computer Science Lecture 1: Mathematical System.
Inequalities and Proof
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.
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.
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.
The Binomial Theorem Lecture 29 Section 6.7 Mon, Apr 3, 2006.
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.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 3 The Foundations: Logic and Proof,
CS104:Discrete Structures Chapter 2: Proof Techniques.
Introduction to Proofs
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.
EXAMPLE 3 Write an indirect proof Write an indirect proof that an odd number is not divisible by 4. GIVEN : x is an odd number. PROVE : x is not divisible.
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.
Section 1.7. Section Summary Mathematical Proofs Forms of Theorems Direct Proofs Indirect Proofs Proof of the Contrapositive Proof by Contradiction.
Lecture 34 Section 6.7 Wed, Mar 28, 2007
Lecture 2: Proofs and Recursion. Lecture 2-1: Proof Techniques Proof methods : –Inductive reasoning Lecture 2-2 –Deductive reasoning Using counterexample.
Chapter 1 Logic and Proof.
The Foundations: Logic and Proofs
Indirect Argument: Contradiction and Contraposition
CSE15 Discrete Mathematics 02/01/17
Direct Proof and Counterexample II
Indirect Argument: Two Classical Theorems
Indirect Argument: Contradiction and Contraposition
6.5 Inequalities in Triangles and Indirect Proofs
Direct Proof by Contraposition Direct Proof by Contradiction
Methods of Proof CS 202 Epp, chapter 3.
Predicate Calculus Validity
Indirect Argument: Contradiction and Contraposition
Sets and Logic…. Chapter 3
The Foundations: Logic and Proofs
Indirect Proof by Contradiction Direct Proof by Cases
Direct Proof and Counterexample II
CS 220: Discrete Structures and their Applications
CS 220: Discrete Structures and their Applications
Methods of Proof Rosen 1.7, 1.8 Lecture 4: Sept 24, 25.
Geometry.
Dr. Halimah Alshehri MATH 151 Dr. Halimah Alshehri Dr. Halimah Alshehri.
Copyright © Cengage Learning. All rights reserved.
Introduction to Proofs
Examples of Mathematical Proof
5.6 Inequalities in Two Triangles and Indirect Proof
Proof: [We take the negation and suppose it to be true.]
Methods of Proof Rosen 1.7, 1.8 Lecture 4: Sept, 2019.
Presentation transcript:

Indirect Argument: Contradiction and Contraposition Lecture 15 Section 3.6 Mon, Feb 7, 2005

Form of Proof by Contraposition Theorem: p  q. This is logically equivalent to q  p. Outline of the proof of the theorem: Assume q. Prove p. Conclude that p  q. This is a direct proof of the contrapositive.

Benefit of Proof by Contraposition If p and q are negative statements, then p and q are positive statements. We may be able to give a direct proof that q  p more easily that we could give a direct proof that p  q.

Example: Proof by Contraposition Theorem: The sum of a rational and an irrational is irrational. Restate the theorem: Let r be a rational number and let α be a number. If α is irrational, then r + α is irrational. Restate again: Let r be a rational number and let α be a number. If r + α is rational, then α is rational.

The Proof Proof: Let r be rational and α be a number. Suppose that r + α is rational. Let s = r + α. Then α = s – r, which is rational. Therefore, if r + α is rational, then α is rational. It follows that if α is irrational, then r + α is irrational.

Form of Proof by Contradiction Theorem: p  q. Outline of the proof of the theorem : Assume (p  q). This is equivalent to assuming p  q. Derive a contradiction, i.e., conclude r  r for some statement r. Conclude that p  q.

Benefit of Proof by Contradiction The statement r may be any statement whatsoever because any contradiction r  r will suffice.

Example: Euclid’s Prop. 7 Proposition 7: Given two straight lines constructed on a straight line, from its extremities, and meeting in a point, there cannot be constructed on the same straight line, from its extremities, and on the same side of it, two other straight lines meeting in another point and equal to the former two respectively, namely each to that which has the same extremity with it.

Example: Euclid’s Prop. 7 B

Example: Euclid’s Prop. 7 B

Example: Euclid’s Prop. 7 B

Example: Euclid’s Prop. 7 B If C  D, then AC  AD or BC  BD

Example: Euclid’s Prop. 7 Proof: For, if possible, given two straight lines AC, CB constructed on the straight line AB and meeting at the point C, let two other straight lines AD, BD be constructed on the same straight line AB, on the same side of it, meeting in another point D and equal to the former two respectively, namely each to that which has the same extremity with it, so that CA is equal to DA which has the same extremity A with it, and CB to DB which has the same extremity B with it.

Example: Euclid’s Prop. 7 Proof: For, if possible, given two straight lines AC, CB constructed on the straight line AB and meeting at the point C, let two other straight lines AD, BD be constructed on the same straight line AB, on the same side of it, meeting in another point D and equal to the former two respectively, namely each to that which has the same extremity with it, so that CA is equal to DA which has the same extremity A with it, and CB to DB which has the same extremity B with it.

Example: Euclid’s Prop. 7 Let CD be joined. Then, since AC is equal to AD, the angle ACD is also equal to the angle ADC. Therefore the angle ADC is greater than the angle DCB. Therefore the angle CDB is much greater than the angle DCB. Again, since CB is equal to DB, the angle CDB is also equal to the angle DCB. But it was also proved much greater than it, which is impossible.

Example: Euclid’s Prop. 7 Let CD be joined. Then, since AC is equal to AD, the angle ACD is also equal to the angle ADC. Therefore the angle ADC is greater than the angle DCB. Therefore the angle CDB is much greater than the angle DCB. Again, since CB is equal to DB, the angle CDB is also equal to the angle DCB. But it was also proved much greater than it, which is impossible.

Example Theorem: Let a, b, c be integers. If a | b, but a does not divide c, then b does not divide c. Proof: Suppose that a | b. Now suppose further that b | c. Then it follows that a | c, which is a contradiction. Therefore, a | b and a does not divide c, then b does not divide c.

Contraposition vs. Contradiction Was that last proof an example of contraposition or contradiction? The form of the theorem was (p  q)  r. This is logically equivalent to p  (q  r). In the proof we demonstrated that p  (r  q).

Contradiction vs. Contraposition Sometimes a proof by contradiction “becomes” a proof by contraposition. Here is how it happens. To prove: p  q. Assume (p  q), i.e., p  q. Using q, prove p. Cite the contradiction p  p. Conclude that p  q.

Contradiction vs. Contraposition Is this proof by contradiction or is it proof by contraposition? Proof by contraposition is preferred.

A Lemma Lemma: Let f(x) be a continuous function, [a, b] an interval, and c a real number. If f(x)  c for all x  [a, b], then [a, b] f(x) dx  c(b – a). Proof: Use Riemann sums.

A Lemma f(x) c x a b

A Lemma f(x) c c(b – a) x a b

A Lemma f(x) c [a, b] f(x) dx x a b

Proof by Contradiction? Theorem: Let f(x) be a continuous function and [a, b] an interval and suppose that f(x)  0 for all x  [a, b]. Then [a, b] f(x) dx = 0 if and only if f(x) = 0 for all x  [a, b].

Proof by Contradiction? Suppose f(x) = 0 for all x  [a, b]. Then it is clear from the definition of the integral that [a, b] f(x) dx = 0 Proof: () Suppose that [a, b] f(x) dx = 0. Suppose that f(x) > 0 for some x  [a, b], say f(c) =  > 0, for some c  [a, b].

Proof by Contradiction? Then there is an interval [c – , c + ] over which f(x)  /2, for some  > 0. It follows from the lemma that [c – , c + ] f(x) dx  (/2)(2) =  > 0. But then [a, b] f(x) dx > 0, which is a contradiction. Therefore, f(x) = 0 for all x  [a, b].

Proof by Contradiction? The last part of that proof was really proof by contraposition. It assumed that the statement x  [a, b], f(x) = 0 was false, and proved that the statement [a, b] f(x) dx = 0 was false. That is, it proved that q  p.