Mathematical Induction

Similar documents
Mathematical Induction

3. Mathematical Induction

Full and Complete Binary Trees

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

6.2 Permutations continued

CS 103X: Discrete Structures Homework Assignment 3 Solutions

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

Mathematical Induction. Lecture 10-11

8 Divisibility and prime numbers

Math 55: Discrete Mathematics

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

Section IV.1: Recursive Algorithms and Recursion Trees

Handout #1: Mathematical Reasoning

Solutions for Practice problems on proofs

csci 210: Data Structures Recursion

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

Basic Proof Techniques

MATH10040 Chapter 2: Prime and relatively prime numbers

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.

LEARNING OBJECTIVES FOR THIS CHAPTER

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

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

INCIDENCE-BETWEENNESS GEOMETRY

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

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

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT?

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

C H A P T E R Regular Expressions regular expression

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

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

8 Primes and Modular Arithmetic

MATH 289 PROBLEM SET 4: NUMBER THEORY

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

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

Mathematical Induction. Mary Barnes Sue Gordon

1 if 1 x 0 1 if 0 x 1

(IALC, Chapters 8 and 9) Introduction to Turing s life, Turing machines, universal machines, unsolvable problems.

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

The degree, size and chromatic index of a uniform hypergraph

Sample Induction Proofs

The Fundamental Theorem of Arithmetic

Reading 13 : Finite State Automata and Regular Expressions

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

Set theory as a foundation for mathematics

INTRODUCTORY SET THEORY

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

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

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

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

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

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

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include

Basics of Counting. The product rule. Product rule example. 22C:19, Chapter 6 Hantao Zhang. Sample question. Total is 18 * 325 = 5850

THE BANACH CONTRACTION PRINCIPLE. Contents

Math 3000 Section 003 Intro to Abstract Math Homework 2

Lecture Note 1 Set and Probability Theory. MIT Spring 2006 Herman Bennett

Pigeonhole Principle Solutions

Lecture 13 - Basic Number Theory.

Regular Languages and Finite Automata

Real Roots of Univariate Polynomials with Real Coefficients

PRIME FACTORS OF CONSECUTIVE INTEGERS

SECTION 10-2 Mathematical Induction

136 CHAPTER 4. INDUCTION, GRAPHS AND TREES

Best Monotone Degree Bounds for Various Graph Parameters

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

Mathematical Induction

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.

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

Continued Fractions and the Euclidean Algorithm

Notes on Determinant

Handout NUMBER THEORY

Metric Spaces Joseph Muscat 2003 (Last revised May 2009)

The chromatic spectrum of mixed hypergraphs

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

CONTRIBUTIONS TO ZERO SUM PROBLEMS

MA651 Topology. Lecture 6. Separation Axioms.

Lecture 1: Course overview, circuits, and formulas

arxiv: v1 [math.pr] 5 Dec 2011

Odd induced subgraphs in graphs of maximum degree three

SCORE SETS IN ORIENTED GRAPHS

A Production Planning Problem

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

GRAPH THEORY LECTURE 4: TREES

Introduction to Topology

26 Integers: Multiplication, Division, and Order

Graphs without proper subgraphs of minimum degree 3 and short cycles

Math 4310 Handout - Quotient Vector Spaces

Homework until Test #2

Automata and Formal Languages

SOLUTIONS TO ASSIGNMENT 1 MATH 576

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

The Ideal Class Group

Math 223 Abstract Algebra Lecture Notes

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

Answer Key for California State Standards: Algebra I

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

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:

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

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

Transcription:

Mathematical Induction Victor Adamchik Fall of 2005 Lecture 1 (out of three) Plan 1. The Principle of Mathematical Induction 2. Induction Examples The Principle of Mathematical Induction Suppose we have some statement Pn and we want to demonstrate that Pn is true for all n. Even if we can provide proofs for P0, P1,..., Pk, where k is some large number, we have accomplished very little. However, there is a general method, the Principle of Mathematical Induction. Induction is a defining difference between discrete and continuous mathematics. Principle of Induction. In order to show that n, Pn holds, it suffices to establish the following two properties: (I1) Base case: Show that P0 holds. (I2) Induction step: Assume that Pn holds, and show that Pn1 also holds. In the induction step, the assumption that Pn holds is called the Induction Hypothesis (IH). In more formal notation, this proof technique can be stated as P0 kpkpk 1 n Pn

