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

Slides:



Advertisements
Similar presentations
Introduction to Proofs
Advertisements

Chapter 3 Elementary Number Theory and Methods of Proof.
Chapter 3 Direct Proof and Proof by Contrapositive
Sequences and Mathematical Induction
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
The Foundations: Logic and Proofs
Copyright © Cengage Learning. All rights reserved.
Induction and recursion
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.
CSE115/ENGR160 Discrete Mathematics 02/07/12
First Order Logic (chapter 2 of the book) Lecture 3: Sep 14.
Chapter 15 Roots and Radicals.
Copyright © Cengage Learning. All rights reserved.
LIAL HORNSBY SCHNEIDER
First Order Logic. This Lecture Last time we talked about propositional logic, a logic on simple statements. This time we will talk about first order.
CS 2210 (22C:019) Discrete Structures Logic and Proof Spring 2015 Sukumar Ghosh.
C OURSE : D ISCRETE STRUCTURE CODE : ICS 252 Lecturer: Shamiel Hashim 1 lecturer:Shamiel Hashim second semester Prepared by: amani Omer.
Week 3 - Wednesday.  What did we talk about last time?  Basic number theory definitions  Even and odd  Prime and composite  Proving existential statements.
Applied Discrete Mathematics Week 9: Relations
Methods of Proof & Proof Strategies
Roots and Radicals.
Induction and recursion
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
1 Methods of Proof CS/APMA 202 Epp, chapter 3 Aaron Bloomfield.
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.
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.
First Order Logic Lecture 2: Sep 9. This Lecture Last time we talked about propositional logic, a logic on simple statements. This time we will talk about.
Chapter 4 More on Directed Proof and Proof by Contrapositive 4.1 Proofs Involving Divisibility of Integers 4.2 Proofs Involving Congruence of Integers.
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.
CompSci 102 Discrete Math for Computer Science March 1, 2012 Prof. Rodger Slides modified from Rosen.
Chapter 1, Part III: Proofs With Question/Answer Animations 1.
First Order Logic Lecture 3: Sep 13 (chapter 2 of the book)
Chapter 1, Part III: Proofs With Question/Answer Animations 1.
Mathematical Induction
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.
1 2/21/2016 MATH 224 – Discrete Mathematics Sequences and Sums A sequence of the form ar 0, ar 1, ar 2, ar 3, ar 4, …, ar n, is called a geometric sequence.
Chapter 5. Section 5.1 Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If we can reach.
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.
ICS 253: Discrete Structures I
Section 5.1. Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If we can reach a particular.
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.
Mathematical Induction I Lecture 19 Section 4.2 Mon, Feb 14, 2005.
Chapter 5 1. Chapter Summary  Mathematical Induction  Strong Induction  Recursive Definitions  Structural Induction  Recursive Algorithms.
Proof And Strategies Chapter 2. Lecturer: Amani Mahajoub Omer Department of Computer Science and Software Engineering Discrete Structures Definition Discrete.
The Foundations: Logic and Proofs
CS 2210:0001 Discrete Structures Logic and Proof
Unit 2: Absolute Value Absolute Value Equations and Inequalities
Direct Proof and Counterexample III: Divisibility
The Foundations: Logic and Proofs
CSE15 Discrete Mathematics 02/08/17
Chapter 4 (Part 1): Induction & Recursion
Induction and recursion
The Foundations: Logic and Proofs
Induction and recursion
The sum of any two even integers is even.
CS 220: Discrete Structures and their Applications
Methods of Proof Rosen 1.7, 1.8 Lecture 4: Sept 24, 25.
Today we will Finish chapter 5
Mathematical Induction
The Foundations: Logic and Proofs
Examples of Mathematical Proof
Copyright © Cengage Learning. All rights reserved.
Methods of Proof Rosen 1.7, 1.8 Lecture 4: Sept, 2019.
Presentation transcript:

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 = c) (This means the is associative.) Proof: Let a, b, and c be arbitrary real numbers. Then one of the following 6 cases must hold. 1. a ≥ b ≥ c 2. a ≥ c ≥ b 3. b ≥ a ≥c 4. b ≥ c ≥a 5. c ≥ a ≥ b 6. c ≥ b ≥ a Continued on next slide 

