Mathematical Induction Solutions

Similar documents
Mathematical Induction. Mary Barnes Sue Gordon

Solutions for Practice problems on proofs

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

CS 103X: Discrete Structures Homework Assignment 3 Solutions

Indices and Surds. The Laws on Indices. 1. Multiplication: Mgr. ubomíra Tomková

3. Mathematical Induction

Basic Proof Techniques

SOLUTIONS FOR PROBLEM SET 2

mod 10 = mod 10 = 49 mod 10 = 9.

8 Divisibility and prime numbers

CONTINUED FRACTIONS AND PELL S EQUATION. Contents 1. Continued Fractions 1 2. Solution to Pell s Equation 9 References 12

Greatest Common Factor and Least Common Multiple

POLYNOMIAL FUNCTIONS

Section 1.1 Linear Equations: Slope and Equations of Lines

MATH10040 Chapter 2: Prime and relatively prime numbers

5.1 Radical Notation and Rational Exponents

Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra:

LAMC Beginners Circle: Parity of a Permutation Problems from Handout by Oleg Gleizer Solutions by James Newton

MATH 289 PROBLEM SET 4: NUMBER THEORY

Chapter 11 Number Theory

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

Session 6 Number Theory

Homework until Test #2

Ch. 13.2: Mathematical Expectation

Continued Fractions and the Euclidean Algorithm

6.1 The Greatest Common Factor; Factoring by Grouping

WHERE DOES THE 10% CONDITION COME FROM?

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

k, then n = p2α 1 1 pα k

Solution to Exercise 2.2. Both m and n are divisible by d, som = dk and n = dk. Thus m ± n = dk ± dk = d(k ± k ),som + n and m n are divisible by d.

1. Prove that the empty set is a subset of every set.

Math 55: Discrete Mathematics

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

Working with whole numbers

The last three chapters introduced three major proof techniques: direct,

Domain of a Composition

3.1. RATIONAL EXPRESSIONS

1 if 1 x 0 1 if 0 x 1

Mathematical Induction

Math 319 Problem Set #3 Solution 21 February 2002

1 Homework 1. [p 0 q i+j p i 1 q j+1 ] + [p i q j ] + [p i+1 q j p i+j q 0 ]

Sample Induction Proofs

Homework 3 (due Tuesday, October 13)

6.3 Conditional Probability and Independence

MATH Fundamental Mathematics IV

26 Integers: Multiplication, Division, and Order

Real Roots of Univariate Polynomials with Real Coefficients

Grade 7/8 Math Circles Fall 2012 Factors and Primes

3.2. Solving quadratic equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

An Introduction to Number Theory Prime Numbers and Their Applications.

Playing with Numbers

Ready, Set, Go! Math Games for Serious Minds

Clock Arithmetic and Modular Systems Clock Arithmetic The introduction to Chapter 4 described a mathematical system

= = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

Zero: If P is a polynomial and if c is a number such that P (c) = 0 then c is a zero of P.

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may

Zeros of a Polynomial Function

Just the Factors, Ma am

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: b + 90c = c + 10b

Full and Complete Binary Trees

Factoring Whole Numbers

The Euclidean Algorithm

Introduction. Appendix D Mathematical Induction D1

Mathematical Induction

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.

Probabilistic Strategies: Solutions

Mathematical Induction. Lecture 10-11

Section 4.2: The Division Algorithm and Greatest Common Divisors

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

MATH 22. THE FUNDAMENTAL THEOREM of ARITHMETIC. Lecture R: 10/30/2003

8 Primes and Modular Arithmetic

AN ANALYSIS OF A WAR-LIKE CARD GAME. Introduction

CISC - Curriculum & Instruction Steering Committee. California County Superintendents Educational Services Association

Student Outcomes. Lesson Notes. Classwork. Discussion (10 minutes)

Pigeonhole Principle Solutions

The GMAT Guru. Prime Factorization: Theory and Practice


NIM with Cash. Abstract. loses. This game has been well studied. For example, it is known that for NIM(1, 2, 3; n)

Partial Fractions Examples

Combinatorial Proofs

Computing exponents modulo a number: Repeated squaring

Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson

The Binomial Distribution

Binary Number System. 16. Binary Numbers. Base 10 digits: Base 2 digits: 0 1

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion

3 Some Integer Functions

1 Solving LPs: The Simplex Algorithm of George Dantzig

COWLEY COUNTY COMMUNITY COLLEGE REVIEW GUIDE Compass Algebra Level 2

FEGYVERNEKI SÁNDOR, PROBABILITY THEORY AND MATHEmATICAL

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm

Quotient Rings and Field Extensions

CONTENTS. Please note:

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

4. Binomial Expansions

Session 7 Fractions and Decimals

Polynomial and Rational Functions

Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving

Chapter 7 - Roots, Radicals, and Complex Numbers

Previously, you learned the names of the parts of a multiplication problem. 1. a. 6 2 = 12 6 and 2 are the. b. 12 is the

Transcription:

Mathematical Induction Solutions Problems.(a) Base Step: = (+), so the base case is finished. Induction Step: Suppose the result holds for some positive integer n. We need to show the result holds for n +. We have: + +... + n + = ( + +... + n) + (n + ) n(n + ) = + (n + ) since the result holds for n (n + )(n + ) = hence the result holds for n + as well, and the induction step is complete..(b) Base Step: = (+)( +), so the base case is finished. Induction Step: Suppose the result holds for some positive integer n. We need to show the result holds for n +. We have: + +... + (n + ) = ( + +... + n ) + (n + ) n(n + )(n + ) = + (n + ) since the result holds for n = n + (n(n + ) + (n + )) = n + (n + 7n + ) (n + )(n + )((n + ) + ) = hence the result holds for n + as well, and the induction step is complete..(c) Base Step: =, so the base case is finished. + Induction Step: Suppose the result holds for some positive integer n. We need to show the result holds for n +. We have: + 3 +... + (n + ) (n + ) = ( + 3 +... + n (n + ) ) + (n + ) (n + ) = ( n + ) + since the result holds for n (n + ) (n + ) n + = (n + ) (n + ) = n + hence the result holds for n + as well, and the induction step is complete.

. The first few terms in the sequence are, 3, 7, 5, 3,.... We see that adding to each of these gives us just powers of. We claim that the nth term in the sequence has the form n. Let us prove this claim using induction. Base Step: The first term is, while =. So the base case is done. Induction Step: Assume the result is true for some positive integer n, so that a n = n. For n +, we have: a n+ = a n + = ( n ) + = n+ + = n+ so the induction step is complete. We have thus managed to prove that a n = n, so a 300 = 300. 3.(a) Base Step: 5 = 5 which clearly ends in 5, so the base step is done. Induction Step: Assume the result is true for some positive integer n, so that 5 n ends in 5. Another way to write this is 5 n = 0x + 5 for some ineteger n. We want to show the result for n +. We have: 5 n+ = 5 5 n = 5 (0x + 5) = 50x + 5 = 50x + 0 + 5 = 0(5x + ) + 5 which ends in 5, so the induction step is finished. 3.(b) Base Step: (for n = ) 5 = 5 which clearly ends in 5, so the base step is done. Induction Step: Assume the result is true for some positive integer n (note the extra condition here, since we started with n = ), so that 5 n ends in 5. Another way to write this is 5 n = 00x + 5 for some ineteger n. We want to show the result for n +. We have: 5 n+ = 5 5 n = 5 (00x + 5) = 500x + 5 = 500x + 00 + 5 = 00(5x + ) + 5 which ends in 5, so the induction step is finished. 4. Base Step: (for n = 4 ) 4! = 4, while 4 = ; thus n! > n for n = 4, and the base step is finished. Induction Step: Assume the result is true for some positive integer n 4, so that n! > n. For n + we have: (n + )! = (n + ) n! (n + ) n n = n+ where the first inequaltiy holds since n! n, and the second holds since n +. (This is true since n 4, and hence n+ 5 ). We have shown that (n+)! n+, so the result holds for n +, and the induction step is done. 5. This is similar to problem 3. Base Step: 8 = 7, which is clearly divisible by 7, so the base step is complete. Induction Step: Assume the result is true for some positive integer n, so that 8 n is

