The similarity transformation gives . In the matrix power, each adjacent pair cancels to the identity matrix:
This also follows by mathematical induction: the formula holds for , and multiplication by turns its th instance into the st.
Condition on the intermediate parent's height and use the Markov property. The three mutually exclusive paths through Tall, Medium and Short contribute
Equivalently, this is entry of the matrix power . Hence
Generate successive matrix powers and take cumulative sums using matrix addition:
seriesMat :: Num a => Matrix a -> [Matrix a]
seriesMat m = scanl1 addMat (iterate (multMat m) m)
For the stipulated square matrix, iterate (multMat m) m produces m, m*m, m*(m*m), and so on. Associativity of exact matrix multiplication identifies these as . The left scan scanl1 addMat then returns
All dimensions remain compatible. The infinite outer list is available a finite prefix at a time under lazy evaluation; no convergence of the matrix geometric series is needed. With floating-point entries, the expression specifies this particular multiplication and addition order, since machine arithmetic need not obey the exact algebraic laws.
By polynomial division, write with . Because is a monic polynomial, this division works even over a commutative ring. Evaluating at makes the multiple of vanish, leaving . This explains the reduction in two-coefficient reduction of matrix powers without multiplying out every intermediate matrix.
Over a field, the minimal polynomial divides and gives the strongest such universal reduction: use the polynomial remainder modulo instead. For the scalar matrix , the characteristic polynomial is , while the minimal polynomial is only . Every matrix power is then a scalar multiple of .
Take a different real matrix,
Its only eigenvalue is , with algebraic multiplicity two. However, the polynomial , which vanishes at that eigenvalue, gives . Merely checking values at eigenvalues cannot prove a matrix identity. The full characteristic polynomial does work:
The matrix is a Jordan block, and its minimal polynomial is also .
The binomial theorem gives, for positive integers ,
Terms containing or a higher matrix power vanish. After removing the common growth factor , the remaining linear map is the shear mapping . It moves to . The single eigenvalue controls the exponential scale, while the nilpotent matrix adds a factor growing linearly in .
Figure 1.
Normalized powers of a Jordan block retain a growing shear despite having only one eigenvalue; equal axes scales show the top edge moving by n/2
. Details.
In terms of polynomial interpolation, reduction modulo retains both a value and a derivative:
Indeed, polynomial division gives . This is a simple Hermite interpolation condition. For , it gives exactly the displayed matrix power. Repeated eigenvalues retain information about how a polynomial changes, not just where it vanishes.
Stochastic matrix 2026-10-14
A row-stochastic matrix has nonnegative entries and each row sums to one. For a time-homogeneous Discrete-time Markov chain, its transition matrix has entries
If a state has zero probability at time , this row is specified by the model's Markov kernel, rather than recovered by conditioning on that zero-probability event. Rows index departure states and columns arrival states. Writing the current probability distribution as a row vector gives
The row-sum condition ensures that matrix multiplication preserves total probability. Under a column convention the evolution uses the transpose; the convention must accompany the formula.
For the sunny/rainy transition matrix, direct matrix multiplication gives
In particular, . The two terms sum the disjoint paths and . Requiring both subsequent days to be sunny has probability ; requiring only the second day to be sunny permits the extra path through rain.
Generally is the -step transition probability. The identity is the discrete-time Chapman-Kolmogorov equation: sum over the intermediate state. This makes matrix powers useful for forecasting many steps without enumerating every path individually.