Proof Techniques 1. Math Camp n = (1 = n) + (2 + (n 1)) ( n 1. = (n + 1) + (n + 1) (n + 1) + n + 1.

Similar documents
Basic Proof Techniques

MATH CSE20 Homework 5 Due Monday November 4

MATH10040: Numbers and Functions Homework 1: Solutions

Proof by Contradiction

Introduction to Induction (LAMC, 10/14/07)

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

Solutions to Assignment 1

MATH 271 Summer 2016 Practice problem solutions Week 1

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

1. (16 points) Circle T if the corresponding statement is True or F if it is False.

Example: Use a direct argument to show that the sum of two even integers has to be even. Solution: Recall that an integer is even if it is a multiple

MATH 2200 Final LC Review

Proof worksheet solutions

Basic Proof Examples

RED. Name: Instructor: Pace Nielsen Math 290 Section 1: Winter 2014 Final Exam

Mathematics 228(Q1), Assignment 2 Solutions

Homework 3: Solutions

Computer Science Section 1.6

Solutions to Practice Final

Discrete Math, Spring Solutions to Problems V

CSE 20. Final Review. CSE 20: Final Review

Midterm 2 Sample Introduction to Higher Math Fall 2018 Instructor: Linh Truong

A Level. A Level Mathematics. Proof by Contradiction (Answers) AQA, Edexcel, OCR. Name: Total Marks:

Solutions for Homework Assignment 2

Name CMSC203 Fall2008 Exam 2 Solution Key Show All Work!!! Page (16 points) Circle T if the corresponding statement is True or F if it is False.

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

Homework 3 Solutions, Math 55

(3,1) Methods of Proof

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

Math 3450 Homework Solutions

Chapter 5: The Integers

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers

In Exercises 1 12, list the all of the elements of the given set. 2. The set of all positive integers whose square roots are less than or equal to 3

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

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

Writing Mathematical Proofs

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

PROBLEM SET 3: PROOF TECHNIQUES

Solutions to Homework Set 1

Math 109 HW 9 Solutions

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

COMP Intro to Logic for Computer Scientists. Lecture 15

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])

PRODUCTS THAT ARE POWERS. A mathematical vignette Ed Barbeau, University of Toronto

DISCRETE MATH: FINAL REVIEW

Math 104: Homework 1 solutions

Midterm Preparation Problems

Economics 204 Summer/Fall 2017 Lecture 1 Monday July 17, 2017

MATH 2400: PRACTICE PROBLEMS FOR EXAM 1

Infinite Continued Fractions

MATH ASSIGNMENT 1 - SOLUTIONS September 11, 2006

Recitation 7: Existence Proofs and Mathematical Induction

M381 Number Theory 2004 Page 1

Proofs. Joe Patten August 10, 2018

Proofs. Chapter 2 P P Q Q

MATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions

Section Summary. Proof by Cases Existence Proofs

Properties of the Integers

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

Twin primes are pairs of natural numbers (p, p + 2) such that both p and p + 2 are primes.

Foundations of Discrete Mathematics

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

Chapter 5.1: Induction

Quiz 1. Directions: Show all of your work and justify all of your answers.

Carmen s Core Concepts (Math 135)

MATH 2200 Final Review

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

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

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

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

Math 109 September 1, 2016

Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall.

Numbers. 2.1 Integers. P(n) = n(n 4 5n 2 + 4) = n(n 2 1)(n 2 4) = (n 2)(n 1)n(n + 1)(n + 2); 120 =

Proofs. 29th January 2014

Midterm Exam Solution

Any Wizard of Oz fans? Discrete Math Basics. Outline. Sets. Set Operations. Sets. Dorothy: How does one get to the Emerald City?

SOLUTIONS FOR THE THIRD PROBLEM SET

Discrete Math I Exam II (2/9/12) Page 1

A Short Review of Cardinality

Solutions to Homework Assignment 2

COT 2104 Homework Assignment 1 (Answers)

CHAPTER 1 REAL NUMBERS KEY POINTS

1) (JUNIOR 1 and SENIOR 1) Prove that if n is an even integer then. n(n + 1)(n + 2) 24

