Homework 6, Fri CS 2050, Intro Discrete Math for Computer Science Due Mon , Note: This homework has 2 pages and 5 problems.

Similar documents
Sample Induction Proofs

3. Mathematical Induction

Math 55: Discrete Mathematics

SECTION 10-2 Mathematical Induction

CS 103X: Discrete Structures Homework Assignment 3 Solutions

Handout #1: Mathematical Reasoning

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

Basic Proof Techniques

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

Solutions for Practice problems on proofs

Mathematical Induction

9.2 Summation Notation

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform

Page 331, 38.4 Suppose a is a positive integer and p is a prime. Prove that p a if and only if the prime factorization of a contains p.

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

Mathematical Induction. Lecture 10-11

Full and Complete Binary Trees

POLYNOMIAL RINGS AND UNIQUE FACTORIZATION DOMAINS

MATH10040 Chapter 2: Prime and relatively prime numbers

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

6.2 Permutations continued

Proseminar on Semantic Theory Fall 2013 Ling 720. Problem Set on the Formal Preliminaries : Answers and Notes

Math 115 Spring 2011 Written Homework 5 Solutions

Homework until Test #2

Section 2.5 Average Rate of Change

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

Lecture 14: Section 3.3

Every tree contains a large induced subgraph with all degrees odd

SHARP BOUNDS FOR THE SUM OF THE SQUARES OF THE DEGREES OF A GRAPH

Introduction. Appendix D Mathematical Induction D1

Math 3000 Section 003 Intro to Abstract Math Homework 2

All trees contain a large induced subgraph having all degrees 1 (mod k)

If n is odd, then 3n + 7 is even.

Math 319 Problem Set #3 Solution 21 February 2002

Solutions to Homework 6 Mathematics 503 Foundations of Mathematics Spring 2014

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

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

Solutions to In-Class Problems Week 4, Mon.

GREATEST COMMON DIVISOR

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

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

8 Divisibility and prime numbers

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

I. Pointwise convergence

Lemma 5.2. Let S be a set. (1) Let f and g be two permutations of S. Then the composition of f and g is a permutation of S.

Computing exponents modulo a number: Repeated squaring

Moreover, under the risk neutral measure, it must be the case that (5) r t = µ t.

TAKE-AWAY GAMES. ALLEN J. SCHWENK California Institute of Technology, Pasadena, California INTRODUCTION

The Chinese Remainder Theorem

CONTRIBUTIONS TO ZERO SUM PROBLEMS

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

Connectivity and cuts

Math Abstract Algebra I Questions for Section 23: Factoring Polynomials over a Field

Cartesian Products and Relations

A simple criterion on degree sequences of graphs

Indiana State Core Curriculum Standards updated 2009 Algebra I

Math 55: Discrete Mathematics

On Integer Additive Set-Indexers of Graphs

Taylor and Maclaurin Series

THE FUNDAMENTAL THEOREM OF ARBITRAGE PRICING

U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, Notes on Algebra

IB Math Research Problem

PRIME FACTORS OF CONSECUTIVE INTEGERS

Cycles in a Graph Whose Lengths Differ by One or Two

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT?

Notes on Complexity Theory Last updated: August, Lecture 1

The thing that started it 8.6 THE BINOMIAL THEOREM

Jacobi s four squares identity Martin Klazar

How To Factorize Of Finite Abelian Groups By A Cyclic Subset Of A Finite Group

Chapter 17. Orthogonal Matrices and Symmetries of Space

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

CS473 - Algorithms I

WHERE DOES THE 10% CONDITION COME FROM?

AN ANALYSIS OF A WAR-LIKE CARD GAME. Introduction

MA651 Topology. Lecture 6. Separation Axioms.

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

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

SCORE SETS IN ORIENTED GRAPHS

THE DIMENSION OF A VECTOR SPACE

Lecture 11: Tail Recursion; Continuations

SYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me

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

Test1. Due Friday, March 13, 2015.

Row Ideals and Fibers of Morphisms

Math 461 Fall 2006 Test 2 Solutions

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

Mathematical Induction. Mary Barnes Sue Gordon

Lecture 13 - Basic Number Theory.

2.1. Inductive Reasoning EXAMPLE A

Wald s Identity. by Jeffery Hein. Dartmouth College, Math 100

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

NOTES ON LINEAR TRANSFORMATIONS

Geometric Series and Annuities

ON INDUCED SUBGRAPHS WITH ALL DEGREES ODD. 1. Introduction

Notes from February 11

This chapter is all about cardinality of sets. At first this looks like a

Goal Problems in Gambling and Game Theory. Bill Sudderth. School of Statistics University of Minnesota

Lecture 4: AC 0 lower bounds and pseudorandomness

Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Dedekind s forgotten axiom and why we should teach it (and why we shouldn t teach mathematical induction in our calculus classes)

Transcription:

Homework 6, Fri 0-8- CS 050, Intro Discrete Math for Computer Science Due Mon -7-, Note: This homework has pages and 5 problems. Problem : 0 Points What is wrong with this proof? Theorem: For every positive integer n, i i n+ ) /. Basis Case: The formula is true for n. Inductive Hypothesis: Suppose that for nk, k i k+ /. ) Inductive Step: We want to show that for nk+, k+ i k+)+ ) /. But, k+ i i k ) i i i i + k+), regrouping so as to bring in the inductive hypothesis k+ ) / + k+), using the inductive hypothesis for nk k +k+ ) calculations to rewrite the expression / + k+), as the right hand side of the inductive step k +k+ ) / + k+)/ k + k + ) + k + / k + k + ) + k + ) + ) / k + ) + k + ) ) ) + / k+)+ /, which completes the proof of the inductive step ) Answer: The formula is not true for n, thus the base case does not go through. In particular: i while + ) / 9 8 i

