Section 4.2: Mathematical Induction 1

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

n(n + 1). 2 . If n = 3, then 1+2+3=6= 3(3+1) . If n = 2, then = 3 = 2(2+1)

Outline. We will cover (over the next few weeks) Induction Strong Induction Constructive Induction Structural Induction

Discrete Mathematics. Spring 2017

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

PRINCIPLE OF MATHEMATICAL INDUCTION

Mathematical Induction Assignments

CS173 Lecture B, September 10, 2015

Induction 1 = 1(1+1) = 2(2+1) = 3(3+1) 2

CSE 311: Foundations of Computing. Lecture 14: Induction

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

Section 3.1: Direct Proof and Counterexample 1

Mathematical Induction

THE ISLAMIC UNIVERSITY OF GAZA ENGINEERING FACULTY DEPARTMENT OF COMPUTER ENGINEERING DISCRETE MATHMATICS DISCUSSION ECOM Eng. Huda M.

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

Proof by Mathematical Induction.

CSC236 Week 2. Larry Zhang

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

Mathematical Induction. EECS 203: Discrete Mathematics Lecture 11 Spring

Math Circle: Recursion and Induction

Any Wizard of Oz fans? Discrete Math Basics. Outline. Sets. Set Operations. Sets. Dorothy: How does one get to the Emerald City?

MATH CSE20 Homework 5 Due Monday November 4

1.7 Proof Methods and Strategy

Discrete Mathematics. Spring 2017

Mathematical Induction

Mathematical Induction. Defining Functions. Overview. Notation for recursive functions. Base case Sn(0) = 0 S(n) = S(n 1) + n for n > 0

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

INDUCTION AND RECURSION. Lecture 7 - Ch. 4

Cards, decks and hands

2. Introduction to commutative rings (continued)

Proofs Not Based On POMI

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

CS173 Strong Induction and Functions. Tandy Warnow

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

1.2 The Well-Ordering Principle

Proving simple set properties...

Section 2.3: Statements Containing Multiple Quantifiers

A guide to Proof by Induction

xy xyy 1 = ey 1 = y 1 i.e.

Midterm Exam Solution

1 More concise proof of part (a) of the monotone convergence theorem.

CS 360, Winter Morphology of Proof: An introduction to rigorous proof techniques

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.

Section 1.2: Conditional Statements

Proofs Not Based On POMI

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

Math 475, Problem Set #8: Answers

Generating Function Notes , Fall 2005, Prof. Peter Shor

Mathematical Induction

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

Notes on arithmetic. 1. Representation in base B

MEETING 9 - INDUCTION AND RECURSION

Fall 2015 Lecture 14: Modular congruences. cse 311: foundations of computing

Mathematical Induction. Rosen Chapter 4.1,4.2 (6 th edition) Rosen Ch. 5.1, 5.2 (7 th edition)

Solutions to Homework Set 1

Mathematical Induction Again

Math 242: Principles of Analysis Fall 2016 Homework 1 Part B solutions

Section 1.3: Valid and Invalid Arguments

Section 4.1: Sequences and Series

CSE373: Data Structures and Algorithms Lecture 2: Proof by Nicki Dell Spring 2014

Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page.

Proofs. Joe Patten August 10, 2018

Mathematical Induction Again

Climbing an Infinite Ladder

Models of Computation,

Inference and Proofs (1.6 & 1.7)

3 The language of proof

At the start of the term, we saw the following formula for computing the sum of the first n integers:

2 Lecture 2: Logical statements and proof by contradiction Lecture 10: More on Permutations, Group Homomorphisms 31

n n P} is a bounded subset Proof. Let A be a nonempty subset of Z, bounded above. Define the set

Induction, sequences, limits and continuity

1 Examples of Weak Induction

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

Matrix Multiplication

Day 5. Friday May 25, 2012

Conjectures and proof. Book page 24-30

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

General Comments on Proofs by Mathematical Induction

MATHEMATICAL INDUCTION

Sequences & Mathematical Induction

Homogeneous Linear Systems and Their General Solutions

Math 38: Graph Theory Spring 2004 Dartmouth College. On Writing Proofs. 1 Introduction. 2 Finding A Solution

What can you prove by induction?

IEOR 3106: Introduction to Operations Research: Stochastic Models. Professor Whitt. SOLUTIONS to Homework Assignment 2

Mathematical Induction. How does discrete math help us. How does discrete math help (CS160)? How does discrete math help (CS161)?

SET THEORY. Disproving an Alleged Set Property. Disproving an Alleged Set. Example 1 Solution CHAPTER 6

Mathematical Induction

An introduction to basic information theory. Hampus Wessman

February 13, Option 9 Overview. Mind Map

NP-Completeness Review

SEQUENCES & SERIES. Arithmetic sequences LESSON

Mathematical Induction. Part Two

CS1800: Mathematical Induction. Professor Kevin Gold

PHIL 422 Advanced Logic Inductive Proof

CSC236 Week 3. Larry Zhang

EECS 1028 M: Discrete Mathematics for Engineers

Sequences and infinite series

Quiz 3 Reminder and Midterm Results

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.

Solving with Absolute Value

Transcription:

Section 4.: Mathematical Induction 1 Over the next couple of sections, we shall consider a method of proof called mathematical induction. Induction is fairly complicated, but a very useful proof technique, specifically when we are trying to prove properties relating integers, or more generally, properties relating sets which can be put in 1 1 correspondence with the integers. In this section, we shall introduce the idea of mathematical induction, discuss why it is a valid method of proof and consider the general approach of how to prove something using induction. We shall also consider some classic examples of proofs by induction. 1. The Principle of Mathematical Induction We start with a statement of the principle of mathematical induction: Result 1.1. Let P(n) be a property that is defined for integers n and let a be a fixed integer. Suppose the following two statements are true: (i) P(a) is true (ii) For all integers k a, if P(k) is true, then P(k + 1) is true. Then the statement n a, P(n) is true. The obvious question to ask is: why induction is a valid form of proof? The basic idea is follows: (i) Suppose the statements in the principle of induction are true. We want to show that this means P(n) will be true for any n a. (ii) First note that since n a, there is a positive integer k such that n = a + k. (iii) Now, since P(a) is true (by assumption), and since for all k, if P(k) is true, then so is P(k + 1), it follows that P(a + 1) is true. (iv) In a similar theme, we know that P(a + ) will be true. Likewise, P(a + 3) will be true. Continuing this process, we finally get that P(a + k) = P(n) will be true. The next question is how can we prove a mathematical statement using induction? First, we need to recognize when induction seems a reasonable proof technique. We should consider induction when we are considering the truth value of statements of the form: For all integers n a, property P(n) is true. When given such a statement, to prove it using induction, take the following steps: Step 1. (Base Step) Show the property is true for P(a) 1

Step. (Induction Step) Show that for all integers k a, if we suppose that P(k) is true, then P(k +1) is true. In order to do this, we usually do the following: (i) (Inductive hypothesis) Suppose that P(k) is true for some arbitrarily chosen k a. Write out what this means. (ii) Show P is true for k + 1 only under the assumption that P(k) is true To do this, it may be useful to write out what it would mean for P(k + 1) to be true.. Examples of Induction The only way to really learn induction is to examine in detail a number of examples. We start with a simple example. Example.1. Show that any amount of money of at least 14 cents can be made up from 3 cent and 8 cent coins. The first thing we need to do is give a formal statement. We are saying that any number k 14 can be written as a sum of a multiple of 3 and a multiple of 5. Therefore, the statement we are trying to prove is P(n) = There exists x and y such that n = 3x + 8y. This is a statement about every integer n 14, so we can attempt to use induction. Therefore, we shall state this as a theorem and attempt to prove it. Theorem.. For any integer n 14, there exists integers x and y such that n = 3x + 8y. Proof. First we need to prove the base case. Notice that if y = 1 and x =, then 14 = 3 + 1 8, so the base statement P(14) holds. Now assume that the statement holds for an arbitrary but fixed integer k i.e. we are assuming there exists integers x and y such that k = 3x + 8y. We want to show that P(k + 1) is true i.e. that there exists integers a and b such that k + 1 = 3a + 8y. We know k + 1 = 3x + 8y + 1 for x and y given above since we are assuming k = 3x + 8y. If y 0, then k+1 = 3x+8y+1 = 3x+8(y 1)+8+1 = 3x+8(y 1)+9 = 3(x+3)+8(y 1). In particular, k + 1 can be written in the form 3a +8b where a = x + 3 and b = y 1. If y = 0, then x 5 (since we are assuming that k 14). Therefore k + 1 = 3x + 1 = 3(x 5) + 15 + 1 = 3(x 5) + 8.

In particular, k +1 can be written in the form 3a+8b where a = x 5 and b =. Since this gives all possible choices for y, the proof follows by induction. We shall now prove a couple of classical mathematical results whose proofs require the principle of induction. Theorem.3. For all integers n 1, n(n + 1). Proof. Here we are considering the statement P(n) := For any n 1, n n(n+1). We shall use induction. (Base Case) When n = 1, we are simply asking for the sum of the first integer which will be 1. Using the formula with n = 1, we have So P(1) holds. 1 (1 + 1) = 1. (Induction Step) Assume that the result holds for k i.e. We want to show that Consider the sum. (k + 1)(k + ). By the induction hypothesis, we have i. = k + + 3 = k + + k + k = k + 3k + (k + 1)(k + ) = which is exactly what we were trying to show. Example.4. Calculate the following:

4 (i) 8 + 9 + 10 + + 38 We have 38 8+9+10+ + 38 = i 7 38 39 (ii) s + (s + 1) + (s + ) + + (s + r) 7 8 We have s+r s 1 s + (s + 1) +...(s + r) = i i = 741 8 = 713. (s + r)(s + r + 1) s(s + 1) (s + r)(s + r + 1) s(s + 1) = =. Theorem.5. For any real number r except 1 and any integer n 0, r rn+1 1 Proof. Here we are considering the statement P(n) := For any real number r 1 and for any integer n 0, n r rn+1 1. We shall r 1 use induction. (Base Case) When n = 0, we are simply asking for the value of r 0. For any real number r, So P(0) holds. r 0 = 1 = r1 1 = = 1 (Induction Step) Assume that the result holds for k i.e. r rn+1 1. We want to show that Consider the sum n+1 r rn+ 1. r r n+1 + By the induction hypothesis, we have n+1 r r i+1 + r r n+1 + rn+1 1 r i. = rn+ r n+1 + r n+1 1 = rn+ r n+1 = rn+ 1 + rn+1 1

which is exactly what we were trying to show. Homework (i) From the book, pages 6-7: Questions:, 3, 6, 10, 14, 16, 0, 6, 7, 30, 3 5