Docsity

Introduction to Difference Equations - Lecture Notes | MATH 5110, Study notes of Mathematics

Toggle sidebar
bg1
Introduction to Difference Equations
Berton Earnshaw
February 23, 2005
1 The Difference Equation ∆an=nk
The Take Home exercises are examples of difference equations. As you might
guess, a difference equation is an equation that contains sequence differences.
We solve a difference equation by finding a sequence that satisfies the equation,
and we call that sequence a solution of the equation.
The first three Take Home exercises ask for the solutions to difference equa-
tions of the form
∆an=nk
where kis some natural number. As the solutions hinted (and you may have
found for yourself), these equations are very easy to solve if we can express nk
in terms of falling factorials. Recall that a falling factorial is defined as
nk=n!
(n−k)! =n(n−1)(n−2) ···(n−k+ 2)(n−k+ 1).
Thus
n0= 1
n1=n
n2=n(n−1) = n2−n
n3=n(n−1)(n−2) = n3−3n2+ 2n
.
.
.
Using these relationships, we can write
1 = n0
n=n1
n2=n2−n+n=n2+n1
n3=n3−3n2+ 2n+ 3(n2−n) + n=n3+ 3n2+n1
.
.
.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Introduction to Difference Equations - Lecture Notes | MATH 5110 and more Study notes Mathematics in PDF only on Docsity!

Introduction to Difference Equations

Berton Earnshaw

February 23, 2005

1 The Difference Equation ∆an = nk

The Take Home exercises are examples of difference equations. As you might guess, a difference equation is an equation that contains sequence differences. We solve a difference equation by finding a sequence that satisfies the equation, and we call that sequence a solution of the equation. The first three Take Home exercises ask for the solutions to difference equa- tions of the form ∆an = nk

where k is some natural number. As the solutions hinted (and you may have found for yourself), these equations are very easy to solve if we can express nk in terms of falling factorials. Recall that a falling factorial is defined as

nk^ =

n! (n − k)!

= n(n − 1)(n − 2) · · · (n − k + 2)(n − k + 1).

Thus

n^0 = 1 n^1 = n n^2 = n(n − 1) = n^2 − n n^3 = n(n − 1)(n − 2) = n^3 − 3 n^2 + 2n .. .

Using these relationships, we can write

1 = n^0 n = n^1 n^2 = n^2 − n + n = n^2 + n^1 n^3 = n^3 − 3 n^2 + 2n + 3(n^2 − n) + n = n^3 + 3n^2 + n^1 .. .

and if we had the time, we could write every monomial nk^ as a linear combination of the falling factorials n^0 , n^1 ,... , nk. How does this help us find a solution to ∆an = nk? Simply because the difference equation ∆bn = nk^ is really easy to solve. Remember that

∆nk+1^ = (k + 1)nk

when k ≥ 0. Thus

bn =

k + 1

nk+

is a solution of ∆bn = nk. So, to solve ∆cn = n, for example, we just remember that n = n^1 and solve

∆cn = n^1

which has

cn =

n^2

as a solution. To solve ∆dn = n^2 , we write n^2 = n^2 + n^1 and solve

∆dn = n^2 + n^1

which has

dn =

n^3 +

n^2

as a solution. To solve ∆en = n^3 , we write n^3 = n^3 + 3n^2 + n^1 and solve

∆en = n^3 + 3n^2 + n^1

which has

en =

n^4 + n^3 +

n^2

as a solution. You may be wondering whether or not these are the only solutions to these difference equations. In fact, they are not. To find out what the other solutions are, we need to a few results.

Lemma 1. The only solutions to the difference equation ∆an = 0 are the constant sequences an = c for some number c.

Proof. ∆an = 0 means an+1 − an = 0, or an+1 = an, for all n. Thus a 0 = a 1 = a 2 = · · · = an = · · ·.

Theorem 1. Let an and bn be sequences such that ∆an = ∆bn. Then an = bn + c for some number c.

1.1 Exercises

