MCS-236: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, Methods of Proof

Similar documents
Some Review Problems for Exam 1: Solutions

Day 6. Tuesday May 29, We continue our look at basic proofs. We will do a few examples of different methods of proving.

Argument. whenever all the assumptions are true, then the conclusion is true. If today is Wednesday, then yesterday is Tuesday. Today is Wednesday.

1. Propositions: Contrapositives and Converses

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

CSE 1400 Applied Discrete Mathematics Proofs

Proof by Contradiction

Inference and Proofs (1.6 & 1.7)

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Proofs: A General How To II. Rules of Inference. Rules of Inference Modus Ponens. Rules of Inference Addition. Rules of Inference Conjunction

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

Logic and Proofs. (A brief summary)

Chapter 1 Elementary Logic

Mat 243 Exam 1 Review

Steinhardt School of Culture, Education, and Human Development Department of Teaching and Learning. Mathematical Proof and Proving (MPP)

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

Conjunction: p q is true if both p, q are true, and false if at least one of p, q is false. The truth table for conjunction is as follows.

Logic. Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another.

Proofs. Introduction II. Notes. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula:

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014

Math 10850, fall 2017, University of Notre Dame

Logic Overview, I. and T T T T F F F T F F F F

MATH 271 Summer 2016 Practice problem solutions Week 1

2. The Logic of Compound Statements Summary. Aaron Tan August 2017

Before you get started, make sure you ve read Chapter 1, which sets the tone for the work we will begin doing here.

1.1 Language and Logic

COT 2104 Homework Assignment 1 (Answers)

CSE 20 DISCRETE MATH WINTER

CSE 20 DISCRETE MATH SPRING

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

Proofs. Chapter 2 P P Q Q

Day 5. Friday May 25, 2012

Gödel s Incompleteness Theorems by Sally Cockburn (2016)

Lecture 2: Proof Techniques Lecturer: Lale Özkahya

Proofs. Chapter 2 P P Q Q

CSE 20 DISCRETE MATH. Fall

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

CSCE 222 Discrete Structures for Computing. Proofs. Dr. Hyunyoung Lee. !!!!! Based on slides by Andreas Klappenecker

Mathematical Reasoning Rules of Inference & Mathematical Induction. 1. Assign propositional variables to the component propositional argument.

Propositional Logic. Fall () Propositional Logic Fall / 30

CITS2211 Discrete Structures Proofs

The Process of Mathematical Proof

For all For every For each For any There exists at least one There exists There is Some

Homework 3: Solutions

(3,1) Methods of Proof

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

Logic and Proofs. (A brief summary)

CSE 20 DISCRETE MATH. Winter

3 The language of proof

Axiomatic systems. Revisiting the rules of inference. Example: A theorem and its proof in an abstract axiomatic system:

Logic, Sets, and Proofs

Proofs. Joe Patten August 10, 2018

Propositional Logic: Syntax

Section 1.2: Propositional Logic

Basic Logic and Proof Techniques

