Discrete Mathematics and its Applications

Slides:



Advertisements
Similar presentations
Discrete Mathematics University of Jazeera College of Information Technology & Design Khulood Ghazal Mathematical Reasoning Methods of Proof.
Advertisements

1 Section 1.5 Rules of Inference. 2 Definitions Theorem: a statement that can be shown to be true Proof: demonstration of truth of theorem –consists of.
February 26, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1 Addition of Integers Example: Add a = (1110) 2 and b = (1011) 2. a 0 + b.
Chapter 3. Mathematical Reasoning 3.1 Methods of proof A theorem is a statement that can be shown to be true. A proof is to demonstrate that a theorem.
2009/91 Methods of Proof (§1.7) Methods of mathematical argument (proof methods) can be formalized in terms of rules of logical inference. Mathematical.
Discrete Structures & Algorithms Propositional Logic EECE 320 : UBC : Spring
CSE115/ENGR160 Discrete Mathematics 01/31/12 Ming-Hsuan Yang UC Merced 1.
Fall 2002CMSC Discrete Structures1 Let’s proceed to… Mathematical Reasoning.
CSI 2101 / Rules of Inference (§1.5)
Based on Rosen, Discrete Mathematics & Its Applications, 5e Prepared by (c) Michael P. Frank Modified by (c) Haluk Bingöl 1/18 Module.
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.
1 Methods of Proof CS/APMA 202 Epp, chapter 3 Aaron Bloomfield.
March 3, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1Arguments Just like a rule of inference, an argument consists of one or more.
Proofs1 Elementary Discrete Mathematics Jim Skon.
1 Basic Proof Methods I Basic Proof Methods II Proofs Involving Quantifiers.
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.
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.
Proofs1 Advanced Discrete Mathematics Jim Skon. Proofs2  Definition: A theorem is a valid logical assertion which can be proved using other theorems.
Discrete Structures (DS)
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 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 3 The Foundations: Logic and Proof,
資訊科學數學 7 : Proof, Number and Orders 陳光琦助理教授 (Kuang-Chi Chen)
Today’s topics Proof techniques Reading: Section 1.5 Upcoming
Module #1 - Logic Based on Rosen, Discrete Mathematics & Its Applications. Prepared by (c) , Michael P. Frank. Modified By Mingwu Chen 1 Module.
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 The Foundations: Logic and Proofs Rules of inference.
CSci 2011 Discrete Mathematics Lecture 4 CSci 2011.
CS104:Discrete Structures Chapter 2: Proof Techniques.
CSci 2011 Discrete Mathematics Lecture 5 CSci 2011.
Chapter 1, Part III: Proofs With Question/Answer Animations Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without.
Nature & Importance of Proofs In mathematics, a proof is: –a correct (well-reasoned, logically valid) and complete (clear, detailed) argument that rigorously.
Chapter 1 Logic and proofs
The Foundations: Logic and Proofs
CSE15 Discrete Mathematics 02/01/17
Applied Discrete Mathematics Week 5: Mathematical Reasoning
CSE15 Discrete Mathematics 01/30/17
In this slide set… Rules of inference for propositions
Discrete Mathematics Logic.
Proof methods We will discuss ten proof methods: Direct proofs
Methods of Proof CS 202 Epp, chapter 3.
Proof Techniques.
Explorations in Artificial Intelligence
Discrete Mathematics and its Applications
Module #10: Proof Strategies
The Foundations: Logic and Proofs
Discrete Mathematics and its Applications
Proving Existentials A proof of a statement of the form x P(x) is called an existence proof. If the proof demonstrates how to actually find or construct.
Discrete Mathematics and its Applications
Mathematical Reasoning
Methods of Proof. Methods of Proof Definitions A theorem is a valid logical assertion which can be proved using Axioms: statements which are given.
Week #6 – 30 September / 2/4 October 2002 Prof. Marie desJardins
Discrete Mathematics and its Applications
CS 220: Discrete Structures and their Applications
Applied Discrete Mathematics Week 1: Logic
First Order Logic Rosen Lecture 3: Sept 11, 12.
Inference Rules: Tautologies
Discrete Mathematics Logic.
Information Technology Department SKN-SITS,Lonavala.
Module #2: Basic Proof Methods
Module #10: Proof Strategies
September 9, 2004 Prof. Marie desJardins (for Prof. Matt Gaston)
Foundations of Discrete Mathematics
Mathematical Reasoning
Introduction to Proofs
Module #2: Basic Proof Methods
Discrete Mathematics and its Applications
Rules of inference Section 1.5 Monday, December 02, 2019
Presentation transcript:

Discrete Mathematics and its Applications 2019-05-13 Yonsei Univ. at Wonju Dept. of Mathematics 이산수학 Discrete Mathematics Prof. Gab-Byung Chae Slides for a Course Based on the Text Discrete Mathematics & Its Applications (6th Edition) by Kenneth H. Rosen 2019-05-13 Chae Gab-Byung Chae Gab-Byung

Module #2: Basic Proof Methods Discrete Mathematics and its Applications 2019-05-13 Module #2: Basic Proof Methods Rosen 6th ed., §§1.5 & 1.6 29 slides, ~2 lectures 2019-05-13 Chae Gab-Byung Chae Gab-Byung

Nature & Importance of Proofs Discrete Mathematics and its Applications 2019-05-13 Nature & Importance of Proofs In mathematics, a proof is: a correct (well-reasoned, logically valid) and complete (clear, detailed) argument that rigorously & undeniably establishes the truth of a mathematical statement. Why must the argument be correct & complete? Correctness prevents us from fooling ourselves. Completeness allows anyone to verify the result. In this course (& throughout mathematics), a very high standard for correctness and completeness of proofs is demanded!! -증명은 논리적으로 옳고correct 완벽(확실하고 자세한)하고 complete .. 2019-05-13 Chae Gab-Byung Chae Gab-Byung

Discrete Mathematics and its Applications 2019-05-13 Proof Terminology Theorem A statement that has been proven to be true. Axioms(공리), postulates(공준), hypotheses(가정), premises(전제) Assumptions (often unproven) defining the structures about which we are reasoning. Rules of inference(추론의 법칙) Patterns of logically valid deductions(연역) from hypotheses to conclusions. 가정되었거나 전제되었다고 진실이라고 생각 해선 안된다. 2019-05-13 Chae Gab-Byung Chae Gab-Byung

More Proof Terminology Discrete Mathematics and its Applications 2019-05-13 More Proof Terminology Lemma - A minor theorem used as a stepping-stone to proving a major theorem. Corollary - A minor theorem proved as an easy consequence of a major theorem. Conjecture - A statement whose truth value has not been proven. (A conjecture may be widely believed to be true, regardless.) Theory – The set of all theorems that can be proven from a given set of axioms. 2019-05-13 Chae Gab-Byung Chae Gab-Byung

Graphical Visualization A Particular Theory … A proof The Axioms of the Theory Various Theorems 2019-05-13 Chae Gab-Byung

Inference Rules - General Form Discrete Mathematics and its Applications 2019-05-13 Inference Rules - General Form Inference Rule – Pattern establishing that if we know that a set of antecedent(선행의) statements of certain forms is true, then a certain related consequent statement is true. antecedent 1 antecedent 2 …  consequent “” means “therefore” 2019-05-13 Chae Gab-Byung Chae Gab-Byung

Inference Rules & Implications Each logical inference rule corresponds to an implication that is a tautology. antecedent 1 Inference rule antecedent 2 …  consequent Corresponding tautology: ((ante. 1)  (ante. 2)  …)  consequent 2019-05-13 Chae Gab-Byung

Some Inference Rules p Rule of Addition  pq p p  q pq Rule of Simplification  p p Rule of Conjunction q  pq p  q p  q 2019-05-13 Chae Gab-Byung