Find all the solutions for the following difference equations. You may leave your solution in terms of falling factorials.

  1. ∆an = n^4
  2. ∆bn = 2n^2 − n + 4

1.2 Solutions

  1. We begin by noting that

n^4 = n(n − 1)(n − 2)(n − 3) = n^4 − 6 n^3 + 11n^2 − 6 n

so

n^4 = n^4 − 6 n^3 + 11n^2 − 6 n + 6(n^3 − 3 n^2 + 2n) + 7(n^2 − n) + n = n^4 + 6n^3 + 7n^2 + n^1

Thus a solution of ∆an = n^4 is

an =

n^5 +

n^4 +

n^3 +

n^2.

Therefore, all the solutions are represented by

an + c =

n^5 +

n^4 +

n^3 +

n^2 + c

where c is any constant.

  1. We write

2 n^2 − n + 4 = 2(n^2 + n^1 ) − n^1 + 4n^0 = 2n^2 − n^1 + 4n^0.

Thus a solution of ∆bn = 2n^2 − n + 4 is

bn =

n^3 −

n^2 + 4n^1.

Therefore, all the solutions are represented by

bn + c =

n^3 −

n^2 + 4n^1 + c

where c is any constant.

2.1 Exercises

  1. Find all the solutions of the difference equation ∆an = λan, where λ is some real number. What happens to the solutions when λ = −1?
  2. Find a solution to the difference equation ∆bn = bn + 1.

2.2 Solutions

  1. The solutions of the difference equation ∆an = λan are

(a) an = c(1 + λ)n^ when λ 6 = −1 (here c is an arbitrary constant); (b) the zero sequence an = 0 when λ = −1.

Proof. ∆an = λan is equivalent to the equation

an+1 − (1 + λ)an = 0.

If λ 6 = −1, then 1 + λ 6 = 0, and we can divide through our equation by (1 + λ)n+1, giving us the difference equation

∆

an (1 + λ)n^

By Lemma 1, (^) (1+anλ)n = c for some constant c, and so

an = c(1 + λ)n.

If λ = −1, then we see that

0 = an+1 − (1 + λ)an = an+

for all n.

  1. bn = −1, for example

3.1 Exercises

  1. Find all the solutions of the difference equation ∆an = λan + 1, where λ is some real number. What happens to the solutions when λ = 0 or λ = −1?
  2. Find all the solutions of the difference equation ∆bn = bn + 2.

3.2 Solutions

  1. The solutions to the difference equation ∆an = λan + 1 are

(a) an = c(1 + λ)n^ − 1 when λ 6 = −1 and λ 6 = 0, where c is any constant; (b) an = n + c when λ = 0, where c is any constant; (c) the constant sequence an = 1 when λ = −1.

Proof. We already saw in Exercise 2.1.1 that the solutions of ∆dn = λdn are

(a) c(1 + λ)n^ when λ 6 = −1, for any constant c, and (b) the zero sequence 0 when λ = −1.

Notice that if λ 6 = 0, then − λ^1 is a particular solution of our difference equation. By a theorem similar to Theorem 3,

c(1 + λ)n^ −

λ represents all the solutions of ∆an = λan + 1 when λ 6 = −1 and λ 6 = 0. Of course, when λ = 0, our difference equation reduces to ∆an = 1, which we can solve by the method of falling fractions, since 1 = n^0. Thus n + c represents all solutions in this case. When λ = −1, we see that

1 = an+1 − (1 + λ)an = an+

for all n.

  1. The constant sequence −2 is a particular solution of ∆bn = bn + 2 (try it!). Therefore, by a theorem similar to Theorem 3, c 2 n^ − 2 represents all the solutions of ∆bn = bn + 2, where c is any constant.

This is a huge number! If the priests worked day and night, making one move every second it would take slightly more than 580 billion years to accomplish the job! This is an enormous amount of time, considering that the generally accepted age of the Earth (and the rest of our solar system) is about 4.55 billion years 2.

(^2) http://www.talkorigins.org/faqs/faq-age-of-earth.html