divisible by 7. Another way to write this is 8 n = 7k + for some ineteger k. We want to show the result for k +. We have: 8 n+ = 8 8 n = 8 (7k + ) = 5k + 8 = 5k + 7 = 7(8k + ) which is divisible by 7, so the induction step is done.. Base Step: Clearly ( + x) + x, so the base step is done. Induction Step: Assume the result is true for some positive integer n, so that (+x) n + nx. We need to show the result for n +. We have: ( + x) n+ = ( + x)( + x) n ( + x)( + nx) since the result holds for n and + x 0, since x = + (n + )x + nx + (n + )x since x 0 therefore ( + x) n+ + (n + )x, so the induction step is complete. Some Harder Problems 7. Base Step: The result holds for n =, because: = < = 3 + Induction Step: Assume the result is true for some positive integer n, so that: 3 5... (n ) 4... n n + The result for n + is similar, except we need to multiply the left side of the above equation by n + n +, while the right side by. So as long as we show n + (n + ) + that we multiply the left side by a smaller number, than the right side, the result will hold. Thus we just need to prove: n + n + n + (n + ) + Squaring both sides we get: (n + ) (n + ) n + (n + )(n + 3) (n + ) n + 3 4n + 8n + 3 4n + 8n + 4 3

which is clearly true. Therefore the result holds for n + : 3 5... (n ) 4... n and we are done. n + n + n + n + (n + ) + = (n + ) + 8. We look at the first few terms of the sequence and try to spot a pattern. Have a =, a =, a 3 = 4, a 4 = 8,.... This suggests that a n = n. Let us prove this using strong induction. Base Step: For n = and n = the result holds: a = = and a = =. Note: In this base step, we considered two cases, and not one as usual. We need to do it for this problem since the n + -st term depends on two previous terms, and not just one. Induction Step: Let n be a positive integer, and assume the result holds for all positive integers k n. To prove the result holds for n +, we use the definition of the sequence: a n+ = a n + a n = n + n = n = (n+) where the second equality holds since the result holds for n and n, so that a n = n, a n = n, by the induction assumption. We have thus shown the result holds for n +, and we are done. 9. We will call a positive integer n good if Bob can pay for an item worth n dollars with two- and five- dollar bills without change. It s clear that if n is good, then n + must be good, since Bob just pays with another two-dollar bill. So for a particular positive integer n to prove that is good, it would suffice to know that n is good and not just that n is good, so we will again use strong induction. Base Step: n = 4 is good: Bob can pay using two two-dollar bills. n = 5 is good: Bob can pay using one five-dollar bill. Induction Step: Let n be a positive integer, n 5 and suppose for all integers k satisfying 4 k n, k is good. We need to show that n + is good. Since n 5, then n 4 so k = n satisfies 4 k n and hence n is good. But then n + is good (remember Bob just uses an extra two-dollar bill), and therefore n + is good as well, so the induction step is finished. Note: Make sure you understand the logic in the above argument well, and if not, re-read the solution. The induction step itself is quite simple, but the logic for setting it up is more tricky than in the previous problems. 0. Base Step: For n = we have 3 ( ) = 8 which is divisible by 3 = + but not by 4 = +3. So the base step is done. Induction Step: Assume the result is true for some positive integer n. Then we have 3 (n ) is divisible by n+ but not n+3. This is the same as saying that 3 (n ) = 4

