Markov Chain Calculator

Markov Chain Calculator

Perform the Markov Chain with:
Transition Matrix A and initial state vector B

Since |A| is a 3 x 3 matrix
and |B| is a 3 x 1 matrix,
|AB| will be a 3 x 1 matrix

P(1) = TP(0)

Green Answer Entry for Row 1, Column 1

Multiply red row 1 entries in |A|
by the blue column 1 entries in |B|
to get answer entry |AB11|
 1  2  3 
 4  5  6 
 7  8  9 
  
 x 
  
 9 
 6 
 3 
  
 = 
  
 30 
  
  

|AB11| = A11 x B11 + A12 x B21 + A13 x B31
|AB11| = 1 x 9 + 2 x 6 + 3 x 3
|AB11| = 9 + 12 + 9
|AB11| = 30   ← Green Answer Entry


Green Answer Entry for Row 2, Column 1

Multiply red row 2 entries in |A|
by the blue column 1 entries in |B|
to get answer entry |AB21|
 1  2  3 
 4  5  6 
 7  8  9 
  
 x 
  
 9 
 6 
 3 
  
 = 
  
 30 
 84 
  

|AB21| = A21 x B11 + A22 x B21 + A23 x B31
|AB21| = 4 x 9 + 5 x 6 + 6 x 3
|AB21| = 36 + 30 + 18
|AB21| = 84   ← Green Answer Entry


James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.