More Mathematical Induction. October 27, 2016

Similar documents
6.2 Permutations continued

Solutions for Practice problems on proofs

Mathematical Induction

Full and Complete Binary Trees

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

Mathematical Induction. Lecture 10-11

MATH 289 PROBLEM SET 4: NUMBER THEORY

SECTION 10-2 Mathematical Induction

Solutions to Homework 6 Mathematics 503 Foundations of Mathematics Spring 2014

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.

3. Mathematical Induction

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

Sample Induction Proofs

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

CS 103X: Discrete Structures Homework Assignment 3 Solutions

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

MATH10040 Chapter 2: Prime and relatively prime numbers

CSE373: Data Structures and Algorithms Lecture 3: Math Review; Algorithm Analysis. Linda Shapiro Winter 2015

Cardinality. The set of all finite strings over the alphabet of lowercase letters is countable. The set of real numbers R is an uncountable set.

Near Optimal Solutions

1 if 1 x 0 1 if 0 x 1

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

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

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

x a x 2 (1 + x 2 ) n.

Basic Proof Techniques

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

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

CHAPTER II THE LIMIT OF A SEQUENCE OF NUMBERS DEFINITION OF THE NUMBER e.

SCORE SETS IN ORIENTED GRAPHS

Homework until Test #2

An example of a computable

Lecture 15 An Arithmetic Circuit Lowerbound and Flows in Graphs

IEOR 6711: Stochastic Models I Fall 2012, Professor Whitt, Tuesday, September 11 Normal Approximations and the Central Limit Theorem

Cartesian Products and Relations

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

Math 55: Discrete Mathematics

INTRODUCTORY SET THEORY

Discrete Mathematics Problems

Mathematical Induction. Mary Barnes Sue Gordon

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

CONTRIBUTIONS TO ZERO SUM PROBLEMS

MA651 Topology. Lecture 6. Separation Axioms.

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

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

n k=1 k=0 1/k! = e. Example 6.4. The series 1/k 2 converges in R. Indeed, if s n = n then k=1 1/k, then s 2n s n = 1 n

The chromatic spectrum of mixed hypergraphs

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT?

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.

Fundamentele Informatica II

8 Divisibility and prime numbers

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.

Handout #1: Mathematical Reasoning

Continued Fractions and the Euclidean Algorithm

FUNCTIONAL ANALYSIS LECTURE NOTES: QUOTIENT SPACES

This asserts two sets are equal iff they have the same elements, that is, a set is determined by its elements.

A Course in Discrete Structures. Rafael Pass Wei-Lung Dustin Tseng

8 Primes and Modular Arithmetic

Basic Concepts of Point Set Topology Notes for OU course Math 4853 Spring 2011

Georg Cantor and Set Theory

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

THE BANACH CONTRACTION PRINCIPLE. Contents

Chapter 3. Distribution Problems. 3.1 The idea of a distribution The twenty-fold way

Introduction to Topology

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

Exponential time algorithms for graph coloring

Pigeonhole Principle Solutions

THE DIMENSION OF A VECTOR SPACE

AN ANALYSIS OF A WAR-LIKE CARD GAME. Introduction

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

Lecture 13 - Basic Number Theory.

Solutions Q1, Q3, Q4.(a), Q5, Q6 to INTLOGS16 Test 1

INDISTINGUISHABILITY OF ABSOLUTELY CONTINUOUS AND SINGULAR DISTRIBUTIONS

CS 3719 (Theory of Computation and Algorithms) Lecture 4

Linear Algebra. A vector space (over R) is an ordered quadruple. such that V is a set; 0 V ; and the following eight axioms hold:

Lecture 17 : Equivalence and Order Relations DRAFT

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

Every Positive Integer is the Sum of Four Squares! (and other exciting problems)

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

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

Lecture Notes on Discrete Mathematics

ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION

(0, 0) : order 1; (0, 1) : order 4; (0, 2) : order 2; (0, 3) : order 4; (1, 0) : order 2; (1, 1) : order 4; (1, 2) : order 2; (1, 3) : order 4.

DETERMINANTS IN THE KRONECKER PRODUCT OF MATRICES: THE INCIDENCE MATRIX OF A COMPLETE GRAPH

Georg Cantor ( ):

In mathematics, it is often important to get a handle on the error term of an approximation. For instance, people will write

God created the integers and the rest is the work of man. (Leopold Kronecker, in an after-dinner speech at a conference, Berlin, 1886)

6.3 Conditional Probability and Independence

Practice with Proofs

SOLUTIONS TO EXERCISES FOR. MATHEMATICS 205A Part 3. Spaces with special properties

FIRST YEAR CALCULUS. Chapter 7 CONTINUITY. It is a parabola, and we can draw this parabola without lifting our pencil from the paper.

Catalan Numbers. Thomas A. Dowling, Department of Mathematics, Ohio State Uni- versity.

On the largest prime factor of x 2 1

G = G 0 > G 1 > > G k = {e}

Metric Spaces Joseph Muscat 2003 (Last revised May 2009)

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

Lectures on Number Theory. Lars-Åke Lindahl

