Docsity

Recurrent Sequences: Difference Equations and Differential Equations - Prof. Junping Shi, Study notes of Differential Equations

Toggle sidebar
bg1
Recurrent Sequences
(difference equations and differential equations)
Quick review of Math 302 (Differential Equations):
(1) y00 =Ay0+By , y(0) = a0, y0(0) = a1,
for which the solution is
(2) y(t) = c1eλ1t+c2eλ2t,
where λ1and λ2are the roots of quadratic characteristic equation λ2=Aλ +B. If λ1=λ2,
then the solution is
(3) y(t) = c1eλ1t+c2teλ1t.
Recurrence relations
A recurrent sequence {xn}is defined as
(4) xn+k=f(xn, xn+1, xn+2,· · · , xn+k−1), x0=a0, x1=a1,· · · ,xk−1=ak−1.
(4) is also called a difference equation. The number kis the order of the equation (or
relation). A k-th order linear recurrent sequence is generated by a linear equation:
xn+k=bnxn+bn+1xn+1 +bn+2xn+2 +· · · +bn+k−1xn+k−1,
x0=a0, x1=a1,· · · , xk−1=ak−1.
(5)
The most common ones are first order recurrent sequence:
(6) xn+1 =f(n, xn), x0=a0,
or second order recurrent sequence:
(7) xn+2 =f(n, xn, xn+1), x0=a0, x1=a1.
An autonomous first order recurrent sequence:
(8) xn+1 =f(xn), x0=a0,
is also often called a map.
Linear recurrence relations
The theory of linear recurrent sequence is very similar to that of linear ordinary differ-
ential equation. For example, a second order linear recurrent sequence:
(9) xn+2 =Axn+Bxn+1 , x0=a0, x1=a1.
1
pf3

Partial preview of the text

Download Recurrent Sequences: Difference Equations and Differential Equations - Prof. Junping Shi and more Study notes Differential Equations in PDF only on Docsity!

Recurrent Sequences

(difference equations and differential equations)

Quick review of Math 302 (Differential Equations):

(1) y′′^ = Ay′^ + By, y(0) = a 0 , y′(0) = a 1 ,

for which the solution is

(2) y(t) = c 1 eλ^1 t^ + c 2 eλ^2 t,

where λ 1 and λ 2 are the roots of quadratic characteristic equation λ^2 = Aλ + B. If λ 1 = λ 2 , then the solution is

(3) y(t) = c 1 eλ^1 t^ + c 2 teλ^1 t.

Recurrence relations

A recurrent sequence {xn} is defined as

(4) xn+k = f (xn, xn+1, xn+2, · · · , xn+k− 1 ), x 0 = a 0 , x 1 = a 1 , · · · , xk− 1 = ak− 1.

(4) is also called a difference equation. The number k is the order of the equation (or relation). A k-th order linear recurrent sequence is generated by a linear equation:

xn+k = bnxn + bn+1xn+1 + bn+2xn+2 + · · · + bn+k− 1 xn+k− 1 , x 0 = a 0 , x 1 = a 1 , · · · , xk− 1 = ak− 1.

The most common ones are first order recurrent sequence:

(6) xn+1 = f (n, xn), x 0 = a 0 ,

or second order recurrent sequence:

(7) xn+2 = f (n, xn, xn+1), x 0 = a 0 , x 1 = a 1.

An autonomous first order recurrent sequence:

(8) xn+1 = f (xn), x 0 = a 0 ,

is also often called a map.

Linear recurrence relations

The theory of linear recurrent sequence is very similar to that of linear ordinary differ- ential equation. For example, a second order linear recurrent sequence:

(9) xn+2 = Axn + Bxn+1, x 0 = a 0 , x 1 = a 1.

The solution is given by

(10) xn = c 1 λn 1 + c 2 λn 2 ,

where λ 1 and λ 2 are the roots of quadratic characteristic equation λ^2 = Aλ + B, and c 1 , c 2 are to be determined by the initial conditions. If λ 1 = λ 2 , then the solution is

(11) xn = c 1 λn 1 + c 2 nλn 1.

For non-homogeneous linear recurrent sequence:

(12) xn+2 = Axn + Bxn+1 + C, x 0 = a 0 , x 1 = a 1 ,

Notice that it is possible to make a change of variable yn = xn + k, so that yn satisfies (9), and k is determined by A, B and C.

Nonlinear recurrence relations

Since linear autonomous recurrent equations always have solution formulas, most prob- lems in mathematics competitions are either non-autonomous or nonlinear. However the methods for linear equation are still very useful, and sometimes non-autonomous or nonlin- ear maybe reduced to linear autonomous equation via certain smart change of variables. In general there is no explicit solution formula for non-autonomous or nonlinear equation, even for a simple equation like xn+1 = Axn(1 − xn) (Logistic equation). Indeed the solutions of logistic equation are chaotic when the parameter A is large. (If you have the textbook of Math 302 (Blanchard-Devaney-Hall: Differential Equations), Chapter 8 of that book has a good introduction for logistic equation.)

For the 1st order nonlinear autonomous recurrent equation xn+1 = f (xn), a fixed point x is the one satisfying x = f (x). Note that for such equation, xn+1 = f n(x 0 ), where f n(y) = f (f n−^1 (y)). So it is also often called iterated sequence. A fixed point x is attracting if f n(y) → x for all y near x, and it is repelling if f n(y) goes away from x for all y near x. (There are also fixed point neither attracting nor repelling.) A fixed point x is attracting if |f ′(x)| < 1, and it is repelling if |f ′(x)| > 1. The iterated sequence can be drawn in x − y coordinate system with so-called web diagram.

Finally, one can have a system of difference equations:

(13) xn+1 = Axn + Byn, yn+1 = Cxn + Dyn,

and the solution is given in a form (xn, yn) = (c 1 , c 2 )λn 1 + (c 3 , c 4 )λn 2 , and λ 1 , λ 2 are the eigenvalues of the matrix

A B

C D

Some web-links on difference equations: