Methods of Proof – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Methods of Proof Reading: Kolman, Section 2.3.

Slides:



Advertisements
Similar presentations
Rules of Inference Rosen 1.5.
Advertisements

Discrete Mathematics University of Jazeera College of Information Technology & Design Khulood Ghazal Mathematical Reasoning Methods of Proof.
Discrete Math Methods of proof 1.
Introduction to Proofs
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.
Chapter 3 Elementary Number Theory and Methods of Proof.
Chapter 2 Fundamentals of Logic Dept of Information management National Central University Yen-Liang Chen.
Chapter 1: The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers.
1 Introduction to Abstract Mathematics Valid AND Invalid Arguments 2.3 Instructor: Hayk Melikya
1 Valid and Invalid Arguments CS 202 Epp Section 1.3 Aaron Bloomfield.
CS128 – Discrete Mathematics for Computer Science
Logic 3 Tautological Implications and Tautological Equivalences
1 Discrete Structures CS Johnnie Baker Comments on Early Term Test.
Discussion #12 1/22 Discussion #12 Deduction, Proofs and Proof Techniques.
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
CSE115/ENGR160 Discrete Mathematics 01/31/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/01/11
Introduction to Proofs ch. 1.6, pg. 87,93 Muhammad Arief download dari
Chapter 1 Section 1.5 Analyzing Arguments. Syllogisms A syllogism is a type of deductive reasoning that draws a logical conclusion from two statements.
Fall 2002CMSC Discrete Structures1 Let’s proceed to… Mathematical Reasoning.
Mathematical Induction Assume that we are given an infinite supply of stamps of two different denominations, 3 cents and and 5 cents. Prove using mathematical.
Adapted from Discrete Math
Methods of Proof & Proof Strategies
1.1 Sets and Logic Set – a collection of objects. Set brackets {} are used to enclose the elements of a set. Example: {1, 2, 5, 9} Elements – objects inside.
Introduction to Proofs
MATH 224 – Discrete Mathematics
March 3, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1Arguments Just like a rule of inference, an argument consists of one or more.
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.
Discrete Structures (DS)
2.3Logical Implication: Rules of Inference From the notion of a valid argument, we begin a formal study of what we shall mean by an argument and when such.
1 CMSC 250 Discrete Structures CMSC 250 Lecture 1.
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 Introduction to Abstract Mathematics Expressions (Propositional formulas or forms) Instructor: Hayk Melikya
Lecture 9 Conditional Statements CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
Thinking Mathematically Arguments and Truth Tables.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 3 The Foundations: Logic and Proof,
Conditional Statements – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Conditional Statements Reading: Kolman, Section 2.2.
Chapter 2 Symbolic Logic. Section 2-1 Truth, Equivalence and Implication.
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.
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.
2.3 Methods of Proof.
CS104:Discrete Structures Chapter 2: Proof Techniques.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
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.
CSE 311 Foundations of Computing I Lecture 8 Proofs Autumn 2012 CSE
1 Introduction to Abstract Mathematics Proof Methods , , ~, ,  Instructor: Hayk Melikya Purpose of Section:Most theorems in mathematics.
Lecture 10 Methods of Proof CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Proof Techniques Chuck Cusack
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Chapter 1, Part III: Proofs With Question/Answer Animations Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without.
Section 1.7. Section Summary Mathematical Proofs Forms of Theorems Direct Proofs Indirect Proofs Proof of the Contrapositive Proof by Contradiction.
Sound Arguments and Derivations. Topics Sound Arguments Derivations Proofs –Inference rules –Deduction.
Chapter 1 Logic and proofs
2. The Logic of Compound Statements Summary
CSE15 Discrete Mathematics 02/01/17
Methods of proof Section 1.6 & 1.7 Wednesday, June 20, 2018
Jeffrey Martinez Math 170 Dr. Lipika Deka 10/15/13
Proof Techniques.
Methods of Proof A mathematical theorem is usually of the form pq
The Foundations: Logic and Proofs
Mathematical Reasoning
Applied Discrete Mathematics Week 2: Proofs
CS 220: Discrete Structures and their Applications
Mathematical Reasoning
Presentation transcript:

Methods of Proof – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Methods of Proof Reading: Kolman, Section 2.3

Methods of Proof – Page 2CSCI 1900 – Discrete Structures Past Experience Up to now we’ve used the following methods to write proofs: –Used direct proofs with generic elements, definitions, and given facts –Used proof by cases such as when we used truth tables

Methods of Proof – Page 3CSCI 1900 – Discrete Structures General Description of Process p  q denotes "q logically follows from p“ Implication may take the form (p 1  p 2  p 3  …  p n )  q q logically follows from p 1, p 2, p 3, …, p n

Methods of Proof – Page 4CSCI 1900 – Discrete Structures General Description (continued) The process is generally written as: p 1 p 2 p 3 : : p n  q

