More examples of mathematical. Lecture 4 ICOM 4075

Similar documents
a. See the textbook for examples of proving logical equivalence using truth tables. b. There is a real number x for which f (x) < 0. (x 1) 2 > 0.

COT 2104 Homework Assignment 1 (Answers)

Mathematics 220 Homework 4 - Solutions. Solution: We must prove the two statements: (1) if A = B, then A B = A B, and (2) if A B = A B, then A = B.

Section 3.1: Direct Proof and Counterexample 1

Some Review Problems for Exam 1: Solutions

3 The language of proof

Section 1.7 Proof Methods and Strategy. Existence Proofs. xp(x). Constructive existence proof:

Foundations of Discrete Mathematics

Basic Logic and Proof Techniques

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

LECTURE 1. Logic and Proofs

Contradiction MATH Contradiction. Benjamin V.C. Collins, James A. Swenson MATH 2730

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

Equations and Solutions

Section Summary. Proof by Cases Existence Proofs

Chapter 2 Section 2.1: Proofs Proof Techniques. CS 130 Discrete Structures

1. Propositions: Contrapositives and Converses

Mathematics 220 Midterm Practice problems from old exams Page 1 of 8

Lecture 3. Logic Predicates and Quantified Statements Statements with Multiple Quantifiers. Introduction to Proofs. Reading (Epp s textbook)

Midterm: Sample 3. ECS20 (Fall 2017) 1) Using truth tables, establish for each of the two propositions below if it is a tautology, a contradiction

3.6. Disproving Quantified Statements Disproving Existential Statements

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

ADVICE. Since we will need to negate sentences, it is important to review seccons 7 and 11 before proceeding.

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

1.1 Language and Logic

Mathematical Reasoning (Part I) 1

MA103 STATEMENTS, PROOF, LOGIC

(4) Using results you have studied, show that if x, y are real numbers,

Math 13, Spring 2013, Lecture B: Midterm

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

CSC165. Larry Zhang, October 7, 2014

Lecture 7 Feb 4, 14. Sections 1.7 and 1.8 Some problems from Sec 1.8

Proofs. Joe Patten August 10, 2018

Introducing Proof 1. hsn.uk.net. Contents

Section 1.2 Propositional Equivalences. A tautology is a proposition which is always true. A contradiction is a proposition which is always false.

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

AN INTRODUCTION TO MATHEMATICAL PROOFS NOTES FOR MATH Jimmy T. Arnold

CS 360, Winter Morphology of Proof: An introduction to rigorous proof techniques

Chapter 2: The Logic of Quantified Statements. January 22, 2010

(3,1) Methods of Proof

Exercise Set 1 Solutions Math 2020 Due: January 30, Find the truth tables of each of the following compound statements.

Announcements. Read Section 2.1 (Sets), 2.2 (Set Operations) and 5.1 (Mathematical Induction) Existence Proofs. Non-constructive

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

CSE 20 DISCRETE MATH. Winter

CSC Discrete Math I, Spring Propositional Logic

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

1.1 Language and Logic

Mathematical Induction

Homework 3: Solutions

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

Mathematical Writing and Methods of Proof

MATH 135 Fall 2006 Proofs, Part IV

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

MATH 2200 Final Review

Section 1.3. Let I be a set. When I is used in the following context,

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

Introduction to Decision Sciences Lecture 2

Disproof MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Disproof Fall / 16

Carmen s Core Concepts (Math 135)

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

CS 340: Discrete Structures for Engineers

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

MATH10040: Chapter 0 Mathematics, Logic and Reasoning

Logic, Sets, and Proofs

CSE 20 DISCRETE MATH. Fall

1 Implication and induction

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand Note 2

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.

Direct Proof Divisibility

Example 1: Identifying the Parts of a Conditional Statement

Lecture 2: Proof Techniques Lecturer: Lale Özkahya

Exercises 1 - Solutions

Quantifiers. P. Danziger

2. Find all combinations of truth values for p, q and r for which the statement p (q (p r)) is true.

The Process of Mathematical Proof

Math Real Analysis

Ch 3.2: Direct proofs

Math 10850, fall 2017, University of Notre Dame

Direct Proof and Counterexample I:Introduction

Basic Proof Examples

Direct Proof and Counterexample I:Introduction. Copyright Cengage Learning. All rights reserved.

Recitation Week 3. Taylor Spangler. January 23, 2012

Formal Proof Methodology

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