How To Know If A Domain Is Unique In An Octempo (Euclidean) Or Not (Ecl)

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

9.2 Summation Notation

Transcription:

More Mathematical Induction October 7, 016

In these slides... Review of ordinary induction. Remark about exponential and polynomial growth. Example a second proof that P(A) = A. Strong induction. Least integer principle.

Principle of Mathematical Induction To prove a property P holds for all integers n k : (Base step) Prove P holds for k. Induction step) Assume P holds for some n k (induction hypothesis) and deduce P holds for n + 1. More formally: From and you can conclude P(k) n((n k P(n)) P(n + 1)) n(n k P(n)).

Examples from the last class. For all n Z +, For all n 50, n j = j=1 n(n + 1). 1.3 n > n 3.

Aside exponential versus polynomial growth More generally, if c > 1, k > 0, then for all sufficiently large values of n, c n > n k. In fact, And similarly, n k lim n c n = 0. (log n) k lim n n = 0.

Consequences for efficiency of algorithms Algorithm 1 requires time T 1 (n) = c 1 n log n on inputs of length n. (e.g., mergesort). Algorithm requires time T (n) = c n on inputs of length n. (e.g., insertion sort). Since T 1 (n) lim n T (n) = 0, Algorithm 1 is much faster, as long as the input size is large enough.

Another example Earlier we showed that for any finite set A, P(A) = A. We did this by showing a bijection F : {0, 1} {0, 1} P({1,..., n}). }{{} n times Here we give a new proof of the same fact by mathematical induction.

Main idea of the argument Every time you add an element {1,, 3}... You double the number of subsets: {3} {1} {1, 3} {} {, 3} {1, } {1,, 3}

Official proof Statement: For all n 0, if A = n, then P(A) = n. Base step, if A = 0, then A =, so P(A) = { }, thus P(A) = 1 = 0. Inductive step: Let n 0 and suppose that every set with n elements has n subsets. (Inductive hypothesis.) Now let A = n + 1. We write where all the a i are distinct. Let A = {a 1,..., a n }. A = {a 1,..., a n, a n+1 },

Official proof continued P(A) is the disjoint union P(A ) {X A : a n+1 X}. P(A ) = n by inductive hypothesis. Y Y {a n+1 } gives a bijection between P(A ) and {X A : a n+1 X}, which thus also has n elements. Thus P(A) = P(A ) + {X A : a n+1 X} = n + n = n+1, so the claim holds for sets of cardinality n + 1.

Strong Induction

The unstacking game You have a stack of n bricks. On each move, you break a stack into two smaller stacks, and earn k points, where k is the product of the sizes of the two smaller stacks.

Example: 6++1+1=10 points

Example: 4+3++1=10 points

Conjecture: The unstacking strategy doesn t matter! No matter how you do it, the total number of points for completely breaking apart a stack of n disks is (n 1) + (n ) + + 1 = How would you prove such a thing? n(n 1).

The basic reasoning principle Suppose your first move is to break a stack into two stacks with m 1 and m bricks, respectively. If the conjecture is correct for the smaller stacks, then we will get m 1 m + m 1(m 1 1) + m (m 1) points for completely breaking the original stack. Need to check that m 1 m + m 1(m 1 1) + m (m 1) = (m 1 + m )(m 1 + m 1)

Principle of strong mathematical induction To prove a property P holds for all n k, it suffices to prove: (Base step): P(k). (Inductive step): Assume for some n > k that P(m) holds for all m with k m < n, (not just n 1) and deduce P(n). We make a stronger inductive hypothesis.

Official strong induction proof of the the unstacking game theorem Statement: For all n 1, the number of points obtained by unstacking a stack of n bricks is n(n 1), independent of the strategy. Base step: If n = 1, there is no unstacking to do. You get points. 0 = 1(1 1) Inductive step: Let n > 1. Suppose that for all positive integers less m < n, you get m(m 1)/ points for unstacking a stack of m bricks. On the first move, you break the stack into two smaller stacks of sizes m and (n m), where 1 m < n. You get m(n m) points for this move.

Official proof, continued By the inductive hypothesis, since both m < n and n m < m, the total number of points for the complete unstacking is thus m(n m) + m(m 1) + (n m)(n m 1) 1 ((mn m ) + (m m) + (n mn + m n + m)) = n n n(n 1) So the formula holds for n bricks as well. This completes the proof. = =

revisited The same reasoning is behind the proof that there are no integers m, n > 0 with n = m (proof that is irrational). Clearly there is no positive integer m such that 1 = m. Let n > 1, and suppose that for every 1 k < n, there is no positive integer l such that k = l. If there were m Z + with n = m, we could argue as before that there is an integer l with m = l. Since m < n, this contradicts the inductive hypothesis, which says that no such l exists.

Least Integer Principle Used in this manner, the principle of strong induction is sometimes called the least integer principle: Every nonempty set of positive integers has a least element. If you want to use this to prove that some property P holds for no positive integer, suppose that P holds for some positive integer, and then set n to be the least positive integer for which this is true. Then obtain a contradiction by showing that n 1, and that if such an n exists, there must be a smaller value for which P holds.