Lecture 9. Arithmetic and geometric series and mathematical induction

Slides:



Advertisements
Similar presentations
Mathematical Induction
Advertisements

Chapter 8 Vocabulary. Section 8.1 Vocabulary Sequences An infinite sequence is a function whose domain is the set of positive integers. The function.
Mathematical Induction (cont.)
Chapter 4 Sequences and Mathematical Induction. 4.2 Mathematical Induction.
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Week 5 - Friday.  What did we talk about last time?  Sequences  Summation and production notation  Proof by 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.
Induction and recursion
Kavita Hatwal Fall Sequences and Induction.
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.
Discrete Structures Chapter 5: Sequences, Mathematical Induction, and Recursion 5.2 Mathematical Induction I [Mathematical induction is] the standard proof.
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.
Series NOTES Name ____________________________ Arithmetic Sequences.
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
13.1, 13.3 Arithmetic and Geometric Sequences and Series
Mathematical Maxims and Minims, 1988
Arithmetic Sequences and Series Sequences Series List with commas “Indicated sum” 3, 8, 13,
Sequences and Series (T) Students will know the form of an Arithmetic sequence.  Arithmetic Sequence: There exists a common difference (d) between each.
Introduction to sequences and series A sequence is a listing of numbers. For example, 2, 4, 6, 8,... or 1, 3, 5,... are the sequences of even positive.
Aim: What are the arithmetic series and geometric series? Do Now: Find the sum of each of the following sequences: a)
1 © 2010 Pearson Education, Inc. All rights reserved 10.1 DEFINITION OF A SEQUENCE An infinite sequence is a function whose domain is the set of positive.
Chapter Sequences and Series.
THE BEST CLASS EVER…ERRR…. PRE-CALCULUS Chapter 13 Final Exam Review.
Sequences and Series By: Olivia, Jon, Jordan, and Jaymie.
10.2 – Arithmetic Sequences and Series. An introduction … describe the pattern Arithmetic Sequences ADD To get next term Geometric Sequences MULTIPLY.
Unit 6: Modeling Mathematics 3 Ms. C. Taylor. Warm-Up.
Lecture 8. How to Form Recursive relations 1. Recap Asymptotic analysis helps to highlight the order of growth of functions to compare algorithms Common.
Chapter 6 Mathematical Induction
Discrete Mathematics, 1st Edition Kevin Ferland
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
1 Introduction to Abstract Mathematics Chapter 4: Sequences and Mathematical Induction Instructor: Hayk Melikya 4.1- Sequences. 4.2,
Introduction to sequences and series
SEQUENCES AND SERIES Arithmetic. Definition A series is an indicated sum of the terms of a sequence.  Finite Sequence: 2, 6, 10, 14  Finite Series:2.
Arithmetic Sequence Chapter 2, lesson C. IB standard Students should know Arithmetic sequence and series; sum of finite arithmetic series; geometric sequences.
Arithmetic Sequences How do I define an arithmetic sequence and how do I use the formula to find different terms of the sequence?
By Sheldon, Megan, Jimmy, and Grant..  Sequence- list of numbers that usually form a pattern.  Each number in the list is called a term.  Finite sequence.
Aim: Summation Notation Course: Alg. 2 & Trig. Do Now: Aim: What is this symbol It’s Greek to me! Find the sum of the geometric series.
13.4 Geometric Sequences and Series Example:3, 6, 12, 24, … This sequence is geometric. r is the common ratio r = 2.
Lecture 4,5 Mathematical Induction and Fibonacci Sequences.
CompSci 102 Discrete Math for Computer Science March 1, 2012 Prof. Rodger Slides modified from Rosen.
(CSC 102) Lecture 23 Discrete Structures. Previous Lecture Summery  Sequences  Alternating Sequence  Summation Notation  Product Notation  Properties.
Inductive Proofs and Inductive Definitions Jim Skon.
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.
Mathematical Induction
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.
How do I find the sum & terms of geometric sequences and series?
Sequences and the Binomial Theorem Sequences Arithmetic Sequences Geometric Sequences & Series Binomial Theorem.
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 ( الاستقراء الرياضي )
Lecture # 20 Sequence & Series
Fall 2002CMSC Discrete Structures1 Chapter 3 Sequences Mathematical Induction Recursion Recursion.
Essential Question: How do you find the nth term and the sum of an arithmetic sequence? Students will write a summary describing the steps to find the.
Arithmetic Sequences and Series
12.1 – Arithmetic Sequences and Series
Advanced Algorithms Analysis and Design
Induction and recursion
Mathematical Induction Recursion
Unit 5 – Series, Sequences and Limits Section 5
Sigma Notation.
BaSIC Math Reviews.
12.3 – Geometric Sequences and Series
Advanced Analysis of Algorithms
Mathematical Induction
Mathematical Induction
12.3 – Geometric Sequences and Series
12.2 – Geometric Sequences and Series
Presentation transcript:

Lecture 9. Arithmetic and geometric series and mathematical induction

Recap We have to use seven steps from taking a problem scenario and to analyzing its run time complexity. These steps are for those problems which are attempted without recursive approach. A recursive function or method s that method which called itself from within body until its base condition fulfill. There are two components of a recursive method i.e. base and recursive part. A recursive relation is form by considering base condition and total recursive calls with some constants

Constants for recursive relation are a, b and c or others. Recap Constants for recursive relation are a, b and c or others. One constant refer to cost of base condition (i.e a) One constant refer to total recursive calling (i.e. b) One constant refer to cost of those steps which are performed outside the recursive calls. Always consider worst case analysis for recursive relations.

What is arithmetic Sequence An Arithmetic Sequence is defined as a sequence in which there is a common difference between consecutive terms.

