Generating Functions and the Fibonacci Sequence

Similar documents
8.1 Apply Exponent Properties Involving Products. Learning Outcome To use properties of exponents involving products

Generating Function Notes , Fall 2005, Prof. Peter Shor

n=0 xn /n!. That is almost what we have here; the difference is that the denominator is (n + 1)! in stead of n!. So we have x n+1 n=0

Generating Functions (Revised Edition)

Introduction to Generating Functions

Math 180 Chapter 4 Lecture Notes. Professor Miguel Ornelas

LOWELL WEEKLY JOURNAL. ^Jberxy and (Jmott Oao M d Ccmsparftble. %m >ai ruv GEEAT INDUSTRIES

Recurrence Relations

Math 651 Introduction to Numerical Analysis I Fall SOLUTIONS: Homework Set 1

Math 192r, Problem Set #3: Solutions

Generating Functions

Logarithmic and Exponential Equations and Inequalities College Costs

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

FLC Ch 9. Ex 2 Graph each function. Label at least 3 points and include any pertinent information (e.g. asymptotes). a) (# 14) b) (# 18) c) (# 24)

Multiplying two generating functions

Chapter 11 - Sequences and Series

Simplifying Radical Expressions

3.3 Accumulation Sequences


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

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

Limits at Infinity. Horizontal Asymptotes. Definition (Limits at Infinity) Horizontal Asymptotes

Notes on generating functions in automata theory

Review of Power Series

Power series and Taylor series

April 9, 2009 Name The problems count as marked. The total number of points available is 160. Throughout this test, show your work.

Due for this week. Slide 2. Copyright 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Complete Week 18 Package

Partition of Integers into Distinct Summands with Upper Bounds. Partition of Integers into Even Summands. An Example

e x = 1 + x + x2 2! + x3 If the function f(x) can be written as a power series on an interval I, then the power series is of the form

Generating Functions

Example. Determine the inverse of the given function (if it exists). f(x) = 3

Analytic Geometry and Calculus I Exam 1 Practice Problems Solutions 2/19/7

Section 11.1: Sequences

Series Solution of Linear Ordinary Differential Equations

LECTURE 9: SERIES SOLUTIONS NEAR AN ORDINARY POINT I

1 Functions, Graphs and Limits

INFINITE SUMS. In this chapter, let s take that power to infinity! And it will be equally natural and straightforward.

1.3 Exponential Functions

Expansion of Terms. f (x) = x 2 6x + 9 = (x 3) 2 = 0. x 3 = 0

Power Series and Analytic Function

Exponential and Logarithmic Functions

INTRODUCTION TO DIFFERENTIATION

2.6 Logarithmic Functions. Inverse Functions. Question: What is the relationship between f(x) = x 2 and g(x) = x?

DIFFERENTIATION RULES

Applications. More Counting Problems. Complexity of Algorithms

56 CHAPTER 3. POLYNOMIAL FUNCTIONS

Intermediate Algebra Semester Summary Exercises. 1 Ah C. b = h

Exponential and Logarithmic Functions

MAC Module 8 Exponential and Logarithmic Functions I. Rev.S08

Convergence of sequences and series

MAC Module 8. Exponential and Logarithmic Functions I. Learning Objectives. - Exponential Functions - Logarithmic Functions

JUST THE MATHS UNIT NUMBER DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) A.J.Hobson

MA 223 PRACTICE QUESTIONS FOR THE FINAL 3/97 A. B. C. D. E.

Roots of quadratic equations

? Describe the nth term of the series and the value of S n. . Step 6 Will the original square ever be entirely shaded? Explain why or why not.

Generating Functions

Taylor and Maclaurin Series. Copyright Cengage Learning. All rights reserved.

f(x) = d(x) q(x) + r(x).

Logarithmic, Exponential, and Other Transcendental Functions. Copyright Cengage Learning. All rights reserved.

A monomial or sum of monomials

Tennessee Comprehensive Assessment Program TCAP. TNReady Algebra II Part I PRACTICE TEST. Student Name. Teacher Name

3.4. ZEROS OF POLYNOMIAL FUNCTIONS

Name Advanced Math Functions & Statistics. Non- Graphing Calculator Section A. B. C.

NOTES ON OCT 4, 2012

Exponential and logarithmic functions (pp ) () Supplement October 14, / 1. a and b positive real numbers and x and y real numbers.

Chapter 2 Functions and Graphs

Benchmark Prep. h a. h = 5 c. h = 3 b. h = 3 d. h = 1. w a. w = 15 c. w = 15 b. w = 3 d. w = 21. Name: Class: Date: Solve the equation.

Summer MA Lesson 20 Section 2.7 (part 2), Section 4.1

Math 101 Final Exam Review Solutions. Eric Schmutz

Finite Fields. SOLUTIONS Network Coding - Prof. Frank H.P. Fitzek

1. Is the graph an increasing or decreasing function? Explain your answer.

#2 Points possible: 1. Total attempts: 2 An exponential function passes through the points (0, 3) and (3, 375). What are the

From M&Ms to Mathematics, or, How I learned to answer questions and help my kids love math.

SOLUTIONS FOR THE PRACTICE EXAM FOR THE SECOND MIDTERM EXAM

Integration. Antiderivatives and Indefinite Integration 3/9/2015. Copyright Cengage Learning. All rights reserved.

Note: In this section, the "undoing" or "reversing" of the squaring process will be introduced. What are the square roots of 16?

Using the Laws of Exponents to Simplify Rational Exponents

LEAST SQUARES APPROXIMATION

Homework 7 Solutions to Selected Problems

Generating Functions

7.1. Calculus of inverse functions. Text Section 7.1 Exercise:

Introduction and Review of Power Series

Rules of Differentiation. Lecture 12. Product and Quotient Rules.

f (r) (a) r! (x a) r, r=0

Many of the groups with which we are familiar are arithmetical in nature, and they tend to share key structures that combine more than one operation.

Discrete Mathematics. Kishore Kothapalli

2(x 4 7x 2 18) 2(x 2 9)(x 2 + 2) 2(x 3)(x + 3)(x 2 + 2)

Algebra 32 Midterm Review Packet

For the given equation, first find the x-intercept by setting y = 0: Next, find the y-intercept by setting x = 0:

Ch1 Algebra and functions. Ch 2 Sine and Cosine rule. Ch 10 Integration. Ch 9. Ch 3 Exponentials and Logarithms. Trigonometric.

Lesson 26 MA Nick Egbert

HW#1. Unit 4B Logarithmic Functions HW #1. 1) Which of the following is equivalent to y=log7 x? (1) y =x 7 (3) x = 7 y (2) x =y 7 (4) y =x 1/7

Learning Target #1: I am learning to compare tables, equations, and graphs to model and solve linear & nonlinear situations.

Series Solutions of Linear Differential Equations

Review Unit 2. Multiple Choice Identify the choice that best completes the statement or answers the question.

Definition: If y = f(x), then. f(x + x) f(x) y = f (x) = lim. Rules and formulas: 1. If f(x) = C (a constant function), then f (x) = 0.

. ^e Traveler in taesnok. i the IHilty.-^ifStiiart. BbUaaoa aad WalL.""ras 'crossing a mountain»h ch w e are A«ply inteiwted. Add

Kansas City Area Teachers of Mathematics 2018 KCATM Math Competition ALGEBRA GRADE 8

Do we have any graphs that behave in this manner that we have already studied?

Transcription:

Department of Mathematics Nebraska Wesleyan University June 14, 01

Fibonacci Sequence Fun Fact: November 3rd is Fibonacci Day! (1, 1,, 3) Definition The Fibonacci sequence is defined by the recurrence relation F n+1 = F n + F n 1 for all n with F 0 = 0 and F 1 = 1. So, the sequence is 1, 1,, 3,, 8, 13...

Fibonacci Sequence What if? We want to know the 10th number of the sequence? We want to know the 0th or 0th term?

Fibonacci Sequence What if? We want to know the 10th number of the sequence? We want to know the 0th or 0th term?

Generating Functions Definition Let {f n } be a sequence of real numbers. Then, the formal power series F (x) = f n x n is called the ordinary generating function of the sequence {f n }.

Example We have invested 1000 dollars into a savings account that pays five percent interest at the end of each year. At the beginning of each year, we deposit another 00 dollars into this account. How much money will be in this account after n years? The recurrence relation is a n+1 = 1.0a n + 00 with a 0 = 1000.

Example We have invested 1000 dollars into a savings account that pays five percent interest at the end of each year. At the beginning of each year, we deposit another 00 dollars into this account. How much money will be in this account after n years? The recurrence relation is a n+1 = 1.0a n + 00 with a 0 = 1000.

Example The recurrence relation is a n+1 = 1.0a n + 00 with a 0 = 1000. Let G(x) = a n x n be the generating function of the sequence {a n }. Now, multiply both sides of the recurrence relation by x n+1 and sum over all non-negative integers n. We get 00x n+1. Note: a n+1 x n+1 = 1.0a n x n+1 + a n+1 x n+1 = G(x) a 0 and 1.0a n x n+1 = 1.0xG(x).

