Fundamentals of Difference Equations
1Introduction
This lecture explains how a difference equation relates values of an unknown sequence at discrete indices. Its primary example is the first-order relation between adjacent terms, whose forward difference is the discrete analogue of a derivative and can be written using the shift operator.
2Terminology and Definition
A difference equation relates values of an unknown sequence at multiple discrete indices. Higher-order equations can involve nonadjacent terms such as and ; this lecture concentrates on first-order equations between two adjacent terms. The forward difference is
3Program
We first explain why discrete change is represented by a difference, then solve first-order homogeneous and nonhomogeneous equations, including the exceptional case , and finally express the equation through the shift operator.
data/lecture/math/sequence/first-order-recurrences.lecture.n.md data/lecture/math/sequence/shift-operators-and-recurrences.lecture.n.md data/lecture/math/calculus/introduction-to-differential-equations.lecture.n.md4Informal Interpretation
Where a derivative measures continuous local change, measures the increment over one discrete index step. Difference equations are therefore appropriate when time or iteration count takes integer values.
5Formal Development
5.11. Why Differences Are Used
The independent variable of a sequence changes in unit increments rather than continuously. Hence
is the natural change measure instead of .
5.22. The Fundamental Homogeneous Equation
For
repeated substitution gives , , and induction yields
This is a geometric sequence.
5.33. A First-Order Nonhomogeneous Difference Equation
For , consider the recurrence with initial value :
A constant solution, also called an equilibrium point, satisfies . If ,
Defining the displacement eliminates the forcing term:
Since , the solution is
This is the sum of a particular solution and a homogeneous solution. The equilibrium is introduced before its use: it is a value unchanged by the update map .
If , the equilibrium formula is undefined and the equation becomes
Summing the differences telescopically gives
Thus must be treated separately.
5.44. Operator Representation by
Define the forward shift by , consistently with the preceding shift-operator and Z-transform lectures. Then
The equation is the linear operator equation
If is one particular solution, every solution is
The kernel condition says , so is constant on any domain of consecutive integer indices. This is the discrete counterpart of the integration constant.
data/lecture/math/linear-operator/linear-operator-equation-basics.lecture.n.md6Mathematical Interpretations
6.1Matrix Interpretation
Adjoin a constant coordinate to write
Iteration of the recurrence is matrix multiplication. A homogeneous constant-coefficient linear higher-order recurrence can likewise be converted to a first-order system by collecting consecutive terms in a state vector. In that setting, diagonalizability and the Jordan structure of the companion matrix govern the form of explicit solutions.
6.2Analytic Interpretation
The equation
is the discrete analogue of . Continuous evolution produces an exponential, whereas discrete evolution produces a geometric sequence.
6.3Complex-Function Interpretation
If , then
Thus controls growth or decay and controls rotation or oscillation. Complex conjugate roots in real recurrences consequently produce real trigonometric solutions.
A generating function is a formal or convergent power series whose coefficients are the sequence. Reindexing the sequence so that its index begins at zero, write . Multiplying a recurrence by and summing converts shifts into algebraic factors in together with initial terms. With , this is the power-series form of the unilateral Z-transform convention.
7Application Strategy
- Treat a relation between adjacent terms as a difference equation.
- For , first test whether subtracting the equilibrium reduces the equation to homogeneous form.
- Use the correspondence with differential equations to interpret growth, decay, and oscillation, while retaining the discrete formulas.
8Scope
This lecture treats the basic first-order equation. The cases and require separate formulas. Higher-order and nonlinear difference equations require additional methods.
9Basic Formulas
10Summary
- A difference equation describes sequence evolution through a discrete change measure.
- With the forward shift, , and every solution of a linear equation is a particular solution plus an element of the kernel.