Problem : 0 Points a) Where n is an integer, show that the statement below is false: i+ ) n+ /, n. ) Hint: It suffices to give a single counter-example. That is, identify a single positive integer n such that n ) i+ n+ ) /. Note: Realize that, where n is an integer, the hint is formally equivalent to n : n ) i+ n+ ) /. Answer to part a): We will show that, for n, the left-hand-side and the right-handside are not equal. For n the left-hand-side is For n the right-hand-side is + ) / i+ ) 0+ ) + + ) ++. ) 3 9 8. We have thus formally shown that n : i+ ) n+ /. ) Remark: Realize that part b) establishes something stronger: This is because, part b) establishes that i+ ) n+ /, n. ) i+ ) n+) /, n. It is now trivial to check that n+) / n+ ) /, n, thus i+ ) n+) / n+ /, n. )

b) Where n is an integer, show that the statement below is true: i+ ) n+) /, n. Hint: You may either use an inductive proof, or observe that n ) i+ n i) + n ) and use known closed forms and simple calculations). Answer to part b): First Proof, by induction on n: Base Case: We have to verify that, for n, i+ ) +) /. This can be trivially verified, since, for n, the left-hand-side is: ) i+ 0+ ) + ) + ++, while for n, the right-hand-side is: +) / / /. Inductive Hypothesis: Assume that, for some n k, k i+ ) k+) /. Inductive Step: We have to show that for n k+, k+ i+ ) k+)+) /. k+ i+ ) k k+) k+) i+ ) + + k+)+ ) k+)+ ) + k+) + k+) + k+) + k+)+) Second Proof, direct using well known summation formulas:. i+ ) ) ) i + nn+) + n+) n+) n + ) n + ) /. 3

Problem 3: 0 Points Show, by induction, that for every positive integer n that is a power of, if fn) f ) n + n, for n>, and f) 0, then fn) n. Hint: Realize that if n is a positive integer and n is a power of, then n N, where N is an integer and N ) 0. Then the above statement is equivalent to: if f N ) f + N, for every positive integer N, and if f 0 ) 0, N then f N ) N, for every integer N such that N 0. Answer: ) Given the definition f N ) f N + N, for every positive integer N, and f 0 ) 0, we need to show that f N ) N, for every integer N such that N 0. The proof is inductive on N. Base Case: We need to verify that f N ) N, for N 0, is equal to f 0 ) 0 as in the definition. This is trivial to see, since f 0 ) 0 0. Inductive Hypothesis: Assume that, for some N k 0, f k ) k. Inductive Step: We have to show that for N k+, f k+ ) k+. ) f k+ k+ ) f + k+ f k) + k+ k ) + k+ k+ + k+ k+.

Problem : 0 Points Show, by induction, that for every positive integer n that is a power of, if fn) f ) n +, for n>, and f) 0, then fn) log n. Hint: Realize that if n is a positive integer and n is a power of, then n N, where N is an integer and N 0. Then proceed to form an equivalent statement, in terms of N, along the lines of the hint of Problem 3. Recall also that log n log N N.) Answer: Realize that if n is a positive integer and n is a power of, then n N, where N is an integer and N 0. Then log n log N N and the above statement is equivalent ) to: Given the definition f N ) f +, for every positive integer N, N and f 0 ) 0, we need to show that f N ) N, for every integer N such that N 0. The proof is inductive on N. Base Case: We need to verify that f N ) N, for N 0, is equal to f 0 ) 0 as in the definition. This is trivially true. Inductive Hypothesis: Assume that, for some N k 0, f k ) k. Inductive Step: We have to show that for N k+, f k+ ) k +. ) f k+ k+ ) f + f k) + k +. 5

Problem 5: 0 Points Which amounts of money can be formed using just dollar bills and 7 dollar bills? Prove your answer using induction. Answer: The question is equivalen to: which positive integers n can be written as n p + 7 q for integers p 0 and q 0? Towards identifying the range of n we note: 3 cannot be written 5 cannot be written 6 3 7 0 + 7 8 9 + 7 0 5 + 7 6 3 3 + 7 e.t.c. We thus see that integers n 6 appear to fall in the range, moreover, the pattern appears to be that each integer x is expressed using the integer x : 6 3 7 0 + 7 8 + 6 9 + 7 + 7 0 5 + 8 + 7 + 9 6 + 0 3 3 + 7 + e.t.c. We will thus establish, in the next page, that the range is n 6, using strong induction. 6

Theorem: For every integer n 6, there exist integers p 0 and q 0 such that n p + 7 q. Proof: Strong induction on n. Base Case: For n 6 and n 7 we verify that 6 3 + 7 0 and 7 0 + 7. Inductive Hypothesis: Let n k 7, and assume that, for every integer k in the range 6 k k, there exist integers p 0 and q 0 such that k p + 7 q. Inductive Step: For n k +, we need to show that there exist integers p 0 and q 0 such that k + p + 7 q. We proceed to establish the inductive step as follows: k + k + + ) + k ) + + ) k ) + k + p + 7 q + p + ) + 7 q p + 7 q for p p + and q q. 7