Example The recurrence relation is a n+1 = 1.0a n + 00 with a 0 = 1000. Let G(x) = a n x n be the generating function of the sequence {a n }. Now, multiply both sides of the recurrence relation by x n+1 and sum over all non-negative integers n. We get 00x n+1. Note: a n+1 x n+1 = 1.0a n x n+1 + a n+1 x n+1 = G(x) a 0 and 1.0a n x n+1 = 1.0xG(x).

Example The recurrence relation is a n+1 = 1.0a n + 00 with a 0 = 1000. Let G(x) = a n x n be the generating function of the sequence {a n }. Now, multiply both sides of the recurrence relation by x n+1 and sum over all non-negative integers n. We get 00x n+1. Note: a n+1 x n+1 = 1.0a n x n+1 + a n+1 x n+1 = G(x) a 0 and 1.0a n x n+1 = 1.0xG(x).

Example Reminder: The Taylor Series for 1 1 x is x n. So, By substitution, we have Solving for G(x), we obtain By partial fractions, 00x n+1 = 00x 1 x. G(x) a 0 = 1.0xG(x) + 00x 1 x. G(x) = 1000 1 1.0x + 00x (1 x)(1.10x). 00x (1 x)(1.10x) = 10000 ( 1 1 1.0x 1 1 x ).

Example Reminder: The Taylor Series for 1 1 x is x n. So, By substitution, we have Solving for G(x), we obtain By partial fractions, 00x n+1 = 00x 1 x. G(x) a 0 = 1.0xG(x) + 00x 1 x. G(x) = 1000 1 1.0x + 00x (1 x)(1.10x). 00x (1 x)(1.10x) = 10000 ( 1 1 1.0x 1 1 x ).

Example Reminder: The Taylor Series for 1 1 x is x n. So, By substitution, we have Solving for G(x), we obtain By partial fractions, 00x n+1 = 00x 1 x. G(x) a 0 = 1.0xG(x) + 00x 1 x. G(x) = 1000 1 1.0x + 00x (1 x)(1.10x). 00x (1 x)(1.10x) = 10000 ( 1 1 1.0x 1 1 x ).

Example Reminder: The Taylor Series for 1 1 x is x n. So, By substitution, we have Solving for G(x), we obtain By partial fractions, 00x n+1 = 00x 1 x. G(x) a 0 = 1.0xG(x) + 00x 1 x. G(x) = 1000 1 1.0x + 00x (1 x)(1.10x). 00x (1 x)(1.10x) = 10000 ( 1 1 1.0x 1 1 x ).

Example Replacing with Taylor series, we obtain G(x) = 1000 (1.0x) n + 10000 (1.0 n 1)x n. This means, a n = 1000 1.0 n + 10000(1.0 n 1) = 11000 1.0 n 10000. This how much money will be in the account after n years!

Example Replacing with Taylor series, we obtain G(x) = 1000 (1.0x) n + 10000 (1.0 n 1)x n. This means, a n = 1000 1.0 n + 10000(1.0 n 1) = 11000 1.0 n 10000. This how much money will be in the account after n years!

Example Replacing with Taylor series, we obtain G(x) = 1000 (1.0x) n + 10000 (1.0 n 1)x n. This means, a n = 1000 1.0 n + 10000(1.0 n 1) = 11000 1.0 n 10000. This how much money will be in the account after n years!

Fibonacci Example The recurrence relation F n+1 = F n + F n 1 with F 0 = 0 and F 1 = 1. Let F (x) = f (n)x n be the generating function. Multiply both sides of the recurrence relation by x n+ and sum it over all non-negative integers n. We get f (n + )x n+ = f (n + 1)x n+ + f (n)x n+. Using the defined generating function, we obtain F (x) x 1 = x(f (x) 1) + x F (x).

Fibonacci Example The recurrence relation F n+1 = F n + F n 1 with F 0 = 0 and F 1 = 1. Let F (x) = f (n)x n be the generating function. Multiply both sides of the recurrence relation by x n+ and sum it over all non-negative integers n. We get f (n + )x n+ = f (n + 1)x n+ + f (n)x n+. Using the defined generating function, we obtain F (x) x 1 = x(f (x) 1) + x F (x).

