Zeroes of a Recurrence Relation

Slides:



Advertisements
Similar presentations
Activity 1-16: The Distribution Of Prime Numbers
Advertisements

Applied Discrete Mathematics Week 9: Relations
Chapter 8. Section 8. 1 Section Summary Introduction Modeling with Recurrence Relations Fibonacci Numbers The Tower of Hanoi Counting Problems Algorithms.
Advanced Counting Techniques CSC-2259 Discrete Structures Konstantin Busch - LSU1.
Activity 2-17: Zeroes of a Recurrence Relation
Activity 2-2: Mapping a set to itself
Sequences and Summations Section 2.4. Section Summary Sequences. – Examples: Geometric Progression, Arithmetic Progression Recurrence Relations – Example:
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Advanced Counting Techniques CSC-2259 Discrete Structures Konstantin Busch - LSU1.
Activity 2-15: Elliptic curves
7.2 Solving Linear Recurrence Relations Some of these recurrence relations can be solved using iteration or some other ad hoc technique. However, one important.
Asymptotics and Recurrence Equations Prepared by John Reif, Ph.D. Analysis of Algorithms.
Activity 1-13: Descent This problem is due to Euler. Task: Show that the equation x 3 + 2y 3 + 4z 3 = 0 has the sole solution (0,
9.3 Geometric Sequences and Series. Common Ratio In the sequence 2, 10, 50, 250, 1250, ….. Find the common ratio.
Homogeneous Linear Recurrences To solve such recurrences we must first know how to solve an easier type of recurrence relation: DEF: A linear recurrence.
Advanced Algorithms Analysis and Design By Dr. Nazir Ahmad Zafar Dr Nazir A. Zafar Advanced Algorithms Analysis and Design.
CSG523/ Desain dan Analisis Algoritma
CSG523/ Desain dan Analisis Algoritma
CSE15 Discrete Mathematics 03/06/17
CMSC Discrete Structures
MODULE – 1 The Number System
The Acceptance Problem for TMs
Linear homogeneous ODEn with constant coefficients
Modeling with Recurrence Relations
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
Sequences.
3.5 Recurrence Relations.
Introduction to Recurrence Relations
Activity 2-11: Quadratic Reciprocity
Activity 2-18: Cyclotomic polynomials
To any sequence we can assign a sequence with terms defined as
A power series with center c is an infinite series where x is a variable. For example, is a power series with center c = 2.
4.3 Determinants & Cramer’s Rule
Introducing sequences
Randomized Algorithms
Non-Homogeneous Recurrence Relations
GEOMETRIC SERIES.
Chapter 5 Series Solutions of Linear Differential Equations.
Design and Analysis of Algorithms
5.7 Apply the Fundamental Theorem of Algebra
Hidden Markov Models Part 2: Algorithms
Randomized Algorithms
Numerical Analysis Lecture 16.
Geometric Sequences and Series
Great Theoretical Ideas in Computer Science
Activity 2-15: Elliptic curves
Aim: What is the sequence?
Linear Algebra Lecture 3.
MSV 40: The Binomial Mean and Variance
CMSC Discrete Structures
Solving Recurrence Relations
MODULE – 1 The Number System
Activity 1-2: Inequalities
3.7 Evaluate Determinants & Apply Cramer’s Rule
6.7 Using the Fundamental Theorem of Algebra
Sequences Tuesday, 30 April 2019.
CMSC Discrete Structures
Recurrence Relations Discrete Structures.
Activity 2-18: Cyclotomic polynomials
Mathematical Induction
Activity 2-14: The ABC Conjecture.
The Logistic Map and Chaos
Packet #29 Arithmetic and Geometric Sequences
Unit 4 Lesson 1 Sequences and Series.
The Division Rule Theorem: Suppose a set A has n elements and is partitioned by the collection {A1, A2, ..., Ap}, where each partition set has m elements.
Which sequence is linear? How do you know?
Arithmetic Progressions “AP’s” & “GP’s” Geometric Progressions
10.1 Sequences and Summation Notation
Cool Results Involving Compositions
Presentation transcript:

Zeroes of a Recurrence Relation www.carom-maths.co.uk Activity 2-17: Zeroes of a Recurrence Relation

We all know the Fibonacci sequence, 1, 1, 2, 3, 5, 8, 13... We can write this as un+1= un + un-1, with u1 = 1, u2 = 1. So the next term is the sum of the previous two, and we have some initial conditions. We have here an example of a Linear Recurrence Relation (or LRS).

un+1 = anun + an-1un-1 + an-2un-2 +......+ an-k+1un-k+1 is the general LRS of order k. So the next term is a linear combination of the last k terms (we also need initial conditions). We will only be looking at the cases where every ai is an integer: we will call these ‘integer LRSs’. Now there is a way to calculate future terms for an LRS using a matrix. Let’s demonstrate this using the Fibonacci sequence.

and if we have some computer help in taking the powers of a matrix, So it is clear that and if we have some computer help in taking the powers of a matrix, we have a good way of calculating future terms of an LRS.

Task: use this spreadsheet to find the 21st term, that’s F21, in the Fibonacci sequence. Taking Powers of a Matrix spreadsheet The 21st term in the Fibonacci sequence is 10 946.

Task: given the LRS un+1= un + un-1 + un-2 with u1 = 1, u2 = 1, u3 = 1, find the 22nd term. Using a 3 x 3 matrix this time: The 22nd term in this order-3 LRS sequence is 157 305.

Now we can note that it makes perfect sense to run the Fibonacci sequence backwards. ...5, -3, 2, -1, 1, 0, 1, 1, 2, 3, 5, 8, 13... So u0 = 0, u-1 = 1, u-2 = -1, and so on: the rule still holds. Now a further question: how many 0s are there in the Fibonacci sequence? It seems clear that there can only be one. In that case, how many 0s can any order-2 LRS have? Can it have an infinite number? Or is there a maximum?

It is easy to construct an LRS that does have an infinite number of 0s. Consider un+2 = 2un, with u1 = 0, u2 = 2. This gives us the sequence 0, 2, 0, 4, 0, 8, 0, 16... This clearly has an infinite number of 0s, BUT we call this type of LRS degenerate. The LRS un+1 = anun + an-1un-1 has associated with it the characteristic equation 2 = an + an-1. This has two roots, 1 and 2, and if their ratio is a root of unity, we say the LRS is degenerate.

So for our example un+2 = 2un, the characteristic equation is 2 = 2, and so 1, 2 are ±√2, and their ratio is -1. The solution to an LRS is un = A1n+ B2n . We can find A and B from the initial conditions. So for our Fibonacci sequence, the characteristic equation is 2  1 = 0, which gives solutions 1, 2 = Using u1 = 1, u2 = 1, we find A = , B = , and so Task: test this out for various n. Fn =

So let’s go back to our question and rephrase it: how many 0s can a non-degenerate order-2 LRS have? Theorem: Skolem-Mahler-Lech (proved in 1953). Any non-degenerate integer LRS has a finite number of 0s. It can also be proved that the largest number of 0s an order-2 non-degenerate integer LRS can have is 1, (so the Fibonacci sequence has the maximum). How can we prove this?

The order-2 LRS un+1 = anun + an-1un-1 has associated with it the characteristic equation 2 = an + an-1. Suppose the roots are 1, 2 . So we have un = A1n+ B2n . Suppose un = 0 for n = p and n = q, with p > q. 0 = A1p+ B2p  Similarly, Subtracting, we have , and thus the ratio of the roots is a root of unity, and the LRS is degenerate. So the largest number of 0s an order-2 non-degenerate integer LRS can have is 1.

What is the largest number of 0s an order-3 non-degenerate integer LRS can have? Beukers has proved (1991) that the answer is 6. Is it possible to find an order-3 LRS with six 0s? The mathematician Berstel managed to do exactly that.

Task: using our matrix spreadsheet, see if you can find all six zeroes there are to be found. So we have zeroes for a0, a1, a4, a6, a13, and rather surprisingly, for a52.

With thanks to: Graham Everest and Tom Ward. Carom is written by Jonny Griffiths, mail@jonny-griffiths.net