Math 430 Exam 2, Fall 2008

Research Methods in Mathematics Homework 4 solutions

Fall 2014 CMSC250/250H Midterm II

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

Carmen s Core Concepts (Math 135)

MATH 55 - HOMEWORK 6 SOLUTIONS. 1. Section = 1 = (n + 1) 3 = 2. + (n + 1) 3. + (n + 1) 3 = n2 (n + 1) 2.

Proofs. Chapter 2 P P Q Q

Lecture 4: Probability, Proof Techniques, Method of Induction Lecturer: Lale Özkahya

Solutions Manual for Homework Sets Math 401. Dr Vignon S. Oussa

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

Some Review Problems for Exam 1: Solutions

5: The Integers (An introduction to Number Theory)

Cool Results on Primes

Try the assignment f(1) = 2; f(2) = 1; f(3) = 4; f(4) = 3;.

Discrete Structures - CM0246 Mathematical Induction

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Transcription:

Math Camp 1 Prove the following by direct proof. Proof Techniques 1 Math Camp 01 Take any n N, then n is either even or odd. Suppose n is even n m for some m n(n + 1) m(n + 1) n(n + 1) is even. Suppose n is odd n + 1 is even n + 1 m for some m n(n + 1) nm n(n + 1) is even. QED. The sum of the first n natural numbers is 1 n(n + 1). Let n N Case 1 n is even Then 1 + +... + n (1 n) + ( + (n 1)) +... + ( n + (n + 1)) n (n + 1) + (n + 1) +... + (n + 1) times n (n + 1) 1 n(n + 1) Case 1 n is odd Then 1 + +... + n (1 n) + ( + (n 1)) +... + ( n 1 n 1 (n + 1) + (n + 1) +... + (n + 1) + n + 1 times n 1 (n + 1) + n + 1 n 1 + 1 (n + 1) 1 n(n + 1) 3. If x + 9y 101, then either x or y is not an integer. + ( n + 3 + 1)) + n + 1 x + 9y 101 3(x + 3y) 101 x + 3y 101 3 / Z Suppose x Z x Z. Then it must be the case that 3y / Z since the sum of two integers is also an integer and we know that x + 3y 101 3 / Z. Therefore y / Z 1 If you find any typo please email me: Maria_Jose_Boccardi@Brown.edu

Solutions Proof Techniques Suppose y Z 3y Z. Then it must be the case that x / Z for the same argument. Therefore x / Z Therefore either x or y is not an integer Prove the following by contrapositive. We want to show that: x is odd x n(n + 1) for any n N. Let x N, x odd, then x k + 1 for some k N. some n N Suppose x k + 1 n(n + 1) for Case 1 n even. Therefore k+1 m(m+1) for some m N. If so then k m(m+1) 1 m(m + 1) 1 / N since m(m + 1) N and 1 / N. Therefore we have a contradiction with the fact that k N Case n odd. Therefore k+1 (m 1)m for some m N. If so then k m(m 1) 1 m(m 1) 1 / N since m(m 1) N and 1 / N. Therefore we have a contradiction with the fact that k N Both cases lead to a contradiction therefore we have that x n(n + 1) for any n N.. If x + y > 100, then either x > 50 or y > 50. We want to show that x < 50 and y < 50 x + y < 100. x + y < 50 + 50 100 QED Let x < 50 and y < 50, then Prove the following by contradiction. Suppose n(n + 1) is odd. Then n(n + 1) k + 1 for some k N, therefore k n(n+1) 1 n(n+1) 1 n(n+1). Since either n or n + 1 is even, the first term is an integer, so k / N. QED. 3 is an irrational number. Suppose that 3 Q, then 3 p q, not both multiple of 3, then 3 p q p 3q then p is multiple of 3, then p is multiple of 3, that is p 3k for some k N. Therefore we have that (3k) 9k 3q 3k q then q is multiple of 3, therefore q is multiple of 3. Contradiction. QED. 3. There are infinitely many prime numbers. Suppose that there are finitely many prime numbers, p 1 < p <... < p r. Define q p 1 p...p r +1. Suppose that p is a prime number that divides q. Then q p p 1p...p r + 1 p 1p...p r 1 p p p N

