Discrete Mathematics Math 6A

Slides:



Advertisements
Similar presentations
With examples from Number Theory
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
PROOF BY CONTRADICTION
Announcements Grading policy No Quiz next week Midterm next week (Th. May 13). The correct answer to the quiz.
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.
CPSC 121: Models of Computation Unit 6 Rewriting Predicate Logic Statements Based on slides by Patrice Belleville and Steve Wolfman.
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
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
Chapter 1 The Logic of Compound Statements. Section 1.3 Valid & Invalid Arguments.
Logic 3 Tautological Implications and Tautological Equivalences
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 01/31/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/01/11
Logic: Connectives AND OR NOT P Q (P ^ Q) T F P Q (P v Q) T F P ~P T F
Proof by Deduction. Deductions and Formal Proofs A deduction is a sequence of logic statements, each of which is known or assumed to be true A formal.
Introduction to Proofs ch. 1.6, pg. 87,93 Muhammad Arief download dari
Fall 2002CMSC Discrete Structures1 Let’s proceed to… Mathematical Reasoning.
Methods of Proof & Proof Strategies
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.
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
CSE 311: Foundations of Computing Fall 2013 Lecture 8: More Proofs.
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.
Discrete Mathematics CS 2610 August 24, Agenda Last class Introduction to predicates and quantifiers This class Nested quantifiers Proofs.
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.
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)
Module #13: Inductive Proofs Rosen 5 th ed., § inference of a generalized conclusion from particular instances 2. mathematical demonstration of the.
Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems or solving problems, creativity and insight.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 3 The Foundations: Logic and Proof,
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.
Module #1 - Logic Based on Rosen, Discrete Mathematics & Its Applications. Prepared by (c) , Michael P. Frank. Modified By Mingwu Chen 1 Module.
Chapter 2 Fundamentals of Logic 1. What is a valid argument or proof?
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.
Week 4 - Wednesday.  What did we talk about last time?  Divisibility  Proof by cases.
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
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.
Discrete Math by R.S. Chang, Dept. CSIE, NDHU1 Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems.
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.
Chapter 1 Logic and proofs
Chapter 1 Logic and Proof.
Indirect Argument: Contradiction and Contraposition
CSE15 Discrete Mathematics 01/30/17
Methods of proof Section 1.6 & 1.7 Wednesday, June 20, 2018
Proof Techniques.
Explorations in Artificial Intelligence
CS201: Data Structures and Discrete Mathematics I
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
Xuan Guo Lab 4 Xuan Guo
Inference Rules: Tautologies
Information Technology Department SKN-SITS,Lonavala.
September 9, 2004 Prof. Marie desJardins (for Prof. Matt Gaston)
Mathematical Reasoning
CS201: Data Structures and Discrete Mathematics I
Presentation transcript:

Discrete Mathematics Math 6A Homework 7 Solution

1.5-1 (a) addition rule simplification rule modus ponens modus tollens hypothetical syllogism 1.5-3 Let w be the proposition "Randy works hard" Let d be the proposition "Randy is a dull boy", and let j be the proposition "Randy will get the job" and want to conclude ~j We set up the proof in two colums, with reasons, as in Example 6 Step Reason w Hypothesis wd Hypothesis d Modus ponens using steps 2 and 3 d ~j Hypothesis ~j Modus ponens using steps 2 and 3

1.5-6 First we use universal instantiation to conclude from "For all x, if x is a man, then x is not an island" the special case of interest, "If manhattan is a man, then Manhattan is not an island." Then we form the contrapositive (using also double negative): "If manhattan is an island, then Manhattan is not a man." Finally we use modus ponens to conclude that Manhattan is not a man. Alternatively, we could apply modus tollens. 1.5-9 Let c(x) be "x is in this class", let j(x) be "x knows how to write programs in JAVA," and let h(x) be"x can get a high paying job". We are given premises c(Doug), j(Doug), and x(j(x)  h(x)) , and we want to conclude x(c(x)h(x)) Step Reason 1 x(j(x)  h(x)) Hypothesis 2 j(Doug)  h(Doug) Universal instantiation using Step1 3 j(Doug) Hypothesis 4 h(Doug) Modus ponens using Step2 and 3 5 c(Doug) Hypothesis 6 c(Doug)  h(Doug) Conjunction using Step4 and 5 7 x(c(x)h(x)) Existential generalization using step6

b) Let c(x) be "x is in this class," let w(x) be "x enjoys whale watching," and let p(x) be "x cares about ocean pollution." We are given premises x(c(x)  w(x)) and x(w(x)p(x)), and we want to conclude x(c(x)  p(x)). In our proof, y represents an unspecified particular person. step Reason 1. x(c(x)  w(x)) Hypothesis 2. c(y)  w(y)) Existential instantiation using step1 3. w(y) simplification using step2 4. c(y) simplification using step2 5. x(w(x)p(x)) Hypothesis 6. w(y)p(y) Universal instantiation using step5 7. p(y) Modus ponens using steps 3 and 6 8. c(y)  p(y) Conjunction using steps 4 and 7 9. x(c(x)  p(x)) Existential generalization using step8

