+ au n+1 + bu n = 0.)

Similar documents
Course : Algebraic Combinatorics

1 Generating functions for balls in boxes

Recurrence Relations

Fundamental Algorithms

Solutions to Problem Set 8

6.003 Homework #3 Solutions

Recursive Algorithms. Recurrences. Recursive Algorithms Analysis

M A T H F A L L CORRECTION. Algebra I 1 4 / 1 0 / U N I V E R S I T Y O F T O R O N T O

Infinite Sequences and Series

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

Generating Functions II

Solutions to Problem Set 7

Math 475, Problem Set #12: Answers

(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3

MATH 304: MIDTERM EXAM SOLUTIONS

Math 61CM - Solutions to homework 3

CHAPTER 1 SEQUENCES AND INFINITE SERIES

In algebra one spends much time finding common denominators and thus simplifying rational expressions. For example:

Series: Infinite Sums

Math 155 (Lecture 3)

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

DIVISIBILITY PROPERTIES OF GENERALIZED FIBONACCI POLYNOMIALS

CALCULATION OF FIBONACCI VECTORS

MATH 31B: MIDTERM 2 REVIEW

Lecture 25 (Dec. 6, 2017)

6.3 Testing Series With Positive Terms

Induction: Solutions

Generating Functions. 1 Operations on generating functions

Polynomials with Rational Roots that Differ by a Non-zero Constant. Generalities

Different kinds of Mathematical Induction

MATH 112: HOMEWORK 6 SOLUTIONS. Problem 1: Rudin, Chapter 3, Problem s k < s k < 2 + s k+1

CSI 2101 Discrete Structures Winter Homework Assignment #4 (100 points, weight 5%) Due: Thursday, April 5, at 1:00pm (in lecture)

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

Algebraic Geometry I

Riemann Sums y = f (x)

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

COS 341 Discrete Mathematics. Exponential Generating Functions and Recurrence Relations

NICK DUFRESNE. 1 1 p(x). To determine some formulas for the generating function of the Schröder numbers, r(x) = a(x) =

Difference Equation Construction (1) ENGG 1203 Tutorial. Difference Equation Construction (2) Grow, baby, grow (1)

Homework 3. = k 1. Let S be a set of n elements, and let a, b, c be distinct elements of S. The number of k-subsets of S is

AN ALMOST LINEAR RECURRENCE. Donald E. Knuth Calif. Institute of Technology, Pasadena, Calif.

Roger Apéry's proof that zeta(3) is irrational

A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

Unit 4: Polynomial and Rational Functions

GENERATING FUNCTIONS AND RANDOM WALKS

Curve Sketching Handout #5 Topic Interpretation Rational Functions

Sequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

Bertrand s Postulate

Solutions to Problem Set 6

Solutions to Math 347 Practice Problems for the final

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

Zeros of Polynomials

Chapter 6. Advanced Counting Techniques

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.

Lecture 3. Digital Signal Processing. Chapter 3. z-transforms. Mikael Swartling Nedelko Grbic Bengt Mandersson. rev. 2016

CHAPTER 10 INFINITE SEQUENCES AND SERIES

arxiv: v1 [math.fa] 3 Apr 2016

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 3 9/11/2013. Large deviations Theory. Cramér s Theorem

Properties and Tests of Zeros of Polynomial Functions

Lecture #5: Begin Quantum Mechanics: Free Particle and Particle in a 1D Box

2 Geometric interpretation of complex numbers

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

This Lecture. Divide and Conquer. Merge Sort: Algorithm. Merge Sort Algorithm. MergeSort (Example) - 1. MergeSort (Example) - 2

Math 172 Spring 2010 Haiman Notes on ordinary generating functions

Week 5-6: The Binomial Coefficients

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 2 9/9/2013. Large Deviations for i.i.d. Random Variables

Math 312 Lecture Notes One Dimensional Maps

subcaptionfont+=small,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0 subcaption ALGEBRAIC COMBINATORICS LECTURE 8 TUESDAY, 2/16/2016

Math 508 Exam 2 Jerry L. Kazdan December 9, :00 10:20

Course : Algebraic Combinatorics

Created by T. Madas SERIES. Created by T. Madas

Continued Fractions and Pell s Equation

Solutions to Final Exam

(b) What is the probability that a particle reaches the upper boundary n before the lower boundary m?

3.2 Properties of Division 3.3 Zeros of Polynomials 3.4 Complex and Rational Zeros of Polynomials

and each factor on the right is clearly greater than 1. which is a contradiction, so n must be prime.

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

Random Models. Tusheng Zhang. February 14, 2013

The Growth of Functions. Theoretical Supplement

Fermat s Little Theorem. mod 13 = 0, = }{{} mod 13 = 0. = a a a }{{} mod 13 = a 12 mod 13 = 1, mod 13 = a 13 mod 13 = a.

1. n! = n. tion. For example, (n+1)! working with factorials. = (n+1) n (n 1) 2 1

Chapter 7: Numerical Series

Metric Space Properties

COMM 602: Digital Signal Processing

11.6 Absolute Convergence and the Ratio and Root Tests

Regent College Maths Department. Further Pure 1. Proof by Induction

Lecture 4: Unique-SAT, Parity-SAT, and Approximate Counting

The Structure of Z p when p is Prime

UNIVERSITY OF NORTHERN COLORADO MATHEMATICS CONTEST. First Round For all Colorado Students Grades 7-12 November 3, 2007

MATH 21 SECTION NOTES

CALCULATING FIBONACCI VECTORS

Northwest High School s Algebra 2/Honors Algebra 2 Summer Review Packet

On forward improvement iteration for stopping problems

CALCULUS BASIC SUMMER REVIEW

It is often useful to approximate complicated functions using simpler ones. We consider the task of approximating a function by a polynomial.

RADICAL EXPRESSION. If a and x are real numbers and n is a positive integer, then x is an. n th root theorems: Example 1 Simplify

MATH 147 Homework 4. ( = lim. n n)( n + 1 n) n n n. 1 = lim

5 Sequences and Series

Massachusetts Institute of Technology

The Discrete Fourier Transform

Transcription:

Lecture 6 Recurreces - kth order: u +k + a u +k +... a k u k 0 where a... a k are give costats, u 0... u k are startig coditios. (Simple case: u + au + + bu 0.) How to solve explicitly - first, write characteristic polyomial (eg., T + at + b) the compute roots (λ ad µ, assume λ µ) The there are some costats α, β such that u αλ + βµ, determied with startig coditios. For example, ( ) ( ) ( ) α u0 λ µ β u Why is this the solutio? We ll see that ay sequece of form αλ + βµ satisfies. Sice startig coditios determie the etire sequece, the system of equatios above shows that with these values of α, β we have the uique solutio. so u u. u αλ + βµ satisfied the recursio u 0 u 0, u u u au bu 0 au bu 0 u, etc. So all we eed is to show that αλ + βµ satisfies liear recurrece. u + au + bu 0 If {u } satisfies recurrece, the for ay costat α {αu } also satisfies recurrece, if {v } also satisfies, the {u + v } also does solutios to recurrece are closed uder takig liear combiatios, so it s eough to show that if λ is root of T + at + b 0, the {λ } satisfies the liear recurrece (ad by symmetry µ, ad liear combiatio αλ + βµ also does). Plug i to get λ + aλ + bλ 0 which is by defiitio true A more illumiatio reaso - suppose {u } satisfies recurrece u + au +

bu 0. Look at geeratig fuctio with some variable z: U u z u 0 + u z + 0 u z azu au z + au 0 z + auz bz U 0 bu z + 0 bu z Add to get U + azu + bz U u 0 + (u + au 0 )z + } (u + au {{ + bu ) z } U( + az + bz ) u 0 + (u + au 0 )z u 0 + (u + au 0 )z U + az + bz 0 by recurrece defiitio liear(z) ( λz)( µz) α β + (partial fractios) λz µz u z α( + λz + λ z... ) + β( + µz + µ z... ) 0 u (αλ + βµ )z

Eg. Fiboacci F F + F, F 0 0, F T T + T T 0 5 + 5 5 T ±, λ, µ F 0 α + β 0 F αλ + βµ α 5 β 5(( ) ( ) ) + 5 5 F 5 Eg. u 6u u + 6u 3 characteristic polyomial T 3 6T + T 6T (T )(T )(T 3) geeral solutio α + β + γ3 If d order with repeated root λ µ, the geeral solutio u αλ + βλ. Eg. u 3u 3u + u 3 (T ) 3 geeral solutio α + β + γ Above examples are all homogeous. A example of a o-homogeous liear recurrece: u 5 + 6u Idea - first solve homogeous ad fid geeral solutio, the fid particular solutio ad add the two solutios. homogeous: u g α + β3. 3

particular: try similar form u a + b + c, plug ito equatio u 5u + 6u a + (4a + b) + (9a 7b + c) 7 5 a, b, c. geeral: u α + β3 + ( + 7 + 5). Eg. Look-ad-say sequece 3 3 33... (http://e.wikipedia.org/wiki/look-ad-say_sequece) Oly,, 3 appear, legths satisfy recurrece of degree 7. I ay such sequece, evetually splits ito sequece of atomic elemets which ever agai iteract with their eighbors. 9 of these cotaiig oly,, 3 Some coectios of recurreces to umber theory. Eg. F + F F () Ca prove by iductio, or explicitly λ µ + 5 5 F, λ, µ, λ µ λ + µ, λµ F + F F λ + µ + ) ( λ µ ) ( λ µ ) λ µ λ µ λ µ ( λ + µ λ + λ µ (λ λµ + µ ) (λ µ) (λµ) () µ λ + µ ( λ µ ) (λ µ) 4

I particular, F k+ F k F k + Eg. If prime p > 5, the p F p or p F p+ but ot both. First compute F p (( p p + ) ( ) ) 5 5 F p 5 ( + p 5) ( ( p ) ( ) ) p p Now + 5 + p 5 + + 5 ( p ( ( ) ( ) ) 5) p p p 5 + 5 p 5 ( p p + ) ( ) (( ) ( ) 5 5 p 5 p 3 p + 5 + + ) p 5 3 So we have (( ) ( ) ( ) ) p p p 5 p3 p Fp + 5 + + p + 5. 3 p Wat to uderstad F p deomiator p So F p ±. The p umerator 5 by Fermat s Little Theorem p 5 ± F p F p+ F p F p F p+ 0 Ca t divide both because F p F p+ F p is ot 0. Eg. Sometimes work backwards to show umber theoretic properties. ( + 3) + is divisible by + Note that + 3 ad 3 are roots of T T. Easy to check that a ( + 3) + ( 3) satisfies a + a + a 0 ad is a iteger sequeces. If odd, the ( 3) is egative ad betwee 0, i absolute value, so a ( + 3) for odd. Set a 0, a, ow easy to show that a or a + divisible by + by iductio, a + (a + + a ). 5

MIT OpeCourseWare http://ocw.mit.edu 8.78 Theory of Numbers Sprig 0 For iformatio about citig these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.