Copyright © Cengage Learning. All rights reserved.

Slides:



Advertisements
Similar presentations
Chapter 4 Sequences and Mathematical Induction. 4.2 Mathematical Induction.
Advertisements

Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
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
Discrete Structures Chapter 5: Sequences, Mathematical Induction, and Recursion 5.2 Mathematical Induction I [Mathematical induction is] the standard proof.
Copyright © Cengage Learning. All rights reserved.
Chapter 10 Sequences, Induction, and Probability Copyright © 2014, 2010, 2007 Pearson Education, Inc Mathematical Induction.
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Copyright © Cengage Learning. All rights reserved.
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.
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 by: Mohsin tahir (GL) Numan-ul-haq Waqas akram Rao arslan Ali asghar.
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
Mathematical Maxims and Minims, 1988
Copyright © Cengage Learning. All rights reserved.
Chapter 6 Mathematical Induction
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!
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
9.4 Mathematical Induction
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
(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)
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Mathematical Induction
CS104:Discrete Structures Chapter 2: Proof Techniques.
Copyright © Cengage Learning. All rights reserved. Sequences and Series.
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,
Section 1.7. Definitions A theorem is a statement that can be shown to be true using: definitions other theorems axioms (statements which are given as.
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 a particular.
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
Mathematical Induction I Lecture 19 Section 4.2 Mon, Feb 14, 2005.
Chapter 5 1. Chapter Summary  Mathematical Induction  Strong Induction  Recursive Definitions  Structural Induction  Recursive Algorithms.
Mathematical Induction. The Principle of Mathematical Induction Let S n be a statement involving the positive integer n. If 1.S 1 is true, and 2.the truth.
Chapter 1 Logic and Proof.
Chapter 1 Logic and Proof.
The Foundations: Logic and Proofs
Trigonometric Identities
Copyright © Cengage Learning. All rights reserved.
CSE15 Discrete Mathematics 03/22/17
Direct Proof and Counterexample III: Divisibility
Advanced Algorithms Analysis and Design
Chapter 3 The Real Numbers.
Induction and recursion
ELEMENTARY NUMBER THEORY AND METHODS OF PROOF
Proofs, Recursion and Analysis of Algorithms
Direct Proof and Counterexample V: Floor and Ceiling
Trigonometric Identities
The Foundations: Logic and Proofs
Induction and recursion
The sum of any two even integers is even.
CS 220: Discrete Structures and their Applications
Copyright © Cengage Learning. All rights reserved.
Mathematical Induction I
Copyright © Cengage Learning. All rights reserved.
Mathematical Induction
Mathematical Induction
Foundations of Discrete Mathematics
Induction Chapter
Advanced Analysis of Algorithms
Chapter 11: Further Topics in Algebra
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Mathematical Induction
Mathematical Induction
Agenda Proofs (Konsep Pembuktian) Direct Proofs & Counterexamples
Chapter 1 Automata CE year IV.
Presentation transcript:

Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION Copyright © Cengage Learning. All rights reserved.

Mathematical Induction I SECTION 5.2 Mathematical Induction I Copyright © Cengage Learning. All rights reserved.

Mathematical Induction I Mathematical induction is one of the more recently developed techniques of proof in the history of mathematics. It is used to check conjectures about the outcomes of processes that occur repeatedly and according to definite patterns. In general, mathematical induction is a method for proving that a property defined for integers n is true for all values of n that are greater than or equal to some initial integer.

Mathematical Induction I The validity of proof by mathematical induction is generally taken as an axiom. That is why it is referred to as the principle of mathematical induction rather than as a theorem.

Mathematical Induction I Proving a statement by mathematical induction is a two-step process. The first step is called the basis step, and the second step is called the inductive step.

Mathematical Induction I The following example shows how to use mathematical induction to prove a formula for the sum of the first n integers.

Example 1 – Sum of the First n Integers Use mathematical induction to prove that Solution: To construct a proof by induction, you must first identify the property P(n). In this case, P(n) is the equation [To see that P(n) is a sentence, note that its subject is “the sum of the integers from 1 to n” and its verb is “equals.”]

Example 1 – Solution cont’d In the basis step of the proof, you must show that the property is true for n = 1, or, in other words that P(1) is true. Now P(1) is obtained by substituting 1 in place of n in P(n). The left-hand side of P(1) is the sum of all the successive integers starting at 1 and ending at 1. This is just 1. Thus P(1) is

Example 1 – Solution cont’d Of course, this equation is true because the right-hand side is which equals the left-hand side. In the inductive step, you assume that P(k) is true, for a particular but arbitrarily chosen integer k with k  1. [This assumption is the inductive hypothesis.]

Example 1 – Solution cont’d You must then show that P(k + 1) is true. What are P(k) and P(k + 1)? P(k) is obtained by substituting k for every n in P(n). Thus P(k) is Similarly, P(k + 1) is obtained by substituting the quantity (k + 1) for every n that appears in P(n).

Example 1 – Solution cont’d Thus P(k + 1) is or, equivalently,

Example 1 – Solution cont’d Now the inductive hypothesis is the supposition that P(k) is true. How can this supposition be used to show that P(k + 1) is true? P(k + 1) is an equation, and the truth of an equation can be shown in a variety of ways. One of the most straightforward is to use the inductive hypothesis along with algebra and other known facts to transform separately the left-hand and right-hand sides until you see that they are the same.

Example 1 – Solution In this case, the left-hand side of P(k + 1) is cont’d In this case, the left-hand side of P(k + 1) is 1 + 2 +· · ·+ (k + 1), which equals (1 + 2 +· · ·+ k) + (k + 1) But by substitution from the inductive hypothesis,

Example 1 – Solution cont’d

Example 1 – Solution So the left-hand side of P(k + 1) is . cont’d So the left-hand side of P(k + 1) is . Now the right-hand side of P(k + 1) is by multiplying out the numerator. Thus the two sides of P(k + 1) are equal to each other, and so the equation P(k + 1) is true. This discussion is summarized as follows:

Example 1 – Solution Proof (by mathematical induction): cont’d Proof (by mathematical induction): Let the property P(n) be the equation Show that P(1) is true: To establish P(1), we must show that

Example 1 – Solution cont’d But the left-hand side of this equation is 1 and the right-hand side is also. Hence P(1) is true. Show that for all integers k ≥ 1, if P(k) is true then P(k + 1) is also true: [Suppose that P(k) is true for a particular but arbitrarily chosen integer k  1.That is:] Suppose that k is any integer with k  1 such that

Example 1 – Solution cont’d [We must show that P(k + 1) is true. That is:] We must show that or, equivalently, that [We will show that the left-hand side and the right-hand side of P(k + 1) are equal to the same quantity and thus are equal to each other.]

Example 1 – Solution cont’d The left-hand side of P(k + 1) is

Example 1 – Solution cont’d And the right-hand side of P(k + 1) is

Example 1 – Solution cont’d Thus the two sides of P(k + 1) are equal to the same quantity and so they are equal to each other. Therefore the equation P(k + 1) is true [as was to be shown]. [Since we have proved both the basis step and the inductive step, we conclude that the theorem is true.]