Worked Example: Worked Mathematical Example: Markov Stationary Distribution
Solve πP = π for steady-state probabilities (π₁, π₂) and n-step transition probabilities.
- Specify the function parameters, matrix entries, or confusion matrix counts.
- Apply the closed-form or iterative formula: π₁ = p_{2→1} / (p_{1→2} + p_{2→1}); π₂ = p_{1→2} / (p_{1→2} + p_{2→1}); λ₂ = 1 − p_{1→2} − p_{2→1}.
- Examine the primary result, error bounds, and 3 interactive SVG plots.
Result: Computes Markov Stationary Distribution via π₁ = p_{2→1} / (p_{1→2} + p_{2→1}); π₂ = p_{1→2} / (p_{1→2} + p_{2→1}); λ₂ = 1 − p_{1→2} − p_{2→1}.
Mathematics & Statistics · Game Theory, Ratings & Stochastic Processes
2-State Markov Chain Stationary Distribution (π₁, π₂) & Mixing Time Calculator: inputs, method, and how to read the result
Solve πP = π for steady-state probabilities (π₁, π₂) and n-step transition probabilities.
Choose inputs for the case you are checking
The defaults are illustrative. Replace them with values for your case and keep the units shown beside each field.
- Transition Prob1 To2 Alpha: Transition probability α from State 1 to State 2 per step (0.01 to 0.99).
- Transition Prob2 To1 Beta: Transition probability β from State 2 to State 1 per step (0.01 to 0.99).
- Steps To Project N: Number of steps n to project P^n.
What the calculation includes
With the default values shown, Stationary Probability of State 1 (π₁) is 70 %. The calculation follows Markov Stationary Distribution Formula; the formula and variable definitions above show how the inputs combine.
One-input check: With the other defaults held constant, changing Transition Prob1 To2 Alpha from 0.15 p(1→2) to 0.17 p(1→2) changes Stationary Probability of State 1 (π₁) from 70 % to 67.308 %. This is a comparison inside the calculator's stated model, not a prediction.
Where to use caution
- Uses exact analytical or standard numerical analysis formulations from NIST DLMF.
- Double-precision floating-point arithmetic has ~15–17 significant decimal digits of precision.
Scope: Global Mathematical & Statistical Standard Check the assumptions and limitations against your situation before relying on the estimate.
More in Mathematics & Statistics: Scientific Calculator, Statistics & Standard Deviation Calculator, Permutations, Combinations, Probability, Sample Size & P-Value Calculator.