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

Similar documents
We want to show P (n) is true for all integers

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

Complete Induction and the Well- Ordering Principle

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

MATH 215 Final. M4. For all a, b in Z, a b = b a.

Well-Ordering Principle. Axiom: Every nonempty subset of Z + has a least element. That is, if S Z + and S, then S has a smallest element.

Fall 2017 Test II review problems

Climbing an Infinite Ladder

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

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.

Properties of the Integers

Problem Set 5 Solutions

PRINCIPLE OF MATHEMATICAL INDUCTION

Climbing an Infinite Ladder

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

Discrete Mathematics. Spring 2017

Mathematical Induction

MATH FINAL EXAM REVIEW HINTS

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

NOTES ON INTEGERS. 1. Integers

Solutions to Homework Set 1

Induction. Induction. Induction. Induction. Induction. Induction 2/22/2018

Mathematical Induction. Section 5.1

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

ASSIGNMENT 1 SOLUTIONS

0.Axioms for the Integers 1

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

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.

n n P} is a bounded subset Proof. Let A be a nonempty subset of Z, bounded above. Define the set

PRACTICE PROBLEMS: SET 1

Homework 1 (revised) Solutions

Chapter 5: The Integers

5: The Integers (An introduction to Number Theory)

1 Examples of Weak Induction

Math 412, Introduction to abstract algebra. Overview of algebra.

12x + 18y = 50. 2x + v = 12. (x, v) = (6 + k, 2k), k Z.

Chapter 4. Measure Theory. 1. Measure Spaces

A lower bound for X is an element z F such that

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

Graphs with few total dominating sets

CHAPTEER - TWO SUBGROUPS. ( Z, + ) is subgroup of ( R, + ). 1) Find all subgroups of the group ( Z 8, + 8 ).

CHAPTER 4 SOME METHODS OF PROOF

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

Math 320-2: Midterm 2 Practice Solutions Northwestern University, Winter 2015

Homework #2 solutions Due: June 15, 2012

32 Divisibility Theory in Integral Domains

Numerical Sequences and Series

Binomial Coefficient Identities/Complements

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

CmSc 250 Intro to Algorithms. Mathematical Review. 1. Basic Algebra. (a + b) 2 = a 2 + 2ab + b 2 (a - b) 2 = a 2-2ab + b 2 a 2 - b 2 = (a + b)(a - b)

Homework 3 Solutions, Math 55

Chapter One. The Real Number System

Homework 7 Solutions, Math 55

Maths 212: Homework Solutions

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma.

18 Divisibility. and 0 r < d. Lemma Let n,d Z with d 0. If n = qd+r = q d+r with 0 r,r < d, then q = q and r = r.

Induction and recursion. Chapter 5

Discrete Mathematics: Logic. Discrete Mathematics: Lecture 14. Recursive algorithm

AN ALGEBRAIC PROOF OF RSA ENCRYPTION AND DECRYPTION

Exercises 1 - Solutions

Chapter Summary. Mathematical Induction Strong Induction Well-Ordering Recursive Definitions Structural Induction Recursive Algorithms

A NICE PROOF OF FARKAS LEMMA

Math Circle: Recursion and Induction

Recitation 7: Existence Proofs and Mathematical Induction

NOTES ON VECTOR-VALUED INTEGRATION MATH 581, SPRING 2017

MAT 243 Test 2 SOLUTIONS, FORM A

Standard forms for writing numbers

Chapter 3 Basic Number Theory

Discrete Math, Spring Solutions to Problems V

1.2 The Well-Ordering Principle

2. Introduction to commutative rings (continued)

M17 MAT25-21 HOMEWORK 6

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

Prof. Ila Varma HW 8 Solutions MATH 109. A B, h(i) := g(i n) if i > n. h : Z + f((i + 1)/2) if i is odd, g(i/2) if i is even.

USA Mathematics Talent Search

Writing Assignment 2 Student Sample Questions

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

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.

SMT 2013 Power Round Solutions February 2, 2013

On the symmetry of the distribution of k-crossings and k-nestings in graphs

CS411 Notes 3 Induction and Recursion

Footnotes to Linear Algebra (MA 540 fall 2013), T. Goodwillie, Bases

CSE 20 DISCRETE MATH SPRING

CHAPTER 8: EXPLORING R