n+ k, where k is an odd number. For n + we have: 3 (n+ ) = [3 ( n ) ] = (3 (n ) )(3 ( n ) + ) = (3 (n ) )(3 ( n ) + ) = ( n+ k)( n+ k + ) = n+ k ( n+ k + ) = n+3 (k ( n+ k + )) Since n, it follows that ( n+ k + ) and hence k ( n+ k + ) is odd. Therefore from the above derivation we obtain that 3 (n+ ) is divisible by n+3 = (n+)+ but not n+4 = (n+)+, and the induction step is complete.. With line there are regions. If we draw another line, we add more regions. If we draw a third line, we add 3 more regions. In general, if we have n lines already drawn, and we draw another line, then new line will intersect each of the other lines exactly once, and thus will be split up into n + disjoint segments or rays. For each of these segments or rays, we can mark off the region on the paper when only n regions were drawn, which contains this segment or ray after it is drawn. This region will be split up in exactly two regions, thus increasing the count of the regions by. Therefore each disjoint segment or ray creates a distinct new region, and in total n + new regions are created. Using the above argument, we can prove by induction that the number of regions created by n lines is: + + +... + n = + n(n + ) Base Step: For n = we have = + regions, so the result holds. Induction Step: Assume the result is true for some positive integer n, so that the number of regions when n lines are drawn is: + + +... + n When we draw another line, we get n + lines, while the number of regions increases by n + (by the argument stated above), hence the number of regions is: ( + + +... + n) + (n + ) = + + +... + n + so the result is true for n +, and the induction step is finished.. We will use strong induction. Base Step: For n =, x + x is an integer by the problem condition. 5

For n =, we have: x + x = (x + x ) x x = (x + x ) which is an integer since x + and are both integers. This completes the base step. x Induction Step: Let n be an integer, and assume the result holds for all positive integers k, k n. In particular, this means that + is equal to some integer a, xn and + is equal to some integer b. For n + we have: xn + + + = (xn + )(x + x ) (xn + ) = a(x + x ) b which must be an integer, since a, b are integers, and by the problem condition, x + x is also an integer. Thus the result is true for n + as well, and we are done. Hard Problems 3. Notice that for (a) and (b) m and n have greatest common divisor equal to, therefore on each turn a player can always make a move of replacing the number k with its divisor l strictly less than k, as long as l >, or as long as l = and has not yet appeared on the board. Instead of dealing with the actual numbers we will deal with the number of prime factors they have. Then, the game becomes equivalent to the following. Two numbers m and n are written on the board. On each turn a player can select a number k greater than 0 and replace it with any positive integer less than k, or replace it with 0, as long as 0 is not already written on the board. A player who cannot make a move loses. It immediately follows that m = 0, n = is a losing position. Therefore, m = 0, n is a winning position (since a player replaces n with and wins). Furtheremore, m =, n is a winning position (since a player replaces n with 0 and wins). Hence m =, n = is a losing position; m =, n 3 is a winning position; m = 3, n = 3 is a losing position, m = 3, n 4 is a winning position. By induction it follows that for k, m = k, n = k is a losing position, while m = k, n k + is a winning position. (a) We are in the case of m = 40, n = 5 4 in the transformed game, thus this is a winning position and Alphonse wins. (b) This case is different, since now m and n have more than one divisor in common. We will deal with the original game and not make any transformations. Note that m

