Definition: A sequence is a function from a subset of the integers (usually either the set

Similar documents
Section Summary. Sequences. Recurrence Relations. Summations. Examples: Geometric Progression, Arithmetic Progression. Example: Fibonacci Sequence

Recurrence Relations

Sec$on Summary. Sequences. Recurrence Relations. Summations. Ex: Geometric Progression, Arithmetic Progression. Ex: Fibonacci Sequence

Section Summary. Sequences. Recurrence Relations. Summations Special Integer Sequences (optional)

Discrete Structures Lecture Sequences and Summations

Section Summary. Definition of a Function.

Section Summary. Sequences. Recurrence Relations. Summations. Examples: Geometric Progression, Arithmetic Progression. Example: Fibonacci Sequence

Recurrence Relations and Recursion: MATH 180

Chapter 5: Sequences, Mathematic Induction, and Recursion

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

Sequences A sequence is a function, where the domain is a set of consecutive positive integers beginning with 1.

Sequences and Series. College Algebra

1 Examples of Weak Induction

1 Recursive Algorithms

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

Sequences and Summations

Discrete Mathematics. Spring 2017

Solving Recurrence Relations 1. Guess and Math Induction Example: Find the solution for a n = 2a n 1 + 1, a 0 = 0 We can try finding each a n : a 0 =

CSCE 222 Discrete Structures for Computing. Dr. Hyunyoung Lee

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

Fall 2017 Test II review problems

Examples of Finite Sequences (finite terms) Examples of Infinite Sequences (infinite terms)

Algorithm Analysis Recurrence Relation. Chung-Ang University, Jaesung Lee

Functions. Given a function f: A B:

Vocabulary. Term Page Definition Clarifying Example. arithmetic sequence. explicit formula. finite sequence. geometric mean. geometric sequence

Worksheets for GCSE Mathematics. Quadratics. mr-mathematics.com Maths Resources for Teachers. Algebra

Chapter 8: Recursion. March 10, 2008

Every subset of {1, 2,...,n 1} can be extended to a subset of {1, 2, 3,...,n} by either adding or not adding the element n.

Problem Set 5 Solutions

Math 3336 Section 4.3 Primes and Greatest Common Divisors. Prime Numbers and their Properties Conjectures and Open Problems About Primes

4.1 All in a Row (BC)

Chapter 4 ARITHMETIC AND GEOMETRIC PROGRESSIONS 2, 5, 8, 11, 14,..., 101

Propositional Logic, Predicates, and Equivalence

Generating Functions

Given a sequence a 1, a 2,...of numbers, the finite sum a 1 + a 2 + +a n,wheren is an nonnegative integer, can be written

8. Sequences, Series, and Probability 8.1. SEQUENCES AND SERIES

S.3 Geometric Sequences and Series

3.3 Accumulation Sequences

12 Sequences and Recurrences

Chapter Summary. Mathematical Induction Strong Induction Well-Ordering Recursive Definitions Structural Induction Recursive Algorithms

Math 2412 Final Exam Review

9.1 SEQUENCES AND SERIES

Summary: Divisibility and Factorization

Mathematical Induction

5. Sequences & Recursion

Math 475, Problem Set #8: Answers

Tropical Polynomials

or the number of bacteria in a colony after each hour, if the colony starts with one bacteria and each bacteria divides into two every hour

Climbing an Infinite Ladder

2009 A-level Maths Tutor All Rights Reserved

Ex. Here's another one. We want to prove that the sum of the cubes of the first n natural numbers is. n = n 2 (n+1) 2 /4.

Math 3 Unit 3: Polynomial Functions

Climbing an Infinite Ladder

Advanced Counting Techniques. 7.1 Recurrence Relations

SERIES

Exam 2 Solutions. x 1 x. x 4 The generating function for the problem is the fourth power of this, (1 x). 4

Lesson 1: Successive Differences in Polynomials

Carmen s Core Concepts (Math 135)

Math 3 Unit 3: Polynomial Functions

Induction and Recursion

Math 283 Spring 2013 Presentation Problems 4 Solutions

EQUATIONS WHOSE ROOTS ARE T I E nth POWERS OF T I E ROOTS OF A GIVEN CUBIC EQUATION

7.3 The Jacobi and Gauss-Seidel Iterative Methods

1. Decide for each of the following expressions: Is it a function? If so, f is a function. (i) Domain: R. Codomain: R. Range: R. (iii) Yes surjective.

Convert the equation to the standard form for an ellipse by completing the square on x and y. 3) 16x y 2-32x - 150y = 0 3)

MATH 55 - HOMEWORK 6 SOLUTIONS. 1. Section = 1 = (n + 1) 3 = 2. + (n + 1) 3. + (n + 1) 3 = n2 (n + 1) 2.

Exercises. Template for Proofs by Mathematical Induction

Chapter 8 Sequences, Series, and Probability

Introduction to Induction (LAMC, 10/14/07)

2.1 Sets. Definition 1 A set is an unordered collection of objects. Important sets: N, Z, Z +, Q, R.

JUST THE MATHS UNIT NUMBER 2.1. SERIES 1 (Elementary progressions and series) A.J.Hobson

MATH 3012 N Solutions to Review for Midterm 2

Section 2: Equations and Inequalities

COM S 330 Lecture Notes Week of Feb 9 13

Pascal's Triangle in Difference Tables and an Alternate Approach to Exponential Functions

Appendix G: Mathematical Induction

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

Systems of Linear Equations

Mathematical Induction

