Defn: A linear recurrence relation has constant coefficients if the a i s are constant. Ch 14: 1, 4, 5, 10, 13, 18, 22, 24, 25 and

Size: px
Start display at page:

Download "Defn: A linear recurrence relation has constant coefficients if the a i s are constant. Ch 14: 1, 4, 5, 10, 13, 18, 22, 24, 25 and"

Transcription

1 7.4: linear homogeneous recurrence relation: Defn: A recurrence relation is linear if h n = a 1 (n)h n 1 + a (n)h n a k (n)h n k + b(n) A recurrence relation has order k if a k 0 Ex: Derangement D n = (n 1)D n 1 + (n 1)D n, D 1 = 0, D = 1 D n = nd n 1 + ( 1) n, D 1 = 0 Fibonacci: f n = f n 1 + f n, f(0) = 0, f(1) = 1 Defn: A linear recurrence relation is homogeneous if b = 0 Defn: A linear recurrence relation has constant coefficients if the a i s are constant. Tentative HW 1: Ch 14: 1, 4, 5, 10, 13, 18,, 4, 5 and A.) Suppose the sequences r n, s n, and t n satisfy the homogeneous linear recurrence relation, h n = a 1 (n)h n 1 + a (n)h n + a 3 (n)h n 3 (**). Show that the sequence, c 1 r n +c s n +c 3 t n also satisfies this homogeneous linear recurrence relation (**). B.) Suppose the sequence ψ n satisfies the linear recurrence reln, h n = a 1 (n)h n 1 + a (n)h n + a 3 (n)h n 3 + b(n) (*). Show that the sequence, c 1 r n + c s n + c 3 t n + ψ n also satisfies this linear recurrence relation. C.) How many terms of the sequence are needed to find a unique sequence with these terms satisfying (*). What linear system of equations can be used to determine c 1, c, c 3.

2 7.4: linear homogeneous recurrence relation w/constant coefficients: Ex: Solve the recurrence relation: h n + h n = 0, h 0 = 3, h 1 = 5 Guess q n is a solution. q n + q n = q n (q + 1) = 0 q + 1 = 0 implies q = ±i Thus the general solution is h n = c 1 i n + c ( i) n i.e., this function satisfies the recurrence relation. Now need to find c i s resulting in initial conditions: h 0 = 3: c 1 + c = 3 implies c = 3 c 1 h 1 = 5: c 1 i c i = 5 implies c 1 + c = 5i c c 1 = 5i. Thus c = 5i Hence c 1 = 3 5i and c = 3 ( 3 5i ) = 3+5i h n = ( 3 5i )in + ( 3+5i )( i)n satisfies the recurrence relation and the initial conditions. h n = i n [( 3 5i ) + ( 3+5i )( 1)n ] = i n [( 3 )(1 + ( 1)n ) + ( 5i )( 1 + ( 1)n )] h j = ( 3 5i )ij + ( 3+5i )( i)j = 3( 1) j h j+1 = ( 3 5i )ij+1 + ( 3+5i )( i)j+1 = 5(i) j+ = 5( 1) j Thus starting with h 0, we have the sequence: 3, 5, -3, -5, 3, 5, -3, -5, 3, 5, -3, -5, 3, 5,...

3 Ex: Solve the recurrence relation, h n h n 1 + h n 3 h n 4 = 0, h 0 = 3, h 1 = 3, h = 7, h 3 = 15. Guess q n is a solution. q n q n 1 + q n 3 q n 4 = q n 4 (q 4 q 3 + q 1) = 0, q n 4 (q 3 3q + 3q 1)(q + 1) = q n 4 (q 1) 3 (q + 1) = 0 q = 1, 1, 1, -1 Note: 1 is a repeated root Note n j (1) n, j = 0, 1,, are solutions to the recurrence relation. Check: If h n = (1) n = 1: = 0. Check: If h n = n(1) n = n: n (n 1) + (n 3) (n 4) = n n + n n = 0 Check: If h n = n (1) n = n : n (n 1) + (n 3) (n 4) = n (n n + 1) + (n 6n + 9) (n 8n + 16) = 0 General solution h n = c 1 (1) n + c n(1) n + c 3 n (1) n + c 4 ( 1) n = c 1 + c n + c 3 n + c 4 ( 1) n Now need to find c i s resulting in initial conditions: h 0 = 3 = c 1 + c 4 h 1 = 3 = c 1 + c + c 3 c 4 h = 7 = c 1 + c + 4c 3 + c 4 h 3 = 15 = c 1 + 3c + 9c 3 c 4

4 h 0 = 3 = c 1 + c 4 h 1 = 3 = c 1 + c + c 3 c 4 h = 7 = c 1 + c + 4c 3 + c 4 h 3 = 15 = c 1 + 3c + 9c 3 c Thus c 1 = 3, c =, c 3 =, c 4 = h n = c 1 + c n + c 3 n + c 4 ( 1) n = 3 n + n Hence h n = 3 n + n Check Initial Conditions: h 0 = 3, h 1 = 3, h = 7, h 3 = 15 h 0 = = 3 h 1 = 3 + = 3, h = = 7 h 3 = = 15.

5 7.4: linear homogeneous recurrence relation: h n a 1 h n 1 a h n... a k h n k = 0 Suppose ϕ(n) and ψ(n) are solns to the above recurrence relation, then Claim 1: cϕ(n) is a solution for any constant c Claim : ϕ(n) + ψ(n) is also a solution. Hence if ϕ i (n) are solns, then Σc i ϕ i (n) is a soln for any constants c i.