Math Camp 3 If p p i for some i {1,,..., r} then p1p...pr p N, but 1 p / N, therefore q p / N If p p i for some i {1,,..., r} then p is a prime number different from all the first r prime numbers. Contradiction. QED Prove the following by induction. P (1) : 1(1 + 1) is even. So P (1) is true. Then we need to prove that P (k) P (k + 1). that (k + 1)(k + ) is even. Assume k(k + 1) is even we need to show If k(k + 1) is even, then (k + 1)(k + ) k(k + 1) + (k + 1) is even since (k + 1) is even. QED.. n n. P (1) : 1 true. Then we need to prove that P (k) P (k + 1). Assume k k we need to show that (k + 1) ( k + 1). for all k N with k > 1 3. n i 1 n (n + 1) (n + 1). k+1 k k k + k k + (k + 1) P (1) : 1 1 (1 + 1)( + 1) then is true. Then we need to prove that P (k) P (k + 1). Assume k i 1 k (k + 1) (k + 1) we need to show that k+1 i 1 (k + 1) (k + ) ((k + 1) + 1). Then we have that k+1 i k i + (k + 1) 1 k (k + 1) (k + 1) + (k + 1) [ 1 (k + 1) (k + 1) ] k (k + 1) + (k + 1) ] [ 1 3 k + 7 k + 1 1 (k + 1) [ k + 7k + 1 ] 1 (k + 1) [(k + )(k + 3)] 1 (k + 1)((k + 1) + 1)((k + 1) + 1) 4. The sum of the first n odd integers is n (This is the first known proof by mathematical induction, attributed to Francesco Maurolico. Just in case you were interested.) We want to show that n (i 1) n

4 Solutions Proof Techniques P(1): 1 1 1 1 so it s true. Then we need to prove that P (k) P (k + 1). Assume k (i 1) k we need to show that k+1 (i 1) (k + 1). Then we have that k+1 (i 1) k (i 1) + ((k + 1) 1) k + k + 1 (k + 1) Find the error in the following argument, supposedly by induction: If there is only one horse, then all the horses are of the same color. Now suppose that within any set of n horses, they are all of the same color. Now look at any set of n + 1 horses. Number them 1,, 3,..., n, n + 1. Consider the sets {1,, 3,..., n} and {, 3, 4,..., n + 1}. Each set is a set of n horses, therefore they are all of the same color. But these sets overlap, therefore all horses are the same color. If n1 then the sets {1,, 3,..., n} and {, 3, 4,..., n + 1} are actually {1} and {} and do not overlap, then the proof breaks down because it is not possible to do the step of P (1) P (). Prove the following (solution in Analysis solution sheet): 1. Let f and g be functions from R k to R m which are continuous at x. Then h f g is continuous at x.. Let f and g be functions from R k to R m which are continuous at x. Then h fg is continuous at x. Preference Relations In first semester micro you will be introduced to preference relations. We say that x y, (read x is weakly preferred to y ) if x is at least as good as y to the agent. From this, we can derive two important relations: The strict preference relation,, defined by x y x y but not y x. The strict preference relation is read x is strictly preferred to y. The indifference relation,, defined by x y x y and y x. The indifference relation is read x is indifferent to y. We say that a preference relation is rational if: x, y, either x y or y x. x, y, z, if x y and y z, then x z. Prove the following two statements given that preferences are rational: 1. If x y and y z, then x z. Suppose that x y (1) and y z (), then we have that (1) means that x y x y (a) but not y x (b); while () means that y z y z (c) but not z y (d). So from (a) and (c) we have that, given that preferences are rational (transitivity) it is true that x z. Now we need to prove that is not the case that z x. Let assume, by contradiction that

Math Camp 5 it is the case that z x. From (c) we know that y z so by transitivity again we have that y x which contradicts statement (b). QED.. If x y and y z, then x z. x y x y[a]&y x[b] y z y z[c]&z y[d] From [a] and [c], using rationality we have that x z and from [b] and [d] we have that z x, therefore we have that x z. QED