Sequences, Sums, and Products

Similar documents
2.4 - Sequences and Series

Unit 6: Sequences and Series

Sequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018

Section 7 Fundamentals of Sequences and Series

MISCELLANEOUS SEQUENCES & SERIES QUESTIONS

Recursive Algorithms. Recurrences. Recursive Algorithms Analysis

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES

is also known as the general term of the sequence

11.1 Arithmetic Sequences and Series

Section 6.4: Series. Section 6.4 Series 413

Recurrence Relations

Topic 1 2: Sequences and Series. A sequence is an ordered list of numbers, e.g. 1, 2, 4, 8, 16, or

SEQUENCES AND SERIES

SEQUENCE AND SERIES NCERT

= n which will be written with general term a n Represent this sequence by listing its function values in order:

Mathematics review for CSCI 303 Spring Department of Computer Science College of William & Mary Robert Michael Lewis

Sigma notation. 2.1 Introduction

Sums, products and sequences

CHAPTER 10 INFINITE SEQUENCES AND SERIES

07 - SEQUENCES AND SERIES Page 1 ( Answers at he end of all questions ) b, z = n

SEQUENCES AND SERIES

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs

XT - MATHS Grade 12. Date: 2010/06/29. Subject: Series and Sequences 1: Arithmetic Total Marks: 84 = 2 = 2 1. FALSE 10.

SEQUENCES AND SERIES

Essential Question How can you recognize an arithmetic sequence from its graph?

T1.1 Lesson 3 - Arithmetic & Geometric Series & Summation Notation

Infinite Sequences and Series

MIXED REVIEW of Problem Solving

ENGI Series Page 6-01

COMP26120: More on the Complexity of Recursive Programs (2018/19) Lucas Cordeiro

In number theory we will generally be working with integers, though occasionally fractions and irrationals will come into play.

The picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled

Q.11 If S be the sum, P the product & R the sum of the reciprocals of a GP, find the value of

Infinite Series and Improper Integrals

Discrete Math Class 5 ( )

If we want to add up the area of four rectangles, we could find the area of each rectangle and then write this sum symbolically as:

Problem. Consider the sequence a j for j N defined by the recurrence a j+1 = 2a j + j for j > 0

CHAPTER 1 SEQUENCES AND INFINITE SERIES

September 2012 C1 Note. C1 Notes (Edexcel) Copyright - For AS, A2 notes and IGCSE / GCSE worksheets 1

Chapter 6. Progressions

Chapter 6. Advanced Counting Techniques

12.1 Sequences. Write the First Several Terms of a Sequence. PREPARING FOR THIS SECTION Before g etting started, review the following concept: ( )

arxiv: v2 [math.nt] 10 May 2014

Math 475, Problem Set #12: Answers


UNIT #5. Lesson #2 Arithmetic and Geometric Sequences. Lesson #3 Summation Notation. Lesson #4 Arithmetic Series. Lesson #5 Geometric Series

Lecture 2.5: Sequences

Sequences & Summa,ons

6.3 Testing Series With Positive Terms

Progressions. ILLUSTRATION 1 11, 7, 3, -1, i s an A.P. whose first term is 11 and the common difference 7-11=-4.

Objective Mathematics

REVIEW FOR CHAPTER 1

Pell and Lucas primes

Find a formula for the exponential function whose graph is given , 1 2,16 1, 6

CS583 Lecture 02. Jana Kosecka. some materials here are based on E. Demaine, D. Luebke slides

a 3, a 4, ... are the terms of the sequence. The number a n is the nth term of the sequence, and the entire sequence is denoted by a n

Generating Functions. 1 Operations on generating functions

ENGI Series Page 5-01

2.4 Sequences, Sequences of Sets

MT5821 Advanced Combinatorics

Chapter 6 Overview: Sequences and Numerical Series. For the purposes of AP, this topic is broken into four basic subtopics:

Eton Education Centre JC 1 (2010) Consolidation quiz on Normal distribution By Wee WS (wenshih.wordpress.com) [ For SAJC group of students ]

Chapter 7: Numerical Series

Math 25 Solutions to practice problems

10.1 Sequences. n term. We will deal a. a n or a n n. ( 1) n ( 1) n 1 2 ( 1) a =, 0 0,,,,, ln n. n an 2. n term.

COS 341 Discrete Mathematics. Exponential Generating Functions and Recurrence Relations

V. Adamchik 1. Recursions. Victor Adamchik Fall of x n1. x n 2. Here are a few first values of the above sequence (coded in Mathematica)