6 Thm 7.4.1: Suppose a i are constants and q 0. Then q n is a solution to h n a 1 h n 1 a h n... a k h n k = 0 iff q is a root of the polynomial equation x k a 1 x k 1 a x k... a k = 0 If this characteristic equation has k distinct roots, q 1, q,..., q k, then h n = c 1 q n 1 + c q n c k q n k is the general solution. I.e, given any initial values for h 0, h 1,..., h k 1, there exists c 1, c,..., c k such that h n = c 1 q1 n + c q n c k qk n satisfies the recurrence relation and the initial conditions. Thm 7.4.: Suppose q i is an s i -fold root of the characteristic equation. Then H i (n) = c 1 q n i + c nq n i c s i n s i 1 q n i is a solution to the recurrence relation. If the characteristic equation has t distinct roots q 1,..., q t with multiplicity s 1,..., s t, respectively, then h n = H 1 (n) +...H t (n) is a general solution.

7 7.5: Non-homogeneous Recurrence Relations. h n a 1 h n 1 a h n... a k h n k = b Let k(h) = h n a 1 h n 1 a h n... a k h n k Suppose ϕ is a solution to the recurrence relation k(h) = 0 and β is a solution to the recurrence relation k(h) = b. Claim: ϕ + β is a solution to To solve a non-homogeneous recurrence relation. Step 1: Solve homogeneous equation. Recall if constant coeffficents, guess h n = q n for homogeneous eq n. Step : Guess a solution to non-homogeneous equation, by guessing a solution β n similar to b(n). Step 3a: Note general solution is c i ϕ i (n) + β(n). Step 3b: Find c i using initial conditions. Ex: Solve the recurrence relation: h n + h n = 14n, h 0 = 3, h 1 = 5 Step 1: Guess q n is a solution to homogeneous equation: h n + h n = 0. q n + q n = q n (q + 1) = 0 q + 1 = 0 implies q = ±i Thus the general solution to homogeneous equation is h n = c 1 i n + c ( i) n

8 Step : Guess a solution to non-homogeneous equation: Guess β n = xn + y. h n + h n = 14n Plug β n into non-homogeneous equation: [xn + y] + [x(n ) + y] = 14n Solve for x and y: xn + y x = 14n implies x = 7 and y = 7. Thus a solution to non-homogeneous equation is β(n) = 7n + 7. Step 3a: Note general soln to non-homogeneous equation is h n = c 1 i n + c ( i) n + 7n + 7 Step 3b: Find c i using initial conditions. h n + h n = 14n, h 0 = 3, h 1 = 5 h 0 = 3: c 1 i 0 + c ( i) 0 + 7(0) + 7 = 3 implies c 1 + c = 4 h 1 = 5: c 1 i 1 + c ( i) 1 + 7(1) + 7 = 5 implies ic 1 ic = 9 c 1 + c = 4 c 1 + c = 9i implies c 1 = 4+9i = + 9i and c = 4 9i = 9i h n = ( + 9i )in + ( 9i )( i)n + 7n + 7 = (i n )[( )(1 + ( 1) n ) + ( 9i )(1 ( 1)n )] + 7n + 7 h j = ( 1) j ( 4) + 7(j) + 7 = 4( 1) j j h j+1 = (i j+1 )9i+7(j+1)+7 = (i j+ )9+14j+14 = 9( 1) j+1 +14j+14 Thus the sequence is 3, 5, 5, 37, 31, 33, 53, 65, 59, 61, 81, 93,...

Power Series Solutions We use power series to solve second order differential equations

Power Series Solutions We use power series to solve second order differential equations Objectives Power Series Solutions We use power series to solve second order differential equations We use power series expansions to find solutions to second order, linear, variable coefficient equations

More information

Math 475, Problem Set #8: Answers

Math 475, Problem Set #8: Answers Math 475, Problem Set #8: Answers A. Brualdi, problem, parts (a), (b), and (d). (a): As n goes from to 6, the sum (call it h n ) takes on the values,, 8, 2, 55, and 44; we recognize these as Fibonacci

More information

Partial proof: y = ϕ 1 (t) is a solution to y + p(t)y = 0 implies. Thus y = cϕ 1 (t) is a solution to y + p(t)y = 0 since

Partial proof: y = ϕ 1 (t) is a solution to y + p(t)y = 0 implies. Thus y = cϕ 1 (t) is a solution to y + p(t)y = 0 since Existence and Uniqueness for LINEAR DEs. Homogeneous: y (n) + p 1 (t)y (n 1) +...p n 1 (t)y + p n (t)y = 0 Non-homogeneous: g(t) 0 y (n) + p 1 (t)y (n 1) +...p n 1 (t)y + p n (t)y = g(t) 1st order LINEAR

More information

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

Exam 2 Solutions. x 1 x. x 4 The generating function for the problem is the fourth power of this, (1 x). 4 Math 5366 Fall 015 Exam Solutions 1. (0 points) Find the appropriate generating function (in closed form) for each of the following problems. Do not find the coefficient of x n. (a) In how many ways can

More information

Notes for Recitation 14

Notes for Recitation 14 6.04/18.06J Mathematics for Computer Science October 7, 006 Tom Leighton and Ronitt Rubinfeld Notes for Recitation 14 Guessing a Particular Solution A general linear recurrence has the form: fn) = b 1

More information

Math 192r, Problem Set #3: Solutions

Math 192r, Problem Set #3: Solutions Math 192r Problem Set #3: Solutions 1. Let F n be the nth Fibonacci number as Wilf indexes them (with F 0 F 1 1 F 2 2 etc.). Give a simple homogeneous linear recurrence relation satisfied by the sequence

More information

CSL105: Discrete Mathematical Structures. Ragesh Jaiswal, CSE, IIT Delhi

