Absorbing state Created 2026-10-03 Updated 2026-10-14
For a finite, time-homogeneous Discrete-time Markov chain with row-stochastic transition matrix , a state is absorbing exactly when . Nonnegativity and the row sum then force for : once entered, is never left. Equivalently, is a closed communicating class. A larger closed communicating class may keep moving internally; closure means confinement to a set, whereas absorption at a state means remaining at one point.
An absorbing state is useful for recording a terminal outcome: after a toy routine finishes, keep its outcome in the state space so that the same transition matrix still describes subsequent steps. Calling a finite Markov chain absorbing usually also requires that some absorbing state be accessible from every state. Merely containing an absorbing state is insufficient: another closed communicating class could prevent absorption. See Grinstead and Snell, Introduction to Probability, section 11.2 for this convention.
Consider a constructed routine with unfinished modes and terminal outcomes . All the following transition probabilities are chosen for illustration, not estimated from observations. In state order , takeThe communicating class is open, while and are closed communicating classes consisting of absorbing states. Both terminal outcomes are accessible from both unfinished modes, sometimes by an indirect path.
A constructed four-state routine: arrows give transition probabilities, and the two absorbing outcomes have different eventual probabilities and waiting times.
Details. Let be the terminal hitting time. Write for the absorption probability and for the expected hitting time, with the subscript denoting the starting state. First-step analysis givesHere , , and . Solving these two pairs of linear equations yieldsStarting at therefore ends at with probability and takes steps on average to reach either terminal state. The terminal hitting time counts the transition into the outcome, but no later self-transitions. Outcome and duration answer different questions: from , outcome is less likely, yet termination is faster on average.
The matrix power gives the probability distribution after two steps from asThus , and the probability of having already reached is , still below its eventual absorption probability . From either unfinished mode, each next step has terminal probability at least . Consequently , proving termination almost surely and finite expected hitting time directly. The Fundamental matrix of a finite absorbing Markov chain packages both calculations and counts visits to unfinished modes.
Acyclic Markov chain Created 2026-10-20 Updated 2026-11-05
On a finite state space, an acyclic Markov chain has no directed cycle among its nonabsorbing states. Order those states topologically by their possible transitions. Hitting probabilities and expected absorption times can then be calculated in reverse order, because a state's equations involve only later states.
For example, let go to or to an Absorbing state with equal probabilities, and let go directly to . The expected absorption times are , and . This is dynamic programming on the transition graph, rather than a general simultaneous linear solve.
If a convention permits self-transitions while forbidding cycles between distinct nonabsorbing states, the holding probabilities must be retained. Provided , the same backward calculation usesA self-loop at of Probability , with probabilities each to , gives instead of . The finite-state assumption is substantive: an infinite deterministic chain is acyclic but has no terminal Absorbing state and no finite reverse recursion of this kind.
Augmented Markov chain Created 2026-09-24 Updated 2026-11-05
An augmented Markov chain adds state information so that the future depends on the present augmented state rather than an unrecorded part of the past. For a second-order process with , the pairs form a Markov chain. A transition from goes only to pairs . This converts finite-memory dynamics into first-order dynamics, often at the cost of a larger state space.
Autonomous system (mathematics) Created 2026-10-13 Updated 2026-11-05
An autonomous differential equation has no explicit dependence on time: . Its current complete state determines the instantaneous rate of change through the same rule at every starting time. A harmonic oscillator written as , is autonomous even though its solution oscillates in time.
With unique solutions, shifting a solution in time gives another solution of the same equation. This allows a phase portrait to be drawn directly in state space, with one vector field assigning a direction at each point. Explicit periodic forcing instead produces a nonautonomous differential equation. One can sometimes recover an autonomous description by adding the drive phase as an extra state variable, but that enlarged state space contains information absent from the original mechanical coordinates alone.
Backtracking 2026-10-20
Build a candidate incrementally, abandoning a partial candidate as soon as no valid completion is possible. A depth-first search explores one choice, restores the previous state, and tries the next. Constraint propagation and bounds can greatly reduce the visited state space, although the worst-case time complexity may remain exponential.
Basin of attraction Created 2026-09-24 Updated 2026-11-05
The basin of attraction of an attracting state or set consists of the initial states whose forward trajectories approach it. A basin is a subset of state space, so its boundary can separate physically different long-term outcomes even when the same equations and parameters apply everywhere.
For , positive initial values converge to and negative values converge to . The sign of points toward the corresponding outer equilibrium on either side, and uniqueness prevents crossing the invariant state . Thus the basins are and , with the unstable equilibrium as their boundary. Small fluctuations near a basin boundary can change the eventual outcome, while equal-size perturbations deep inside a basin may have little lasting effect. This is a geometric reason to distinguish local stability from global selection.
Bellman equation Created 2026-09-24 Updated 2026-10-14
A Bellman equation expresses the dynamic programming principle as a recurrence relation for a value function: optimize the current reward plus the best attainable continuation. Let be a dynamic programming state, the allowed actions at time , the immediate reward, and the next dynamic programming state. With terminal time and terminal reward , the deterministic finite-horizon Bellman equation isHere measures total reward from time through the terminal reward. Start with and evaluate backwards; the terminal condition anchors the recurrence relation. For finite nonempty action sets, finite rewards, and finite terminal rewards, a maximum exists at each step. If an optimum need not be attained, use a supremum. A minimization problem instead uses a minimum or infimum. The 0-1 knapsack problem above is the same comparison between an immediate item value plus a continuation and the continuation after skipping. See Bertsekas, MIT lecture 2: the backwards recursion.
In a Markov decision process, the next dynamic programming state is random. If denotes the expected immediate reward and is a discount factor, the finite-horizon Bellman equation becomesThe conditional expectation averages over the next dynamic programming state before choosing the current action; that action cannot use a future outcome that has not yet been observed. For a finite state space with transition probabilities , the continuation term is . Taking gives the undiscounted finite-horizon problem. With a discount factor , rewards steps ahead carry a factor , including the terminal reward. A maximizing action for each specifies a Markov policy, which contains decisions rather than just optimal scores.
For an infinite horizon with a finite state space, finite nonempty action sets, time-independent transition probabilities, bounded rewards , and a discount factor , the optimal value function satisfiesIn this setting the maximizing dynamic programming operator is a contraction mapping in the supremum norm, so the Banach fixed-point theorem gives a unique bounded fixed point and convergence of repeated application to it. See Bertsekas, MIT lecture 15: bounded discounted problems. These hypotheses matter: with one state, one action, zero reward, and , the Bellman equation is merely , so every finite constant is a fixed point, although the actual total-reward value function is zero. The average-reward Bellman equation and Hamilton-Jacobi-Bellman equation address other settings with their own conditions.
Butterfly effect 2026-10-14
The butterfly effect is the intuitive idea that an arbitrarily small change in an initial condition can eventually change the observed future substantially. In dynamical systems, sensitive dependence makes this precise for a map on a metric space : there is one separation scale such thatThe same works at every point, whereas and the separation time may depend on the point and the requested closeness. For a flow map, replace the iteration of a map by with some . The state space matters: restricting to a single fixed point removes the alternative nearby states needed for sensitivity.
Sensitivity is compatible with deterministic evolution. Given an exact initial condition, there is still one orbit; uncertainty concerns which exact state a measurement represents. It also allows accurate short-term prediction. For a continuous function , each fixed finite iterated function is continuous, so sufficiently close initial states remain close at any specified finite step. What fails is a single initial accuracy that controls every future step.
The logistic map illustrates both sides. At , nearby orbits in the basin of attraction of its attracting fixed point approach one another. At , arbitrarily close states can eventually separate by a macroscopic fraction of . The definition asserts the existence of separating neighbours, not that every nearby pair must separate: and have exactly the same next state under the logistic map and hence the same subsequent orbit. Nor must separation increase at every step.
The same deterministic logistic rule can shrink or amplify initial uncertainty
. Each pair starts at and and uses the same logistic map parameter. At , the orbits approach the same attracting fixed point. At , this pair eventually gives visibly different states. The logarithmic panels expose changes hidden in the upper panels; dashed slopes illustrate the eventual contraction factor and a representative exponential growth factor . They are reference slopes, not exact formulas for these finite separations. Distances fluctuate and remain bounded by one. These computations illustrate the phenomenon; two numerical orbits alone do not establish the quantified definition. Details.A positive Lyapunov exponent describes average exponential growth of an infinitesimal displacement along an orbit, when the relevant limit exists. It is related to sensitivity but is not a substitute for its uniform definition. For a differentiable interval map, the chain rule givesAt , the logistic map has for Lebesgue measure-almost every initial condition, while exceptional orbits can have different exponents. Finite-separation growth is only approximately exponential while the linear approximation remains useful. In a bounded state space, a separation cannot grow exponentially forever.
Sensitivity alone is also weaker than Devaney chaos, which additionally requires topological transitivity and dense periodic points. For example, on the real line has sensitive dependence and a positive Lyapunov exponent, but its only periodic point is zero, so it is not Devaney-chaotic. This distinguishes growth of uncertainty from the richer organization of recurrent orbits.
Edward N. Lorenz's "Deterministic Nonperiodic Flow" (1963) studied a thermal convection model with three ordinary differential equations. Its numerical orbits exhibited persistent nonperiodic motion and instability to small changes of the initial condition. Lorenz discussed the consequences for very-long-range weather forecasting: a deterministic law need not make a detailed distant future reliably recoverable from approximate observations. The historically relevant lesson of the Lorenz system is this growth of uncertainty under deterministic evolution.[ref]
https://samizdat.co/works/do-while/lorenz-1963.pdf. Lorenz's 1963 convection and predictability paper
Cayley-Hamilton theorem Created 2026-09-24 Updated 2026-10-18
Every square matrix satisfies its own characteristic polynomial. More explicitly, for an -by- matrix over a commutative ring with identity, formThenHere is the zero matrix, and the constant term multiplies the identity matrix. This is a polynomial evaluated at a matrix; it is stronger than saying that each eigenvalue is a root of a polynomial. Neither diagonalizability nor distinct eigenvalues is required.[ref]
Universal Identities by Keith Conrad. §3, Theorem 3.4 and the universal-identity discussion, printed pp. 6–7: matrices over arbitrary commutative rings
The practical payoff is that arbitrarily high matrix powers can be reduced to a combination of . These powers arise when repeatedly applying a linear map, solving a linear recurrence relation, or evolving a finite state space model. The characteristic polynomial turns that repeated action into a fixed-order scalar recurrence. The minimal polynomial may reduce the number of required powers further.
Communicating class Created 2026-09-24 Updated 2026-10-14
In a finite, time-homogeneous Discrete-time Markov chain with row-stochastic transition matrix , write when is accessible from , meaning for some . States communicate, written , when both and . Communication is an equivalence relation, and a communicating class is an entire equivalence classThus communicating classes form a partition of the state space; a smaller mutually communicating subset is not itself a class. See Maria Cameron's Markov Chains notes, section 1.2.
The allowance of zero steps matters: , the identity matrix, makes true even for a state with no possible positive-time return. Symmetry is built into communication. For transitivity, concatenate a positive-probability path from to with one from to , and do the same in reverse. These observations prove the equivalence relation directly. One-way accessibility alone is not symmetric and does not define the classes; see Accessible state of a Markov chain.
A closed communicating class satisfies for every and . Once entered, it cannot be left. A singleton class is an absorbing state exactly when it is closed. An open communicating class has an outgoing transition; after a path leaves it, it cannot return, since that would make the visited outside states communicate with it. The internal motion of a closed class can nevertheless continue forever.
A constructed chain has three communicating classes: an open singleton, a closed alternating pair, and a closed absorbing singleton; dashed outlines group states into classes.
Details. For this constructed example, in state order , the transition matrix isThere are exactly three communicating classes: , , and . Only the first is open. The second is closed but neither of its states is an absorbing state; they alternate deterministically. Although via , the reverse accessibility fails. A direct matrix power check gives and .
Starting at , let be the first hitting time of either closed class. Staying at for steps has probability , so and . The two eventual destination classes each have probability . Hence the hitting probability of the absorbing state is only , and its unconditional expected hitting time from is infinite: on half the paths it is never hit. In particular, entering a closed class with certainty does not imply entering an absorbing state with certainty.
Classifying the state space separates two questions: which closed region will eventually be entered, and how does the Markov chain move inside that region? In this example the restriction to is an irreducible Markov chain with period two; the restriction to is a one-state irreducible Markov chain with period one. The whole Markov chain is reducible. The absorbing state example illustrates a different possibility: every closed class is a singleton, so eventual class selection is also terminal outcome selection.
Compact containment Created 2026-10-14 Updated 2026-11-05
A family of path laws satisfies Compact containment when for every finite horizon and every error tolerance there is a compact set which contains the whole path up to that horizon with at least the complementary Probability, uniformly over the family. In Euclidean state space this is the displayed condition. It prevents escape to distant regions where local coefficient approximations give no control. A nonnegative Lyapunov function with uniformly bounded generator growth often proves it by the optional stopping theorem.
Constant nonzero drift is impossible on a finite Markov chain Created 2026-10-14 Updated 2026-11-05
For a real function on a finite state space, a state minimizing satisfies , so strictly negative drift cannot hold at every state. Equivalently, telescoping the expected value would give , contradicting boundedness of . Constant negative drift is useful before a target is reached; it must be restricted to the states outside that target.
Continuous-time Markov chain Created 2026-09-24 Updated 2026-11-05
A Continuous-time Markov chain on a finite or countable state space is specified by transition rates for , with finite total exit rate . At a state with , it waits an exponential time of rate and then moves to with probability . A state with is absorbing: it has infinite holding time rather than a zero-rate exponential waiting law.
Its transition-rate matrix is , with off-diagonal entries and diagonal entries , so each row sums to zero. The rates describe first-order transition probabilities: for . On a finite state space, the transition semigroup is and explosion is impossible. On a countably infinite state space, finite individual exit rates do not alone exclude infinitely many jumps in finite time; nonexplosion must be checked separately.
For two states with rates and , the mean holding times are and . Detailed balance gives Stationary distribution , andThis starts at one and relaxes to the stationary mass of state zero. Changing holding rates can preserve an embedded jump chain while changing the proportions of elapsed time spent in its states.
Controllability 2026-10-13
Controllability asks whether the available control inputs can move a dynamical system between every pair of states in its declared state space. Fixing a duration gives the precise condition for every , where is the state space and its reachable set. With freely chosen duration, every pair must instead be connectable in some permitted finite time, which may depend on the pair. Always specify admissible control inputs, deadlines and any constraints along the path. [ref]
https://fbswiki.org/wiki/index.php/State_Feedback. Åström and Murray, Feedback Systems: State Feedback, reachability definitions
The surprising part is that one control input can control several state variables by acting at different times. For the double integrator, acceleration changes velocity directly, while the accumulated velocity changes position. Starting from rest, accelerate during the first half of the journey and brake during the second: the final velocity can vanish although the final position has changed. The figure is an analytic mathematical example in dimensionless quantities, with no experimental measurements.
Controllability is useful before trying to design a controller: a requested endpoint outside the reachable set cannot be attained by clever choice of feedback control. The Kalman rank criterion makes this an exact linear algebra calculation for the stated linear time-invariant system model. It concerns whole states, so attaining one plant output is not enough to establish controllability. In quantum control, the declared state space may be an orbit constrained by conservation laws; see quantum controllability and unitary orbit of a density operator.
Countable-state Markov chain ergodic theorem Created 2026-10-25 Updated 2026-11-05
For an irreducible Markov chain on a countable state space with positive recurrence and stationary distribution , the displayed almost sure convergence holds from every initial state whenever . In particular, the empirical fraction of visits to converges to . No aperiodicity is needed. Regeneration at successive returns to a state reduces the result to the strong law of large numbers for independent excursion lengths and rewards. This extends the finite-state Markov chain ergodic theorem.
Discrete-time Markov chain martingale characterization Created 2026-10-14 Updated 2026-11-05
An adapted process on a finite or countable state space has the Markov chain transition matrix exactly when the displayed process is a martingale for every bounded test function . The forward implication follows by taking the conditional expectation of its increment. Conversely, the Martingale property gives ; testing individual-state indicators recovers the entire conditional transition law. Stopping these martingales turns equations and into hitting probabilities and expected hitting times.
Dynamical observable 2026-11-05
A dynamical observable is a function or that assigns a measurable quantity to each state of a dynamical system. If the dynamics is , the observed sequence from state is . The state space may be high dimensional even when this record is scalar.
For a harmonic oscillator with state , position is one dynamical observable; energy is another. Position generally oscillates, while energy is constant along an ideal conservative trajectory. Composition describes evolution of the measured quantity instead of evolution of states. Its time average, , is the object compared with a space integral in ergodic theory.
Dynamical system Created 2026-09-29 Updated 2026-11-05
A dynamical system combines a state space with a rule for evolution in time. A discrete rule sends a complete state to , while a continuous model can specify . The state must include enough information for the chosen rule: a harmonic oscillator needs both position and velocity, because equal positions with opposite velocities have different immediate futures.
The same model can be studied through several questions. An equilibrium point stays fixed, a periodic orbit repeats, and a basin of attraction describes which initial states approach a selected long-term behavior. Changing a parameter can cause a bifurcation. These qualitative properties can be useful even when no explicit formula for every trajectory is available. Deterministic evolution also requires well-defined forward solutions; merely writing a differential equation does not establish existence or uniqueness of its initial value problem.
Dynamical systems Created 2026-09-24 Updated 2026-10-13
The study of dynamical systems asks how a state changes in time: which states persist, which orbits repeat, and how a small perturbation changes the future. A dynamical system combines a state space with an evolution rule. For a seasonal population, the state might be its abundance and one step one generation; for a harmonic oscillator, a state vector includes both position and velocity. Choosing a sufficient state is essential: position alone does not determine where an oscillator moves next.
The two basic descriptions are a discrete dynamical system, , and an ordinary differential equation, . Repeated iteration of a map gives ; an autonomous differential equation with unique solutions gives a flow map . In either case, evolving for two successive durations agrees with evolving for their sum. The logistic map provides a particularly simple discrete dynamical system; the Lorenz system supplies a continuous-time example with a very different geometry.
Deterministic evolution says that the exact rule and exact initial condition specify one future. Predicting that future from measurements is a separate question. An instrument supplies a range of possible initial conditions, and a computation adds small errors. Near an asymptotically stable fixed point, nearby orbits converge and the long-term state can become easier to predict. With sensitive dependence on initial conditions, arbitrarily close starting states can eventually lead to a visible disagreement, even though each follows the same rule.
Much of the usefulness of dynamical systems comes from describing outcomes without writing every solution explicitly. Fixed points identify possible resting states; periodic orbits identify repeating behaviour; stability theory asks whether those behaviours survive small disturbances. A bifurcation diagram shows how changing a bifurcation parameter changes the possible outcomes. This is useful in population dynamics, where a stable abundance and an alternating abundance have different consequences, and in thermal convection, where a steady flow and a changing flow transport heat differently.
The beauty of the subject is that a small formula can organize a large variety of behaviour. The logistic map moves from an attracting fixed point to attracting periodic orbits and then to parameter values supporting sensitive motion. Its period-doubling cascade has a recognizable structure across many unimodal maps. Nevertheless, Devaney chaos, Glendinning chaos, and a positive Lyapunov exponent express different properties; a claim of chaos should specify its definition, its state space, and the parameter values under consideration.
Dynamic programming state Created 2026-10-14 Updated 2026-10-20
A dynamic programming state is an element of a state space that summarizes all information needed for a remaining mathematical optimization problem. Histories can share a value function entry only when their allowed continuations and future rewards agree, or have the same conditional laws in a stochastic control problem. Time or the remaining item index may be part of the summary. If past decisions still affect feasibility or rewards, enlarge the dynamic programming state; forgetting those effects invalidates the Bellman equation.