IB Mathematics HL Year 2 Unit 11: Completion of Algebra (Core Topic 1)

Math 24 Spring 2012 Questions (mostly) from the Textbook

EECS 1028 M: Discrete Mathematics for Engineers

Number Representations

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

MATH 415, WEEKS 14 & 15: 1 Recurrence Relations / Difference Equations

Introduction to Series and Sequences Math 121 Calculus II Spring 2015

CMSC250 Homework 9 Due: Wednesday, December 3, Question: Total Points: Score:

Worksheets for GCSE Mathematics. Algebraic Expressions. Mr Black 's Maths Resources for Teachers GCSE 1-9. Algebra

Pierre de Fermat ( )

Use mathematical induction in Exercises 3 17 to prove summation formulae. Be sure to identify where you use the inductive hypothesis.

MATH39001 Generating functions. 1 Ordinary power series generating functions

Induction and recursion. Chapter 5

Discrete Mathematics -- Chapter 10: Recurrence Relations

1 = k1 + k 2 2 = 3k 1 + 5k 2

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

Discrete Math, Spring Solutions to Problems V

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

With Question/Answer Animations

1 Sequences and Summation

Unit 8: Statistics. SOL Review & SOL Test * Test: Unit 8 Statistics

Transcription:

Math 3336 Section 2.4 Sequences and Summations Sequences Geometric Progression Arithmetic Progression Recurrence Relation Fibonacci Sequence Summations Definition: A sequence is a function from a subset of the integers (usually either the set {0, 1, 2, 3, 4, } or {1, 2, 3, 4, } ) to a set SS. We use the notation aa nn to denote the image of the integer nn. We call aa nn a term of the sequence. Example: Consider the sequence {aa nn }, where aa nn = 1. List the terms of this sequence beginning nn with aa 1. Geometric Progression Definition: A geometric progression is a sequence of the form: aa, aaaa, aarr 2, aarr 3,, aarr nn, where the initial term aa and the common ratio rr are real numbers. Examples: Write geometric progression with the following parameters: a. aa = 1 aaaaaa rr = 1 b. aa = 2 aaaaaa rr = 5 c. aa = 6 aaaaaa rr = 1/3 Page 1 of 6

Arithmetic progression Definition: An arithmetic progression is a sequence of the form: aa, aa + dd, aa + 2dd, aa + 3dd,, aa + nnnn, where the initial term aa and the common difference dd are real numbers. Example: Write geometric progression with the following parameters: a. a = 1 and d = 4 b. aa = 7 aaaaaa dd = 3 c. a = 1 and d = 2 Recurrence Relations Definition: A recurrence relation for the sequence {aa nn } is an equation that expresses aa nn in terms of one or more of the previous terms of the sequence, namely, aa 0, aa 1,, aa nn 1, for all integers nn with nn nn 0, where nn 0 is a nonnegative integer. A sequence is called a solution of a recurrence relation if its terms satisfy the recurrence relation. The initial conditions for a sequence specify the terms that precede the first term where the recurrence relation takes effect. Example: Let {aa nn } be a sequence that satisfies the recurrence relation aa nn = aa nn 1 + 3 for nn = 1,2,3,4, and suppose that aa 0 = 2. What are the first three terms of the sequence? Page 2 of 6

Example: Let {aa nn } be a sequence that satisfies the recurrence relation aa nn = aa nn 1 aa nn 2 for nn = 2,3,4, and suppose that aa 0 = 3 and aa 1 = 5. What are aa 2 and aa 3? Fibonacci sequence Definition: Define the Fibonacci sequence, ff 0, ff 1, ff 2, ff 3, by: Initial Conditions: ff 0 = 0, ff 1 = 1 Recurrence Relation: ff nn = ff nn 1 + ff nn 2 Example: Write the first six terms of the Fibonacci sequence. Solving recurrence relation Finding a formula for the nth term of the sequence generated by a recurrence relation is called solving the recurrence relation. Such a formula is called a closed formula. Various methods for solving recurrence relations will be covered in Chapter 8 where recurrence relations will be studied in greater depth. Here we illustrate by example the method of iteration in which we need to guess the formula. The guess can be proved correct by the method of induction (Chapter 5). Example (Iterative solution): Solve the recurrence relation and initial condition: aa nn = aa nn 1 + 3 for nn = 2,3,4, and aa 1 = 2. Page 3 of 6

Example (Financial application): Suppose a person deposits $10,000 in a savings account at a bank yielding 11% per year with interest compounded annually. How much will be in the account after 30 years? More on solving recurrence relations Given a few terms of a sequence, try to identify the sequence. Conjecture a formula, recurrence relation, or some other rule. Some questions to ask? Are there repeated terms of the same value? Can you obtain a term from the previous term by adding an amount or multiplying by an amount? Can you obtain a term by combining the previous terms in some way? Are they cycles among the terms? Do the terms match those of a well-known sequence? Example: Find formulae for the sequences with the following first five terms: a. 1, 1 2, 1 4, 1 8, 1 16 b. 1, 3, 5, 7, 9 c. 1, -1, 1, -1, 1 Page 4 of 6

Summations Consider sum of the terms aa mm, aa mm+1,, aa nn of the sequence {aa nn }. We use notation nn jj=mm aa jj, mm jj nn aa jj to represent aa mm + aa mm+1 + + aa nn. jj is called the index of summation, mm is the lower limit, and nn is the upper limit. Examples: a. jj 2 5 1 b. 1 1 kk Example: Page 5 of 6

Page 6 of 6