Definitions Chapter 1 Proof Technique (Pg.1): Proof (Pg.2): Statement (Pg.2): Conditional Statement/Implication (Pg3.): Hypothesis(Pg.

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics. Introductory Notes in Discrete Mathematics Solution Guide

Manual of Logical Style

Today. Proof using contrapositive. Compound Propositions. Manipulating Propositions. Tautology

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

means is a subset of. So we say A B for sets A and B if x A we have x B holds. BY CONTRAST, a S means that a is a member of S.

MATH10040: Chapter 0 Mathematics, Logic and Reasoning

15414/614 Optional Lecture 1: Propositional Logic

cse 311: foundations of computing Fall 2015 Lecture 6: Predicate Logic, Logical Inference

x P(x) x P(x) CSE 311: Foundations of Computing announcements last time: quantifiers, review: logical Inference Fall 2013 Lecture 7: Proofs

STUDY PROBLEMS FOR EXAM I CMSC 203 DISCRETE STRUCTURES. n (n +1)(2n +1), 6. j 2 = 1(1+1)(2 1+1) 6. k (k +1)(2k +1) 6

Predicate Logic. Andreas Klappenecker

Contribution of Problems

Propositional Logic. Spring Propositional Logic Spring / 32

Your quiz in recitation on Tuesday will cover 3.1: Arguments and inference. Your also have an online quiz, covering 3.1, due by 11:59 p.m., Tuesday.

5. Use a truth table to determine whether the two statements are equivalent. Let t be a tautology and c be a contradiction.

Glossary of Logical Terms

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

PROPOSITIONAL CALCULUS

MAT 243 Test 1 SOLUTIONS, FORM A

Section 3.1: Direct Proof and Counterexample 1

Lecture 5 : Proofs DRAFT

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

Boolean Algebra and Proof. Notes. Proving Propositions. Propositional Equivalences. Notes. Notes. Notes. Notes. March 5, 2012

Logic. Propositional Logic: Syntax

Foundations of Discrete Mathematics

Introduction to Logic and Axiomatic Set Theory

Basic properties of the Integers

Handout on Logic, Axiomatic Methods, and Proofs MATH Spring David C. Royster UNC Charlotte

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

1.1 Statements and Compound Statements

Manual of Logical Style (fresh version 2018)

Basic Proof Examples

What is a proof? Proofing as a social process, a communication art.

Solution Set 2. Problem 1. [a] + [b] = [a + b] = [b + a] = [b] + [a] ([a] + [b]) + [c] = [a + b] + [c] = [a + b + c] = [a] + [b + c] = [a] + ([b + c])

Logic and Proofs 1. 1 Overview. 2 Sentential Connectives. John Nachbar Washington University December 26, 2014

Intro to Logic and Proofs

Show Your Work! Point values are in square brackets. There are 35 points possible. Tables of tautologies and contradictions are on the last page.

First order Logic ( Predicate Logic) and Methods of Proof

Carmen s Core Concepts (Math 135)

MA103 STATEMENTS, PROOF, LOGIC

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017

Transcription:

MCS-36: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, 010 Methods of Proof Consider a set of mathematical objects having a certain number of operations and relations defined on them. Take, for example, the natural numbers with the usual arithmetical operations +,,,, and the < and = relations. We can state various propositions involving these objects, their operations, and their relations. For example, n( < n = ( x y z(x n + y n = z n ))). How wonderful it would be if, given any such proposition, we could always determine its truth value. Nobody knows of an algorithm for such a determination! The accepted method of mathematical investigation is called the axiomatic method. An axiom is a proposition that is assumed to be true. We begin by declaring a set of axioms governing our mathematical structure. From then on, we will accept the truth of any proposition p only when any one of the following occurs: 1. p is an axiom,. p is a tautology, 3. p can be logically inferred from other true propositions. In the last case, p is said to be a theorem and the steps that were used to establish the truth of p make up a proof of the theorem. One property required of an axiom system is that it is consistent, i.e., no contradiction can be proved within the system. Existence of a contradiction would render the system totally useless since it allows one to prove any proposition. A desirable property of the system is that it is complete, i.e., there exists a proof for every true proposition, and there exists a proof for the negation of every false proposition. Gödel proved that no consistent axiom system powerful enough to include the natural numbers and arithmetic can be complete!

MCS-36: Handout #A4 Definitions are the tool we use to help us understand and communicate a proposition in English. To appreciate definitions, try expressing the following proposition in English (assuming N is our universe of discourse) n[(n > 1) ( k(n = k)) ( d[(d 1 d n) = k(k d n)]]. As usual we define an integer n to be even if there is an integer k such that n = k. Also define a natural number p to be prime if p > 1 and p = c d only when c = p or d = p. Now we see that the complicated proposition above says there exists an even prime number, which happens to be true. The power of the axiomatic method comes from the general nature of axioms. The mathematical objects, their operations, and their relations that the axioms talk about are undefined and are subject to different interpretations. Therefore, there may exist many different models (or worlds) that satisfy the same set of axioms. Consider a proposition q and a set of propositions P. We say that q follows logically from P if q is true in any possible model where all of the propositions in P are true. In symbol, we write P = q and read P logically entails q. This concept is the basis for inference rules that we can use to write proofs (item 3 on our list). Some important inference rules. p q p p p q p, q p q p q, p q p = q, p q p = q, q = r p = r (and-elimination) (or-introduction) (and-introduction) (or-elimination) (modus ponens) (transitivity) p q q q p q p, q q p p q, q p (and-elimination) (or-introduction) (and-introduction) (or-elimination) p = q, q p (modus tollens) One way to prove an inference rule is to use logical equivalences. Another way is to inspect the truth tables and use the definition of logical entailment. (Note: do some example proofs here.)

MCS-36: Handout #A4 3 Two inference meta-rules not included in the above table are = True and {p} = q whenever p is logically equivalent to q. Almost all proofs in mathematics we are likely to encounter are actually informal proofs. Such a proof presumes an intended audience. An informal proof usually skips many little steps and the readers are assumed to be able to fill out the details. For this class we will not develop all the mathematics we need from scratch. We assume an axiom system powerful enough to include arithmetic on the real numbers. This means you may use facts you have learned up to the materials typically covered in a precalculus course without proving them.

4 MCS-36: Handout #A4 Proving an Existentially Quantified Statement x.ϕ(x). This is straightforward. We simply pick an element x from our universe of discourse (perhaps after a long period of pondering), and then show that ϕ(x) is true. Let s look at an example. Theorem. Some prime number is even. Proof. Consider the number. We have = 1 and 1 is an integer. Hence, is even by the definition of evenness. Moreover, the only divisors of are 1 and. Therefore, is a prime by the definition of prime. Thus, is both a prime number and even. Proving a Universally Quantified Statement x.ϕ(x). We begin by saying, Let x be any arbitrary element from our universe of discourse, and then proceed to show that ϕ(x) is true. Our proof will be valid as long as we do not use any properties except those that are known to hold for every element in our universe of discourse. Let s look at an example. Theorem. Every natural number is smaller than some natural number. Proof. Let n be any natural number. It is an arithmetic fact that n+1 is a natural number and that n < n + 1. We have shown that for any natural number n there exists a number, specifically the natural number n + 1, such that n is smaller than it. Thus, every natural number is smaller than some natural number. In the formal language, this theorem says n m(n < m). That is, it is of the form n.ϕ(n) where ϕ(n) is m.ψ n (m), i.e., ψ n (m) depends on n. The order of quantifiers is important. That s why we pick an arbitrary number n first, and then judiciously pick another number m that is greater than that specific n second.

MCS-36: Handout #A4 5 Proving an Implication. An implication is the most important type of proposition we will be dealing with. Suppose we have to show that p = q is true in our axiom system. This means we want to prove that in any model where our axioms and p hold, q also holds. There are three proof methods we can use: direct proof, proof by contrapositive, and proof by contradiction. In a direct proof, we assume that the hypothesis p is true in addition to the axioms. We then write a series of valid statements (axioms, tautologies, statements using inference rules) having the conclusion q as the last statement. The proof by contrapositive is based on the fact that an implication is logically equivalent to its contrapositive, i.e., (p = q) ( q = p). It is the direct proof of the contrapositive. We will describe the proof by contradiction later. Direct Proof of a Universally Quantified Implication x(ϕ(x) = ψ(x)). Theorem. For every integer n, if n is even then n is even. Proof. Let n be an even integer. By definition of even integer, n = k for some integer k. By the rule of arithmetic, we have n = (k) = kk = (kk). Since k is an integer and is an integer, and the set of integers is closed under multiplication, we have that kk is an integer. Thus, n is even (because it can be written as times the integer kk). Proof by Contrapositive of a Universally Quantified Implication x(ϕ(x) = ψ(x)). Theorem. For every integer n, if n is even then n is even. Proof. Let n be any integer that is not even. Thus n is odd. By definition of odd integer, n = k + 1 for some integer k. By the rule of arithmetic, we have n = (k + 1) = (k + 1)(k + 1) = 4k + 4k + 1 = (k + k) + 1. Since k is an integer and is an integer, and the set of integers is closed under multiplication

6 MCS-36: Handout #A4 and addition, we have that k + k is an integer. Thus, n is odd (because it can be written as twice the integer k + k, plus 1). Therefore, n is not even. Proof by Contradiction. This proof method is based on the fact that any proposition p is logically equivalent to the proposition p = False. So instead of proving p, we directly prove that p = False. Let s look at an example. Theorem. is an irrational number. Proof. Suppose for the sake of contradiction that is rational. By the definition of rational number, there exist integers n and m such that their only common positive divisor is 1 and that = n/m. By the rule of arithmetic, we can then square both sides to get = n /m and again by the rule of arithmetic, we can then multiply both sides by m to get m = n. The above equality says that n is an even number by the definition of even number. By the last theorem we proved, we conclude that n is even. So by the definition of even integer, n = k for some integer k. Replacing n by k in the last equality we get m = (k) which gives m = 4k. By the rule of arithmetic, we can divide both sides by to get m = k. The above equality says that m is an even number by the definition of even number. By the last theorem we proved, we conclude that m is even. We have now proved that both n and m are even integers, that is, they have as a common divisor. This contradicts our assumption that n and m have 1 as their only common positive divisor.

MCS-36: Handout #A4 7 Proof by Contradiction of a Universally Quantified Implication x(ϕ(x) = ψ(x)). By the foregoing discussion, we have to show that [ x(ϕ(x) = ψ(x))] = F alse which is logically equivalent to x[ (ϕ(x) = ψ(x))] = F alse which is logically equivalent to x[ ( ϕ(x) ψ(x))] = False which is logically equivalent to x[ ϕ(x) ψ(x)] = F alse which is logically equivalent to x[ϕ(x) ψ(x)] = F alse, and this is the form that we will use. Let s look at an example. Theorem. For all integer n, if n is even then n is even. Proof. Suppose there exists an even integer n such that its square n is odd. This means, by definition of even and odd integers, that there exist integers k and l such that n = k and n = l + 1. We thus have l + 1 = n = (k) = 4k. Subtracting l from both sides we get 1 = 4k l which further yields 1 = (k l) which says that 1 is an even integer, a contradiction.

8 MCS-36: Handout #A4 Proof by Cases. This proof method is based on the fact that any proposition q is logically equivalent to the proposition (p = q) ( p = q), where p is any proposition. Instead of trying to prove q, we prove (p = q) ( p = q). We will now give an example of a beautiful proof by cases. Theorem. There exist irrational numbers x and y such that x y is rational. Proof. Consider the number. It is either rational or irrational. We consider each case in turn. Case 1. is rational. We then let x = and let y =. We then have both x and y irrational but x y rational. Case. is irrational. We then let x = and let y =. We thus have x y = ( ) = = =, a rational number. Again we have both x and y irrational but x y rational. This completes the proof. Notice that even after the proof we still don t know whether Case 1 above is true or Case is true. The proof helps absolutely nothing in determining the rationality of.

MCS-36: Handout #A4 9 Exercises. 1. Prove it is not the case that for every natural number n, the number n + 41n + 41 is prime.. Prove it is not the case that there exists a natural number m such that for every natural number n we have m = n + 1. 3. Prove directly that for any integers m and n, if m + n is odd then m is odd or n is odd. Hint: Use the fact that p q p = q. 4. Prove it again by contrapositive. 5. Prove it again by contradiction. 6. Prove by contrapositive that for all integers m, n, if mn is odd then both m and n are odd. Hint: Use the fact that p q = r (p = r) (q = r). 7. Prove it again by contradiction. 8. Prove (by cases) that the product of any three consecutive integers is divisible by 3.