Mathematical Induction

Similar documents
CISC-102 Fall 2017 Week 3. Principle of Mathematical Induction

Climbing an Infinite Ladder

Appendix G: Mathematical Induction

1.2 The Well-Ordering Principle

9.4. Mathematical Induction. Introduction. What you should learn. Why you should learn it

Mathematical Induction. Section 5.1

MEETING 9 - INDUCTION AND RECURSION

MATHEMATICAL INDUCTION

1 Implication and induction

Solution Set 2. Problem 1. [a] + [b] = [a + b] = [b + a] = [b] + [a] ([a] + [b]) + [c] = [a + b] + [c] = [a + b + c] = [a] + [b + c] = [a] + ([b + c])

Equations and Solutions

Conjectures and proof. Book page 24-30

means is a subset of. So we say A B for sets A and B if x A we have x B holds. BY CONTRAST, a S means that a is a member of S.

Consider an infinite row of dominoes, labeled by 1, 2, 3,, where each domino is standing up. What should one do to knock over all dominoes?

Discrete Mathematics. Spring 2017

MAC-CPTM Situations Project

Prompt. Commentary. Mathematical Foci

Contents. Counting Methods and Induction

a. See the textbook for examples of proving logical equivalence using truth tables. b. There is a real number x for which f (x) < 0. (x 1) 2 > 0.

Problem Set 5 Solutions

MI 4 Mathematical Induction Name. Mathematical Induction

HOW TO WRITE PROOFS. Dr. Min Ru, University of Houston

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 1

Climbing an Infinite Ladder

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

Basic Proof Examples

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

Lecture Overview. 2 Weak Induction

Note that r = 0 gives the simple principle of induction. Also it can be shown that the principle of strong induction follows from simple induction.

Discrete Mathematics for CS Spring 2008 David Wagner Note 4

Day 6. Tuesday May 29, We continue our look at basic proofs. We will do a few examples of different methods of proving.

Section 4.2: Mathematical Induction 1

, p 1 < p 2 < < p l primes.

CSC236 Week 2. Larry Zhang

2. Limits at Infinity

MATH10040: Numbers and Functions Homework 1: Solutions

Discrete Math, Spring Solutions to Problems V

Mathematical induction. Limits of sequences

With Question/Answer Animations

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 3

Summer HSSP Lecture Notes Week 1. Lane Gunderman, Victor Lopez, James Rowan

MATH CSE20 Homework 5 Due Monday November 4

CS 124 Math Review Section January 29, 2018

Proof Terminology. Technique #1: Direct Proof. Learning objectives. Proof Techniques (Rosen, Sections ) Direct Proof:

1 Direct Proofs Technique Outlines Example Implication Proofs Technique Outlines Examples...

Every subset of {1, 2,...,n 1} can be extended to a subset of {1, 2, 3,...,n} by either adding or not adding the element n.

Math 475, Problem Set #8: Answers

Writing proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction

Homework 1 (revised) Solutions

Introducing Proof 1. hsn.uk.net. Contents

Proof: Let the check matrix be

PRINCIPLE OF MATHEMATICAL INDUCTION

Mathematical Induction

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand Note 2

5.1 Simplifying Rational Expressions

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

Induction and recursion. Chapter 5

Solution to Proof Questions from September 1st

Chapter Summary. Mathematical Induction Strong Induction Well-Ordering Recursive Definitions Structural Induction Recursive Algorithms

What is proof? Lesson 1

Basic Combinatorics. Math 40210, Section 01 Fall Homework 8 Solutions

Lesson 3-7: Absolute Value Equations Name:

HANDOUT ABOUT THE TABLE OF SIGNS METHOD. The method To find the sign of a rational (including polynomial) function

More examples of mathematical. Lecture 4 ICOM 4075

12 Sequences and Recurrences

Proof by Contradiction

AQA Level 2 Further mathematics Further algebra. Section 4: Proof and sequences

COT 2104 Homework Assignment 1 (Answers)

9/5/17. Fermat s last theorem. CS 220: Discrete Structures and their Applications. Proofs sections in zybooks. Proofs.

CHAPTER 1. REVIEW: NUMBERS

Olympiad Number Theory Through Challenging Problems

We want to show P (n) is true for all integers

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

Fibonacci Numbers. Justin Stevens. Lecture 5. Justin Stevens Fibonacci Numbers (Lecture 5) 1 / 10

Pierre de Fermat ( )

Introduction to Basic Proof Techniques Mathew A. Johnson

CS 2110: INDUCTION DISCUSSION TOPICS

Math 24 Spring 2012 Questions (mostly) from the Textbook

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

Chapter 2 Section 2.1: Proofs Proof Techniques. CS 130 Discrete Structures