CSL105: Discrete Mathematical Structures. Ragesh Jaiswal, CSE, IIT Delhi Definition (Linear homogeneous recurrence) A linear homogeneous recurrence relation of degree k with constant coefficients is a recurrence relation of the form a n = c 1 a n 1 + c 2 a n 2 +... + c k a

More information

Recursion: Introduction and Correctness

Recursion: Introduction and Correctness Recursion: Introduction and Correctness CSE21 Winter 2017, Day 7 (B00), Day 4-5 (A00) January 25, 2017 http://vlsicad.ucsd.edu/courses/cse21-w17 Today s Plan From last time: intersecting sorted lists and

More information

1 (1 x) 4 by taking derivatives and rescaling appropriately. Conjecture what the general formula for the series for 1/(1 x) n.

1 (1 x) 4 by taking derivatives and rescaling appropriately. Conjecture what the general formula for the series for 1/(1 x) n. Math 365 Wednesday 3/20/9 8.2 and 8.4 Exercise 35. Consider the recurrence relation a n =8a n 2 6a n 4 + F (n). (a) Write the associated homogeneous recursion relation and solve for its general solution

More information

Recurrences COMP 215

Recurrences COMP 215 Recurrences COMP 215 Analysis of Iterative Algorithms //return the location of the item matching x, or 0 if //no such item is found. index SequentialSearch(keytype[] S, in, keytype x) { index location

More information

Some Review Problems for Exam 2: Solutions

Some Review Problems for Exam 2: Solutions Math 5366 Fall 017 Some Review Problems for Exam : Solutions 1 Find the coefficient of x 15 in each of the following: 1 (a) (1 x) 6 Solution: 1 (1 x) = ( ) k + 5 x k 6 k ( ) ( ) 0 0 so the coefficient

More information

Ch 5.7: Series Solutions Near a Regular Singular Point, Part II

Ch 5.7: Series Solutions Near a Regular Singular Point, Part II Ch 5.7: Series Solutions Near a Regular Singular Point, Part II! Recall from Section 5.6 (Part I): The point x 0 = 0 is a regular singular point of with and corresponding Euler Equation! We assume solutions

More information

Review for Exam 2. Review for Exam 2.

Review for Exam 2. Review for Exam 2. Review for Exam 2. 5 or 6 problems. No multiple choice questions. No notes, no books, no calculators. Problems similar to homeworks. Exam covers: Regular-singular points (5.5). Euler differential equation

More information

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

Algorithm Analysis Recurrence Relation. Chung-Ang University, Jaesung Lee Algorithm Analysis Recurrence Relation Chung-Ang University, Jaesung Lee Recursion 2 Recursion 3 Recursion in Real-world Fibonacci sequence = + Initial conditions: = 0 and = 1. = + = + = + 0, 1, 1, 2,

More information

Lecture 10: Powers of Matrices, Difference Equations

Lecture 10: Powers of Matrices, Difference Equations Lecture 10: Powers of Matrices, Difference Equations Difference Equations A difference equation, also sometimes called a recurrence equation is an equation that defines a sequence recursively, i.e. each

More information

Math 2142 Homework 5 Part 1 Solutions

Math 2142 Homework 5 Part 1 Solutions Math 2142 Homework 5 Part 1 Solutions Problem 1. For the following homogeneous second order differential equations, give the general solution and the particular solution satisfying the given initial conditions.

More information

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 =

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 = 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 = 0 a 1 = 2 0 + 1 = 1 a 2 = 2 1 + 1 = 3 a 3 = 2 3 + 1

More information

Recurrence relations. Warm-up: The Fibonacci sequence

Recurrence relations. Warm-up: The Fibonacci sequence 1 Recurrence relations Warm-up: The Fibonacci sequence The Fibonacci sequence is the sequence f n satisfying f 0 = 0, f 1 = 1 f n+2 = f n + f n+1 0,1,1,2,3,,8,13,21,34,,... Such an expression for a term

More information

Elementary Differential Equations, Section 2 Prof. Loftin: Practice Test Problems for Test Find the radius of convergence of the power series

Elementary Differential Equations, Section 2 Prof. Loftin: Practice Test Problems for Test Find the radius of convergence of the power series Elementary Differential Equations, Section 2 Prof. Loftin: Practice Test Problems for Test 2 SOLUTIONS 1. Find the radius of convergence of the power series Show your work. x + x2 2 + x3 3 + x4 4 + + xn

More information

A SUMMARY OF RECURSION SOLVING TECHNIQUES

A SUMMARY OF RECURSION SOLVING TECHNIQUES A SUMMARY OF RECURSION SOLVING TECHNIQUES KIMMO ERIKSSON, KTH These notes are meant to be a complement to the material on recursion solving techniques in the textbook Discrete Mathematics by Biggs. In

More information

CSCE 222 Discrete Structures for Computing. Dr. Hyunyoung Lee

CSCE 222 Discrete Structures for Computing. Dr. Hyunyoung Lee CSCE 222 Discrete Structures for Computing Sequences and Summations Dr. Hyunyoung Lee Based on slides by Andreas Klappenecker 1 Sequences 2 Sequences A sequence is a function from a subset of the set of

More information

Discrete Mathematics. Kishore Kothapalli

Discrete Mathematics. Kishore Kothapalli Discrete Mathematics Kishore Kothapalli 2 Chapter 4 Advanced Counting Techniques In the previous chapter we studied various techniques for counting and enumeration. However, there are several interesting

More information

1 Solving Linear Recurrences

1 Solving Linear Recurrences Solving Linear Recurrences Suppose we have a sequence a n defined by the formula The first couple terms of the sequence are a n = 3a n +, a 0 =, 4, 3, 40, 2,... Can you find a general closed for expression