You can think of the proof by (mathematical) induction as a kind of recursive proof: Instead of attacking the problem directly, we only explain how to get a proof for Pn 1 out of a proof for Pn. How would you prove that the proof by induction indeed works?? Proof (by contradiction) Assume that for some values of n, Pn is false. Let n 0 be the least such n that Pn 0 is false. n 0 cannot be 0, because P0 is true. Thus, n 0 must be in the form n 0 1 n 1. Since n 1 n 0 then by Pn 1 is true. Therefore, by inductive hypothesis Pn 1 1 must be true. It follows then that Pn 0 is true. Contradiction. The crucial part of this proof is that we are able to get a least element. This is called the Least Element Principle. We have been using this principal a few times when we cover the divisibility. Comments The base case can start with any nonnegative number. If that number is n 0 then you would prove that assertion Pn holds for all n n 0. Pn 0 k n 0 PkPk 1 n Pn The induction step not necessarily should start with n. You can change the step from n 1 to n, where n 0. Sometimes this yields slightly shorter expressions. However, you cannot make a step from n 1 to n1. Induction Examples First Example Prove for n 1 11 22 33... n n n1 1 This could be also written by using notation

n k k n1 1 k1 If you take 15-355 (http://www.andrew.cmu.edu/course/15-355/) you will learn a more general approach for deriving and proving combinatiral identities. Proof. Base case: n 1 The left hand side is 1*1!. The right hand side is 2! - 1. They are equal. Inductive hypothesis. Suppose this holds We need to prove Consider the left hand side n1 n k k n1 1 k1 n1 k k n2 1 k1 n k k k k n1 n1 k1 k1 n1 1 n1 n1 QED n11 n 1 1 n2 1 The ATM Machine Suppose an ATM machine has only two dollar and five dollar bills. You can type in the amount you want, and it will figure out how to divide things up into the proper number of two's and five's.

Claim. The ATM machine can generate any output amount n 4. Proof: By induction on n. Base case: n 4. 2 two's, done. Induction step: suppose the machine can already handle n 4 dollars. To produce n1 dollars, we proceed as follows. Case 1: The n dollar output contains a five. Then we can replace the five by 3 two's to get n1 dollars. Case 2: The n dollar output contains only two's. Since n 4, there must be at least 2 two's. Remove 2, and replace them by 1 five. Tower of Hanoi You have three pegs and a collection of disks of different sizes. Initially all of the disks are stacked on top on each other according to size on the first peg -- the largest disk being on the bottom, and the smallest on the top. A move in this game consists of moving a disk from one peg to another, subject to the condition that a larger disk may never rest on a smaller one. The objective of the game is to find a number of permissable moves that will transfer all of the disks from the first peg to the third peg, making sure that the disks are assembled on the third peg according to size. The second peg is used as an intermediate peg. Claim. It takes 2 n 1 moves to move n disks from the first peg to the third peg. Proof: Base case: n 1. It takes exactly one move. Indeed, 2 1 11. Inductive hypothesis: suppose it takes 2 n 1 moves to move n disks. We need to prove that the number of moves for n1 disks is 2 n1 1

We proceed as follows. First, we move top n disks to the second peg (using the third peg as an intermediate peg.) It takes 2 n 1 moves. Then, we move the last disk to the third peg - it takes one move. Finally, we move n disks from the second peg to the third peg. Here is the total number of moves 2 n 11 2 n 1 22 n 1 2 n1 1 All horses are the same color Claim. All horses are the same color. Proof. The proof by induction on the number of horses. Base: if there is one horse, then it is trivially the same color as itself. Inductive hypothesis: assume that horses, numbered from 1 to n have the same color. Inductive step: There are n1 horses. By the induction hypothesis, horses from 1 to n have the same color, let's say white. In particular, horse 2 is white. Also by induction hypothesis 2 through n1 have the same color - white, since 2 is white. Therefore, all of the horses have the same color. Explanation. We deal with two sets of horses - from 1 to n. Denote this by G 1. - from 2 to n1 Denote this by G 2. Both of them have n horses and thus we conclude that horses in the union G 1 G 2 have the same color. It would be true if their intersection G 1 G 2 is NOT empty. And this is a flaw! If G 1 and G 2 are disjoint, then there is no reason why horses from both sets have the same color. When these two sets are disjoint? When n 1. Each set has only one element. P1 does not imply P2.

Exercise (stamp theorem). Prove by induction that for any integer n 23 there exist nonnegative integers x and y such that n 7 x5 y Exercise (nested radicals). (a) Prove by induction that for any integer n 2 the following number 1 1 1 1... is irrational. The above radical signs contain exactly n ones. (b) Can you discover that irrational number?