Discrete Math, Spring Solutions to Problems V

Similar documents
Discrete Mathematics. Spring 2017

Math 283 Spring 2013 Presentation Problems 4 Solutions

Problem Set 5 Solutions

Mathematical Induction

MATH 225: Foundations of Higher Matheamatics. Dr. Morton. 3.4: Proof by Cases

Math 242: Principles of Analysis Fall 2016 Homework 1 Part B solutions

Climbing an Infinite Ladder

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

Math 3000 Section 003 Intro to Abstract Math Homework 6

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

Fall 2017 Test II review problems

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

Homework 3 Solutions, Math 55

C241 Homework Assignment 7

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

Induction 1 = 1(1+1) = 2(2+1) = 3(3+1) 2

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

MTH 3318 Solutions to Induction Problems Fall 2009

PUTNAM TRAINING MATHEMATICAL INDUCTION. Exercises

MATH 341 MIDTERM 2. (a) [5 pts] Demonstrate that A and B are row equivalent by providing a sequence of row operations leading from A to B.

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

Linear Algebra I Lecture 8

Divisibility = 16, = 9, = 2, = 5. (Negative!)

Math 24 Spring 2012 Questions (mostly) from the Textbook

ASSIGNMENT 1 SOLUTIONS

Climbing an Infinite Ladder

Mathematical Induction

Matrices and RRE Form

Student Activity: Finding Factors and Prime Factors

Math Circle: Recursion and Induction

Math 4606, Summer 2004: Inductive sets, N, the Peano Axioms, Recursive Sequences Page 1 of 10

CHAPTER 4 SOME METHODS OF PROOF

Math 1314 Week #14 Notes

Linear Algebra Practice Problems

1.2 The Well-Ordering Principle

Mathematical Induction. EECS 203: Discrete Mathematics Lecture 11 Spring

PHIL 422 Advanced Logic Inductive Proof

Math 378 Spring 2011 Assignment 4 Solutions

McGill University Faculty of Science. Solutions to Practice Final Examination Math 240 Discrete Structures 1. Time: 3 hours Marked out of 60

All numbered readings are from Beck and Geoghegan s The art of proof.

DR.RUPNATHJI( DR.RUPAK NATH )

MATH 61-02: PRACTICE PROBLEMS FOR FINAL EXAM

Homework 4, 5, 6 Solutions. > 0, and so a n 0 = n + 1 n = ( n+1 n)( n+1+ n) 1 if n is odd 1/n if n is even diverges.

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

MATH 271 Summer 2016 Practice problem solutions Week 1

NOTES (1) FOR MATH 375, FALL 2012

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

Inverses and Elementary Matrices

MATH CSE20 Homework 5 Due Monday November 4

Mathematical Induction

Chapter 11 - Sequences and Series

Exercise Sketch these lines and find their intersection.

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

A linear equation in two variables is generally written as follows equation in three variables can be written as

Finite Math - J-term Section Systems of Linear Equations in Two Variables Example 1. Solve the system

1 Matrices and matrix algebra

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

1 Determinants. 1.1 Determinant

Matrix Multiplication

Homework #2 solutions Due: June 15, 2012

1 - Systems of Linear Equations

No Solution Equations Let s look at the following equation: 2 +3=2 +7

MAS114: Solutions to Exercises

Some Review Problems for Exam 1: Solutions

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

Infinite Continued Fractions

Discrete Mathematics for CS Spring 2008 David Wagner Note 4

Announcements. CS243: Discrete Structures. Sequences, Summations, and Cardinality of Infinite Sets. More on Midterm. Midterm.

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 3

Math 192r, Problem Set #3: Solutions

Math 276, Spring 2007 Additional Notes on Vectors

Mid Term-1 : Practice problems

1 Reductions from Maximum Matchings to Perfect Matchings

M17 MAT25-21 HOMEWORK 6

Lecture 1 Systems of Linear Equations and Matrices

Solutions Quiz 9 Nov. 8, Prove: If a, b, m are integers such that 2a + 3b 12m + 1, then a 3m + 1 or b 2m + 1.

Solving and Graphing Inequalities

MAT115A-21 COMPLETE LECTURE NOTES

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

The Matrix Vector Product and the Matrix Product

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

3 The language of proof

