Week 5 - Friday.  What did we talk about last time?  Sequences  Summation and production notation  Proof by induction.

Slides:



Advertisements
Similar presentations
Mathematical Induction
Advertisements

Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Induction Lecture 5: Sep 21 (chapter of the book and chapter of the notes)
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Induction and recursion
1.  The set N = {1,2,3,4,……..} is known as natural numbers or the set of positive integers  The natural numbers are used mainly for :  counting  ordering.
Discrete Mathematics Lecture 4: Sequences and Mathematical Induction
Discrete Mathematics Lecture 4 Harper Langston New York University.
Discrete Structures Chapter 2 Part B Mathematical Induction
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
CSE115/ENGR160 Discrete Mathematics 03/22/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 03/31/11
Discrete Structures Chapter 5: Sequences, Mathematical Induction, and Recursion 5.2 Mathematical Induction I [Mathematical induction is] the standard proof.
Lecture 4 Discrete Mathematics Harper Langston. Algorithms Algorithm is step-by-step method for performing some action Cost of statements execution –Simple.
Module #1 - Logic 1 Based on Rosen, Discrete Mathematics & Its Applications. Prepared by (c) , Michael P. Frank. Modified By Mingwu Chen Induction.
1 Section 3.3 Mathematical Induction. 2 Technique used extensively to prove results about large variety of discrete objects Can only be used to prove.
CSE115/ENGR160 Discrete Mathematics 03/29/11 Ming-Hsuan Yang UC Merced 1.
1 Strong Mathematical Induction. Principle of Strong Mathematical Induction Let P(n) be a predicate defined for integers n; a and b be fixed integers.
Mathematical Induction
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
ICS 253 Presents Mathematical Induction Sultan Almuhammadi muhamadi
Mathematical Maxims and Minims, 1988
Week 6 - Monday CS322.
Lecture 9. Arithmetic and geometric series and mathematical induction
Induction and recursion
Chapter 6 Mathematical Induction
Discrete Mathematics, 1st Edition Kevin Ferland
Mathematical Induction. F(1) = 1; F(n+1) = F(n) + (2n+1) for n≥ F(n) n F(n) =n 2 for all n ≥ 1 Prove it!
1 Introduction to Abstract Mathematics Chapter 4: Sequences and Mathematical Induction Instructor: Hayk Melikya 4.1- Sequences. 4.2,
Week 5 - Wednesday.  What did we talk about last time?  Exam 1!
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Copyright © Peter Cappello Mathematical Induction Goals Explain & illustrate construction of proofs of a variety of theorems using mathematical induction.
1 CMSC 250 Chapter 4, con't., Inductive Proofs. 2 CMSC 250 Description l Inductive proofs must have: –Base case: where you prove that what it is you are.
Foundations of Discrete Mathematics Chapters 5 By Dr. Dalia M. Gil, Ph.D.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Week 6 - Friday.  What did we talk about last time?  Solving recurrence relations.
Section 3.3: Mathematical Induction Mathematical induction is a proof technique that can be used to prove theorems of the form:  n  Z +,P(n) We have.
ICS 253: Discrete Structures I Induction and Recursion King Fahd University of Petroleum & Minerals Information & Computer Science Department.
(CSC 102) Lecture 23 Discrete Structures. Previous Lecture Summery  Sequences  Alternating Sequence  Summation Notation  Product Notation  Properties.
CS 103 Discrete Structures Lecture 13 Induction and Recursion (1)
Foundations of Discrete Mathematics Chapters 5 By Dr. Dalia M. Gil, Ph.D.
1 INFO 2950 Prof. Carla Gomes Module Induction Rosen, Chapter 4.
Mathematical Induction Section 5.1. Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If.
CompSci 102 Discrete Math for Computer Science March 13, 2012 Prof. Rodger Slides modified from Rosen.
Chapter 5. Section 5.1 Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If we can reach.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
Advanced Algorithms Analysis and Design
Mathematical Induction And Recursion Discrete Math Team KS MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) 1.
Fall 2002CMSC Discrete Structures1 Chapter 3 Sequences Mathematical Induction Recursion Recursion.
3.3 Mathematical Induction 1 Follow me for a walk through...
Chapter 5 1. Chapter Summary  Mathematical Induction  Strong Induction  Recursive Definitions  Structural Induction  Recursive Algorithms.
Advanced Algorithms Analysis and Design
Induction and recursion
Mathematical Induction Recursion
Proofs, Recursion and Analysis of Algorithms
BaSIC Math Reviews.
Induction and recursion
Exercise Use mathematical induction to prove the following formula.
Follow me for a walk through...
Applied Discrete Mathematics Week 9: Integer Properties
Follow me for a walk through...
Induction Chapter
Advanced Analysis of Algorithms
Chapter 11: Further Topics in Algebra
Copyright © Cengage Learning. All rights reserved.
Mathematical Induction
Follow me for a walk through...
Copyright © Cengage Learning. All rights reserved.
Presentation transcript:

Week 5 - Friday

 What did we talk about last time?  Sequences  Summation and production notation  Proof by induction

 Consider six straight silver chains made up of five links each  What if you want to make one large circular chain?  The jeweler will charge $1 for every link that he must cut open and then weld close  What is the cheapest price possible to make the six chains into one chain?

 It is often possible to use a formula to describe the relationship between the value of a subscript and the value of the corresponding term  Example: a i = i 2, for integers i  1

 Summation notation is used to describe a summation of some part of a series  Expanded form is the summation written without the sigma

 Product notation is used to describe a product of some part of a series  Expanded form is the product written without the pi

 To prove a statement of the following form:   n  Z, where n  a, property P(n) is true  Use the following steps: 1. Basis Step: Show that the property is true for P(a) 2. Induction Step: ▪ Suppose that the property is true for some n = k, where k  Z, k  a ▪ Now, show that, with that assumption, the property is also true for k + 1

 Prove that, for all integers n  8, n = 3a + 5b, where a,b are integers greater than or equal to zero  Hint: Use induction and cases  This is the example given in the book  Another way to write it is that any amount of change above 8 cents can be made using only 3 cent and 5 cent coins

 Prove that, for all real numbers r  1  Hint: Use induction  This is the sum of a geometric sequence, also known as a geometric series  This result generalizes our example with the sum of powers of 2  There is a small issue for r = 0, but Epp ignores it

 Prove that, for all integers n ≥ 1, 2 2n – 1 is divisible by 3  Hint: Use induction

 Prove that, for all real number n ≥ 3, 2n + 1 < 2 n  Hint: Use induction

 The Fibonacci sequence is 1, 1, 2, 3, 5, 8, …  We can define it (recursively) as follows:  F 1 = F 2 = 1  F n = F n-1 + F n-2, n ≥ 2  Prove that, for all integers n ≥ 1, F 4n is divisible by 3  Hint: Use induction

Strong Induction

 There are situations where we need more than the fact that the k th element maintains some property to prove the k + 1 st element has the same property  Strong induction allows us to use the k th element, the k-1 st, element, the k-2 nd element, and so on  This is usually most helpful when the subterms you are doing induction on are of unknown size

 To prove a statement of the following form:   n  Z, where n  a, property P(n) is true  Use the following steps: 1. Basis Step: Show that the property is true for P(a), P(a+1), … P(b-1), P(b), where a ≤ b, b  Z 2. Induction Step: ▪ Suppose that the property is true for some a ≤ i b ▪ Now, show that, with that assumption, the property is also true for k

Theorem: For all integers n  2, n is divisible by a prime Proof:  Basis step: (n = 2) The property is true for n = 2 because 2 is divisible by 2  Induction step: Assume that all numbers i where 2 ≤ i 2 and k  Z  Case 1: k is prime  If k is prime, k = k∙1, therefore k is divisible by a prime, namely itself  Case 2: k is composite  If k is composite, k = a∙b, where a,b  Z and 2 ≤ a < k and 2 ≤ b < k  By the induction hypothesis, a is divisible by some prime p  Thus, k = p∙c∙b = p∙d and k is divisible by prime p  Since we have shown the basis step and induction step of strong mathematical induction, the claim is true QED

Theorem: It takes exactly n-1 steps to assemble a jigsaw puzzle with n pieces Proof:  Basis step: (n = 1) A puzzle with 1 piece takes 0 steps to put together  Induction step: Assume it takes i – 1 steps to put together puzzles of size i where 1 ≤ i 1 and k  Z  The last step in a puzzle of size k is putting together a subpuzzle of size j and a subpuzzle of size k – j where j  Z and 1 ≤ j < k and 1 ≤ k - j < k  By the induction hypothesis, it took j – 1 steps to put together one subpuzzle and k – j – 1 steps to put together the other  Thus, the total number of steps is j – 1 + k + j – = k – 1 steps  Since we have shown the basis step and induction step of strong mathematical induction, the claim is true QED

 It turns out that the concept of truth through mathematical induction is equivalent to another principle  Well-Ordering Principle for the Integers:  Let S be a set containing one or more integers all of which are greater than some fixed integer. Then S has a least element.

 Recursion  Second-order linear homogeneous recurrence relations with constant coefficients

 Homework 3 is due on Monday  Keep reading Chapter 5