9.1 First-order difference equations
- Definition
-
A first-order difference equation is an equation
xt = f(t, xt−1),where f is a function of two variables. A solution of the first-order difference equation xt = f(t, xt−1) is a function x of a single variable whose domain is the set of integers such that xt = f(t, xt−1) for every integer t, where xt denotes the value of x at t.
We can find a solution of a first-order difference equation by successive calculation: given the value of x for some value of t, we can use the equation to find the value of x at the next value of t, and then use the equation again to find the value of x at the following value of t, and so forth. For example, given the value x0 of x at 0, we have
x1 | = | f(1, x0) |
x2 | = | f(2, x1) = f(2, f(1, x0)) |
and so on. |
- Proposition 9.1.1
- For every number x0, every first-order difference equation xt = f(t, xt−1) has a unique solution in which the value of x is x0 at 0.
First-order linear difference equations with constant coefficient
- Definition
-
A linear first-order difference equation with constant coefficient is a first-order difference equation for which
f(t, xt−1) = axt−1 + btfor numbers a and bt, t = 1, ....
If you use the method of successive calculation, you notice a pattern; you can guess that the solution takes the form
k=1at−kbk for all t.
axt−1 + bt | = | a(at−1x0 +
∑t−1 k=1at−1−kbk) + bt |
= | atx0 + ∑t−1 k=1at−kbk + bt |
|
= | atx0 + ∑t k=1at−kbk |
|
= | xt, |
- Proposition 9.1.2
-
For any given value of x0, the unique solution of the linear first-order difference equation with constant coefficient
xt = axt−1 + btis given byxt = atx0 + ∑tif a ≠ 0 and xt = bt for all t if a = 0.
k=1at−kbk for all t
j=0aj for all t.
- Proposition 9.1.3
-
For any given value of x0, the unique solution of the linear first-order difference equation with constant coefficient
xt = axt−1 + bis given byxt = at(x0 − b/(1 − a)) + b/(1 − a) for all tif a ≠ 0 and a ≠ 1, by xt = b for all t if a = 0, and by xt = x0 + tb if a = 1.
Equilibrium and stability
An equilibrium of a first-order difference equilibrium is defined in the same way as an equilibrium of a first-order initial value problem: a value x* of the variable such that the equation has a solution in which the variable is equal to x* for all t.- Definition
-
If for some value x* of x0 the first-order difference equation
xt = f(t, xt−1)has a solution that is equal to x* for all t, x* is an equilibrium of the equation.
- Proposition 9.1.4
-
The linear first-order difference equation with constant coefficient
xt = axt−1 + bwith a ≠ 1 has a unique equilibrium, b/(1 − a).
An equilibrium of a first-order difference equation, like an equilibrium of a first-order differential equation, is stable if the solution of the equation converges to the equilibrium for all initial conditions.
- Definition
-
If, for every value of x0, the solution of the linear first-order difference equation with constant coefficient
xt = axt−1 + bwith a ≠ 1 converges to the equilibrium b/(1 − a) as t increases without bound, then the equilibrium is (globally) stable.
By a previous result, the solution of a first-order difference equation of the form xt = axt−1 + b is
If |a| > 1, the absolute value of xt increases without bound, so that the equilibrium is not stable: the system “explodes”. If a > 1 then xt is monotone—if x0 < b/(1 − a) it decreases, and if x0 > b(/1 − a) it increases—and if a < −1 then xt oscillates.
Thus we have the following result.
- Proposition 9.1.5
-
The solution of the linear first-order difference equation with constant coefficient
xt = axt−1 + bwith a ≠ 1 behaves as follows.
- |a| < 1
- Solution converges to the equilibrium b/(1 − a) (equilibrium is stable)
- 0 < a < 1
- Solution is monotonic
- −1 < a < 0
- Solution oscillates, with decreasing amplitude
- |a| > 1
- Solution diverges
- a > 1
- Divergence is monotonic
- a < −1
- Solution oscillates, with increasing amplitude.
- Example 9.1.1
-
Suppose that demand depends upon the current price
Dt = max{γ − δpt, 0},where γ > 0 and δ > 0, whereas supply depends on the previous priceSt = max{(pt−1 − α)/β, 0},where α > 0 and β > 0. (Maybe the lag exists because production takes time—think of agricultural production.) Demand and supply are each specified not simply as a linear function, but the maximum of the value of a linear function and zero, because neither of them can be negative.
The following argument assumes that pt starts in the range for which the both demand and supply are positive, and remains in this range, so that only the linear parts of the specifications are relevant.
For equilibrium in period t we need Dt = St, so that
pt = −(1/(βδ))pt−1 + (α + βγ)/(βδ),a first-order difference equation with constant coefficient. The equilibrium price isp* = (α + βγ)/(1 + βδ),so from a previous result, we can write the solution aspt = p* + (−1/(βδ))t(p0 − p*).From another result, the equilibrium is stable ifβδ > 1.A solution path for such parameters is shown in the following figure.If the system is unstable, then eventually a boundary is reached, and the linear parts of the specifications of Dt and St are no longer relevant.
- Example 9.1.2
-
You have assets of $z0. You can earn a constant rate of return r on these assets. That is, after t years you will have (1 + r)tz0 if you do not consume any assets. The rate of inflation is i, where i < r. In each period t ≥ 1 you withdraw an amount of money
equivalent in purchasing power to y in period 1. (That is, you withdraw y(1 + i)t−1 in each period t.)
- How long will your assets last if r = 0.08, i = 0.04, y = $50,000, and z0 = 1,000,000?
- How large do you assets need to be to last for 30 years of retirement if you want to withdraw $80,000 per year during retirement (with r = 0.08 and i = 0.04)?
zt = (1 + r)zt−1 − (1 + i)t−1y,a first-order difference equation with constant coefficient. So by a previous result we havezt = (1 + r)tz0 − ∑t
k=1(1 + r)t−k(1 + i)k−1y= (1 + r)tz0 − y(1 + r)t−1[1 − ((1 + i)/(1 + r))t]/[1 − (1 + i)/(1 + r)], zt = (1 + r)tz0 − ∑t
k=1(1 + r)t−k(1 + i)k−1y= (1 + r)tz0 − y(1 + r)t−1 × [1 − ((1 + i)/(1 + r))t]/[1 − (1 + i)/(1 + r)], zt = (1 + r)tz0 − y(1 + r)t[1 − ((1 + i)/(1 + r))t]/(r − i) = (1 + r)t[z0 − y(1 − ((1 + i)/(1 + r))t)/(r − i)]. z0 = (y/(r−i))(1 − ((1 + i)/(1 + r))t).Hencet = log(1−(r−i)z0/y) log((1 + i)/(1 + r)) .
First-order linear difference equations with variable coefficient
The solution of the equations=ras denotes the product arar+1···at if r ≤ t and is taken to be 1 if r > t. The result can be proved by checking that the solution satisfies the equation.
- Proposition 9.1.6
-
For any given value x0, the unique solution of the first-order difference equation
xt = atxt−1 + btis given byxt = (Πtif at ≠ 0 for all t.
s=1as)x0 + ∑t
k=1(Πt
s=k+1as)bk for all t
- Example 9.1.3
-
Modify the previous example by allowing the rate of return and rate of inflation to depend on t. Denoting the rate of return and rate of inflation in period t by rt and it respectively, the relation between assets in periods t and t − 1 is
zt = (1 + rt)zt−1 − Πt−1(The second term on the right-hand side is the amount of money in period t that has the same purchasing power as y in period 1.)
s=1(1 + is)y.By the previous result, the solution of this difference equation is given by
zt = (Πt
s=1(1 + rs))z0 −∑t for all t.
k=1(Πt
s=k+1(1 + rs))(Πk−1
s=1(1 + is))y