Review Problems for Midterm Exam II MTH 299 Spring n(n + 1) 2. = 1. So assume there is some k 1 for which

Introduction to Series and Sequences Math 121 Calculus II Spring 2015

Math 291-2: Final Exam Solutions Northwestern University, Winter 2016

Example. How to Guess What to Prove

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}.

COMBINATORIAL COUNTING

Math 13, Spring 2013, Lecture B: Midterm

2011 Olympiad Solutions

EGYPTIAN FRACTIONS WITH EACH DENOMINATOR HAVING THREE DISTINCT PRIME DIVISORS

Sums of Squares. Bianca Homberg and Minna Liu

, p 1 < p 2 < < p l primes.

What can you prove by induction?

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

Sums and Products. a i = a 1. i=1. a i = a i a n. n 1

Putnam Greedy Algorithms Cody Johnson. Greedy Algorithms. May 30, 2016 Cody Johnson.

Inverses. Stephen Boyd. EE103 Stanford University. October 28, 2017

Section 3.7: Solving Radical Equations

A. Incorrect! Replacing is not a method for solving systems of equations.

Transcription:

Discrete Math, Spring 202 - Solutions to Problems V Suppose we have statements P, P 2, P 3,, one for each natural number In other words, we have the collection or set of statements {P n n N} a Suppose further that if P n is false for some n then also P m is false for some m less than n Does it follow that P n is false, for all n? b Suppose instead that, for any n, if P m is true for all natural numbers m less than n, then P n is true Does it follow that P n is true, for all n? a Consider S = {n N P n is false} By hypothesis, S has no least element By the well-ordering principle, it follows that S is empty Hence P n is true, for all n So it certainly does not follow that P n is false, for all n b We use strong induction to show that P n is true, for all n Thus we have to show: i P is true; ii for n >, if P m is true for all m < n, then P n is true Condition ii holds by hypothesis, so we only have to prove i The case n = of our hypothesis says that if P m is true for all m < then P is true Well there are no natural numbers less than one, and so P m is true for all m < (To put it another way, there is no m < for which P m is false as there are no natural numbers m < at all the condition is vacuously satisfied) Thus P is true Hence, by strong induction, P n is true, for all n 2 Show that the sum of the first n odd natural numbers is n 2, for any natural number n We need to show that n i= (2i ) = n2, for any natural number n Writing P (n) for this identity, we ll prove by induction that P (n) holds for all n It s clear that P () holds: 2 = 2 Suppose P (k) holds for a given natural number k, ie, k i= (2i ) = k2 Then k+ (2i ) = (2i ) + (2k + ) i= i= = k 2 + 2k + (using P (k)) = (k + ) 2 Thus P (k) implies P (k + ) for any natural number k By induction, n i= (2i ) = n2, for all natural numbers n 3 Show that n i= ( )i+ i 2 = ( ) n+ n i= i, for all n N We prove this by induction using n i = n(n + )/2 ( ) i= which we proved in class The base case ( ) + 2 = ( ) + is clear Assume then that the identity holds for a natural number k We need to show it also holds for k + We have k+ ( ) i+ i 2 = ( ) i+ i 2 + ( ) k+2 (k + ) 2 i= i=

2 By our inductive hypothesis, this is ( ) k+ i + ( ) k+2 (k + ) 2 = ( ) k+ k(k + )/2 + ( ) k+2 (k 2 + 2k + ), i= using ( ) We rewrite the right side as ( ) k+2 (k 2 + 2k + k 2 /2 k/2) = ( ) k+2 (k 2 /2 + 3k/2 + ) = ( ) k+2 (k + )(k + 2)/2 k+ = ( ) k+2 i, using ( ) once more Thus the identity holds for k + By induction, it therefore holds for all natural numbers n 4 Consider the Fibonacci sequence,, 2, 3, 5, 8,, given by f =, f 2 =, f n = f n + f n 2, for n > 2 a Show that f 3n is even, for all natural numbers n b Show that f 3n and f 3n 2 are both odd, for all natural numbers n a We show by induction that f 3n is even, for all n Clearly, f 3 = 2 is even Assume that f 3k is even for a natural number k Then f 3(k+) = f 3k+3 = f 3k+2 + f 3k+ = (f 3k+ + f 3k ) + f 3k+ = 2f 3k+ + f 3k, so that f 3(k+) is also even By induction, we conclude that f 3n is even, for all n b We show by induction that f 3n is odd, for all n (The proof that f 3n 2 is odd, for all n, is effectively identical) First, it s obvious that f 3 = f 2 is odd Next, suppose f 3k is odd, for a natural number k Then f 3(k+) = f 3k+2 = f 3k+ + f 3k = (f 3k + f 3k ) + f 3k = 2f 3k + f 3k, so that f 3(k+) is also odd Hence, by induction, f 3n is odd, for all n 5 Consider 2! + 2 3! + + n (n + )! For n =, 2, 3, this is /2, 5/6, 23/24 respectively Find the general statement suggested by these special cases and prove it i=

