Week 4 - Wednesday.  What did we talk about last time?  Divisibility  Proof by cases.

Slides:



Advertisements
Similar presentations
Methods of Proof. Methods of Proof The Vicky Pollard Proof Technique Prove that when n is even n2 is even. Assume n is 0, then n2 is 0, and that is.
Advertisements

Tutorial 2: First Order Logic and Methods of Proofs
Discrete Mathematics Lecture 3
With examples from Number Theory
Introduction to Proofs
PROOF BY CONTRADICTION
Chapter 3 Elementary Number Theory and Methods of Proof.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
(CSC 102) Lecture 12 Discrete Structures. Previous Lecture Summary Floor and Ceiling Functions Definition of Proof Methods of Proof Direct Proof Disproving.
Elementary Number Theory and Methods of Proof
Quotient-Remainder Theory, Div and Mod
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/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(
Copyright © Zeph Grunschlag,
Proof Must Have Statement of what is to be proven.
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)
ELEMENTARY NUMBER THEORY AND METHODS OF PROOF
Week 3 - Wednesday.  What did we talk about last time?  Basic number theory definitions  Even and odd  Prime and composite  Proving existential statements.
Methods of Proof & Proof Strategies
CISC 2315 Discrete Structures Professor William G. Tanner, Jr. Fall 2010 Slides created by James L. Hein, author of Discrete Structures, Logic, and Computability,
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.
Week 15 - Wednesday.  What did we talk about last time?  Review first third of course.
Review I Rosen , 3.1 Know your definitions!
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.
1 Section 1.1 A Proof Primer A proof is a demonstration that some statement is true. We normally demonstrate proofs by writing English sentences mixed.
CSci 2011 Discrete Mathematics Lecture 6
1 Methods of Proof. 2 Consider (p  (p→q)) → q pqp→q p  (p→q)) (p  (p→q)) → q TTTTT TFFFT FTTFT FFTFT.
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
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.
Slides for CISC 2315: Discrete Structures Chapters CISC 2315 Discrete Structures Professor William G. Tanner, Jr. SPRING 2010 Slides created by James.
CISC 2315 Discrete Structures Professor William G. Tanner, Jr. Spring 2011 Slides created by James L. Hein, author of Discrete Structures, Logic, and Computability,
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.
Week 3 - Friday.  What did we talk about last time?  Proving universal statements  Disproving existential statements  Rational numbers  Proof formatting.
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.
Week 4 - Monday.  What did we talk about last time?  Rational numbers.
Week 3 - Friday.  What did we talk about last time?  Proving existential statements  Disproving universal statements  Proving universal statements.
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
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.
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.
Week 8 - Wednesday.  What did we talk about last time?  Relations  Properties of relations  Reflexive  Symmetric  Transitive.
Indirect Argument: Contradiction and Contraposition
Indirect Argument: Two Classical Theorems
CISC 2315 Discrete Structures
Direct Proof by Contraposition Direct Proof by Contradiction
Methods of Proof CS 202 Epp, chapter 3.
Predicate Calculus Validity
Proof by Contradiction
Indirect Proof by Contradiction Direct Proof by Cases
Methods of Proof Rosen 1.7, 1.8 Lecture 4: Sept 24, 25.
Elementary Number Theory & Proofs
Dr. Halimah Alshehri MATH 151 Dr. Halimah Alshehri Dr. Halimah Alshehri.
Copyright © Cengage Learning. All rights reserved.
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:

Week 4 - Wednesday

 What did we talk about last time?  Divisibility  Proof by cases

 I have claimed that many things can be demonstrated for a small set of numbers that are not actually true for all numbers  Example:  GCD(x,y) gives the greatest common divisor of x and y  GCD(n , (n+1) ) = 1 for all n < , but not for that number

 Two friends who live 36 miles apart decide to meet and start riding their bikes towards each other.  They plan to meet halfway.  Each is riding at 6mph.  One of them has a pet carrier pigeon who starts flying the instant the friends start traveling.  The pigeon flies back and forth at 18mph between the friends until the friends meet.  How many miles does the pigeon travel?

 Theorem: for all integers n, 3n 2 + n + 14 is even  How could we prove this using cases?  Be careful with formatting

 For any real number x, the floor of x, written  x , is defined as follows:   x  = the unique integer n such that n ≤ x < n + 1  For any real number x, the ceiling of x, written  x , is defined as follows:   x  = the unique integer n such that n – 1 < x ≤ n

 Give the floor for each of the following values  25/4    Now, give the ceiling for each of the same values  If there are 4 quarts in a gallon, how many gallon jugs do you need to transport 17 quarts of werewolf blood?  Does this example use floor or ceiling?

 Prove or disprove:   x, y  R,  x + y  =  x  +  y   Prove or disprove:   x  R,  m  Z  x + m  =  x  + m

Proof by Contradiction

 The most common form of indirect proof is a proof by contradiction  In such a proof, you begin by assuming the negation of the conclusion  Then, you show that doing so leads to a logical impossibility  Thus, the assumption must be false and the conclusion true

 A proof by contradiction is different from a direct proof because you are trying to get to a point where things don't make sense  You should always mark such proofs clearly  Start your proof with the words Proof by contradiction  Write Negation of conclusion as the justification for the negated conclusion  Clearly mark the line when you have both p and ~p as a contradiction  Finally, state the conclusion with its justification as the contradiction found before

 Theorem: There is no largest integer.  Proof by contradiction: Assume that there is a largest integer.

 Theorem: There is no integer that is both even and odd.  Proof by contradiction: Assume that there is an integer that is both even and odd

 Theorem:  x, y  Z +, x 2 – y 2  1  Proof by contradiction: Assume there is such a pair of integers

1. Suppose is rational 2. = m/n, where m,n  Z, n  0 and m and n have no common factors 3. 2 = m 2 /n n 2 = m k = m 2, k  Z 6. m = 2a, a  Z 7. 2n 2 = (2a) 2 = 4a 2 8. n 2 = 2a 2 9. n = 2b, b  Z 10. 2|m and 2|n 11. is irrational QED 1. Negation of conclusion 2. Definition of rational 3. Squaring both sides 4. Transitivity 5. Square of integer is integer 6. Even x 2 implies even x (Proof on p. 202) 7. Substitution 8. Transitivity 9. Even x 2 implies even x 10. Conjunction of 6 and 9, contradiction 11. By contradiction in 10, supposition is false Theorem: is irrational Proof by contradiction:

QED

1. Suppose there is a finite list of all primes: p 1, p 2, p 3, …, p n 2. Let N = p 1 p 2 p 3 …p n + 1, N  Z 3. p k | N where p k is a prime 4. p k | p 1 p 2 p 3 …p n p 1 p 2 p 3 …p n = p k (p 1 p 2 p 3 …p k-1 p k+1 …p n ) 6. p 1 p 2 p 3 …p n = p k P, P  Z 7. p k | p 1 p 2 p 3 …p n 8. p k  does not divide p 1 p 2 p 3 …p n p k  does and does not divide p 1 p 2 p 3 …p n There are an infinite number of primes QED 1. Negation of conclusion 2. Product and sum of integers is an integer 3. Theorem 4.3.4, p Substitution 5. Commutativity 6. Product of integers is integer 7. Definition of divides 8. Proposition from last slide 9. Conjunction of 4 and 8, contradiction 10. By contradiction in 9, supposition is false Theorem: There are an infinite number of primes Proof by contradiction:

 Don't combine direct proofs and indirect proofs  You're either looking for a contradiction or not  Proving the contrapositive directly is equivalent to a proof by contradiction

 Review for Exam 1

 Exam 1 is Monday in class!