Lecture 4: Probability, Proof Techniques, Method of Induction Lecturer: Lale Özkahya

MATH 225: Foundations of Higher Matheamatics. Dr. Morton. 3.4: Proof by Cases

CMPSCI 250: Introduction to Computation. Lecture 11: Proof Techniques David Mix Barrington 5 March 2013

CS 220: Discrete Structures and their Applications. Mathematical Induction in zybooks

CHAPTER 4. Series. 1. What is a Series?

Induction and Recursion

e π i 1 = 0 Proofs and Mathematical Induction Carlos Moreno uwaterloo.ca EIT-4103 e x2 log k a+b a + b

What can you prove by induction?

Mat Week 8. Week 8. gcd() Mat Bases. Integers & Computers. Linear Combos. Week 8. Induction Proofs. Fall 2013

Section 29: What s an Inverse?

Proof. Theorems. Theorems. Example. Example. Example. Part 4. The Big Bang Theory

Homework 4, 5, 6 Solutions. > 0, and so a n 0 = n + 1 n = ( n+1 n)( n+1+ n) 1 if n is odd 1/n if n is even diverges.

2. Two binary operations (addition, denoted + and multiplication, denoted

Student Responsibilities Week 8. Mat Section 3.6 Integers and Algorithms. Algorithm to Find gcd()

* 8 Groups, with Appendix containing Rings and Fields.

CSE373: Data Structures and Algorithms Lecture 2: Proof by Induction. Linda Shapiro Spring 2016

Recitation 7: Existence Proofs and Mathematical Induction

Notes: Pythagorean Triples

2 Elementary number theory

Divisibility = 16, = 9, = 2, = 5. (Negative!)

Transcription:

Mathematical Induction Let s motivate our discussion by considering an example first. What happens when we add the first n positive odd integers? The table below shows what results for the first few values of n. n Sum of the first n odd positive integers 1 1 2 1 + 3 = 4 3 1 + 3 + 5 = 9 4 1 + 3 + 5 + 7 = 16 5 1 + 3 + 5 + 7 + 9 = 25 If you look closely at the sums we get in each case, you might notice that the result is just n 2. The question we might ask next is, Does this happen every time? In other words, if we take the first n positive odd integers, will their sum always be n 2? You may not be surprised to learn that the answer is yes, but how do we know that? Unfortunately, we cannot simply assume based on the results above that it will work for every positive integer (see example 4). Instead, we have to prove this result, and one way to do so is to use the principle of Mathematical Induction. Mathematical Induction is a method by which we can prove many formulas, equations, and other mathematical statements whose variables represent positive integers. The idea behind it is similar to the domino effect. If we want to knock over a set of dominoes standing in a row, we don t have to knock over each one individually. If they re close enough to each other, we simply knock over the first domino. The first domino will then knock over the second, the second will knock over the third, and so on. Ultimately, all of the dominoes will fall.

The principle of Mathematical Induction works the same way. When we want to prove a statement to be true for all positive integer values n, we show that the statement is true when n = 1. Then we show that if the statement is true for a positive integer k, then it is true for the next integer, k + 1. By doing this, we show that the statement holds when n = 1, which means it must also hold when n = 1 + 1 = 2, which, in turn, means it holds for n = 2 + 1 = 3, and so on. Therefore the statement will hold for all positive integers n. We summarize this principle below. The Principle of Mathematical Induction To prove a mathematical statement in terms of the variable n, we show that: 1.) The statement is true for n = 1.* 2.) If the statement is true for n = k, then it is true for n = k + 1. *Some statements may not hold for n = 1. In fact, some may not work for the first few positive integers. In such cases, the first step will need to be verified for the first integer that makes the statement true. In practice, here is how the process works. In the first step (sometimes called the base case), we simply plug n = 1 into the statement and verify that it is true. For the second step, we make the assumption that the statement is true when n = k. This is called the induction hypothesis. Operating under this assumption, we then verify that the statement must also work when n = k + 1. This will involve plugging in k + 1 for n and using the induction hypothesis to again verify that the statement holds. Example 1 For our first example, let s go back to the problem we considered earlier involving the sum of the first n positive odd integers. What we want to prove is that for any positive integer n, Step 1 1 + 3 + 5 + 7 + + (2n 1) = n 2 First we show that the statement holds when n = 1. To do this, we simply plug 1 in for n in the equation above and verify that we get the same thing on both sides: 2 1 1 1 2 00000001 = 1