Methods of Proof – Page 5CSCI 1900 – Discrete Structures Components of a Proof The p i 's are called hypotheses or premises q is called the conclusion Proof shows that if all of the p i 's are true, then q has to be true If result is a tautology, then the implication p  q represents a universally correct method of reasoning and is called a rule of inference

Methods of Proof – Page 6CSCI 1900 – Discrete Structures Example of a Proof based on a Tautology If p implies q and q implies r, then p implies r p  q q  r  p  r By replacing the bar under q  r with the “  ”, the proof above becomes ((p  q)  (q  r))  (p  r) The next slide shows that this is a tautology and therefore is universally valid.

Methods of Proof – Page 7CSCI 1900 – Discrete Structures Tautology Example (continued) pqr p  qq  r(p  q)  (q  r) p  r((p  q)  (q  r))  (p  r) TTTTTTTT TTFTFFFT TFTFTFTT TFFFTFFT FTTTTTTT FTFTFFTT FFTTTTTT FFFTTTTT

Methods of Proof – Page 8CSCI 1900 – Discrete Structures Equivalences Some mathematical theorems are equivalences, i.e., p  q. The proof of such a theorem is equivalent with proving both p  q and q  p

Methods of Proof – Page 9CSCI 1900 – Discrete Structures modus ponens form (the method of asserting): p p  q  q Example: –p: a man used the toilet –q: the toilet seat is up –p  q: If a man used the toilet, the seat was left up Supported by the tautology (p  (p  q))  q

Methods of Proof – Page 10CSCI 1900 – Discrete Structures modus ponens (continued) pq (p  q)p  (p  q)(p  (p  q))  q TTTTT TFFFT FTTFT FFTFT

Methods of Proof – Page 11CSCI 1900 – Discrete Structures Invalid Conclusions from Invalid Premises Just because the format of the argument is valid does not mean that the conclusion is true. A premise may be false. For example: Acorns are money If acorns were money, no one would have to work  No one has to work Argument is valid since it is in modus ponens form Conclusion is false because premise p is false

Methods of Proof – Page 12CSCI 1900 – Discrete Structures Invalid Conclusion from Invalid Argument Sometimes, an argument that looks like modus ponens is actually not in the correct form. For example: If tuition was free, enrollment would increase Enrollment increased  Tuition is free Argument is invalid since its form is: p  q q  p

Methods of Proof – Page 13CSCI 1900 – Discrete Structures Invalid Argument (continued) Truth table shows that this is not a tautology: pq (p  q)(p  q)  q((p  q)  q)  p TTTTT TFFFT FTTTF FFTFT

Methods of Proof – Page 14CSCI 1900 – Discrete Structures Indirect Method Another method of proof is to use the tautology: (p  q)  (~q  ~p) The form of the proof is: ~q ~q  ~p  p

Methods of Proof – Page 15CSCI 1900 – Discrete Structures Indirect Method Example p: My address is available on a web site q: I am getting spam p  q: If my address is available on a web site, then I am getting spam ~q  ~p: If I am not getting spam, then my e- mail address must not be available on a web site This proof says that if I am not getting spam, then my address is not on a web site.

Methods of Proof – Page 16CSCI 1900 – Discrete Structures Another Indirect Method Example Prove that if the square of an integer is odd, then the integer is odd too. p: n 2 is odd q: n is odd ~q  ~p: If n is even, then n 2 is even. If n is even, then there exists an integer m for which n = 2×m. n 2 therefore would equal (2×m) 2 = 4×m 2 which must be even.

Methods of Proof – Page 17CSCI 1900 – Discrete Structures Proof by Contradiction Another method of proof is to use the tautology (p  q)  (~q)  (~p) The form of the proof is: p  q ~q  ~p

Methods of Proof – Page 18CSCI 1900 – Discrete Structures Proof by Contradiction (continued) pq (p  q) ~q (p  q)  ~q ~p (p  q)  (~q)  (~p) TTTFFFT TFFTFFT FTTFFTT FFTTTTT

Methods of Proof – Page 19CSCI 1900 – Discrete Structures Proof by Contradiction (continued) The best application for this is where you cannot possibly go through a large number (such as infinite) of cases to prove that every one is true.

Methods of Proof – Page 20CSCI 1900 – Discrete Structures Proof by Contradiction Example Prove that  (2) is irrational, i.e., cannot be represented with m/n where m and n are integers. –p:  (2) is a rational number –q: There exists integers m and n for every rational number such that the rational number can be expressed as m/n –p  q: If  (2) is a rational number, then we can find m and n –The goal is to prove that we cannot find an m and an n, i.e., ~q is true.

Methods of Proof – Page 21CSCI 1900 – Discrete Structures Proof by Contradiction Example (continued) –Assume (m/n) 2 = 2 and that m and n are in their most reduced form. This means that m 2 = 2n 2. –Therefore, m must be even and m 2 must contain 2 2 –Therefore, n must be even too. –Therefore, m/n is not in the most reduced form (we can pull a 2 out of both m and n). –This is a contradiction! Cannot come up with m and n, i.e., ~q is true –Therefore, ~p is true and  (2) must not be a rational number