MAT 300 RECITATIONS WEEK 7 SOLUTIONS. Exercise #1. Use induction to prove that for every natural number n 4, n! > 2 n. 4! = 24 > 16 = 2 4 = 2 n

1. Prove that the number cannot be represented as a 2 +3b 2 for any integers a and b. (Hint: Consider the remainder mod 3).

Proof Terminology. Technique #1: Direct Proof. Learning objectives. Proof Techniques (Rosen, Sections ) Direct Proof:

2-4: The Use of Quantifiers

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

Propositional and Predicate Logic

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

Proof by contrapositive, contradiction

Recitation 4: Quantifiers and basic proofs

PRINCIPLE OF MATHEMATICAL INDUCTION

Proof worksheet solutions

Sec$on Summary. Mathematical Proofs Forms of Theorems Trivial & Vacuous Proofs Direct Proofs Indirect Proofs

7.11 A proof involving composition Variation in terminology... 88

1.1 Statements and Compound Statements

Stanford University CS103: Math for Computer Science Handout LN9 Luca Trevisan April 25, 2014

Transcription:

More examples of mathematical proofs Lecture 4 ICOM 4075

Proofs by construction A proof by construction is one in which anobjectthat proves the truth value of an statement is built, or found There are two main uses of this technique: Proofthat a statement with an existential quantifier is true And disproof by counterexample: this is a proof that a statement with a universal quantifier, is false

Note the existential quantifier Example 1 Statement: There is a prime number between 45 and 54

Example 1 Statement: There is a prime number between 45 and 54 Proof: Search for an object: we examine one by one, the numbers between 45 and 54, until a prime is found. If no prime were found, the statement would be false. Number Is it prime? 45 No,because it is divisible by 5 46 No, because is divisible by 2 47 Yes, 47 is divisibleonly by 1 and 47 Conclusion: the statement is true(no need to check the rest of the numbers from 48 to 54)

Note the universal quantifier: For all a, b, and d integer Example 2 Statement: If d a b then d a or d b

Example 2 Statement: If d a b then d a or d b Proof: By counterexample. 1. Let d = 6, a = 2 and b = 3 2. Then, a b = 6 and thus, d a b 3. But d = 6 does not divide a = 2, and 4. d = 6 does not divide b = 3 Therefore, the statement is false

Example 3 Statement: Let m and n be integers. Then, there is no integer k such that (3m+2)(3n+2) = 3k+2 WHAT KIND OF STATEMENT IS THIS? (doesn t look like an implication)

Example 3 Statement: Let m and n be integers. Then, there is no integer k such that (3m+2)(3n+2) = 3k+2 Let s parse it (don t forget the quantifiers) A(m, n) : m and n are integers and B(m, n, k) : (3m+2)(3n+2) = 3k+2 Statement: (For all m, n) A(m, n)(for all k) NotB(m, n, k)

Example 3 As suspected, this is not an implication. So, neither a direct nor a contrapositiveproof is possible Also, the statement is negative in the sense that ensures that a property is not possible. This suggest a contradiction: What is wrong if the property is possible? Negation of the statement: (the property is true) (There are m, n) A(m, n)(there is k) B(m, n, k)

Proof: The negation of the statement implies a false statement 1. By hypothesis: m, n, and k are integers 2. (3m+2)(3n+2) = 9mn + 6(m+n) + 4 = 3(3mn + 2(m+n)) + 4 3. It follows that 3(3mn + 2(m+n)) + 4 = 3k + 2 4. And thus, k = 3mn + 2(m+n) -2/3 THIS IS FALSE!!! 5. So, there is an integer that is equal to the sum of an integer and a negative fraction

Example 4 Statement: The sum of an even number and an odd number is always odd Again, the same important question: WHAT KIND OF STATEMENT IS THIS?

Example 4 Statement: The sum of an even number and an odd number is always odd Let s rephrase it: If x is even and y is odd, then x + y is odd Makes sense? Yes, indeed. So, the statement is an implication. And the proof is direct

Example 4 Proof: 1. Since x is even, then x = 2k, for some natural k. 2. Since y is odd, then y = 2q + 1, for some natural q. 3. Thus, x + y = 2k + 2q + 1 = 2(k + q) + 1. 4. Since (k + q) is a natural number, x + y is an odd number.

Example 5: just another direct proof Statement: If d (a + b) and d a, then d b There is no doubt: THIS There is no doubt: THIS IS AN IMPLICATION, but

