(mathematics) A square matrix with nonnegative real entries such that the sum of the entries of each row is equal to 1.
| Sci-Tech Dictionary: stochastic matrix |
(mathematics) A square matrix with nonnegative real entries such that the sum of the entries of each row is equal to 1.
| 5min Related Video: Stochastic matrix |
| Wikipedia: Stochastic matrix |
In mathematics, a stochastic matrix, probability matrix, or transition matrix is used to describe the transitions of a Markov chain. It has found use in probability theory, statistics and linear algebra, as well as computer science. There are several different definitions and types of stochastic matrices;
A common convention in English language mathematics literature is to use the right stochastic matrix; this convention will be used in this article.
In the same vein, one may define a stochastic vector as a vector whose elements consist of nonnegative real numbers which sum to 1. Thus, each row (or column) of a stochastic matrix is a probability vector, which are sometimes called stochastic vectors.
Contents |
A stochastic matrix describes a Markov chain
over a finite state space S.
If the probability of moving from i to j in one time step is Pr(j | i) = Pi,j, the stochastic matrix P is given by using Pi,j as the ith row and jth column element, e.g.,

Since the probability of transitioning from state i to some state must be 1, we have that this matrix is a right stochastic matrix, so that

The probability of transitioning from i to j in two steps is then given by the (i,j)th element of the square of P:
.In general the probability transition of going from any state to another state in a finite Markov chain given by the matrix P in k steps is given by Pk.
An initial distribution is given as a row vector.
A stationary probability vector
is defined as a vector that does not change under application of the transition matrix; that is, it is defined as a left eigenvector of the probability matrix, associated with eigenvalue 1:
.The Perron-Frobenius theorem ensures that such a vector exists, and that the largest eigenvalue associated with a stochastic matrix is always 1. For a matrix with strictly positive entries, this vector is unique. In general, however, there may be several such vectors.
For a matrix with strictly positive entries, this vector can be computed by observing that for any i we have the following limit,
,where
is the jth element of the row vector
. This implies that the long-term probability of being in a state j is independent of the initial state i. That either of these two computations give one and the same stationary vector is a form of an ergodic theorem, which is generally true in a wide variety of dissipative dynamical systems: the system evolves, over time, to a stationary state.
Suppose you have a timer and a row of five adjacent boxes, with a cat in the first box and a mouse in the fifth one at time zero. The cat and the mouse both jump to a random adjacent box when the timer advances. E.g. if the cat is in the second box and the mouse in the fourth one, the probability is one fourth that the cat will be in the first box and the mouse in the fifth after the timer advances. When the timer advances again, the probability is one that the cat is in box two and the mouse in box four. The cat eats the mouse if both end up in the same box, at which time the game ends. The random variable K gives the number of time steps the mouse stays in the game.
The Markov chain that represents this game contains the following five states:
We use a stochastic matrix to represent the transition probabilities of this system,

As state five is an absorbing state the long term average vector
. Regardless of the initial conditions the cat will eventually catch the mouse.
As the game has an absorbing state 5 the distribution of time to absorption is discrete phase-type distributed. Therefore by letting
![\boldsymbol{\tau}=[0,1,0,0]](http://wpcontent.answers.com/math/0/9/5/095ebfb01b558174bcc3388a35e8bc19.png)
and by removing state five to make a sub-stochastic matrix,

then the expected time of the mouse's survival is,
.Higher order moments are given by,
.Where I is the identity matrix, and
represents a column matrix of all ones.
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
| Best of the Web: Stochastic matrix |
Some good "Stochastic matrix" pages on the web:
Math mathworld.wolfram.com |
| Regular matrix | |
| Doubly stochastic matrix | |
| Muirhead's inequality |
| What is a stochastic variable? | |
| What is Demographic stochasticity? | |
| What is the application of stochastic process? |
Copyrights:
![]() | Sci-Tech Dictionary. McGraw-Hill Dictionary of Scientific and Technical Terms. Copyright © 2003, 1994, 1989, 1984, 1978, 1976, 1974 by McGraw-Hill Companies, Inc. All rights reserved. Read more | |
![]() | Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Stochastic matrix". Read more |