Tested tool guide
Tested browser tools
Checked August 16, 2026
What Markov Chain Simulator does, with a checked example
Enter named states, one-step transition probabilities, an initial state or distribution, and a step count. The simulator advances the distribution through the chain, represents nonzero transitions in a directed state diagram, reports steady-state distributions, and calculates eventual absorption probabilities for absorbing models. The common input error is transposing the matrix: each row describes every possible next state from one current state and must total 1. A steady-state result is a balance solution, not proof that every initial distribution converges to it.
Worked example
A concrete input and expected output from the current implementation.
Input
States: Start, Done
Rows = current state; columns = next state
Transition matrix:
0 1
0 1
Initial distribution: 1 0
Steps: 2
->
Expected output
Step 1 distribution: Start 0, Done 1
Step 2 distribution: Start 0, Done 1
Steady-state distribution: Start 0, Done 1
Absorption probability for Done, starting from Start: 1
From Start, the only one-step transition goes to Done. Done has a probability-1 self-loop, so it is absorbing; after the first step the chain stays there forever, making both the stationary mass and eventual absorption probability 1 at Done.