Induction: Solutions

Similar documents
Induction proofs - practice! SOLUTIONS

Bertrand s Postulate

1. By using truth tables prove that, for all statements P and Q, the statement

Seunghee Ye Ma 8: Week 5 Oct 28

A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

NICK DUFRESNE. 1 1 p(x). To determine some formulas for the generating function of the Schröder numbers, r(x) = a(x) =

Different kinds of Mathematical Induction

Lecture 23 Rearrangement Inequality

Infinite Sequences and Series

Sequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

MATH 112: HOMEWORK 6 SOLUTIONS. Problem 1: Rudin, Chapter 3, Problem s k < s k < 2 + s k+1

Math 451: Euclidean and Non-Euclidean Geometry MWF 3pm, Gasson 204 Homework 3 Solutions

Randomized Algorithms I, Spring 2018, Department of Computer Science, University of Helsinki Homework 1: Solutions (Discussed January 25, 2018)

( ) = p and P( i = b) = q.

Properties and Tests of Zeros of Polynomial Functions

The Structure of Z p when p is Prime

Complex Numbers Solutions

MATH 304: MIDTERM EXAM SOLUTIONS

USA Mathematical Talent Search Round 3 Solutions Year 27 Academic Year

6.3 Testing Series With Positive Terms

18th Bay Area Mathematical Olympiad. Problems and Solutions. February 23, 2016

Mathematical Induction

1 Generating functions for balls in boxes

10.1 Sequences. n term. We will deal a. a n or a n n. ( 1) n ( 1) n 1 2 ( 1) a =, 0 0,,,,, ln n. n an 2. n term.

SOME TRIBONACCI IDENTITIES

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 22

The picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled

MATH 324 Summer 2006 Elementary Number Theory Solutions to Assignment 2 Due: Thursday July 27, 2006

Random Models. Tusheng Zhang. February 14, 2013

Homework 1 Solutions. The exercises are from Foundations of Mathematical Analysis by Richard Johnsonbaugh and W.E. Pfaffenberger.

IP Reference guide for integer programming formulations.

Math F215: Induction April 7, 2013

RADICAL EXPRESSION. If a and x are real numbers and n is a positive integer, then x is an. n th root theorems: Example 1 Simplify

MA131 - Analysis 1. Workbook 3 Sequences II

Injections, Surjections, and the Pigeonhole Principle

Week 5-6: The Binomial Coefficients

Solutions to Math 347 Practice Problems for the final

The Boolean Ring of Intervals

Recurrence Relations

Z ß cos x + si x R du We start with the substitutio u = si(x), so du = cos(x). The itegral becomes but +u we should chage the limits to go with the ew

NUMERICAL METHODS FOR SOLVING EQUATIONS

Polynomials with Rational Roots that Differ by a Non-zero Constant. Generalities

Discrete Mathematics for CS Spring 2005 Clancy/Wagner Notes 21. Some Important Distributions

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs

PROBLEM SET 5 SOLUTIONS 126 = , 37 = , 15 = , 7 = 7 1.

Fermat s Little Theorem. mod 13 = 0, = }{{} mod 13 = 0. = a a a }{{} mod 13 = a 12 mod 13 = 1, mod 13 = a 13 mod 13 = a.

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Statistics

CS / MCS 401 Homework 3 grader solutions

MATH 147 Homework 4. ( = lim. n n)( n + 1 n) n n n. 1 = lim

INTEGRATION BY PARTS (TABLE METHOD)

Intermediate Math Circles November 4, 2009 Counting II

4.3 Growth Rates of Solutions to Recurrences

Sums, products and sequences

Math 155 (Lecture 3)

Assignment 5: Solutions

Section 5.1 The Basics of Counting

Regent College Maths Department. Further Pure 1. Proof by Induction

n=1 a n is the sequence (s n ) n 1 n=1 a n converges to s. We write a n = s, n=1 n=1 a n

(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3

Solutions to Problem Set 8

2.1. The Algebraic and Order Properties of R Definition. A binary operation on a set F is a function B : F F! F.

Math 220A Fall 2007 Homework #2. Will Garner A

+ au n+1 + bu n = 0.)

P1 Chapter 8 :: Binomial Expansion

CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo

and each factor on the right is clearly greater than 1. which is a contradiction, so n must be prime.

Zeros of Polynomials

Summer High School 2009 Aaron Bertram

1+x 1 + α+x. x = 2(α x2 ) 1+x

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

Recursive Algorithms. Recurrences. Recursive Algorithms Analysis

w (1) ˆx w (1) x (1) /ρ and w (2) ˆx w (2) x (2) /ρ.

SEQUENCES AND SERIES

HOMEWORK #10 SOLUTIONS

Math 609/597: Cryptography 1

THE ASYMPTOTIC COMPLEXITY OF MATRIX REDUCTION OVER FINITE FIELDS

Let us consider the following problem to warm up towards a more general statement.

The Growth of Functions. Theoretical Supplement

10.6 ALTERNATING SERIES

M A T H F A L L CORRECTION. Algebra I 1 4 / 1 0 / U N I V E R S I T Y O F T O R O N T O

Find a formula for the exponential function whose graph is given , 1 2,16 1, 6

LESSON 2: SIMPLIFYING RADICALS

Sequences. Notation. Convergence of a Sequence

(ii) Two-permutations of {a, b, c}. Answer. (B) P (3, 3) = 3! (C) 3! = 6, and there are 6 items in (A). ... Answer.

KNOWLEDGE OF NUMBER SENSE, CONCEPTS, AND OPERATIONS

Chapter Vectors

Lesson 10: Limits and Continuity

PUTNAM TRAINING INEQUALITIES

Math 61CM - Solutions to homework 1

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +

f(x) dx as we do. 2x dx x also diverges. Solution: We compute 2x dx lim

3.2 Properties of Division 3.3 Zeros of Polynomials 3.4 Complex and Rational Zeros of Polynomials

MDIV. Multiple divisor functions

Sequences I. Chapter Introduction

The Binomial Theorem

Basic Combinatorics. Math 40210, Section 01 Spring Homework 7 due Monday, March 26

CALCULATION OF FIBONACCI VECTORS

Worksheet on Generating Functions

Fall 2013 MTH431/531 Real analysis Section Notes

Practice Problems: Taylor and Maclaurin Series

Transcription:

Writig Proofs Misha Lavrov Iductio: Solutios Wester PA ARML Practice March 6, 206. Prove that a 2 2 chessboard with ay oe square removed ca always be covered by shaped tiles. Solutio : We iduct o. For = 0, a 2 2 chessboard with oe square removed is empty, ad therefore already covered. (If the = 0 case is awkwardly trivial, the = case is also easy to verify.) Suppose we ca tile a 2 2 chessboard with ay square removed. Take a 2 2 chessboard with a square missig ad divide it ito four quarters. As show below, place oe tile i the ceter so that each quarter is missig oe square: By the iductio hypothesis, each of the quarters ca ow be tiled, which gives us a way of tilig the 2 2 chessboard. This meas that we kow how to tile the chessboard for all. Solutio 2: The setup ad base case of the proof are similar, but the iductio step is differet. Give a 2 2 chessboard with ay square removed, divide it up ito a 2 2 grid of 2 2 squares. The 2 2 square with a square missig ca be filled by a sigle tile, ad the we are left with a 2 2 grid of 2 2 squares, with oe 2 2 square missig. Usig four tiles, we ca make a copy of the origial tile at twice the scale: If we wat to use the scaled-up tiles to cover the 2 2 grid of 2 2 squares missig, that task is equivalet to coverig a 2 2 chessboard with oe square missig by tiles of the ordiary size. By the iductio hypothesis, this ca be doe; therefore we ca tile the 2 2 chessboard with a square missig as well. By iductio, this is possible for all. 2. Chicke McNuggets come i boxes of 6, 9, ad 20 uggets. Prove that for ay iteger > 43, it is possible to buy exactly uggets with a combiatio of these boxes. We prove six base cases: 44 = 20 + 9 + 9 + 6, so = 44 is possible.

45 = 9 + 9 + 9 + 9 + 9, so = 45 is possible. 46 = 20 + 20 + 6, so = 46 is possible. 47 = 20 + 9 + 9 + 9, so = 47 is possible. 48 = 6 + 6 + 6 + 6 + 6 + 6 + 6 + 6, so = 48 is possible. 49 = 20 + 20 + 9, so = 49 is possible. For all larger, if buyig exactly 6 uggets is possible, the buyig exactly uggets is possible: just buy 6, ad the aother box of 6 uggets. Havig prove the result for six cosecutive values of, the result for all larger follows. If we also allow 4-ugget boxes, the what is the largest iteger such that it s impossible to buy exactly uggets? We ca check that = is impossible. If we buy three boxes, the we get at least 4+4+4 = 2 uggets, so we just eed to check all possibilities for at most two boxes: oe of 4, 6, 9, 4 + 6, 4 + 9, 6 + 9 equal, ad of course buyig a 20-ugget box would put us over the target immediately. We prove that all values of 2 are possible i the same way as before: Buyig exactly 2 is possible sice 2 = 4 + 4 + 4. Buyig exactly 3 is possible sice 3 = 9 + 4. Buyig exactly 4 is possible sice 4 = 6 + 4 + 4. Buyig exactly 5 is possible sice 5 = 9 + 6. From there, we ca iduct o : to buy > 5 uggets, buy 4 uggets ad the a box of 4 more. 3. Fid the mistake i the followig proofs: (a) The first proof is missig a base case. It s true that if =, the = +, but = is ever true for ay. (b) The secod proof does ot prove eough base cases for the iductio step to work. To show that l ad l 2 are the same lie, we say that they both pass through A 2 ad A. However, whe = 3, these are the same poit, which says othig about l ad l 2 ; the iductio step oly holds for 4. 4. Prove that for all, the sum of the first odd umbers is a perfect square. We show that + 3 + + (2 ) = 2 by iductio o. For =, both sides of the equatio say =. Now assume the statemet holds for ; we show it holds for +. If +3+ +(2 ) = 2, the + 3 + + (2 + ) = 2 + (2 + ): we re just addig 2 + to both sides. But 2 + (2 + ) factors as ( + ) 2, which was what we wated. By iductio, the equatio holds for all. 2

5. Prove that for all, 2 + 2 2 + 3 2 + + 2 < 2. We show that 2 + 2 2 + 3 2 + + 2 2 by iductio o. For =, we have 2 2, which is true, sice. Now assume the iequality holds for some ; we ll show it holds for +. Startig from 2 + 2 2 + 3 2 + + 2 2, add to both sides. O the left-had side, we get the sum we wat to boud. O the (+) 2 right-had side, we get 2 + ( + ) 2 = 2 ( + )2 ( + ) 2 = 2 + 2 + + 2 < 2 + +. Therefore the iequality cotiues to hold for + if it holds for. By iductio, the iequality holds for all, ad so i particular, the sum is bouded above by 2. 6. I a chess touramet, each pair of players played exactly oe game, ad icredibly, oe of them eded i draws. Prove that there is a participat i the touramet (call him Bobby) such that every other player either lost their game with Bobby, or lost a game with someoe else that lost to Bobby. We iduct o, the umber of participats i the touramet. For =, the statemet is trivial, ad so we let this be our base case. Suppose that the statemet holds for players; let s try to show that it holds for + players. Thik of the resultig touramet as oe played by players, with a extra player the showig up ad playig all of them. By the iductio hypothesis, the first players ca be divided ito 3 groups: {Bobby} S T, where Bobby is (oe possible choice of) the participat we call Bobby, S is the set of players that lose to Bobby, ad T is the set of players that beat Bobby (ad must therefore lose to someoe i S). If the extra player loses to Bobby, the they ca also be added to S, ad the claim cotiues to hold. If the extra player wis agaist Bobby, but loses to someoe i S, the they ca be added to T, ad the claim cotiues to hold. The remaiig case is whe the extra player wis agaist Bobby ad wis agaist every player i S. I that case, partitio the + players ito three ew groups: {ew player}, S := S {Bobby}, ad T. The everyoe i S lost their game with the ew player; everyoe i T lost a game to someoe i S (i particular, to someoe i S.) So the claim cotiues to hold, with the ew player becomig Bobby i place of the old Bobby. By iductio, the claim holds for all. 7. (VTRMC 202) Defie a sequece (a ) for a positive iteger iductively by a = ad a = d,d< a, where the product rages over all proper divisors d of. d 3

Thus a 2 = 2, a 3 = 3, a 4 = 2, etc. Fid a 999000. We will prove that the followig geeral formula holds: if is prime, a = p if = p k for some prime p, if has at least two distict prime factors. Sice 999000 = 2 3 3 3 5 3 37, this meas that a 999000 =. We prove the formula by a uusual iductio o. Our base case will be every prime. The we will show that if the formula holds for all proper divisors of, it must also hold for. Suppose that is prime. The its oly proper divisor is, so a = a case is show. = =. The base Now, suppose that the formula holds for all proper divisors of. There are two cases to cosider. First, if is a prime power if = p k for some prime p, the its proper divisors are, p, p 2,..., p k. So we have a = = a a p a p 2 a p k p p = = p. pk If is ot a prime power, the it has a prime factorizatio p e pe 2 2 pem k. For all its divisors d, a d = uless d is a power of a prime, by the iductive hypothesis, so we ca igore a d i the formula. If d is a power of a prime, the it has the form d = p k i for k e i, ad a d = p i. There are exactly e i proper divisors d such that a d = p i : they are p i, p 2 i,..., pe i i. So the product of a d over all divisors d picks up a factor of exactly p e i i for every prime p i i the factorizatio of. This meas that it exactly equals, ad the formula tells us that a = =. By iductio, the formula holds for all, ad i particular for = 999000. 8. A biary sequece such as 0000 is writte o a blackboard. I a step, you are allowed to chage the first umber (from 0 to or vice versa) or the umber after the first occurrece of. (Startig with 0000, you could get to 000 or to 00000.) Prove that you ca chage ay sequece to ay other sequece of the same legth. We prove the statemet Ay sequece of legth ca be chaged to ay other sequece of legth by iductio o. The base case, =, is easy to prove: we ca chage 0 to or to 0 by a applicatio of the first rule. Now assume that the statemet holds for some. A corollary is that i a sequece of legth +, we ca chage the first bits to aythig we like: the same rules that go betwee two -bit sequeces let us go betwee the first bits of two loger sequeces. Take two arbitrary sequeces x 0 x x ad y 0 y y. We ll show how to get from oe to the other. If x = y, the we ca use the -bit method (which we kow exists by the iductio hypothesis) to chage x 0 x x to y 0 y y. 4

If x y, the we ca use the -bit method to chage the first bits of x 0 x x to be 000 0, so that we get the sequece 000 0x. The secod rule (which lets us chage the bit after the first ), ca be used to chage this to 00 0y. Now we ca use the -bit method agai to chage the first bits to y 0 y y, ad we are left with the target sequece. By iductio, we ca chage ay sequece to ay other sequece of the same legth, regardless of the legth. 5