Absorbing Chain Calculator
Free online absorbing chain calculator. Enter your values and get instant results with the formula, step-by-step working, a worked example and FAQs — everything runs locally in your browser on Calcton, no signup required.
中文版:吸收马尔可夫链计算器
原理:把转移矩阵按瞬态/吸收态重排成规范形 P = [[Q, R], [0, I]],基本矩阵 N = (I−Q) 的逆给出每个瞬态被访问的期望次数,期望吸收步数 t = N·1(每行求和),吸收概率 B = N·R。三个量把吸收链的所有长期问题一次算清。
步骤:① 输入转移矩阵(吸收态放在最后,其行只有对角 1);② 给出瞬态个数;③ 点击分析。
示例:P = [[0.5, 0.25, 0.25, 0], [0.2, 0.3, 0.3, 0.2], [0, 0, 1, 0], [0, 0, 0, 1]]、k = 2 时,从状态 1 出发平均 3.166666666667 步被吸收,被吸收态 3 吸走的概率 0.833333333333。
注意事项:瞬态状态必须排在前 k 行,且从任何瞬态出发都要能(直接或间接)到达某个吸收态,否则 I−Q 不可逆;期望步数是平均值,实际方差可能很大;B 的每一行加起来应为 1,可作手检。
相关:赌徒破产计算器是吸收链最经典的应用;期望首达时间计算器算到达特定状态的平均步数;平稳分布计算器处理没有吸收态的常规链。
How to use the Absorbing Chain Calculator
- Fill in the inputs with your own numbers — every field shows what it expects.
- The result updates instantly as you type; no "Calculate" click needed.
- Read the result card for the main figure, the step-by-step formula, and practical notes.
Frequently asked questions
Is the Absorbing Chain Calculator free?
Yes — all math calculators on Calcton are free, with no sign-up required. Your inputs are processed in your browser and never sent to a server.
Is there a Chinese version of this tool?
Yes. Use the Chinese version link above — it is the same calculator with the interface in Simplified Chinese.
References
Formulas and benchmarks used by this calculator follow these published sources.
KevinContent LeadCalcton Editorial Team · Last updated 2026-10-05
Kevin maintains Calcton's formula verification and content: every calculator cites the standard it implements, worked examples are recomputed programmatically, and health benchmarks follow WHO and international guidelines.
Related calculators
More in this category: Math calculators
About math calculators
Free online math calculators for algebra, statistics, number theory and everyday arithmetic — from quadratic equations and matrices to percentages, fractions and prime factorization, each with step-by-step formulas.