The Ratio Test. THEOREM 9.17 Ratio Test Let a n be a series with nonzero terms. 1. a. n converges absolutely if lim. n 1

Infinite Series. Definition. An infinite series is an expression of the form. Where the numbers u k are called the terms of the series.

Ma 530 Infinite Series I

Math 2412 Review 3(answers) kt

CHAPTER 2 SEQUENCES AND SERIES OUTLINE Geometric Series Infinite Geometric Series and Sigma Notation 4 Review

Sequences. Notation. Convergence of a Sequence

Continued Fractions and Pell s Equation

Define and Use Sequences and Series

PROBLEM SET 5 SOLUTIONS 126 = , 37 = , 15 = , 7 = 7 1.

Math 257: Finite difference methods

PROGRESSIONS AND SERIES

a n b. n a n Test Review for Lessons 9.1 and 9.3 Show all work on a separate sheet of paper for full credit.

ENGI 9420 Engineering Analysis Assignment 3 Solutions

You may work in pairs or purely individually for this assignment.

COMPUTING SUMS AND THE AVERAGE VALUE OF THE DIVISOR FUNCTION (x 1) + x = n = n.

Once we have a sequence of numbers, the next thing to do is to sum them up. Given a sequence (a n ) n=1

LINEAR RECURSION RELATIONS - LESSON FOUR SECOND-ORDER LINEAR RECURSION RELATIONS

2, 4, 6, 8, 10, 12, Two ways: Formula for the generic term s n involving index n only: closed form

NUMERICAL METHODS COURSEWORK INFORMAL NOTES ON NUMERICAL INTEGRATION COURSEWORK

4.1 Sigma Notation and Riemann Sums

Exam 2 CMSC 203 Fall 2009 Name SOLUTION KEY Show All Work! 1. (16 points) Circle T if the corresponding statement is True or F if it is False.

SOME TRIBONACCI IDENTITIES

Sequence A sequence is a function whose domain of definition is the set of natural numbers.

CALCULATION OF FIBONACCI VECTORS

ARITHMETIC PROGRESSIONS

INFINITE SEQUENCES AND SERIES

Real Variables II Homework Set #5

Notes on iteration and Newton s method. Iteration

ARITHMETIC PROGRESSION

MATH 21 SECTION NOTES

Classification of problem & problem solving strategies. classification of time complexities (linear, logarithmic etc)

( a) ( ) 1 ( ) 2 ( ) ( ) 3 3 ( ) =!

VERY SHORT ANSWER TYPE QUESTIONS (1 MARK)

Transcription:

CSCE 222 Discrete Structures for Computig Sequeces, Sums, ad Products Dr. Philip C. Ritchey

Sequeces A sequece is a fuctio from a subset of the itegers to a set S. A discrete structure used to represet a ordered list a deotes the sequece a 0, a 1, a 2, Sometimes the sequece will start at a 1 a is a term of the sequece Example 1, 2, 3, 5, 8 is a sequece with five terms 1, 3, 9, 27,, 3, is a ifiite sequece What is the fuctio which geerates the terms of the sequece 5, 7, 9, 11,? If a 0 = 5 a = 5 + 2 If if a 1 = 5 a = 3 + 2

Geometric Progressio A geometric progressio is a sequece of the form a, ar, ar 2, ar 3, where the iitial term a ad the commo ratio r are real umbers. Example 1, 1 2, 1 4, 1 8, What is the iitial term a ad commo ratio r? a = 1 r = 1 2 a = ar a = 1 2

Arithmetic Progressio A arithmetic progressio is a sequece of the form a, a + d, a + 2d, where the iitial term a ad the commo differece d are real umbers. Example 1, 3, 7, 11, What is the iitial term a ad commo differece d? a = 1 d = 4 a = a + d a = 1 + 4

Exercises List the first several terms of these sequeces: the sequece a, where a = + 1 +1. 1, 4, 27, 256, 3125, the sequece that begis with 2 ad i which each successive term is 3 more tha the precedig term. 2, 5, 8, 11, 14, a = 2 + 3 the sequece that begis with 3, where each succeedig term is twice the precedig term. 3, 6, 12,24, 48, a = 3 2 the sequece where the th term is the umber of letters i the Eglish word for the idex. 4, 3, 3, 5, 4, 4, 3, 5, 5, 4, 3, 6,