c) Let c(x) be "x is in this class," let p(x) be "x owns a PC," and let w(x) be "x can use a word processing program." We are given premises c(Zeke), x(c(x)  p(x)), and x(p(x)w(x)), and we want to conclude w(Zeke). Step Reason 1. x(c(x)p(x)) Hypothesis 2. c(Zeke)  p(Zeke) Universal instantiation using step1 3. c(Zeke) Hypothesis 4. p(Zeke) Modus ponens using Steps 2 and 3 5. x(p(x)  w(x)) Hypothesis 6. p(Zeke)  w(Zeke) Universal instantiation using Step 5 7. w(Zeke) Modus ponens using Steps 4 and 6

d) Let j(x) be "x is in New Jersey," let f(x) be "x lives within fifty miles of the ocean," and let s(x) be "x has been the ocean." We are given premises x(j(x)  f(x)) and x(j(x)  ~s(x)), and we want to conclude x(f(x)  ~s(x)). In our proof, y represents an unspecified particular person. Step Reason 1. x(j(x)  ~s(s)) Hypothesis 2. j(y)  ~s(y) Existential instantiation using Step 1 3. j(y) Simplification using Step 2 4. x(j(x)  f(x)) Hypothesis 5. j(y)  f(y) Universal instantiation using Step 4 6. f(y) Modus ponens using Steps 3 and 5 7. ~s(y) Simplification using Step 2 8. f(y)  ~s(y) Conjunction using Steps 6 and 7 9. x(f(x)  ~s(x)) Existential generalization using Step 8

1.5-12 correct, using universal instantiation and modus tollens. not correct, After applying universal instantiation, it contains the fallacy of denying the hypothesis. not correct, After applying universal instantiation, it contains the fallacy of affirming the conclusion. correct, using using universal instantiation and modus ponens. 1.5-15 We know that some x exists that makes H(x) true, but we cannot conclude that Lola is one such x. Maybe one Suzanne is happy and everyone else is not happy. Then xH(x) is ture, but H(Lola) is false. 1.5-20 a) Suppose that n is even. Then n=2k for some integer k. Therefore n^2 = (2k)^2 = 4k^2 = 2(2k^2). Since we have written n^2 as 2 times an integer, we conclude that n^2 is even b) Suppose that n^2 is not even. In other words, suppose that n^2 is odd. By the theorem proved in Example 19, we conclude that n is odd, hence not even. Since we have proved that the hypothesis is false under the assumption that the conclusion is false, we have given an indirect proof of the implication. c) Assume that n is even but n^2 is odd. By theorem proved in Example 19, this latter assumption implies that n is odd. This contradicts our assumption that n is even. Since we have derived a contradiction, the theorem is proved.

1.5-22 prove 3n+2 is even, then n is even a) We must prove the contrapositive: If n is odd, then 3n+2 is odd. Assume that n is odd. Then we can write n=2k+1 for some integer k. Then 3n+2 = 3(2k+1) +2 = 6k + 5 = 2(3k+2) + 1. Thus 3n+2 is two times some integer plus 1, so it is odd. b) Suppose that 3n+2 is even and that n is odd. Since 3n+ 2 is even, so is 3n. If we add subtract an odd number from an even number, we get an odd number, so 3n-n=2n is odd. But this is obviously not true. Therefore our supposition was wrong, and the proof by contradiction is complete. 1.5-23 Show sum of two int. is even We give a direct proof. Suupose that a and b are two odd integers. Then there exist integers s and t s.t. a = 2s+1 and b=2t+1. Adding, we obtain a+b =(2s+1) + (2t+1) = (s+t+1). Since this represents a + b as 2 times the integer s+t+1, we conclude that a+ b is even, as desired. 1.5-31 We give a proof by contradiction. If there were nine of fewer days on each day of the week, this would account for at most 9*7 = 63 days. But we chose 64 days. This contradiction shows that at least ten of the days must be on the same day of the week.

1.5-34 min(a, min(b,c)) = min(min(a,b),c) whenever a,b and c are real numbers. There are three main cases, depending on which of the three numbers is smallest. If a is samllest (or tied for smallest), then clearly a <= min(b,c), and so the left-hand side equals a. On the other hand, for the right-hand side we have min(a,c) =a as well. In the second case, b is smallest (or tied for smallest). the same reasoning shows us that the right-hand side eqauls b; and the left-hand side is min(a,b) = b as well. In the final case, in which c is smallest (or tied for smallest), the left-hand side is min(a,c)=c, whereas the right-hand side is clearly also c. Since one of the three has to be smallest we have taken care of all the cases 1.5-47 The steps are valid for obtaining possible solutions to the equations . If the given equation is true, then we can conclude that x=1 or x=6, since the truth of each equation implies the truth of the next equation . However, the steps are not all reversible; in particular, the squaring step is not reversible. Therefore the possible answers must be checked in the original equation . We know that no other solutions are possible, but we do not know that these two numbers are in fact solutions. If we plug in x =1 we get the true statement 2=2; but if we plug in x =6 we get the false statement 3=-3. Therefore x=1 is the one and only solution of (x+3) = 3-x. 1.5-54 We have from algebra that the following equations are equivalent: ax + b = c, ax = c –b. x =(c-b)/a. This shows, constructively, what the unique solution of the given equation is.

1. 5-67 Suppose that we have proved p1  p4  p2  p5  p3  p1 1.5-67 Suppose that we have proved p1  p4  p2  p5  p3  p1. Imagine these implications arranged around a circle. Then to prove that each one of these propositions (say pi) implies each of the others (say pj), we just have to follow the circle, starting at pi, until we come to pj, using hypothetical syllogism repeatedly.