and n are both powers of, so throughout the whole game only powers of can appear on the board. We first note that the player who first writes down a number less than or equal to loses. This is because if they write down, then has not yet been written; the opponent on the next turn replaces the other number with wins. (Note that this move is legal since at the start m >, n > so at the time that is written, the other number on the board must be greater than ). If they write down, then has not yet been written; the opponent on the next turn replaces the other number with and wins. Similarly, the player who first writes down a number less than or equal to 8 loses. This is because if they write down 4, the other player writes 8 thus forcing the original player to write down a number less than or equal to (note they cannot replace 8 with 4 since 4 has already appeared on the board). Similarly, if they write down 8, the other player writes down 4 and wins. By induction it follows that if m, n > k then the player who first writes down a number less than or equal to k loses for every positive integer k. Thus for the case m = 40, n = 53, the player to first write down a number less than or equal to 39 loses. Therefore on his first turn, Alphonse replaces 53 with 4 and wins because on her turn, Beryl is faced with 40 and 4 on the board and has to write down a number less than or equal to 39. Note: you should always consider induction as a possible method for proving that a particular strategy in a game is a winning one because often the objective in games is to reduce the current state of the game to a smaller state, which is exactly how induction works. 4. We will prove that n p gives the remainder of n when divided by p. Since p is prime, if we manage to prove this, then we get the result, since then n p = np gives the n remainder of n = when divided by p. As usual, we use induction. This time, we n need to only prove the result for all integers n between and p, inclusive, since for any positive integer n, we have n p gives the same remainder when divided by p, as k p, where k is the remainder that n itself gives, when divided by p. (This is a useful fact in number theory). Base Step: n =. Then p =, which gives remainder when divided by p. Thus the base step is done. Induction Step: Let n be a positive integer, with n p, such that the result holds for n, i.e. n p gives remainder n when divided by p. Another way to write this is 7

n p = kp + n for some integer k. By the binomial theorem, for n + we have: ( ) ( ) ( ) p p p (n + ) p = n p + n p + n p +... n + p For i =,..., p, the binomial coefficient: ( ) p p(p )... (p i + ) = i i! must be divisible by p, since the numerator is divisible by p, while the denominator is not (it s a product of integers all of whom are less than p and hence cannot be divisible by p, since it is prime). This means that in the binomial expansion of (n + ) p above, all the terms involving binomial coefficients are divisible by p, and hence the remainder that (n + ) p gives when divided by p is the same as n p + does: ( ) ( ) ( ) p p p (n + ) p = n p + n p + n p +... n + p }{{} divisible by p = n p + lp + for some integer l. Replacing n p with kp + n we get: (n + ) p = kp + n + lp + = p(k + l) + (n + ) which means that (n + ) p gives the remainder of (n + ) when divided by p, and the induction step is complete. 5. Base Step: n = 4. We have: x + x + x 3 + x 4 x 4 + x x + x 3 x + x 4 x 3 + x = x + x 3 x + x 4 + x + x 4 x + x 3 x + x 3 x + x 4 = x + x 4 x + x 3 using the AM-GM inequality. This completes the base step. Induction Step: Assume the result holds for some positive integer n; we wish to prove it for n +. Let x, x,..., + be arbitrary positive real numbers; we wish to show: A = x + + x + x x + x 3 +... + + + x In the above expression, we can without loss of generality assume that + is the smallest among x, x,..., +. This will be used later. 8

By the induction assumption, we know that: B = x + x +... + + x x + x 3 + x If we can show that A B, then it would immediately follow that A and we would be done. Let us try to show A B by looking at the difference between these two numbers: A B = x + + x + x + + ( + + + x = ( x ) + ( + + x + x + + x + x ) + + x ) + + + x + x The first bracket in the above expression is non-negative since + + x + x, which is true because + (recall that we assumed earlier than + x i for all i =,,... n). The second bracket is non-negative since + + + x, which is true because + x. And the last term is positive since +,, x are all positive. Thus the whole expression is non-negative, and A B 0. Therefore A B. Since B, it follows that A, which means that the result is true for n + and the induction step is done. Note: The assumption that + was the smallest among the terms is key here. How does one come up with such an assumption? Well, we could write out the difference A B regardless of any assumptions. Then we see, that this would be non-negative if we can get + and +. So as long as in the sequence of numbers x, x,..., +, x, x we can find one that is less than or equal to the previous two, we are in business. This is of course always possible. 9