More information

4 Linear Recurrence Relations & the Fibonacci Sequence

4 Linear Recurrence Relations & the Fibonacci Sequence 4 Linear Recurrence Relations & the Fibonacci Sequence Recall the classic example of the Fibonacci sequence (F n ) n=1 the relations: F n+ = F n+1 + F n F 1 = F = 1 = (1, 1,, 3, 5, 8, 13, 1,...), defined

More information

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.

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. Lecture One type of mathematical proof that goes everywhere is mathematical induction (tb 147). Induction is essentially used to show something is true for all iterations, i, of a sequence, where i N.

More information

6.2 SOLVING EASY RECURRENCES

6.2 SOLVING EASY RECURRENCES Section 6.2 Solving Easy Recurrences 6.2.1 6.2 SOLVING EASY RECURRENCES We identify a type of recurrence that can be solved by special methods. def: A recurrence relation a n = f(a 0,..., a n 1 ) has degree

More information

Tutorial 2 WANG PENG. Department of Systems Engineering and Engineering Management, The Chinese University of Hong Kong. September 28, 2017

Tutorial 2 WANG PENG. Department of Systems Engineering and Engineering Management, The Chinese University of Hong Kong. September 28, 2017 Tutorial 2 WANG PENG Department of Systems Engineering and Engineering Management, The Chinese University of Hong Kong September 28, 2017 WANG PENG (ENGG 2440B) Tutorial 2 September 28, 2017 1 / 17 Outline

More information

Part III, Sequences and Series CS131 Mathematics for Computer Scientists II Note 16 RECURRENCES

Part III, Sequences and Series CS131 Mathematics for Computer Scientists II Note 16 RECURRENCES CS131 Part III, Sequences and Series CS131 Mathematics for Computer Scientists II Note 16 RECURRENCES A recurrence is a rule which defines each term of a sequence using the preceding terms. The Fibonacci

More information

APPENDIX B GRAM-SCHMIDT PROCEDURE OF ORTHOGONALIZATION. Let V be a finite dimensional inner product space spanned by basis vector functions

APPENDIX B GRAM-SCHMIDT PROCEDURE OF ORTHOGONALIZATION. Let V be a finite dimensional inner product space spanned by basis vector functions 301 APPENDIX B GRAM-SCHMIDT PROCEDURE OF ORTHOGONALIZATION Let V be a finite dimensional inner product space spanned by basis vector functions {w 1, w 2,, w n }. According to the Gram-Schmidt Process an

More information

MATH 243E Test #3 Solutions

MATH 243E Test #3 Solutions MATH 4E Test # Solutions () Find a recurrence relation for the number of bit strings of length n that contain a pair of consecutive 0s. You do not need to solve this recurrence relation. (Hint: Consider

More information

Independence, Concentration, Bayes Theorem

Independence, Concentration, Bayes Theorem Independence, Concentration, Bayes Theorem CSE21 Winter 2017, Day 23 (B00), Day 15 (A00) March 10, 2017 http://vlsicad.ucsd.edu/courses/cse21-w17 Other functions? Expectation does not in general commute

More information

Learning Objectives

Learning Objectives Learning Objectives Learn about recurrence relations Learn the relationship between sequences and recurrence relations Explore how to solve recurrence relations by iteration Learn about linear homogeneous

More information

Abstract Algebra, HW6 Solutions. Chapter 5

Abstract Algebra, HW6 Solutions. Chapter 5 Abstract Algebra, HW6 Solutions Chapter 5 6 We note that lcm(3,5)15 So, we need to come up with two disjoint cycles of lengths 3 and 5 The obvious choices are (13) and (45678) So if we consider the element

More information

Math 115 HW #10 Solutions

Math 115 HW #10 Solutions Math 11 HW #10 Solutions 1. Suppose y 1 (t and y 2 (t are both solutions of the differential equation P (ty + Q(ty + R(ty = 0. Show that, for any constants C 1 and C 2, the function C 1 y 1 (t + C 2 y

More information

Week 9-10: Recurrence Relations and Generating Functions