Step 2 Next, we assume that the statement is true for n = k. In other words, assume that 1 + 3 + 5 + 7 + + (2k 1) = k 2 Now we must show that it will work for n = k + 1. That is, we need to show that 1 + 3 + 5 + 7 + + (2k 1) + (2(k + 1) 1) = (k + 1) 2 Notice on the left side of the equation that the first k terms are 1 + 3 + 5 + 7 + + (2k 1), which we are assuming is equal to k 2. Thus we can simply substitute and proceed to simplify as follows: 1 + 3 + 5 + 7 + + (2k 1) k 2 + (2(k + 1) 1) (k + 1) 2 000000000000000000000k 2 + (2(k + 1) 1) (k + 1) 2 000000000000000000000000k 2 + 2k + 2 1 (k + 1) 2 00000000000000000000000000(k 2 + 2k + 1) (k + 1) 2 00000000000.000000000000000000000(k + 1) 2 = (k + 1) 2 The proof is now complete! Example 2 Use mathematical induction to prove that 2 + 2 2 + 2 3 + 2 4 + + 2 n = 2 n+1 2. Step 1 We show the statement is true when n = 1. 2 1 2 1+1 2 2 2 2 2 2 4 2 2 = 2 Step 2 Assume the statement holds for n = k. In other words, assume that 2 + 2 2 + 2 3 + 2 4 + + 2 k = 2 k+1 2

We now show that 2 + 2 2 + 2 3 + 2 4 + + 2 k + 2 k+1 = 2 (k+1)+1 2 To proceed, we apply the induction hypothesis (the assumption we made above) to the lefthand side of the equation and simplify as follows: 2 + 2 2 + 2 3 + 2 4 + + 2 k 2 k+1 2 + 2 k+1 2 (k+1)+1 2 000000000002 k+1 2 + 2 k+1 2 k+2 2 000.000000000002 2 k+1 2 2 k+2 2 0000000000000002 1+k+1 2 2 k+2 2 00000000000000000002 k+2 2 = 2 k+2 2 Thus, the statement is proven to work for all positive integers. Example 3 Step 1 Prove that 2 n > 3n for n 4. Notice the restriction in this case that n 4. We can easily verify by plugging in n = 1, 2, and 3 that the statement is false for each of those values. This means that our first step is to show the statement is true for n = 4. This is easily verifiable. Step 2 2 4 3 4 016 > 12 Next, we assume that 2 k > 3k for some positive integer k 4. We need to show that 2 k+1 > 3(k + 1) Since we re assuming that 2 k > 3k, it follows that 2 2 k > 2 3k, which we can simplify to 2 k+1 > 6k. From this we have 2 k+1 > 6k = 3k + 3k 3k + 12 since k 4 > 3k + 3 = 3(k + 1) In short, we have shown that 2 k+1 > 3(k + 1), as required.

Example 4 We mentioned that showing that the statement 1 + 3 + 5 + 7 + + (2n 1) = n 2 works for n = 1, 2, 3, and 4 is not sufficient enough to prove that it works for all positive integers. Simply plugging in a few values like this does not verify that the equation will always work, hence the need for a proof by mathematical induction. To further see the dangers of making an assumption about the validity of a statement based upon plugging in a few values, consider the following. Let s plug the first few positive integers into the polynomial n 2 + n + 11. n n 2 + n + 11 1 1 2 + 1 + 11 = 13 2 2 2 + 2 + 11 = 17 3 3 2 + 3 + 11 = 23 4 4 2 + 4 + 11 = 31 Notice that the sum in each of these cases is a prime number. If we continue to plug in positive integer values for n, will we continue to get a prime number result? Let s try a few more and see. n n 2 + n + 11 5 5 2 + 5 + 11 = 41 6 6 2 + 6 + 11 = 53 7 7 2 + 7 + 11 = 67 8 8 2 + 8 + 11 = 83 9 9 2 + 9 + 11 = 101 Notice that each result is still a prime number. At this point, you might be tempted to say that the results will always be prime. However, if we plug in n = 10, we get 10 2 + 10 + 11 = 121, which is not prime! This shows that we cannot prove a statement by simply plugging in a few values, nor should we assume that a statement is valid simply because it seems to be, based on a few results.

Exercises In exercises 1 5, prove that the given statement holds for all positive integers n. 1. 1 + 2 + 3 + 4 + + n = n(n + 1) 2 2. 5 + 9 + 13 + 17 + + (4n + 1) = n(2n + 3) 3. 1 2 + 2 2 + 3 2 + 4 2 + + n 2 = n(n + 1)(2n + 1) 6 4. 1 3 + 2 3 + 3 3 + 4 3 + + n 3 n(n + 1) = [ ] 2 5. 3 + 3 2 + 3 3 + 3 4 + + 3 n = 3n+1 3 2 2 In exercises 6 8, prove that the given inequality holds for the specified integer values of n. 6. 3 n > 4n, n 2 7. 2 n > (n + 1) 2, n 6 8. n 3 > (n + 1) 2, n 3