CS1800: Mathematical Induction. Professor Kevin Gold

INTEGERS. In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes.

Math 220A Complex Analysis Solutions to Homework #2 Prof: Lei Ni TA: Kevin McGown

With Question/Answer Animations

The natural numbers. Definition. Let X be any inductive set. We define the set of natural numbers as N = C(X).

Elementary Properties of the Integers

Solutions to Assignment 1

Mathematical Induction

INDUCTION AND RECURSION. Lecture 7 - Ch. 4

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

Math 104: Homework 1 solutions

What is Zeckendorf s Theorem?

Spring 2014 Advanced Probability Overview. Lecture Notes Set 1: Course Overview, σ-fields, and Measures

MATH 102 INTRODUCTION TO MATHEMATICAL ANALYSIS. 1. Some Fundamentals

Induction and Recursion

Factorization in Polynomial Rings

Transcription:

Do the following exercises from the text: Chapter (Section 3):, 1, 17(a)-(b), 3 Prove that 1 3 + 3 + + n 3 n (n + 1) for all n N Proof The proof is by induction on n For n N, let S(n) be the statement 1 3 + 3 + + n 3 n (n + 1) Then S(1) is the statement 1 3 1 (1 + 1), which is true since 1 3 1 and 1 (1 + 1) 1 For the induction step, assume that S(k) is true for some k 1 Thus, we are assuming that 1 3 + 3 + + k 3 k (k + 1) Add (k + 1) 3 to both sides of this equation to get 1 3 + 3 + + k 3 + (k + 1) 3 k (k + 1) + (k + 1) 3 k (k + 1) + (k + 1) 3 (k + 1) (k + (k + 1)) (k + 1) (k + ) This shows that the truth of S(k) implies the truth of S(k+1) Hence, by the induction principle, S(n) is true for all n N 1 Show that the power set of any set X with exactly n elements has n elements Proof Use induction on the number n of elements of X For n N let S(n) be the statement: Any set X with n elements has a power set P(X) with exactly n elements For the base step of the induction argument, let X be any set with exactly 1 element, say X {a} Then the only subsets of X are the empty set and the entire set X {a} Thus P(X) 1 X, so the base case is true For the induction step, assume that k N is arbitrary and that any set X with X k has P(X) k Let X be any set with X k + 1, and count the number of subsets of X Suppose X {a 1,, a k, a k+1 } The subsets of X are of two types First, there are all of the subsets of X that do not contain a k+1, which consist of all subsets of {a 1,, a k } By the induction hypothesis, there are k subsets of {a 1,, a k }, so there are k subsets of X that do not contain a k+1 Then there are the subsets of X that do contain the Math 00 1

element a k+1 Every such subset of X has the form Y {a k+1 }, where Y is a subset of X that does not contain a k+1 Since our induction hypothesis is that there are k subsets Y of X \ {a 1,, a k }, there are also k subsets of X that contain a k+1 Hence, we conclude that there are k + k k k+1 subsets of X Thus, we have shown that the truth of statement S(k) implies the truth of statement S(k + 1) By the induction principle, S(n) is true for all n N 17 The Fibonacci numbers are defined inductively by f 1 1, f 1, and f n+ f n+1 +f n for n N (a) Prove that f n < n for all n N Proof Use induction on n Let S(n) be the statement: f n < n For the base case, f 1 1 < 1 so S(1) is true Also, S() is true since f 1 < We will use the strong induction principle Thus our induction hypothesis is that f k < k for 1 k n Thus, let n be given By the induction hypothesis and the definition of f n, f n f + f n < + n < + n By the strong induction principle, S(n) is true for all n N (b) Prove that f n+1 f f n + ( 1) n for all n Proof The proof is by induction on n For n let S(n) be the statement: f n+1 f f n + ( 1) n The statement S() is true since, for n, f n+1 f f n+( 1) n is the statement f 3 f 1 f + ( 1) which is 1 1 + 1 which is true Now assume that k and that S(k) is true, that is, assume f k+1 f k 1 f k + ( 1) k Rewrite this as f k f k+1 f k 1 ( 1) k ( 1) k 1 Now consider the left hand side with k replaced by k + 1 Then, using the recursive definitions of f k+1 and f k+, f k+1 f k+ f k f k+1 (f k + f k 1 ) f k+ f k f k (f k+1 f k+ ) + f k+1 f k 1 f k ( f k ) + f k+1 f k 1 (f k f k+1 f k 1 ) ( 1)( 1) k 1 ( 1) k Thus, if S(k) is true for some k, then S(k + 1) is also true By the principle of induction, S(n) is true for all n Math 00