“the mode of affirming” Modus Ponens & Tollens “the mode of affirming” p Rule of modus ponens pq (a.k.a. law of detachment) q [p  (p q)] q q pq Rule of modus tollens p “the mode of denying” 2019-05-13 Chae Gab-Byung

Syllogism Inference Rules Discrete Mathematics and its Applications 2019-05-13 Syllogism Inference Rules pq Rule of hypothetical qr syllogism(삼단논법) pr p  q Rule of disjunctive p syllogism  q Many valid inference rules were first described by Aristotle. He called these patterns of argument “syllogisms.” Aristotle (ca. 384-322 B.C.) 2019-05-13 Chae Gab-Byung Chae Gab-Byung

Formal Proofs A formal proof of a conclusion C, given premises전제 p1, p2,…,pn consists of a sequence of steps, each of which applies some inference rule to premises or to previously-proven statements (as antecedents 선행의) to yield a new true statement (the consequent). A proof demonstrates that if the premises are true, then the conclusion is true. 2019-05-13 Chae Gab-Byung

Formal Proof Example Suppose we have the following premises: “It is not sunny and it is cold.” “We will swim only if it is sunny.” “If we do not swim, then we will canoe.” “If we canoe, then we will be home early.” Given these premises, prove the theorem “We will be home early” using inference rules. 2019-05-13 Chae Gab-Byung

Proof Example cont. Let us adopt the following abbreviations: sunny = “It is sunny”; cold = “It is cold”; swim = “We will swim”; canoe = “We will canoe”; early = “We will be home early”. Then, the premises can be written as: (1) sunny  cold (2) swim  sunny (3) swim  canoe (4) canoe  early 2019-05-13 Chae Gab-Byung

Proof Example cont. Step Proved by 1. sunny  cold Premise #1. 2. sunny Simplification of 1. 3. swimsunny Premise #2. 4. swim Modus tollens on 2,3. 5. swimcanoe Premise #3. 6. canoe Modus ponens on 4,5. 7. canoeearly Premise #4. 8. early Modus ponens on 6,7. 2019-05-13 Chae Gab-Byung

Inference Rules for Quantifiers Discrete Mathematics and its Applications 2019-05-13 Inference Rules for Quantifiers x P(x) P(o) (substitute any object o) P(g) (for g a general element of u.d.) x P(x) x P(x) P(c) (substitute a new constant c) P(o) (substitute any extant object o) x P(x) Universal instantiation Universal generalization Existential instantiation Extant : 현존하는 Existential generalization 2019-05-13 Chae Gab-Byung Chae Gab-Byung

Discrete Mathematics and its Applications 2019-05-13 Common Fallacies A fallacy is an inference rule or other proof method that is not logically valid. May yield a false conclusion! Fallacy of affirming the conclusion: “pq is true, and q is true, so p must be true.” (No, because FT is true.) Fallacy of denying the hypothesis: “pq is true, and p is false, so q must be false.” (No, again because FT is true.) 누구나 공부를 많이 하면 성공할 확률이 높다. A가 성공할 확률이 높다 고 A가 공부를 많이 한 것은 아니다. A가 공부를 많이 하지 않았다고 성공할 확률이 낮다. 고 할수 없다. 2019-05-13 Chae Gab-Byung Chae Gab-Byung

Discrete Mathematics and its Applications 2019-05-13 Circular Reasoning The fallacy of (explicitly or implicitly) assuming the very statement you are trying to prove in the course of its proof. Example: Prove that an integer n is even, if n2 is even. Attempted proof: “Assume n2 is even. Then n2=2k for some integer k. Dividing both sides by n gives n = (2k)/n = 2(k/n). So there is an integer j (namely k/n) such that n=2j. Therefore n is even.” 최초에 증명하려고 한 문장를 증명 중간에 가정으로 가정하는 오류 Begs the question: How do you show that j=k/n=n/2 is an integer, without first assuming n is even? 2019-05-13 Chae Gab-Byung Chae Gab-Byung