Example 5: just another direct proof Statement: If d (a + b) and d a, then d b Be careful: The hypothesisis d (a + b) and d a. Proof: Direct. 1. Since d (a + b), k d = a + b, for some integer k. 2. Since d a, q d = a, for some integer q. 3. Thus, k d = a + b = q d + b. 4. And therefore, (k q) d = b. 5. Since k q is an integer, d divides b.

Example 6 Statement: m n and n m if and only if n = m or n = -m. Here is also clear that this is an IF AND ONLY IF STATEMENT So you only have to

Example 6 Statement: m n and n m if and only if n = m or n = -m. Recall that: As all if and only if statement, this statement consists of two implications: (a) If m n and n m then, n = m or n = -m (b) If n = m or n = -m then, m n and n m We will prove them separately.

Statement (a) Proof: direct. 1. The hypothesis is: m n and n m. Therefore, 2. k m = n and q n = m for some integers k and q, respectively. 3. By replacing the second equation in the first one we get k q n = n. 4. By dividing by n we get k q = 1. 5. Thus, either k = q = 1 or k = q = -1. But, 6. If k = q = 1 m = n, and if k = q = -1, then m = -n.

Proof: Statement (b) 1. The hypothesis is now n = m or n = -m. 2. Assume first that n = m. 3. Then, n divides m since 1 n = m; and 4. m divides n since 1 m = n, as well. 5. Assume now that n = -m. 6. Then, n divides m since -1 n = m; and 7. m divides n since -1 m = n, as well.

Example 7: Recall our first proof by exhaustion In the previous lecture we had the statement: If n is 2 an integer and 2 n 7, then q = n + 2 is not divisible by 4, which we proved to be true by exhaustion, using the table: n q Divisible by 4? 2 6 No 3 11 No 4 18 No 5 27 No 6 38 No 7 51 No

Example 7 (continuation) In the same lecture we pointed out that the statement: If n is an integer, then n + 2 is not divisible by 4 cannot be proved by exhaustion since it involves infinitely many objects (integers). Next is a proof for this statement. 2

Example 7 (continuation) Statement: If n is an integer then n 2 + 2 is not divisible by 4 Proof: By contradiction. The negation of the statement is: n is an integer and n 2 + 2 is divisible by 4 This is now our hypothesis. As a handy remark, recall that since n is an integer, n may be either even or odd

Example 7: the proof 1. Assume first that n is even. Then n = 2m, for some integer m 2. Thus, n 2 + 2 = (2m) 2 + 2 = 4m 2 + 2 3. Since n 2 + 2 is divisible by 4, we have that 4. 4m 2 + 2 = 4k, for some integer k. 5. By dividing both sides by 2 we get 6. 2m 2 + 1 = 2k, k and m 2 integers. 7. So, there is an odd number that is equal to an even number (The conclusion is false)

Example 7: the proof 1. Assume now that n is odd. Then n = 2m + 1, for some integer m 2. Thus, n 2 + 2 = (2m + 1) 2 + 2 = 4m 2 + 4m + 2 3. Since n 2 + 2 is divisible by 4, we have that 4. 4m 2 + 4m + 2 = 4k, for some integer k. 5. By dividing both sides by 2 we get 6. 2m 2 + 2m + 1 = 2(m 2 + m) + 1 = 2k 7. So again, there is an odd number that is equal to an even number

Summary of Lectures 3 and 4 Revision of the concepts of integer, natural number, divisible numbers, even, odd, and prime numbers. Notions of mathematical statement and mathematical proofs Types of mathematical proofs and examples: Direct proofs Proof by exhaustion Use of the contrapositive form of the implication Proof by contradiction If and only if proofs Proofs by construction and their use as counterexamples

Exercises: Prove 2 1. If (3n) is even, then n is even. 2. If d (d a + b), then d b. 3. x y is odd if and only if x is odd and y is odd. 4. Every odd integer between 2 and 26 is either prime or the product of two primes. 5. If x and z are even numbers then, 4 divides (x -z) 2

Exercises 6. Is the statement If d divides (a + b) or d divides a, then d divides b true or false? Give a proof or provide a counterexample 7. Is the statement If d divides (a + b + c) and d divides a and b, then d divides c true or false? Give a proof or provide a counterexample 8. Parse and prove the statement: For each integer m there is an integer k such that (4m + 3) 2 = 2k + 9 9. Parse and prove: There is no integer k such that (4m + 3) 2 = 2(k + 3)