Week 9-10: Recurrence Relations and Generating Functions Week 9-10: Recurrence Relations and Generating Functions April 3, 2017 1 Some number sequences An infinite sequence (or just a sequence for short is an ordered array a 0, a 1, a 2,..., a n,... of countably

More information

Cse547. Chapter 1 Problem 16 GENERALIZATION

Cse547. Chapter 1 Problem 16 GENERALIZATION Cse547 Chapter 1 Problem 16 GENERALIZATION Use the Repertoire method to solve the general fiveparameter recurrence: g(1) = α g(2n+ j) = 3g(n) + Ɛn 2 + γn + β j, for j = 0, 1 and n 1 and n є N Convert recursive

More information

Divisibility in the Fibonacci Numbers. Stefan Erickson Colorado College January 27, 2006

Divisibility in the Fibonacci Numbers. Stefan Erickson Colorado College January 27, 2006 Divisibility in the Fibonacci Numbers Stefan Erickson Colorado College January 27, 2006 Fibonacci Numbers F n+2 = F n+1 + F n n 1 2 3 4 6 7 8 9 10 11 12 F n 1 1 2 3 8 13 21 34 89 144 n 13 14 1 16 17 18

More information

Warm-up Simple methods Linear recurrences. Solving recurrences. Misha Lavrov. ARML Practice 2/2/2014

Warm-up Simple methods Linear recurrences. Solving recurrences. Misha Lavrov. ARML Practice 2/2/2014 Solving recurrences Misha Lavrov ARML Practice 2/2/2014 Warm-up / Review 1 Compute 100 k=2 ( 1 1 ) ( = 1 1 ) ( 1 1 ) ( 1 1 ). k 2 3 100 2 Compute 100 k=2 ( 1 1 ) k 2. Homework: find and solve problem Algebra

More information

Today s Outline. CS 362, Lecture 4. Annihilator Method. Lookup Table. Annihilators for recurrences with non-homogeneous terms Transformations

Today s Outline. CS 362, Lecture 4. Annihilator Method. Lookup Table. Annihilators for recurrences with non-homogeneous terms Transformations Today s Outline CS 362, Lecture 4 Jared Saia University of New Mexico Annihilators for recurrences with non-homogeneous terms Transformations 1 Annihilator Method Lookup Table Write down the annihilator

More information

DEF 1 Let V be a vector space and W be a nonempty subset of V. If W is a vector space w.r.t. the operations, in V, then W is called a subspace of V.

DEF 1 Let V be a vector space and W be a nonempty subset of V. If W is a vector space w.r.t. the operations, in V, then W is called a subspace of V. 6.2 SUBSPACES DEF 1 Let V be a vector space and W be a nonempty subset of V. If W is a vector space w.r.t. the operations, in V, then W is called a subspace of V. HMHsueh 1 EX 1 (Ex. 1) Every vector space

More information

Independence, Variance, Bayes Theorem

Independence, Variance, Bayes Theorem Independence, Variance, Bayes Theorem Russell Impagliazzo and Miles Jones Thanks to Janine Tiefenbruck http://cseweb.ucsd.edu/classes/sp16/cse21-bd/ May 16, 2016 Resolving collisions with chaining Hash

More information

Indistinguishable objects in indistinguishable boxes

Indistinguishable objects in indistinguishable boxes Counting integer partitions 2.4 61 Indistinguishable objects in indistinguishable boxes When placing k indistinguishable objects into n indistinguishable boxes, what matters? We are partitioning the integer

More information

Outlines. Discrete Time Markov Chain (DTMC) Continuous Time Markov Chain (CTMC)

Outlines. Discrete Time Markov Chain (DTMC) Continuous Time Markov Chain (CTMC) Markov Chains (2) Outlines Discrete Time Markov Chain (DTMC) Continuous Time Markov Chain (CTMC) 2 pj ( n) denotes the pmf of the random variable p ( n) P( X j) j We will only be concerned with homogenous

More information

Math 2602 Finite and Linear Math Fall 14. Homework 8: Core solutions

Math 2602 Finite and Linear Math Fall 14. Homework 8: Core solutions Math 2602 Finite and Linear Math Fall 14 Homework 8: Core solutions Review exercises for Chapter 5 page 183 problems 25, 26a-26b, 29. Section 8.1 on page 252 problems 8, 9, 10, 13. Section 8.2 on page

More information

and the compositional inverse when it exists is A.

and the compositional inverse when it exists is A. Lecture B jacques@ucsd.edu Notation: R denotes a ring, N denotes the set of sequences of natural numbers with finite support, is a generic element of N, is the infinite zero sequence, n 0 R[[ X]] denotes

More information

Notes for Recitation 14

Notes for Recitation 14 6.04/18.06J Mathematics for Computer Science October 4, 006 Tom Leighton and Marten van Dijk Notes for Recitation 14 1 The Akra-Bazzi Theorem Theorem 1 (Akra-Bazzi, strong form). Suppose that: is defined

More information

Data fitting. Ideal equation for linear relation

Data fitting. Ideal equation for linear relation Problem Most likely, there will be experimental error so you should take more than 2 data points, & they will not lie on a line so the ideal eqn above has no solution. The question is what is the best

More information

1 A first example: detailed calculations

1 A first example: detailed calculations MA4 Handout # Linear recurrence relations Robert Harron Wednesday, Nov 8, 009 This handout covers the material on solving linear recurrence relations It starts off with an example that goes through detailed

More information

8. Statistical Equilibrium and Classification of States: Discrete Time Markov Chains

8. Statistical Equilibrium and Classification of States: Discrete Time Markov Chains 8. Statistical Equilibrium and Classification of States: Discrete Time Markov Chains 8.1 Review 8.2 Statistical Equilibrium 8.3 Two-State Markov Chain 8.4 Existence of P ( ) 8.5 Classification of States

More information

i.e. the i-th column of A is the value of T at the i-th standard basis vector e i R n.

i.e. the i-th column of A is the value of T at the i-th standard basis vector e i R n. Aim lecture In first year you learnt that you can mutliply not only a (real matrix with a (real vector, but more generally, matrices together (of compatible sizes. Furthermore, you learnt the following

More information

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

Examples of Finite Sequences (finite terms) Examples of Infinite Sequences (infinite terms) Math 120 Intermediate Algebra Sec 10.1: Sequences Defn A sequence is a function whose domain is the set of positive integers. The formula for the nth term of a sequence is called the general term. Examples

More information

0.1 Problems to solve

0.1 Problems to solve 0.1 Problems to solve Homework Set No. NEEP 547 Due September 0, 013 DLH Nonlinear Eqs. reducible to first order: 1. 5pts) Find the general solution to the differential equation: y = [ 1 + y ) ] 3/. 5pts)

More information

2-Distance Problems. Combinatorics, 2016 Fall, USTC Week 16, Dec 20&22. Theorem 1. (Frankl-Wilson, 1981) If F is an L-intersecting family in 2 [n],

2-Distance Problems. Combinatorics, 2016 Fall, USTC Week 16, Dec 20&22. Theorem 1. (Frankl-Wilson, 1981) If F is an L-intersecting family in 2 [n], Combinatorics, 206 Fall, USTC Week 6, Dec 20&22 2-Distance Problems Theorem (Frankl-Wilson, 98 If F is an L-intersecting family in 2 [n], then F L k=0 ( n k Proof Let F = {A, A 2,, A m } where A A 2 A

More information

Discrete Math. Instructor: Mike Picollelli. Day 10

Discrete Math. Instructor: Mike Picollelli. Day 10 Day 10 Fibonacci Redux. Last time, we saw that F n = 1 5 (( 1 + ) n ( 5 2 1 ) n ) 5. 2 What Makes The Fibonacci Numbers So Special? The Fibonacci numbers are a particular type of recurrence relation, a

More information

Convergence rates in generalized Zeckendorf decomposition problems

Convergence rates in generalized Zeckendorf decomposition problems Convergence rates in generalized Zeckendorf decomposition problems Ray Li (ryli@andrew.cmu.edu) 1 Steven J Miller (sjm1@williams.edu) 2 Zhao Pan (zhaop@andrew.cmu.edu) 3 Huanzhong Xu (huanzhox@andrew.cmu.edu)

More information

Algorithms CMSC The Method of Reverse Inequalities: Evaluation of Recurrent Inequalities

Algorithms CMSC The Method of Reverse Inequalities: Evaluation of Recurrent Inequalities Algorithms CMSC 37000 The Method of Reverse Inequalities: Evaluation of Recurrent Inequalities László Babai Updated 1-19-2014 In this handout, we discuss a typical situation in the analysis of algorithms:

More information

Ch. 7.6 Squares, Squaring & Parabolas

Ch. 7.6 Squares, Squaring & Parabolas Ch. 7.6 Squares, Squaring & Parabolas Learning Intentions: Learn about the squaring & square root function. Graph parabolas. Compare the squaring function with other functions. Relate the squaring function

More information

Lecture 15: Validity and Predicate Logic

Lecture 15: Validity and Predicate Logic Lecture 15: Validity and Predicate Logic 1 Goals Today Learn the definition of valid and invalid arguments in terms of the semantics of predicate logic, and look at several examples. Learn how to get equivalents

More information

Solutions to Tutorial 4 (Week 5)

Solutions to Tutorial 4 (Week 5) The University of Sydney School of Mathematics and Statistics Solutions to Tutorial 4 (Week 5) MATH2069/2969: Discrete Mathematics and Graph Theory Semester 1, 2018 1. Prove by induction that, for all

More information

Logic and Discrete Mathematics. Section 6.7 Recurrence Relations and Their Solution

Logic and Discrete Mathematics. Section 6.7 Recurrence Relations and Their Solution Logic and Discrete Mathematics Section 6.7 Recurrence Relations and Their Solution Slides version: January 2015 Definition A recurrence relation for a sequence a 0, a 1, a 2,... is a formula giving a n

More information

The well-known Fibonacci sequence is defined by a recurrence. Specifically,letF i denote the ith number. Then, we have:

The well-known Fibonacci sequence is defined by a recurrence. Specifically,letF i denote the ith number. Then, we have: Week 4 Recurrences (I) 4.1 The Fibonacci Sequence The well-known Fibonacci sequence is defined by a recurrence. Specifically,letF i denote the ith number. Then, we have: F 0 =0 (4.1) F 1 =1 (4.2) F n =

More information

Solutions to Practice Final 3

Solutions to Practice Final 3 s to Practice Final 1. The Fibonacci sequence is the sequence of numbers F (1), F (2),... defined by the following recurrence relations: F (1) = 1, F (2) = 1, F (n) = F (n 1) + F (n 2) for all n > 2. For

More information

THE EIGENVALUE PROBLEM

THE EIGENVALUE PROBLEM THE EIGENVALUE PROBLEM Let A be an n n square matrix. If there is a number λ and a column vector v 0 for which Av = λv then we say λ is an eigenvalue of A and v is an associated eigenvector. Note that

More information

Recursion. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007

Recursion. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007 Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Fall 2007 1 / 47 Computer Science & Engineering 235 to Discrete Mathematics Sections 7.1-7.2 of Rosen Recursive Algorithms 2 / 47 A recursive

More information

Homework #6 Solutions

Homework #6 Solutions Problems Section.1: 6, 4, 40, 46 Section.:, 8, 10, 14, 18, 4, 0 Homework #6 Solutions.1.6. Determine whether the functions f (x) = cos x + sin x and g(x) = cos x sin x are linearly dependent or linearly

More information

For a system with more than one electron, we can t solve the Schrödinger Eq. exactly. We must develop methods of approximation, such as

For a system with more than one electron, we can t solve the Schrödinger Eq. exactly. We must develop methods of approximation, such as VARIATIO METHOD For a system with more than one electron, we can t solve the Schrödinger Eq. exactly. We must develop methods of approximation, such as Variation Method Perturbation Theory Combination

More information

CSE 105 THEORY OF COMPUTATION

CSE 105 THEORY OF COMPUTATION CSE 105 THEORY OF COMPUTATION Spring 2016 http://cseweb.ucsd.edu/classes/sp16/cse105-ab/ Today's learning goals Sipser Ch 4.1, 5.1 Define reductions from one problem to another. Use reductions to prove

More information

ABC Conjecture Implies Infinitely Many non-x-fibonacci-wieferich Primes A Linear Case of Dynamical Systems

ABC Conjecture Implies Infinitely Many non-x-fibonacci-wieferich Primes A Linear Case of Dynamical Systems ABC Conjecture Implies Infinitely Many non-x-fibonacci-wieferich Primes A Linear Case of Dynamical Systems Jun-Wen Wayne Peng Department of Mathematics, University of Rochester 3/21/2016 1/40 Motivation

More information

Advanced Counting Techniques. Chapter 8

Advanced Counting Techniques. Chapter 8 Advanced Counting Techniques Chapter 8 Chapter Summary Applications of Recurrence Relations Solving Linear Recurrence Relations Homogeneous Recurrence Relations Nonhomogeneous Recurrence Relations Divide-and-Conquer

More information

MA Ordinary Differential Equations

MA Ordinary Differential Equations MA 108 - Ordinary Differential Equations Santanu Dey Department of Mathematics, Indian Institute of Technology Bombay, Powai, Mumbai 76 dey@math.iitb.ac.in March 26, 2014 Outline of the lecture Method

More information

4. Linear transformations as a vector space 17

4. Linear transformations as a vector space 17 4 Linear transformations as a vector space 17 d) 1 2 0 0 1 2 0 0 1 0 0 0 1 2 3 4 32 Let a linear transformation in R 2 be the reflection in the line = x 2 Find its matrix 33 For each linear transformation

More information

Recurrence Relations

Recurrence Relations Recurrence Relations Winter 2017 Recurrence Relations Recurrence Relations A recurrence relation for the sequence {a n } is an equation that expresses a n in terms of one or more of the previous terms

More information

Math Real Analysis II

Math Real Analysis II Math 432 - Real Analysis II Solutions to Homework due February 3 In class, we learned that the n-th remainder for a smooth function f(x) defined on some open interval containing is given by f (k) () R

More information

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

Sec$on Summary. Sequences. Recurrence Relations. Summations. Ex: Geometric Progression, Arithmetic Progression. Ex: Fibonacci Sequence Section 2.4 Sec$on Summary Sequences Ex: Geometric Progression, Arithmetic Progression Recurrence Relations Ex: Fibonacci Sequence Summations 2 Introduc$on Sequences are ordered lists of elements. 1, 2,

More information

Introduction to Time Series Analysis. Lecture 7.

Introduction to Time Series Analysis. Lecture 7. Last lecture: Introduction to Time Series Analysis. Lecture 7. Peter Bartlett 1. ARMA(p,q) models: stationarity, causality, invertibility 2. The linear process representation of ARMA processes: ψ. 3. Autocovariance

More information

Exact Solution of the Linear, 4D-Discrete, Implicit, Semi-Lagrangian Dynamic Equations with Orographic Forcing

Exact Solution of the Linear, 4D-Discrete, Implicit, Semi-Lagrangian Dynamic Equations with Orographic Forcing 1 Exact Solution of the Linear, 4D-Discrete, Implicit, Semi-Lagrangian Dynamic Equations with Orographic Forcing Marko Zirk, Rein Rõõm Tartu University, Estonia Marko.Zirk@ut.ee, Rein.Room@ut.ee 1 1 Introduction

More information

Linear Homogeneous ODEs of the Second Order with Constant Coefficients. Reduction of Order

Linear Homogeneous ODEs of the Second Order with Constant Coefficients. Reduction of Order Linear Homogeneous ODEs of the Second Order with Constant Coefficients. Reduction of Order October 2 6, 2017 Second Order ODEs (cont.) Consider where a, b, and c are real numbers ay +by +cy = 0, (1) Let

More information

Rank & nullity. Defn. Let T : V W be linear. We define the rank of T to be rank T = dim im T & the nullity of T to be nullt = dim ker T.

Rank & nullity. Defn. Let T : V W be linear. We define the rank of T to be rank T = dim im T & the nullity of T to be nullt = dim ker T. Rank & nullity Aim lecture: We further study vector space complements, which is a tool which allows us to decompose linear problems into smaller ones. We give an algorithm for finding complements & an

More information

Kernel. Prop-Defn. Let T : V W be a linear map.

Kernel. Prop-Defn. Let T : V W be a linear map. Kernel Aim lecture: We examine the kernel which measures the failure of uniqueness of solns to linear eqns. The concept of linear independence naturally arises. This in turn gives the concept of a basis

More information

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 14 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 14 Notes Goals for this week Big-O complexity

More information

Factorization in Polynomial Rings

Factorization in Polynomial Rings Factorization in Polynomial Rings Throughout these notes, F denotes a field. 1 Long division with remainder We begin with some basic definitions. Definition 1.1. Let f, g F [x]. We say that f divides g,

More information

Perfect numbers among polynomial values

Perfect numbers among polynomial values Perfect numbers among polynomial values Oleksiy Klurman Université de Montréal June 8, 2015 Outline Classical results Radical of perfect number and the ABC-conjecture Idea of the proof Let σ(n) = d n d.

More information

Sequences of Real Numbers

Sequences of Real Numbers Chapter 8 Sequences of Real Numbers In this chapter, we assume the existence of the ordered field of real numbers, though we do not yet discuss or use the completeness of the real numbers. In the next

More information

CS 361, Lecture 14. Outline

CS 361, Lecture 14. Outline Bucket Sort CS 361, Lecture 14 Jared Saia University of New Mexico Bucket sort assumes that the input is drawn from a uniform distribution over the range [0, 1) Basic idea is to divide the interval [0,

More information

CDM. Recurrences and Fibonacci

CDM. Recurrences and Fibonacci CDM Recurrences and Fibonacci Klaus Sutner Carnegie Mellon University 20-fibonacci 2017/12/15 23:16 1 Recurrence Equations Second Order The Fibonacci Monoid Recurrence Equations 3 We can define a sequence

More information

q xk y n k. , provided k < n. (This does not hold for k n.) Give a combinatorial proof of this recurrence by means of a bijective transformation.

q xk y n k. , provided k < n. (This does not hold for k n.) Give a combinatorial proof of this recurrence by means of a bijective transformation. Math 880 Alternative Challenge Problems Fall 2016 A1. Given, n 1, show that: m1 m 2 m = ( ) n+ 1 2 1, where the sum ranges over all positive integer solutions (m 1,..., m ) of m 1 + + m = n. Give both

More information

dynamical Diophantine approximation

dynamical Diophantine approximation Dioph. Appro. Dynamical Dioph. Appro. in dynamical Diophantine approximation WANG Bao-Wei Huazhong University of Science and Technology Joint with Zhang Guo-Hua Central China Normal University 24-28 July

More information

Matrix-valued functions

Matrix-valued functions Matrix-valued functions Aim lecture: We solve some first order linear homogeneous differential equations using exponentials of matrices. Recall as in MATH2, the any function R M mn (C) : t A(t) can be

More information

Sec 2.2: Infinite Limits / Vertical Asymptotes Sec 2.6: Limits At Infinity / Horizontal Asymptotes

Sec 2.2: Infinite Limits / Vertical Asymptotes Sec 2.6: Limits At Infinity / Horizontal Asymptotes Sec 2.2: Infinite Limits / Vertical Asymptotes Sec 2.6: Limits At Infinity / Horizontal Asymptotes Sec 2.2: Infinite Limits / Vertical Asymptotes Sec 2.6: Limits At Infinity / Horizontal Asymptotes Infinite

More information

Sec 2.2: Infinite Limits / Vertical Asymptotes Sec 2.6: Limits At Infinity / Horizontal Asymptotes

Sec 2.2: Infinite Limits / Vertical Asymptotes Sec 2.6: Limits At Infinity / Horizontal Asymptotes Sec 2.2: Infinite Limits / Vertical Asymptotes Sec 2.6: Limits At Infinity / Horizontal Asymptotes Sec 2.2: Infinite Limits / Vertical Asymptotes Sec 2.6: Limits At Infinity / Horizontal Asymptotes Infinite

More information

Recitation 9: Probability Matrices and Real Symmetric Matrices. 3 Probability Matrices: Definitions and Examples

Recitation 9: Probability Matrices and Real Symmetric Matrices. 3 Probability Matrices: Definitions and Examples Math b TA: Padraic Bartlett Recitation 9: Probability Matrices and Real Symmetric Matrices Week 9 Caltech 20 Random Question Show that + + + + +... = ϕ, the golden ratio, which is = + 5. 2 2 Homework comments

More information

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

1 = k1 + k 2 2 = 3k 1 + 5k 2 8..4. (a) Find the specific solution of a n = a n 1 + 1a n with initial conditions a 0 = 1 and a 1 =. The characteristic polynomial of this recurrence relation is x x 1, which has roots 3 and, so the general

More information

Matrix-valued functions

Matrix-valued functions Matrix-valued functions Aim lecture: We solve some first order linear homogeneous differential equations using exponentials of matrices. Recall as in MATH2, the any function R M mn (C) : t A(t) can be

More information

Differential equations

Differential equations Differential equations Math 7 Spring Practice problems for April Exam Problem Use the method of elimination to find the x-component of the general solution of x y = 6x 9x + y = x 6y 9y Soln: The system

More information

CDM. Recurrences and Fibonacci. 20-fibonacci 2017/12/15 23:16. Terminology 4. Recurrence Equations 3. Solution and Asymptotics 6.

CDM. Recurrences and Fibonacci. 20-fibonacci 2017/12/15 23:16. Terminology 4. Recurrence Equations 3. Solution and Asymptotics 6. CDM Recurrences and Fibonacci 1 Recurrence Equations Klaus Sutner Carnegie Mellon University Second Order 20-fibonacci 2017/12/15 23:16 The Fibonacci Monoid Recurrence Equations 3 Terminology 4 We can

More information

DEDEKIND S TRANSPOSITION PRINCIPLE

DEDEKIND S TRANSPOSITION PRINCIPLE DEDEKIND S TRANSPOSITION PRINCIPLE AND PERMUTING SUBGROUPS & EQUIVALENCE RELATIONS William DeMeo williamdemeo@gmail.com University of South Carolina Zassenhaus Conference at WCU Asheville, NC May 24 26,

More information

Linear Differential Equation (1st Order)

Linear Differential Equation (1st Order) Linear Differential Equation (1st Order) First Order Linear Differential Equation is an equation of the form y' Cp y = q For q = 0, this is a homogeneous equation and the solution is in the form of: y

More information

Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems!

Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems! Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems! Steven J Miller, Williams College Steven.J.Miller@williams.edu http://www.williams.edu/go/math/sjmiller CANT 2010, CUNY, May 29, 2010 Summary

More information

Haar wavelets. Set. 1 0 t < 1 0 otherwise. It is clear that {φ 0 (t n), n Z} is an orthobasis for V 0.

Haar wavelets. Set. 1 0 t < 1 0 otherwise. It is clear that {φ 0 (t n), n Z} is an orthobasis for V 0. Haar wavelets The Haar wavelet basis for L (R) breaks down a signal by looking at the difference between piecewise constant approximations at different scales. It is the simplest example of a wavelet transform,

More information

Radial eigenvectors of the Laplacian of the nonbinary hypercube

Radial eigenvectors of the Laplacian of the nonbinary hypercube Radial eigenvectors of the Laplacian of the nonbinary hypercube Murali K. Srinivasan Department of Mathematics Indian Institute of Technology, Bombay Powai, Mumbai 400076, INDIA mks@math.iitb.ac.in murali.k.srinivasan@gmail.com

More information