3 Define the least common multiple of two nonzero integers a and b to be the nonnegative integer m such that both a and b divide m, and if a and b both divide any other integer n, then m also divides n Prove that there exists a unique least common multiple of for any two nonzero integers a and b Proof Suppose a and b are nonzero integers Let S {n Z : n > 0, a n and b n} S since a and b both divide ab and (ab), and one of these two integers is positive Since S is a nonempty subset of N, it has a smallest element m We claim that m is a least common multiple of a and b By the definition of S, a m and b m Now let n be any positive integer such that a n and b n We need to show that m n To see this, divide n by m to get n mq + r where 0 r < m Since r n mq is a linear combination of m and n, and since a divides both m and n it follows that a r Similarly b r If r > 0, it follows that r S and r < m, which contradicts that m is the smallest element of S Thus, r 0 and n mq so that m n To show that the least common multiple is unique, suppose that m and m are both least common multiples Then, m m and m m, so that m ±m and since both are positive, m m Supplemental Problems: 1 Show that any positive integer n 1 can be written as a linear combination 3u + 7v for nonnegative integers u, v Solution Thus, the question is if any positive integer n 1 can be written as n 3u + 7v for some nonnegative integers u and v Thus, let S(n) be the statement n 3u + 7v for some nonnegative integers u and v Since 1 3 + 0 7, S(1) is true Now assume that S(k) is true for some k 1 Then k 3u + 7v for some nonnegative integers u and v Case 1: v 0 In this case u since k 1 Then k +1 3(u )+7 and u > 0 Case : v 1 In this case u since k 3u + 7 1 1 Thus, as in case 1, k + 1 3(u ) + 7 Case 3: v In this case, k + 1 3(u + 5) + 7(v ) Thus, if k 1 and k 3u + 7v, then k + 1 3u + 7v so that if S(k) is true, then so is S(k +1) By the principle of mathematical induction, S(k) is true for all k 1 Compute the gcd of m 31 and n 150 and express it as a linear combination of m and n Math 00 3

Solution Use the Euclidean Algorithm: 31 ( ) 150 + 69 150 69 + 1 69 5 1 + 9 1 1 9 + 3 9 3 3 + 0 Thus gcd( 31, 150) 3 Reversing the process gives 3 1 9 1 (69 5 1) 6 1 69 6(150 69) 69 6 150 13 69 6 150 13( 31 + 150) ( 0) 150 + ( 13)( 31) 1 3 Let A Using mathematical induction, show that A 0 n n n 0 n for all positive integers n [ Solution Let S(n) be the statement A n n n 0 n [ 1 Since A 1 1 1 A 1 1 0 0 1 ] ], it follows that S(1) is a true statement For the [ inductive] step, assume that S(k) is true That is, assume that k 1 and A k k k k 1 0 k Then A k+1 A[ k A ] k k k 1 1 0 k 0 k k + k k 1 0 k k+1 (k + 1) k 0 k+1 n n The last matrix is of the form 0 n for n k + 1 Hence S(k + 1) is a true statement whenever S(k) is true It follows from the principle of mathematical induction that S(n) is true for all n 1, ie, the proposed formula for A n is valid for all n 1 Prove that n > n 3 for every integer n 10 Math 00

Solution Let S(n) be the statement n > n 3 If n 10, then 10 10 > 1000 10 3 so S(10) is a true statement For the inductive step, assume that S(k) is true for some k 10 assuming that k > k 3 Then k+1 k > k 3 k 3 + k 3 k 3 + k k > k 3 + 7k k 3 + 3k + 3k + k > k 3 + 3k + 3k + 1 (k + 1) 3 Thus, we are Reading from the beginning to the end of this chain of inequalities, we see that if k 10 and k > k 3, then it follows that k+1 > (k + 1) 3 Thus, if S(k) is true for some k 10, then S(k + 1) is also true By the principle of mathematical induction, it follows that S(n) is true for all n 10 Math 00 5