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

Similar documents
Some Review Problems for Exam 1: Solutions

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

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

Day 5. Friday May 25, 2012

1 Direct Proofs Technique Outlines Example Implication Proofs Technique Outlines Examples...

3 The language of proof

Introducing Proof 1. hsn.uk.net. Contents

Proof by Contradiction

Logic, Sets, and Proofs

Introduction to Basic Proof Techniques Mathew A. Johnson

MATH 271 Summer 2016 Practice problem solutions Week 1

Mathematical Writing and Methods of Proof

Mathematical Induction

Basic Logic and Proof Techniques

9/5/17. Fermat s last theorem. CS 220: Discrete Structures and their Applications. Proofs sections in zybooks. Proofs.

Basics of Proofs. 1 The Basics. 2 Proof Strategies. 2.1 Understand What s Going On

3.6. Disproving Quantified Statements Disproving Existential Statements

MATH 135 Fall 2006 Proofs, Part IV

Climbing an Infinite Ladder

MATH CSE20 Homework 5 Due Monday November 4

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.

Basic Proof Examples

Math 10850, fall 2017, University of Notre Dame

CS1800: Mathematical Induction. Professor Kevin Gold

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

Proof by contrapositive, contradiction

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

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

Math 38: Graph Theory Spring 2004 Dartmouth College. On Writing Proofs. 1 Introduction. 2 Finding A Solution

CHAPTER 8: EXPLORING R

CISC-102 Fall 2017 Week 3. Principle of Mathematical Induction

Lecture 2: Proof Techniques Lecturer: Lale Özkahya

CMPSCI 250: Introduction to Computation. Lecture 11: Proof Techniques David Mix Barrington 5 March 2013

Week 2. Week 1 Recap. Week 2

Strategies for Proofs

Chapter 1 Elementary Logic

1. Propositions: Contrapositives and Converses

Discrete Mathematics. Spring 2017

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

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

Solutions for Homework Assignment 2

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

In case (1) 1 = 0. Then using and from the previous lecture,

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

One-to-one functions and onto functions

Day 12. Thursday June 7, 2012

Foundations of Discrete Mathematics

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.

Proofs. Joe Patten August 10, 2018

Math 300 Introduction to Mathematical Reasoning Autumn 2017 Proof Templates 1

MA103 STATEMENTS, PROOF, LOGIC

Notes from How to Prove it: A Structured Approach by Daniel J. Velleman

Section 3.1: Direct Proof and Counterexample 1

ORDERS OF ELEMENTS IN A GROUP

SECTION 9.2: ARITHMETIC SEQUENCES and PARTIAL SUMS

Contribution of Problems

More examples of mathematical. Lecture 4 ICOM 4075

Basic properties of the Integers

Writing proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

COT 2104 Homework Assignment 1 (Answers)

MATHEMATICAL INDUCTION

CS 173: Induction. Madhusudan Parthasarathy University of Illinois at Urbana-Champaign. February 7, 2016

Mathematical Induction. Section 5.1

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

M17 MAT25-21 HOMEWORK 6

Matrix Multiplication

Math Lecture 23 Notes

THE DIVISION THEOREM IN Z AND R[T ]

Discrete Math, Spring Solutions to Problems V

Sums of Squares. Bianca Homberg and Minna Liu

Manual of Logical Style

First order Logic ( Predicate Logic) and Methods of Proof

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

EECS 1028 M: Discrete Mathematics for Engineers

PROBLEM SET 3: PROOF TECHNIQUES

Section Summary. Proof by Cases Existence Proofs

Homework 3: Solutions

EXPONENT REVIEW!!! Concept Byte (Review): Properties of Exponents. Property of Exponents: Product of Powers. x m x n = x m + n

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 1

Proof worksheet solutions

Research Methods in Mathematics Homework 4 solutions

Preparing for the CS 173 (A) Fall 2018 Midterm 1

Real Analysis Notes Suzanne Seager 2015

Reading and Writing. Mathematical Proofs. Slides by Arthur van Goetham

Proof Techniques (Review of Math 271)

CHAPTER 1. REVIEW: NUMBERS

Warm-up Quantifiers and the harmonic series Sets Second warmup Induction Bijections. Writing more proofs. Misha Lavrov

Topics in Logic and Proofs

1.2 The Well-Ordering Principle

Lecture 4: Constructing the Integers, Rationals and Reals

14.2 Simplifying Expressions with Rational Exponents and Radicals

Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page.

Fall 2017 Test II review problems

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Chapter VI. Relations. Assumptions are the termites of relationships. Henry Winkler