Proof Methods for Implications For proving implications pq, we have: Direct proof: Assume p is true, and prove q. Indirect proof: Assume q, and prove p. Vacuous(무의미한) proof: Prove p by itself. Trivial proof: Prove q by itself. Proof by cases: Show p(a  b), and (aq) and (bq). 2019-05-13 Chae Gab-Byung

Discrete Mathematics and its Applications 2019-05-13 Direct Proof Example Definition: An integer n is called odd iff n=2k+1 for some integer k; n is even iff n=2k for some k. Axiom: Every integer is either odd or even. Theorem: (For all numbers n) If n is an odd integer, then n2 is an odd integer. Proof: If n is odd, then n = 2k+1 for some integer k. Thus, n2 = (2k+1)2 = 4k2 + 4k + 1 = 2(2k2 + 2k) + 1. Therefore n2 is of the form 2j + 1 (with j the integer 2k2 + 2k), thus n2 is odd. □ The statement that every integer is either odd or even can actually be proven from simpler axioms, the Peano axioms of arithmetic. However, for 2019-05-13 Chae Gab-Byung Chae Gab-Byung

Indirect Proof Example Theorem: (For all integers n) If 3n+2 is odd, then n is odd. Proof: Suppose that the conclusion is false, i.e., that n is even. Then n=2k for some integer k. Then 3n+2 = 3(2k)+2 = 6k+2 = 2(3k+1). Thus 3n+2 is even, because it equals 2j for integer j = 3k+1. So 3n+2 is not odd. We have shown that ¬(n is odd)→¬(3n+2 is odd), thus its contra-positive (3n+2 is odd) → (n is odd) is also true. □ 2019-05-13 Chae Gab-Byung

Vacuous Proof Example Theorem: (For all n) If n is both odd and even, then n2 = n + n. Proof: The statement “n is both odd and even” is necessarily false, since no number can be both odd and even. So, the theorem is vacuously true. □ 2019-05-13 Chae Gab-Byung

Trivial Proof Example Theorem: (For integers n) If n is the sum of two prime numbers, then either n is odd or n is even. Proof: Any integer n is either odd or even. So the conclusion of the implication is true regardless of the truth of the antecedent. Thus the implication is true trivially. □ 2019-05-13 Chae Gab-Byung

Proof by Contradiction A method for proving p. Assume p, and prove both q and q for some proposition q.(q  q 는 항상거짓값인 모순) Thus p (q  q) (q  q) is a trivial contradition, equal to F Thus pF, which is only true if p=F Thus p is true. 2019-05-13 Chae Gab-Byung

Proving Existentials A proof of a statement of the form x P(x) is called an existence proof. If the proof demonstrates how to actually find or construct a specific element a such that P(a) is true, then it is a constructive proof. Otherwise, it is nonconstructive. 2019-05-13 Chae Gab-Byung

Constructive Existence Proof Theorem: There exists a positive integer n that is the sum of two perfect cubes in two different ways: equal to j3 + k3 and l3 + m3 where j, k, l, m are positive integers, and {j,k} ≠ {l,m} Proof: Consider n = 1729, j = 9, k = 10, l = 1, m = 12. Now just check that the equalities hold. 2019-05-13 Chae Gab-Byung

Nonconstructive Existence Proof Theorem: “There are infinitely many prime numbers.” Any finite set of numbers must contain a maximal element, so we can prove the theorem if we can just show that there is no largest prime number. i.e., show that for any prime number, there is a larger number that is also prime. More generally: For any number,  a larger prime. Formally: Show n p>n : p is prime. 2019-05-13 Chae Gab-Byung

The proof, using proof by cases... Given n>0, prove there is a prime p>n. Consider x = n!+1. Since x>1, we know (x is prime)(x is composite). Case 1: x is prime. Obviously x>n, so let p=x and we’re done. Case 2: x has a prime factor p. But if pn, then p|n! so p|1.(모순) So p>n, and we’re done. 2019-05-13 Chae Gab-Byung