Fix the matrix direction
Entries lie between 0 and 1; π is a probability row vector.[1]
Given the current state, the next state does not additionally depend on earlier history. This Markov assumption must fit the model. Reusing one matrix at each step gives a time-homogeneous chain. Different time steps or changed conditions can require another matrix.[1]
For a target state, add contributions from every starting state. Each contribution is its initial probability times the corresponding transition probability. The matrix product therefore uses the same multiplication-and-addition logic as a probability tree.[1]
Stationary does not automatically mean a reached limit
A stationary distribution is unchanged by another step.[1]
A finite Markov chain can have stationary distributions without every starting distribution converging to the same one. Periodicity or separate closed classes can prevent convergence. In the two-state example below, both directions and self-transitions have positive probabilities, avoiding these obstacles.[1]
One step and a stationary ratio
Two learning states as a model
- Given
- States A,B; P=((0.8,0.2),(0.3,0.7)); π0=(1,0).
- Find
- Find the distribution after two steps.
Multiply the initial vector by P.
Add contributions to each target state.
Result: After two steps, 70% is in A and 30% in B.
Check: The values are nonnegative and sum to 1. These are model values, not measured learning rates.
Stationary distribution of the same chain
- Given
- The same transition matrix P.
- Find
- Find π*=(a,1−a).
Write the stationary A component.
Solve and normalise.
Result: The stationary distribution is (0.6,0.4).
Check: 0.6·0.8+0.4·0.3=0.6 checks the A component.
Recall the method later with the formula’s flashcards.
9 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Five transition exercises
Calculate · Foundation
P=((0.9,0.1),(0.4,0.6)) and π=(0.5,0.5). Find the next A probability.
Show hint
Add contributions from A and B.
Learning goal: Calculate a target component.
Show solution and calculation
0.5·0.9+0.5·0.4=0.65.
Rearrange · Application
A→B=0.2 and B→A=0.4. Find the stationary A proportion.
Show hint
At stationarity the probability flows balance.
Learning goal: Solve a two-state stationary equation.
Show solution and calculation
0.2a=0.4(1−a), giving a=2/3.
Interpret · Foundation
What does a self-transition PAA=1 mean?
Show hint
Other entries in that row are zero.
Learning goal: Recognise an absorbing state.
Show solution and calculation
Once in A, the system stays there with certainty for this model step; A is absorbing.
Error analysis · Application
The row (0.7,0.6) is used as a transition row. What is wrong?
Show hint
A complete row must sum to 1.
Learning goal: Recognise invalid transition data.
Show solution and calculation
The sum is 1.3, so the probabilities are not normalised.
Transfer · Application
Start in A with P=((0,1),(1,0)). Does the distribution converge?
Show hint
The states alternate deterministically.
Learning goal: Distinguish stationarity from convergence.
Show solution and calculation
No.
It alternates between (1,0) and (0,1), although (1/2,1/2) is stationary.
Check your understanding with the formula’s reference test.
7 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Sources for this explanation
Quanta · Updated November 5, 2026
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Added a school-oriented German-English article with original examples, varied solved exercises and subject-specific references.
Cite this reference page
Quanta. Discrete Markov Chain and Transition Matrix. Updated November 5, 2026. https://quanta-study.de/en/formula-sheet/markov-kette-uebergangsmatrix
When citing a specific scientific statement, also cite the specialist source linked to that statement.