Fibonacci Example The recurrence relation F n+1 = F n + F n 1 with F 0 = 0 and F 1 = 1. Let F (x) = f (n)x n be the generating function. Multiply both sides of the recurrence relation by x n+ and sum it over all non-negative integers n. We get f (n + )x n+ = f (n + 1)x n+ + f (n)x n+. Using the defined generating function, we obtain F (x) x 1 = x(f (x) 1) + x F (x).

Fibonacci Example Solving for F(x), we obtain F (x) = 1 1 x x. Note that the two roots of 1 x x are r 1 = 1 + and r = 1. By partial fractions, we get F (x) = 1 ( 1 1 ). x r x r 1

Fibonacci Example Solving for F(x), we obtain F (x) = 1 1 x x. Note that the two roots of 1 x x are r 1 = 1 + and r = 1. By partial fractions, we get F (x) = 1 ( 1 1 ). x r x r 1

Fibonacci Example Now, F (x) = 1 ( 1 1 ) x r x r 1 = 1 ( r1 1 r ) 1 r 1 x r r x r 1 = 1 ( r1 r 1 x 1 r ) r x 1 = 1 ( r 1 r x r ) 1 1 r 1 x = 1 r r n x n r 1 r1 n x n.

Fibonacci Example Now, F (x) = 1 ( 1 1 ) x r x r 1 = 1 ( r1 1 r ) 1 r 1 x r r x r 1 = 1 ( r1 r 1 x 1 r ) r x 1 = 1 ( r 1 r x r ) 1 1 r 1 x = 1 r r n x n r 1 r1 n x n.

Fibonacci Example Now, F (x) = 1 ( 1 1 ) x r x r 1 = 1 ( r1 1 r ) 1 r 1 x r r x r 1 = 1 ( r1 r 1 x 1 r ) r x 1 = 1 ( r 1 r x r ) 1 1 r 1 x = 1 r r n x n r 1 r1 n x n.

Fibonacci Example Now, F (x) = 1 ( 1 1 ) x r x r 1 = 1 ( r1 1 r ) 1 r 1 x r r x r 1 = 1 ( r1 r 1 x 1 r ) r x 1 = 1 ( r 1 r x r ) 1 1 r 1 x = 1 r r n x n r 1 r1 n x n.

Fibonacci Example So, Thus, F (x) = 1 r r n x n r 1 r1 n x n. f n = 1 ( r n+1 r n+1 ) 1. By substituting r 1 and r into the equation, we get ( f n = 1 1 + ) n+1 ( 1 1 ) n+1. Note: this equation is set up so f n = F n+1 since the series indices begin at 0, but the Fibonacci indices begin at 1.

Fibonacci Example So, Thus, F (x) = 1 r r n x n r 1 r1 n x n. f n = 1 ( r n+1 r n+1 ) 1. By substituting r 1 and r into the equation, we get ( f n = 1 1 + ) n+1 ( 1 1 ) n+1. Note: this equation is set up so f n = F n+1 since the series indices begin at 0, but the Fibonacci indices begin at 1.

Fibonacci Example So, Thus, F (x) = 1 r r n x n r 1 r1 n x n. f n = 1 ( r n+1 r n+1 ) 1. By substituting r 1 and r into the equation, we get ( f n = 1 1 + ) n+1 ( 1 1 ) n+1. Note: this equation is set up so f n = F n+1 since the series indices begin at 0, but the Fibonacci indices begin at 1.

Does it work? ( F 10 = f 9 = 1 1 + ) 10 ( 1 1 ) 10 = If we go through the sequence, 1, 1,, 3,, 8, 13, 1, 34, is the 10th term! It works!

It works! ( F 0 = f 19 = 1 1 + ) 0 ( 1 1 ) 0 = 6, 76 ( F 0 = f 49 = 1 1 + ) 0 ( 1 1 ) 0 = 1, 86, 69, 0

Take a Closer Look With our equation, ( f n = 1 1 + ) n+1 ( 1 1 ) n+1 the second term goes to zero quickly. So, we can remove that term ( f n = 1 1 + ) n+1 and still get fairly accurate results.

Take a Closer Look With our equation, ( f n = 1 1 + ) n+1 ( 1 1 ) n+1 the second term goes to zero quickly. So, we can remove that term ( f n = 1 1 + ) n+1 and still get fairly accurate results.

Take a Closer Look ( F 10 = f 9 = 1 1 + ) 10 =.00368 ( F 0 = f 19 = 1 1 + ) 0 = 6, 76.00003 ( F 0 = f 49 = 1 1 + ) 0 = 1, 86, 69, 0.00000

Thanks! Thanks for listening! Search the web for Generating Functions to learn more.