3 The general statement is 2! + 2 3! + + n (n + )! (n + )! = (n + )! (Note (n + )! = 2, 6, 24 for n =, 2, 3 respectively) We ll prove the general statement using induction The base case n = is clear: 2! = 2! 2! Now suppose the statement holds for a natural number k Then 2! + 2 3! + + k (k + )! + k + (k + )! = + k + (k + 2)! (k + )! (k + 2)! (k + 2)((k + )! ) + (k + ) = (k + 2)! (k + 2)! =, (k + 2)! and so the statement also holds for k + Thus, by induction, the statement holds for all natural numbers n 6 Consider! + 2! 2 + + n! n For n =, 2, 3, 4, this equals, 5, 23, 9 respectively Find the pattern suggested by these special cases and show it holds in all cases The general statement is! + 2! 2 + + n! n = (n + )! which we now prove by induction The base case! = 2! is clearly true For the inductive step, we assume for some k Then! + 2! 2 + + k! k = (k + )!,! + 2! 2 + + k! k + (k + )! (k + ) = (k + )! + (k + )! (k + ) and so the statement also holds for k + natural numbers n = (k + 2) (k + )! = = (k + 2)!, By induction, the statement holds for all 7 Prove the inequality + 2 + + n > n, for any n > Using n = n/ n, we rewrite the inequality as + + + > n, for n >, 2 n n or equivalently n n n + + + > n, for n > 2 n

4 Now each term on the left hand side is and the first is surely > (since n > ) and thus the sum of the n terms must be > n We can also prove the inequality by induction The base case n = 2 is the statement + 2 > 2 Multiplying both sides by 2, we see that this holds if and only if 2 + > 2 which is true and so we ve established the base case Suppose now that for some natural number k 2 Then + + + > k, 2 k + + + + 2 k k + > k + It suffices therefore to show that k + k + > k +, for k 2 k + Multiplying both sides by k +, we see that this is equivalent to k + k + > k +, for k 2 But k + > k, for k > 0, so certainly k + k + > k k + = k +, for k 2 This establishes the inductive step and hence the inequality holds for all n 2 8 Suppose we have a collection of real numbers {a m,n m, n N} (that is, we re given a real number for each ordered pair of natural numbers) that satisfies a a, = 0, b if a m,n = 0, for some m and n, then a m,n+ = 0, c if a m,n = 0, for some m and all n, then a m+, = 0 Show that a m,n = 0, for all m and n Here s a way of thinking about the given conditions Imagine the numbers a m,n listed in an array with infinitely many rows and columns: a, a,2 a,n a m, a m,2 a m,n a m+, a m+,2 a m+,n Condition a says the (, ) entry is zero; b says that if the n-th entry in row m is zero then the n + -st entry in row m is also zero; c says that if all the entries in a row are zero then the first entry in the next row is also zero

5 Let P (m) be the statement a m,n = 0, for all n N In other words, P (m) says that each entry in the m-th row is zero We ll show by induction that P (m) holds for all m, so that a m,n = 0 for all m and n We first prove P () using induction (a proof by induction inside a proof by induction) We have a, = 0 If a,l = 0, then also a,l+ = 0 (by b with m =, n = l) Hence (by induction) a,n = 0, for all n Now suppose P (k) holds, ie, a k,n = 0, for all n Then c gives a k+, = 0 Further, by b, if a k+,l = 0, then a k+,l+ = 0 Hence (by induction) a k+,n = 0, for all n That is, P (k + ) holds By induction, P (n) holds, for all n