Prompt. Commentary. Mathematical Foci

Elementary Linear Algebra, Second Edition, by Spence, Insel, and Friedberg. ISBN Pearson Education, Inc., Upper Saddle River, NJ.

Climbing an Infinite Ladder

Discrete Mathematics and Probability Theory Fall 2012 Vazirani Note 1

Transcription:

Day 6 Tuesday May 9, 01 1 Basic Proofs We continue our look at basic proofs. We will do a few examples of different methods of proving. 1.1 Proof Techniques Recall that so far in class we have made two main distinctions: indirect and direct proofs. We ve been using the law of the excluded middle frequently too. Now, we will never make explicit mention to this. But, we still make a distinction between direct and indirect proofs. Direct proofs have the following characteristics: If you are proving an implication, you assume the hypotheses and prove the conclusion. If you are proving a universal statement, you take an arbitrary element in the domain of discourse, and prove the statement for that element. If you are proving an existential statement, you prove a the statement for a specific element of the domain of discourse. Often, direct proofs are hard to do, and it s much easier to do indirect methods. There are two main indirect methods. Proof by Contraposition: If you are proving an implication, assume the negation of the conclusion and prove the negation of the hypotheses. Proof by Contradiction: You assume the negation of the statement you want to show, and derive a contradiction. Question 1. I claim that any proof by contraposition can be rephrased into a proof by contradiction; why? Answer 1. Well, say the statement is A B. You begin with assuming A, and you want to prove B. By contradiction, you assume B and then aim for a contradiction. Compare this with how you would do a proof by contraposition. You would assume B, and aim for A. If you could prove A just from B, then that would also yield a contradiction in the proof by contradiction, since you are assuming A. So, in a matter of speaking, you might as well do a proof by contradiction if you are going to do a proof by contraposition. This is actually many proofs by contraposition are found; you begin with a proof by contradiction, and then after you are done you realize you never use the assumption of A, so the proof is rewritten. 1.1.1 Direct Proof Examples Question. Write a formula ψ(x, y such that for a given n and m integers, ψ(n, m is true if and only if n divides m. Answer. ψ(x, y := z Z.m = z n 1

Example 1. m Z. n Z.m divides n Proof. Let m = 1. Then let n be an arbitrary integer. Well, So 1 divides n. Example. n = 1 n = m n n Z. m Z.(n divides m ( z Z.(z divides n (z divides m Proof. Let n and m be arbitrary integers, where n divides m. Let z be an arbitrary integer where z divides n. As n divides m, we can find an integer a such that m = a n. Similarly, we can find b such that n = b z as z divides n. Doing a substitution, we see m = a (b z, or So z divides m. m = (ab z Question 3. Write a formula ϕ(x such that for a given integer n, ϕ(n is true if and only if n is an even number. Answer 3. ϕ(x := m Z.x = m Example 3. n Z.n(n + 1 is even Proof. Let n be an arbitrary natural number. We can do cases on whether n itself is even. Case 1: n is even. Then n(n + 1 is even, since an even times an odd is even. Or, just using the definition of even, since n is even we can find an m such that n = m. Thus, n(n + 1 = (m(n + 1, which is clearly even. Case : n is odd Then n + 1 is even, and so n(n + 1 is even since an even times an odd is even. Or, just using the definition, since n + 1 is even we can find m such that n + 1 = m. thus n(n + 1 = (mn, which is clearly even. 1.1. Contradiction Examples Question 4. How would you define ϕ(x to be such that for any real number y, if y is rational then ϕ(y holds. Answer 4. m Z. n Z.(m 0 m = x Example 4. y R. (y is rational

Proof. More specifically, we will prove is irrational. For contradiction, suppose that was rational. Then we can take witnesses m and n integers, m 0 such that n m =. Multiplying both sides by m and squaring both sides, we have: n = m Without loss of generality, we can assume that m and n have no common factors, ie. we wrote as a reduced fraction. Note that n is even. By a homework problem, we know that n is also even. By the definition of even, we can find a n such that n = n. Therefore, ie. 4(n = m. Dividing both sides by, we have (n = m (n = m But, then m is also divisible by. So, m and n are both divisble by, which contradicts n m reduced fraction. being a fully 1.1.3 Contrapositive Examples We have already seen two: x, y R.(x y ( x y n Z.n is even n is even Proofs by contrapositive are useful when the negation of the conclusion is easier to work with than the hypotheses themselves. For instance Example 5. n, m N.(n + 1 m + 1 (n m Proof. Notice, the assumption n + 1 m + 1 is odd to work with, because we re not used to doing algebra on non-equalities. First, we take n, m in the naturals arbitrary, and then we proceed by contraposition. As a clue to our reader, this is what I would say: For sake of proving the contrapositive, assume n = m and we aim to prove that n + 1 = m + 1. This statement tells the reader your assumption, and your goal. Now, when we have n = m, we can just add 1 to both sides and be done! 1.1.4 Exhaustion Examples A proof by exhaustion is a proof by cases. It s also called a brute force proof. The idea is: extra assumptions are good. The easiest way to get extra assumptions is the partition all possibilities into different cases which give us more specific information. We ve already seen some proofs by cases. Example 6. The Triangle Inequality: x, y R. x + y x + y Proof. We did cases on where x + y 0 and x + y < 0. Example 7. x. y. (x is rational (y is rational (x y is rational Proof. Here we do a proof by cases. First, note above we proved that is irrational. Therefore, consider the following: Case 1: is rational Then we are done, as x = y = satified all the above. 3

Case : is irrational Then consider x = and y =. Then As is rational, we are done. Induction ( x y = = = = Next we segway into another way to write a proof about natural numbers. Consider a row of dominoes all upright. Let s postulate that if the ith domino falls it will cause the i + 1th domino to fall. If you know the 1st domino falls, what can you say about the dominoes? Definition 1 (Principle of Mathematical Induction. Let ϕ(x be a formula. If ϕ(0 is true, and ϕ(n ϕ(n + 1 is true, then ϕ(m is true for any natural number m. In particular, m N.ϕ(m is true. Question 5. Think about the domino metaphor above. Do you think induction works for the integers, rationals, and reals. Answer 5. No; the integers aren t like the dominoes because there is no first domino. The reals and the rationals also don t have a first, but even more disappointingly, they don t have the one after another property either, which is another hindrance to knowing they all get knocked down. Remark 1. I am very particular about variables, as I said. This makes the form of an induction proof very important to me. Pay attention to my form, and try to emulate it. Theorem 1. n N. i = n+1 1 Proof With Exposition. The first thing you want to do in an induction proof is notify the reader that they are about to read a proof by induction. Otherwise, it could be very confusing why you are doing what you are doing. It s also useful to say the variable you are inducting on. We prove this by induction on n N. First, we want to show that that we can knock down the first domino. This is called our base case. Sometimes, we need to do more than one, depending what we are trying to prove. We will talk more about this tomorrow. But, we need to show the above sum is true when n = 0. When n = 0, the summation is just 0, which is 1. The RHS is 1 1 = 1. So the base case is true. Now, we need to show n N.ϕ(n ϕ(n + 1. That is, if the nth domino falls, so will the n + 1th. This is called out inductive step. Let n be a natural number, and assume that n i. This assumption is called the inductive hypothesis. There are a few important things to note: The induction hypothesis is allowed to be the base case. For example, to see domino number 1 falls, we need to know domino number 0 knocks down domino number 1. So it s very important, since our base case n = 0 is allowed to be the n assumed in the induction hypothesis. When you think about these proofs, think about them as an iterative procedure rather than a proof. Don t think about trying to prove n N.ϕ(n think concretely that you are interested in ϕ(70 or something. The way you prove this is to prove ϕ(0, then prove ϕ(0 ϕ(1, then ϕ(1 ϕ(, and so on. The principle of induction formalized this procedure. At this point in the proof, it s useful to say your goal. We want to prove +1 i = n+ 1 4

Well, we know that ( n i = n+1 1 So, notice, if we ass n+1 to both sides, we get n+1 + i = n+1 + n+1 1 Which we can rewrite as +1 i = n+1 1 = n+ 1 Which was what we wanted! Now, you want to say a summary statement, concluding that we have accomplished our goal. So we might say, by induction, this statement is true for all n in the natural numbers. Proof as I d write it. We proceed by induction on the natural number n In our base case, n = 0. Note that 0 i = 0 = 1 = 1 1 Thus the statement is true when n = 0. For our induction hypothesis, let n be a natural number, and assume that our statement is true at n; that is: (IH i = n+1 1 We would like to true that this statement is true at n + 1; that is +1 i = n+ 1 Well, by adding n+1 to both sides of my induction hypothesis, we see n+1 + i = n+1 + n+1 1 Simplifying, +1 i = n+ 1 Which was what we wanted. Thus, by induction, we have proved the statement for all n in the natural numbers. 5