Recurrece Relatios A recurrece relatio for the sequece a is a equatio that expresses a i terms of oe or more of the previous terms of the sequece. Geometric progressio: a = ar Recurrece relatio: a = ra 1, a 0 = a Arthmetic progressio: a = a + d Recurrece relatio: a = a 1 + d, a 0 = a Fiboacci Sequece: f = 0, 1, 1, 2, 3, 5, 8, 13, f = f 1 + f 2, f 0 = 0, f 1 = 1 Factorials: 1, 1, 2, 6, 24, 120, 720, 5040,! = 1 2 2 1 a = a 1, a 0 = 1 (a 0 is the iitial coditio)

Solvig Recurrece Relatios A sequece is called a solutio of a recurrece relatio if its terms satisfy the recurrece relatio. To solve a recurrece relatio, fid a closed formula (explicit formula) for the terms of the sequece. Closed formulae do ot ivolve previous terms of the sequece. Example Relatios of the form a = ra 1 Geometric progressio Closed form: a = ar Relatios of the form a = a 1 + d Arithmetic progressio Closed form: a = a + d

Techique for Solvig Recurrece Relatios Iteratio Forward: work forward from the iitial term util a patter emerges. The guess the form of the solutio. Backward: work backward from a toward a 0 util a patter emerges. The guess the form of the solutio. Example: a = a 1 + 3, a 0 = 2 Forward a 1 = 2 + 3 a 2 = 2 + 3 + 3 = 2 + 2 3 a 3 = 2 + 2 3 + 3 = 2 + 3 3 a = 2 + 3 Backward a = a 2 + 3 + 3 = a 2 + 2 3 a = a 3 + 3 + 2 3 = a 3 + 3 3 a = a 4 + 3 + 3 3 = a 4 + 4 3 a = a + 3 = a 0 + 3 = 2 + 3

Exercises Fid the first few terms of a solutio to the recurrece relatio a = a 1 + 2 + 3, a 0 = 4 a 1 = 4 + 2 1 + 3 = 9 a 2 = 9 + 2 2 + 3 = 16 a 3 = 16 + 2 3 + 3 = 25... Solve the recurrece relatio above. From the first few terms, the patter seems to be a = + 2 2 This ca be proved, but we eed techiques we have t leared yet.

Exercises Cotiued Fid ad solve a recurrece relatio for the sequece 0, 1, 3, 6, 10, 15, Take differeces: 1-0 = 1, 3-1 = 2, 6 3 = 3, 10 6 = 4, 15 10 = 5, Write dow the relatio: a = a 1 +, a 0 = 0 Use backwards iteratio a = a 1 + = a 2 + 1 + = a 3 + 2 + 1 + = a 0 + 1 + 2 + + a = = 0 + 1 + 2 + + The sum of the itegers from 1 to is +1 2 +1 2

Summatios The sum of the m through -th terms of sequece a k a m + a m+1 + + a is deoted as where i is the idex of summatio, m is the lower limit, ad is the upper limit. a i

Examples Use summatio otatio to express the sum from 1 to 100 of 1 x : 3 Evaluate i=0 2i + 1 100 i=1 1 i 3 i=0 2i + 1 = 2 0 + 1 + 2 1 + 1 + 2 2 + 1 + 2 3 + 1 = 1 + 3 + 5 + 7 = 16

Maipulatios of Summatio Notatio l ca i = c a i a i = a i + a i i i i=l+1 m m a i + b i = a i + b i a i = a j+m = a k j=0 k=0 m 1 a i + c = a i + c m + 1 a i = a i a i i=0 i=0

Exercises Evaluate 3+3+3+3+3+3+3+3+3+3 = 30 Let S = 1,3,5,7. Evaluate 1+9+25+49 = 84 Evaluate 3 8 i=0 10 i=1 j S 3 j 2 3 2 i 8 i=0 2 i = 3 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256 = 1533

Summatio Idetities There are MANY, but here are two you should kow: Geometric Series 1 i=0 r i = r 1 r 1 r = 1 r 1 Arithmetic Series 1 i=0 i = 1 2

Geometric Series Idetity Proof r 1 1 Let S = r i i=0 1 = r j j=0 + r r 0 rs = r 1 1 r i i=0 = r i+1 i=0 = r j j=1 rs = S + r 1 S r 1 = r 1 S = r 1 r 1

Products The product of the m through -th terms of sequece a k a m a m+1 a is deoted as a i Example:! = i=1 i

A Product Idetity ca i = c m+1 a i ca i = ca m ca m+1 ca = c c c a m a m+1 a = c 1 a i = c m+1 a i