<< Chapter < Page Chapter >> Page >
This chapter covers principles of Markov Chains. After completing this chapter students should be able to: write transition matrices for Markov Chain problems; find the long term trend for a Regular Markov Chain; Solve and interpret Absorbing Markov Chains.

Chapter overview

In this chapter, you will learn to:

  1. Write transition matrices for Markov Chain problems.
  2. Find the long term trend for a Regular Markov Chain.
  3. Solve and interpret Absorbing Markov Chains.

Markov chains

We will now study stochastic processes, experiments in which the outcomes of events depend on the previous outcomes. Such a process or experiment is called a Markov Chain or Markov process . The process was first studied by a Russian mathematician named Andrei A. Markov in the early 1900s.

A small town is served by two telephone companies, Mama Bell and Papa Bell. Due to their aggressive sales tactics, each month 40% of Mama Bell customers switch to Papa Bell, that is, the other 60% stay with Mama Bell. On the other hand, 30% of the Papa Bell customers switch to Mama Bell. The above information can be expressed in a matrix which lists the probabilities of going from one state into another state. This matrix is called a transition matrix .

This matrix depict the flow of customers from mama bell to papa bell and vice versa.

The reader should observe that a transition matrix is always a square matrix because all possible states must have both rows and columns. All entries in a transition matrix are non-negative as they represent probabilities. Furthermore, since all possible outcomes are considered in the Markov process, the sum of the row entries is always 1.

Professor Symons either walks to school, or he rides his bicycle. If he walks to school one day, then the next day, he will walk or cycle with equal probability. But if he bicycles one day, then the probability that he will walk the next day is 1 / 4 size 12{1/4} {} . Express this information in a transition matrix.

We obtain the following transition matrix by properly placing the row and column entries. Note that if, for example, Professor Symons bicycles one day, then the probability that he will walk the next day is 1 / 4 size 12{1/4} {} , and therefore, the probability that he will bicycle the next day is 3 / 4 size 12{3/4} {} .

This matrix shows the probability that Professor Symons will bicycle or walk to work.

Got questions? Get instant answers now!
Got questions? Get instant answers now!

In [link] , if it is assumed that the first day is Monday, write a matrix that gives probabilities of a transition from Monday to Wednesday.

Let W size 12{W} {} denote that Professor Symons walks and B size 12{B} {} denote that he rides his bicycle.

We use the following tree diagram to compute the probabilities.

The Tree diagram depicts the probability that Professor Symons will either walk or bicycle to work on Monday, Tuesday, or Wednesday.

The probability that Professor Symons walked on Wednesday given that he walked on Monday can be found from the tree diagram, as listed below.

P Walked Wednesday Walked Monday = P WWW + P WBW = 1 / 4 + 1 / 8 = 3 / 8 size 12{P left ("Walked Wednesday" \lline " Walked Monday" right )=P left ( ital "WWW" right )+P left ( ital "WBW" right )=1/4+1/8=3/8} {} .

P Bicycled Wednesday Walked Monday = P WWB + P WBB = 1 / 4 + 3 / 8 = 5 / 8 size 12{P left ("Bicycled Wednesday" \lline " Walked Monday" right )=P left ( ital "WWB" right )+P left ( ital "WBB" right )=1/4+3/8=5/8} {} .

P Walked Wednesday Bicycled Monday = P BWW + P BBW = 1 / 8 + 3 / 16 = 3 / 5 / 16 size 12{P left ("Walked Wednesday" \lline " Bicycled Monday" right )=P left ( ital "BWW" right )+P left ( ital "BBW" right )=1/8+3/"16"=3/5/"16"} {} .

P Bicycled Wednesday Bicycleed Monday = P BWB + P BBB = 1 / 8 + 9 / 16 = 11 / 16 size 12{P left ("Bicycled Wednesday" \lline " Bicycleed Monday" right )=P left ( ital "BWB" right )+P left ( ital "BBB" right )=1/8+9/"16"="11"/"16"} {} .

We represent the results in the following matrix.

This matrix depicts the probability that Professor Symons will walk or bicycle to work on Monday or Wednesday.

Alternately, this result can be obtained by squaring the original transition matrix.

We list both the original transition matrix T size 12{T} {} and T 2 size 12{T rSup { size 8{2} } } {} as follows:

T = 1 / 2 1 / 2 1 / 4 3 / 4 size 12{T= left [ matrix { 1/2 {} # 1/2 {} ##1/"4" {} # "3"/"4"{} } right ]} {}
T 2 1 / 2 1 / 2 1 / 4 3 / 4 1 / 2 1 / 2 1 / 4 3 / 4 1 / 4 + 1 / 8 1 / 4 + 3 / 8 1 / 8 + 3 / 16 1 / 8 + 9 / 16 3 / 8 5 / 8 5 / 16 11 / 16 size 12{ matrix { T rSup { size 8{2} } {} # ={} {} # left [ matrix {1/2 {} # 1/2 {} ## 1/4 {} # 3/4{}} right ] left [ matrix {1/2 {} # 1/2 {} ## 1/4 {} # 3/4{}} right ] {} ##{} # ={} {} # left [ matrix { 1/4+1/8 {} # 1/4+3/8 {} ##1/8+3/"16" {} # 1/8+9/"16"{} } right ]{} ## {} # ={} {} # left [ matrix {3/8 {} # 5/8 {} ## 5/"16" {} # "11"/"16"{}} right ]{}} } {}

The reader should compare this result with the probabilities obtained from the tree diagram.

Consider the following case, for example,

P Walked Wednesday Bicycled Monday = P BWW + P BBW = 1 / 8 + 3 / 16 = 5 / 16 size 12{P left ("Walked Wednesday" \lline " Bicycled Monday" right )=P left ( ital "BWW" right )+P left ( ital "BBW" right )=1/8+3/"16"=5/"16"} {} .

It makes sense because to find the probability that Professor Symons will walk on Wednesday given that he bicycled on Monday, we sum the probabilities of all paths that begin with B size 12{B} {} and end in W size 12{W} {} . There are two such paths, and they are BWW size 12{ ital "BWW"} {} and BBW size 12{ ital "BBW"} {} .

Got questions? Get instant answers now!
Got questions? Get instant answers now!

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Applied finite mathematics. OpenStax CNX. Jul 16, 2011 Download for free at http://cnx.org/content/col10613/1.5
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Applied finite mathematics' conversation and receive update notifications?

Ask