Which of the following sequences are arithmetic? . YES YES NO NO YES

The general form of an ARITHMETIC sequence. First Term: Second Term: Third Term: Fourth Term: Fifth Term: nth Term:

Arithmetic Series )

Given an arithmetic sequence with x 38 15 NA -3 X = 80

Example-1 -19 ?? 353 63 x 6

Example-2 1.5 16 x NA 0.5

Example-3 9 x 633 NA 24 X = 27

Example-4 -6 29 20 NA x

Example-5 Find two arithmetic means between –4 and 5 -4 5 4 -4, ____, ____, 5 NA x The two arithmetic means are –1 and 2, since –4, -1, 2, 5 forms an arithmetic sequence

Example-6 Find n for the series in which 5 y x 440 3 Graph on positive window X = 16

Example-7 Find three arithmetic means between 1 and 4 1 1, ____, ____, ____, 4 4 5 NA x The three arithmetic means are 7/4, 10/4, and 13/4 since 1, 7/4, 10/4, 13/4, 4 forms an arithmetic sequence

Geometric Series

Example-1 Find the next three terms of 2, 3, 9/2, ___, ___, ___ 3 – 2 vs. 9/2 – 3… not arithmetic

Example-2 1/2 x 9 NA 2/3

Example-3 Find two geometric means between –2 and 54 -2, ____, ____, 54 -2 54 4 NA x The two geometric means are 6 and -18, since –2, 6, -18, 54 forms an geometric sequence

Example-4 -3, ____, ____, ____

Example-5 9 x NA

Example-6 x 5 NA

Example-7 *** Insert one geometric mean between ¼ and 4*** 1/4 *** denotes trick question 3 NA

Example-8 1/2 7 x

Series and their sum Infinite Arithmetic Finite Arithmetic No Sum Infinite Arithmetic 1, 4, 7, 10, 13, …. Finite Arithmetic 3, 7, 11, …, 51 Finite Geometric 1, 2, 4, …, 64 Infinite Geometric r > 1 r < -1 No Sum 1, 2, 4, 8, … Infinite Geometric -1 < r < 1

Sigma Notation UPPER BOUND (NUMBER) SIGMA (SUM OF TERMS) NTH TERM (SEQUENCE) LOWER BOUND (NUMBER)

Sigma Notation (Example-1)

Sigma Notation (Example-2)

Form a Sigma Notation (Example-1) Rewrite using sigma notation: 3 + 6 + 9 + 12 Arithmetic, d= 3

Form a Sigma Notation (Example-2) Rewrite using sigma notation: 16 + 8 + 4 + 2 + 1 Geometric, r = ½

Form a Sigma Notation (Example-3) Rewrite using sigma notation: 19 + 18 + 16 + 12 + 4 Not Arithmetic, Not Geometric 19 + 18 + 16 + 12 + 4 -1 -2 -4 -8

Form a Sigma Notation (Example-4) Rewrite the following using sigma notation: Numerator is geometric, r = 3 Denominator is arithmetic d= 5 NUMERATOR: DENOMINATOR: SIGMA NOTATION:

Principle of Mathematical Induction Let P(n) be a predicate defined for integers n. Suppose the following statements are true: 1. Basis step: P(a) is true for some fixed aZ . 2. Inductive step: For all integers k ≥ a, if P(k) is true then P(k+1) is true. Then for all integers n ≥ a, P(n) is true.

Example: Sum of Odd Integers Proposition: 1 + 3 + … + (2n-1) = n2 for all integers n≥1. Proof (by induction): 1) Basis step: The statement is true for n=1: 1=12 . 2) Inductive step: Assume the statement is true for some k≥1 (inductive hypothesis) , show that it is true for k+1 .

Example: Sum of Odd Integers Proof (cont.): The statement is true for k: 1+3+…+(2k-1) = k2 (1) We need to show it for k+1: 1+3+…+(2(k+1)-1) = (k+1)2 (2) Showing (2): 1+3+…+(2(k+1)-1) = 1+3+…+(2k+1) = 1+3+…+(2k-1)+(2k+1) = k2+(2k+1) = (k+1)2 . We proved the basis and inductive steps, so we conclude that the given statement true. ■ by (1)

Important theorems proved by mathematical induction Theorem 1 (Sum of the first n integers): For all integers n≥1, Theorem 2 (Sum of a geometric sequence): For any real number r except 1, and any integer n≥0,

Proving a divisibility property by mathematical induction Proposition: For any integer n≥1, 7n - 2n is divisible by 5. (P(n)) Proof (by induction): 1) Basis step: The statement is true for n=1: (P(1)) 71 – 21 = 7 - 2 = 5 is divisible by 5. 2) Inductive step: Assume the statement is true for some k≥1 (P(k)) (inductive hypothesis) ; show that it is true for k+1 . (P(k+1))

Proving a divisibility property by mathematical induction Proof (cont.): We are given that P(k): 7k - 2k is divisible by 5. (1) Then 7k - 2k = 5a for some aZ . (by definition) (2) We need to show: P(k+1): 7k+1 - 2k+1 is divisible by 5. (3) 7k+1 - 2k+1 = 7·7k - 2·2k = 5·7k + 2·7k - 2·2k = 5·7k + 2·(7k - 2k) = 5·7k + 2·5a (by (2)) = 5·(7k + 2a) which is divisible by 5. (by def.) Thus, P(n) is true by induction.

Summary The sum of finite arithmetic series can be found by using following formula The sum of finite Geometric series can be found by using following formula The sum of infinite Geometric series can be found by using following formula

Summary Mathematical induction principle is used to varify or proof the predicates or proposition such as a value is divisible by 5

In Next Lecturer In next lecture, we will discuss the analysis of recursive relation using different methods.