ICS 253: Discrete Structures I

Slides:



Advertisements
Similar presentations
Discrete Mathematics Lecture 3
Advertisements

With examples from Number Theory
Introduction to Proofs
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,
Elementary Number Theory and Methods of Proof
Direct Proof and Counterexample II Lecture 12 Section 3.2 Thu, Feb 9, 2006.
Induction and recursion
22C:19 Discrete Structures Logic and Proof Spring 2014 Sukumar Ghosh.
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/03/11 Ming-Hsuan Yang UC Merced 1.
1 Discrete Structures CS Johnnie Baker Comments on Early Term Test.
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/07/12
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)
Chapter 2 Real Numbers and Complex Numbers. What is a number? What qualifies a mathematical object to be identified as some type of number? Exactly what.
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.
Methods of Proof & Proof Strategies
(CSC 102) Discrete Structures Lecture 10.
Introduction to Proofs
Introduction to Proofs
MATH 224 – Discrete Mathematics
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.
Foundations of Discrete Mathematics Chapters 5 By Dr. Dalia M. Gil, Ph.D.
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 Introduction to Abstract Mathematics Chapter 3: Elementary Number Theory and Methods of Proofs Instructor: Hayk Melikya Direct.
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.
Chap 3 –A theorem is a statement that can be shown to be true –A proof is a sequence of statements to show that a theorem is true –Axioms: statements which.
1.2 Patterns and Inductive Reasoning. Ex. 1: Describing a Visual Pattern Sketch the next figure in the pattern
Discrete Structures & Algorithms More on Methods of Proof / Mathematical Induction EECE 320 — UBC.
ICS 253: Discrete Structures I Induction and Recursion King Fahd University of Petroleum & Minerals Information & Computer Science Department.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 3 The Foundations: Logic and Proof,
CompSci 102 Discrete Math for Computer Science March 1, 2012 Prof. Rodger Slides modified from Rosen.
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.
Foundations of Discrete Mathematics Chapters 5 By Dr. Dalia M. Gil, Ph.D.
22C:19 Discrete Structures Logic and Proof Fall 2014 Sukumar Ghosh.
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.
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:"
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.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
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
Notions & Notations - 1ICOM 4075 (Fall 2010) UPRM Department of Electrical and Computer Engineering University of Puerto Rico at Mayagüez Fall 2010 ICOM.
Section 1.7. Section Summary Mathematical Proofs Forms of Theorems Direct Proofs Indirect Proofs Proof of the Contrapositive Proof by Contradiction.
CHAPTER 1 SECTION 2. MAKING A CONJECTURE: A conjecture is an unproven statement that is based on a pattern or observation. Much of the reasoning in geometry.
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
Indirect Argument: Contradiction and Contraposition
CS 2210:0001 Discrete Structures Logic and Proof
CSE15 Discrete Mathematics 02/08/17
Chapter 4 (Part 1): Induction & Recursion
Chapter 3 The Real Numbers.
Chapter 1: The Foundations: Logic and Proofs
The Foundations: Logic and Proofs
ICS 253: Discrete Structures I
Direct Proof and Counterexample II
CS 220: Discrete Structures and their Applications
CS 220: Discrete Structures and their Applications
First Order Logic Rosen Lecture 3: Sept 11, 12.
Foundations of Discrete Mathematics
Introduction to Proofs
Presentation transcript:

ICS 253: Discrete Structures I King Fahd University of Petroleum & Minerals Information & Computer Science Department ICS 253: Discrete Structures I The Foundations: Logic and Proofs

Section 1.7: Proof Methods and Strategy In Section 1.6 we briefly discussed the strategy behind constructing proofs. In this section, we will study some additional aspects of the art and science of proofs. Give advice on how to find a proof of a theorem. Describe some tricks of the trade, including how proofs can be found by working backward and by adapting existing proofs.

Exhaustive Proofs and Proof By Cases Exhaustive Proof: Some theorems can be proved by examining a relatively small number of examples. These proofs proceed by exhausting all possibilities. An exhaustive proof is a special type of proof by cases where each case involves checking a single example. Proof by Cases Prove that (p1  p2  …  pn)  q using the tautology [(p1 p2… pn)q]  [(p1q)(p2q)…(pnq)]

Examples Prove that (n + 1)3 > 3n if n is a positive integer with n  4. Q4 pp. 102: Use a proof by cases to show that min( a, min( b, c)) = min(min(a, b), c) whenever a, b, and c are real numbers. Show that there are no solutions in integers x and y of x2 + 3y2 = 8.

Without Loss of Generality When the phrase "without loss of generality" is used in a proof (abbreviated as WLOG), we assert that by proving one case of a theorem, no additional argument is required to prove other specified cases. That is, other cases follow by making straightforward changes to the argument, or by filling in some straightforward initial step. Use a proof by cases to show that |xy| = |x||y|, where x and y are real numbers.

Usually applied to theorems of the form xP(x). Existence Proofs Usually applied to theorems of the form xP(x). We usually prove them by Finding a particular element c such that P(c) holds, which is a form of constructive proof. Some other way, like proof by contradiction, which is a form of nonconstructive proof.

Examples Q6 pp 102: Prove that there is a positive integer that equals the sum of the positive integers not exceeding it. Is your proof constructive or nonconstructive? Q8 pp 102: Prove that either 2.10500 +15 or 2. 10500 +16 is not a perfect square. Is your proof constructive or nonconstructive?

Uniqueness Proofs To prove statements concerning the existence of a unique element, we show Existence: Uniqueness: Q17 pp 103: Show that if n is an odd integer, then there is a unique integer k such that n is the sum of k - 2 and k + 3.

Forward and Backward Reasoning Direct proofs are examples of forward reasoning. Unfortunately, forward reasoning is often difficult to use to prove more complicated results. Reasoning needed to reach the desired conclusion may be far from obvious. In such cases, it may be helpful to use backward reasoning. To reason backward to prove a statement q, we find a statement p that we can prove with the property that p  q.

Example Given two distinct positive real numbers x and y, their arithmetic mean is (x + y) /2 and their geometric mean is . Prove that the arithmetic mean is always greater than the geometric mean. Proof:

Adapting Existing Proofs An excellent way to look for possible approaches that can be used to prove a statement is to take advantage of existing proofs. An existing proof can be adapted to prove a new result. Some of the ideas used in existing proofs may be helpful. Because existing proofs provide clues for new proofs, you should read and understand the proofs you encounter in your studies. Check the example on proving is irrational!

The 3x+1 Conjecture Let T be the transformation that sends an even integer x to x/2 and an odd integer x to 3x + 1. Conjecture: For all positive integers x, when transformation T is applied repeatedly, we will eventually reach the integer 1. For example, starting with x = 13, we find T(13) = 3 .13 + 1 = 40, T(40) = 40/2 = 20, T(20) = 20/2 = 10, T(10) = 10/2 = 5, T(5) = 3 · 5 + 1 = 16, T(16) = 8, T(8) = 4, T(4) = 2, and T(2) = 1. The 3x + 1 conjecture has been verified for all integers x up to 5.6  1013.