Applications: Difference Equations and Markov Chains
The solutions of an nth-order linear difference equation form an -dimensional vector space, so finding independent solutions gives them all. A Markov chain evolves a probability distribution by repeated multiplication by a stochastic matrix, and a regular chain converges to a unique steady-state vector fixed by that matrix.
╌╌╌╌
Two recurring processes illustrate the vector-space theory. A linear difference equation governs a signal sampled over time, and its solution set is a subspace whose dimension is known in advance, so a basis of solutions describes every solution. A Markov chain advances a probability distribution one step at a time by a fixed matrix, and its long-run behavior is a fixed point of that matrix. In both cases a process becomes a question about subspaces and bases.12
Signals and their independence
The space of discrete-time signals — doubly infinite sequences — was one of the first examples of an abstract vector space. Three basic signals are the geometric sequences , , and , which decay, hold, and alternate.
Testing independence in uses a determinant built from consecutive samples. If for all , then the same holds at , , , giving a system.
Linear difference equations
Solutions of a homogeneous equation are often geometric, . Substituting and factoring out shows that is a solution exactly when solves the auxiliary equation
For , the auxiliary equation factors as , so , , and are all solutions.
The solution set is a subspace of known dimension
Define by . This map is linear, so the solution set of the homogeneous equation is the kernel of , a subspace of . Two theorems fix its size.
The map sending a solution to its first values is an isomorphism by the existence-and-uniqueness theorem, so . The consequence is decisive: any independent solutions automatically span , by the basis theorem. A basis for is called a fundamental set of solutions.
Spanning never has to be checked directly; it follows from the dimension count. Complex roots of the auxiliary equation give solutions and , and a repeated root is handled separately.
Nonhomogeneous equations and first-order form
The general solution of a nonhomogeneous equation is a particular solution plus the general homogeneous solution, exactly as for versus , because the map is linear. For , the signal is a particular solution, and the homogeneous equation has roots , so
A modern treatment rewrites an th-order equation as a first-order system using the companion matrix. Stacking consecutive values into turns the recurrence into a single matrix multiplication, which is the form a Markov chain also takes and which discrete dynamical systems analyze through eigenvalues.
Markov chains
A Markov chain models a process observed repeatedly, where the next state depends only on the current one. The state is a distribution over finitely many possibilities.
Each is a state vector: its entries are the probabilities of the possible states at step . For a metropolitan region split into city and suburb, with of the city moving to the suburb and of the suburb moving to the city each year, the migration matrix and one year's update are
A transition among more states is read off a labelled graph: an edge from state to state carries the probability that becomes , and the edges leaving each state sum to .
Steady-state vectors
The long-run behavior of a chain is governed by a distribution the matrix leaves unchanged.
Every stochastic matrix has one. Finding it is an eigenvector computation at eigenvalue : rewrite as and solve the homogeneous system, then rescale the solution to sum to .
- 1form the matrix
- 2solve by row reductionthe eigenspace for eigenvalue 1
- 3choose a basis vector with integer or simple entries
- 4sum of the entries of
- 5returnrescale to a probability vector
The initial distribution has no effect on the limit. The city-suburb matrix has all positive entries, so it is regular; its steady-state vector is , meaning the region tends toward city and suburb no matter where it starts.
The reason distinct starting points converge to the same is that is the dominant eigenvalue of a regular stochastic matrix, with every other eigenvalue smaller in magnitude, so the other components of decay under repeated multiplication. That explanation is developed in eigenvalues and eigenvectors, and the rate of convergence is governed by the ratio of the two largest eigenvalues, the same quantity that drives the power method.
Footnotes
- Lay, Linear Algebra and Its Applications, §4.8 — Applications to Difference Equations: the space , the Casorati test, the auxiliary equation, Theorem 16 (existence/uniqueness), and Theorem 17 (the solution space is -dimensional). ↩
- Lay, Linear Algebra and Its Applications, §4.9 — Applications to Markov Chains: probability vectors, stochastic matrices, state vectors, steady-state vectors via , regular matrices, and Theorem 18 (convergence to a unique steady state). ↩
╌╌ END ╌╌