A workflow model can answer two separate questions: which terminal outcome will occur, and how many transitions occur before it does? An absorbing Markov chain connects those questions through expected visits to temporary states. Keeping the distinction explicit prevents a model's final success probability from being mistaken for a completion-time prediction. The following four-state construction is hypothetical, with numbers chosen for hand verification rather than estimated from robot operating records.
Identify the transient block
Name the temporary states A and B, and the terminal states S and F. Once the process enters S or F, it stays there. Those labels denote modeled outcomes, with no claim about a deployed system's reliability. Take rows as the current state and columns as the next state.
From A, assign probabilities 0.5 to A, 0.25 to B, 0.2 to S, and 0.05 to F. From B, assign 0.2 to A, 0.4 to B, 0.1 to S, and 0.3 to F. Each row sums to one. In transient-first ordering, the transition matrix has blocks P = [[Q,R],[0,I]], with
Q = [[0.5,0.25],[0.2,0.4]],
R = [[0.2,0.05],[0.1,0.3]].
The rows of Q sum to 0.75 and 0.6. Because neither sum exceeds 0.75, survival in temporary states for n transitions has probability at most 0.75^n. This bound tends to zero, establishing eventual absorption for this example. An identity row somewhere in a larger matrix would not, by itself, establish that every starting state can reach absorption.
Count visits before counting outcomes
Define T as the first transition index at which a terminal state is reached, starting from a temporary state at index zero. The fundamental matrix is
N = I + Q + Q^2 + ... = (I - Q)^(-1).
Entry N_ij counts the expected visits to temporary state j before absorption, conditional on starting at i. The initial state counts as a visit. The absorbing endpoint does not count as a temporary-state visit. This convention matters when comparing an implementation's event log with its algebra.
Here I - Q = [[0.5,-0.25],[-0.2,0.6]], whose determinant is 0.25. Direct inversion gives
N = [[2.4,1.0],[0.8,2.0]].
For an A start, the model therefore predicts 2.4 visits to A and one to B on average. These fractional expectations describe averages across repeated independent realizations of the model. A particular realization still has integer visit counts.
Expected duration follows from row sums
Each visit before absorption occupies one transition interval, including the interval that ends at the terminal state. Consequently t = N 1 gives t_A = 3.4 and t_B = 2.8 transitions.
The first-step equations provide a separate check:
t_A = 1 + 0.5 t_A + 0.25 t_B,
t_B = 1 + 0.2 t_A + 0.4 t_B.
Immediate absorption still takes one transition, which explains the leading one. Assigning zero time to that transition creates an off-by-one convention error. If every transition interval lasts the same duration delta, multiply these expectations by delta. If temporary states have different mean holding times, use a vector d of those times and calculate N d instead. A transition count alone does not supply physical seconds.
Calculate terminal probabilities
The matrix B = N R contains probabilities of the two terminal outcomes. Multiplying the displayed matrices yields
B = [[0.58,0.42],[0.36,0.64]].
Each row sums to one, consistent with eventual absorption. Starting from A, the probability of reaching S is 0.58, while from B it is 0.36. To verify the first column independently, write h_A = 0.2 + 0.5 h_A + 0.25 h_B and h_B = 0.1 + 0.2 h_A + 0.4 h_B. The proposed values satisfy both equations.
These endpoint probabilities are not probabilities of being in S after exactly one step. They aggregate every possible temporary-state path. Repeated A-to-A transitions and returns from B contribute to the eventual result even though they do not appear as separate terminal events.
Conditioning changes the time question
The mean duration among paths that finish at S generally differs from the unconditional mean. Let w_i = E[T times 1_S | start i], where 1_S indicates eventual absorption at S. First-step conditioning gives w = h + Q w, and therefore w = N h. This identity is a direct extension of the same visit accounting.
For the example, w_A = 1.752 and w_B = 1.184. Dividing by the nonzero probabilities h gives conditional means of approximately 3.02069 transitions from A and 3.28889 from B among S-ending paths. The unconditional B-start mean was only 2.8 transitions. Selecting one eventual outcome selects a different mixture of paths.
For F-ending paths, use N(1 - h). The corresponding conditional means are about 3.92381 from A and 2.525 from B. Weighting the two conditional means by their endpoint probabilities recovers 3.4 and 2.8. This mixture check helps detect a common mistake: dividing the unconditional duration by success probability instead of first calculating the outcome-weighted duration.
Interpret only the stated process
In computation, solve linear systems with I - Q rather than explicitly constructing an inverse when dimensions grow. Check row normalization, state ordering, reachability of terminal states, and whether the fitted transitions remain constant over the observation period. Dependence on earlier history may require additional states.
Changing the workflow or stopping rule changes the model. A timeout should have an explicit terminal representation if it is part of the question. These calculations explain what a finite absorbing model implies under its assumptions; they do not convert invented transition probabilities into evidence of real robot throughput or success rates.
Sources checked October 24, 2026:
https://www.columbia.edu/~ww2040/6711F13/lect1024.pdf
https://faculty.washington.edu/yenchic/24A_stat516/Lec4_DTMC_p2.pdf
Concept illustration: A small desktop robot beside a laptop showing a generic workflow provides robotics context for this analytical model. The image does not depict the article's numerical example, a verified experiment, a product specification, or deployment evidence.