Proof by Cases Case 1 : a ≥ b ≥ c b) = a, c = a, c = b Hence c = a = c) Therefore the equality holds for the first case. A complete proof requires that the equality be shown to hold for all 6 cases. But the proofs of the remaining cases are similar. Try them.

Without Loss of Generality Example: Show that if x and y are integers and both x ∙ y and x+y are even, then both x and y are even. Proof: Use a proof by contraposition. Suppose x and y are not both even. Then, one or both are odd. Without loss of generality, assume that x is odd. Then x = 2 m + 1 for some integer k. Case 1 : y is even. Then y = 2n for some integer n, so x + y = (2 m + 1) + 2 n = 2( m + n ) + 1 is odd. Case 2: y is odd. Then y = 2n + 1 for some integer n, so x ∙ y = (2 m + 1) (2 n + 1) = 2(2 m ∙ n + m + n ) + 1 is odd. We only cover the case where x is odd because the case where y is odd is similar. The use phrase without loss of generality (WLOG) indicates this.

Existence Proofs Proof of theorems of the form. Constructive existence proof: Find an explicit value of c, for which P(c) is true. Example: Show that there is a positive integer that can be written as the sum of cubes of positive integers in two different ways: Proof: 1729 is such a number since 1729 = =

Nonconstructive Existence Proofs Example: Show that there exist irrational numbers x and y such that x y is rational. Proof: We know that √2 is irrational. Consider the number √2 √2. If it is rational, we have two irrational numbers x and y with x y rational, namely x = √2 and y = √2. But if √2 √2 is irrational, then we can let x = √2 √2 and y = √2 so that aaaaa x y = (√2 √2 ) √2 = √2 (√2 √2) = √2 2 = 2.

Uniqueness Proofs Some theorems asset the existence of a unique element with a particular property,  !x P(x). The two parts of a uniqueness proof are Existence: We show that an element x with the property exists. Uniqueness: We show that if y ≠x, then y does not have the property. Example: Show that if a and b are real numbers and a ≠0, then there is a unique real number r such that ar + b = 0. Solution: Existence: The real number r = −b/a is a solution of ar + b = 0 because a(−b/a) + b = −b + b =0. Uniqueness: Suppose that s is a real number such that as + b = 0. Then ar + b = as + b, where r = −b/a. Subtracting b from both sides and dividing by a shows that r = s.

The Role of Open Problems Unsolved problems have motivated much work in mathematics. Fermat’s Last Theorem was conjectured more than 300 years ago. It has only recently been finally solved. Fermat’s Last Theorem: The equation x n + y n = z n has no solutions in integers x, y, and z, with xyz ≠0 whenever n is an integer with n > 2. A proof was found by Andrew Wiles in the 1990s.

An Open Problem The 3 x + 1 Conjecture: Let T be the transformation that sends an even integer x to x/ 2 and an odd integer x to 3 x + 1. For all positive integers x, when we repeatedly apply the transformation T, we will eventually reach the integer 1. For example, starting with x = 13 : T( 13 ) = 3∙ = 40, T( 40 ) = 40/2 = 20, T( 20 ) = 20/2 = 10, T( 10 ) = 10/2 = 5, T( 5 ) = 3∙5 + 1 = 16, T( 16 ) = 16/2 = 8, T( 8 ) = 8/2 = 4, T( 4 ) = 4/2 = 2, T( 2 ) = 2/2 = 1 The conjecture has been verified using computers up to 5.6 ∙

An Open Problem Goldbach’s Conjecture: Every even integer greater than 2 can be expressed as the sum of two primes.