Statistical Methods
Propagate a Continuous Linear State with the Matrix Exponential
Define the task
For the continuous linear system dx/dt=A x with constant matrix A, the state at time t is exp(tA) times the initial state. This matrix exponential is defined through matrix powers, not by exponentiating each entry separately. Record the time unit, state order, initial condition and whether the coefficients can reasonably be treated as constant over the interval. The calculation propagates a specified model; it does not estimate or validate it.
Carry out the check
Check that the transition at time zero is the identity and that compatible time steps compose as expected for a constant A. Compare with a case that has a known analytical solution before using a numerical routine on a research model. If inputs or coefficients vary with time, the simple constant-matrix expression may no longer apply. A matrix exponential alone also does not propagate uncertainty in estimated coefficients or establish biological plausibility.
Worked hypothetical example
Hypothetical example: A=[[0,1],[0,0]] has A²=0, so exp(tA)=I+tA. At t=2 this is [[1,2],[0,1]]. Applied to initial state (3,4), it gives (11,4). Entrywise exponentiation would instead produce entries including exp(2) and ones where zeros belong, giving a different operation. Keep the matrix, time multiplier and multiplication orientation with the result. This small nilpotent example is a useful regression case because its exact answer requires no numerical approximation.
Method checked 24 November 2026 against primary documentation: linalg.expm.