📚 Applied Finite Mathematics
⇩ Download ▾

9.2 Markov Chains: Homework

MARKOV CHAINS

Is the matrix given below a transition matrix for a Markov chain? Explain.

  1. [.2.3.5.3.2.9.3.3.5] size 12{ left [ matrix { "." 2 {} # "." 3 {} # "." 5 {} ## "." 3 {} # - "." 2 {} # "." 9 {} ## "." 3 {} # "." 3 {} # "." 5{} } right ]} {}

  2. [.3.3.4.3.4.4000] size 12{ left [ matrix { "." 3 {} # "." 3 {} # "." 4 {} ## "." 3 {} # "." 4 {} # "." 4 {} ## 0 {} # 0 {} # 0{} } right ]} {}

  1. No
  2. No

A survey of American car buyers indicates that if a person buys a Ford, there is a 60% chance that their next purchase will be a Ford, while owners of a GM will buy a GM again with a probability of .80. The buying habits of these consumers are represented in the transition matrix below.

This matrix depicts the buying habits of GM and Ford customers.
Figure 9.16

Find the following probabilities:

  1. The probability that a present owner of a Ford will buy a GM as his next car.

  2. The probability that a present owner of a GM will buy a GM as his next car.

  3. The probability that a present owner of a Ford will buy a GM as his third car.

  4. The probability that a present owner of a GM will buy a GM as his fourth car.

Professor Hay has breakfast at Hogee's every morning. He either orders an Egg Scramble, or a Tofu Scramble. He never orders Eggs on two consecutive days, but if he does order Tofu one day, then the next day he can order Tofu or Eggs with equal probability.

  1. Write a transition matrix for this problem.

  2. If Professor Hay has Tofu on the first day, what is the probability he will have Tofu on the second day?

  3. If Professor Hay has Eggs on the first day, what is the probability he will have Tofu on the third day?

  4. If Professor Hay has Eggs on the first day, what is the probability he will have Tofu on the fourth day?

  1. [011/21/2] size 12{ left [ matrix { 0 {} # 1 {} ## 1/2 {} # 1/2{} } right ]} {}
  2. 1/2 size 12{1/2} {}
  3. 1/2 size 12{1/2} {}
  4. 3/4 size 12{3/4} {}

A professional tennis player always hits cross-court or down the line. In order to give himself a tactical edge, he never hits down the line two consecutive times, but if he hits cross-court on one shot, on the next shot he can hit cross-court with .75 probability and down the line with .25 probability.

  1. Write a transition matrix for this problem.

  2. If the player hit the first shot cross-court, what is the probability that he will hit the third shot down the line?

The transition matrix for switching political parties in an election year is given below, where Democrats, Republicans, and Independents are denoted by the letters D size 12{D} {}, R size 12{R} {}, and I size 12{I} {}, respectively.

This matrix shows the tendencies of Democrat, Republicans, and Independents to switch sides during an election year.
Figure 9.17
  1. Find the probability of a Democrat voting Republican.

  2. Find the probability of a Democrat voting Republican in the second election.

  3. Find the probability of a Republican voting Independent in the second election.

  4. Find the probability of a Democrat voting Independent in the third election.

  1. 0.3
  2. 0.38
  3. 0.15
  4. 0.175

REGULAR MARKOV CHAINS

Determine whether the following matrices are regular Markov chains.

  1. [10.5.5] size 12{ left [ matrix { 1 {} # 0 {} ## "." 5 {} # "." 5{} } right ]} {}

  2. [.6.401] size 12{ left [ matrix { "." 6 {} # "." 4 {} ## 0 {} # 1{} } right ]} {}

  3. [.60.4.2.4.4000] size 12{ left [ matrix { "." 6 {} # 0 {} # "." 4 {} ## "." 2 {} # "." 4 {} # "." 4 {} ## 0 {} # 0 {} # 0{} } right ]} {}

  4. [.2.4.4.6.40.3.2.5] size 12{ left [ matrix { "." 2 {} # "." 4 {} # "." 4 {} ## "." 6 {} # "." 4 {} # 0 {} ## "." 3 {} # "." 2 {} # "." 5{} } right ]} {}

a. No c. No

Company I and Company II compete against each other, and the transition matrix for people switching from Company I to Company II is given below.

This matrix shows the tendency of customers to switch between Company I and Company II.
Figure 9.18

Find the following.

  1. If the initial market share is 40% for Company I and 60% for Company II, what will the market share be after 3 steps?

  2. If this trend continues, what is the long range expectation for the market?

Suppose the transition matrix for the tennis player in is as follows, where C size 12{C} {} denotes the cross-court shots and D size 12{D} {} denotes down-the-line shots.

This matrix depicts the tendency of a tennis player to make cross-court shots and down-the-line shots.
Figure 9.19

Find the following.

  1. If the player hit the first shot cross-court, what is the probability he will hit the fourth shot cross-court?

  2. Determine the long term shot distribution.

  1. 0.876
  2. [0.8750.125] size 12{ left [ matrix { 0 "." "875" {} # 0 "." "125"{} } right ]} {}

Professor Hay never orders eggs two days in a row, but if he orders tofu one day, then there is an equal probability that he will order tofu or eggs the next day.

Find the following:

  1. If Professor Hay had eggs on Monday, what is the probability that he will have tofu on Friday?

  2. Find the long term distribution for breakfast choices for Professor Hay.

In a multi-party parliamentary system, political analysts study how voters switch support among three major parties between elections. The transition matrix for voter movement is given below, where Centrists, Nationalists, and Reformists are denoted by the letters C size 12{C} {}, N size 12{N} {}, and R size 12{R} {}, respectively.

This matrix depicts the tendencies for the different political parties to take power.
Figure 9.20

Find the following.

  1. If in this election Centrists received 25% of the votes, Nationalists 30%, and Reformists the rest 45%, what will the distribution be in the next election?

  2. What will the distribution be in the third election?

  3. What will the distribution be in the fourth election?

  4. Determine the long term distribution.

a. [.305.310.385] size 12{ left [ matrix { "." "305" {} # "." "31" {} # 0 "." "385"{} } right ]} {} c. [.32905.32910.3418] size 12{ left [ matrix { "." "32905" {} # "." "3291" {} # 0 "." "3418"{} } right ]} {}

ABSORBING MARKOV CHAINS

Given the following absorbing Markov chain.

This matrix depicts the probability of moving from one sate to the other.
Figure 9.21

Find the following:

  1. Identify the absorbing states.

  2. Write the solution matrix.

  3. Starting from state 4, what is the probability of eventual absorption in state 1?

  4. Starting from state 2, what is the probability of eventual absorption in state 3?

  1. 1 and 3

  2. This matrix shows the probability of absorption.
    Figure 9.22
  3. 2 / 3
  4. 1 / 2

Two tennis players, Carlos and Jannik each with two dollars in their pocket, decide to bet each other $1, for every game they play. They continue playing until one of them is broke.

Do the following:

  1. Write the transition matrix for Carlos.

  2. Identify the absorbing states.

  3. Write the solution matrix.

  4. At a given stage if Carlos has $1, what is the chance that he will eventually lose it all?

Repeat, if the chance of winning for Andre is .4 and for Vijay .6.

  1. Write the transition matrix for Andre.

  2. Write the solution matrix.

  3. If Andre has $3, what is the probability that he will eventually be ruined?

  4. If Vijay has $1, what is the probability that he will eventually triumph?

  1. This matrix shows the probability of winning a dollar for every dollar won.
    Figure 9.23
  2. Andre's solution matrix
    This matrix depict the probability of winning a either zero dollars or four dollars.
    Figure 9.24
  3. 27 / 65
  4. 27 / 65

Repeat, if initially Andre has $3 and Vijay has $2.

  1. Write the transition matrix.

  2. Identify the absorbing states.

  3. Write the solution matrix.

  4. If Andre has $4, what is the probability that he will eventually be ruined?

The non-tenured professors at a community college are regularly evaluated. After an evaluation they are classified as good, bad, or improvable. The "improvable" are given a set of recommendations and are re-evaluated the following semester. At the next evaluation, 60% of the improvable turn out to be good, 20% bad, and 20% improvable. These percentages never change and the process continues.

  1. Write the transition matrix.

  2. Identify the absorbing states.

  3. Write the solution matrix.

  4. What is the probability that a professor who is improvable will eventually become good?

  1. The matrix shows the probability of moving from Improvable to Good, Bad, or remaining Improvable.
    Figure 9.25
  2. I and II
  3. [ 0.75 0.25 ]
  4. 0.75

A rat is placed in the maze shown below, and it moves from room to room randomly. From any room, the rat will choose a door to the next room with equal probabilities. Once it reaches room 1, it finds food and never leaves that room. And when it reaches room 5, it is trapped and cannot leave that room. What is the probability the rat will end up in room 5 if it was initially placed in room 3?

This figure shows the layout of the rooms that the rat can navigate through.
Figure 9.26

In, what is the probability the rat will end up in room 1 if it was initially placed in room 2?

10/19 size 12{"10"/"19"} {}

CHAPTER REVIEW

Is the matrix given below a transition matrix for a Markov chain? Explain.

  1. [.1.4.5.5.3.8.3.4.3] size 12{ left [ matrix { "." 1 {} # "." 4 {} # "." 5 {} ## "." 5 {} # - "." 3 {} # "." 8 {} ## "." 3 {} # "." 4 {} # "." 3{} } right ]} {}

  2. [.2.6.2000.3.4.5] size 12{ left [ matrix { "." 2 {} # "." 6 {} # "." 2 {} ## 0 {} # 0 {} # 0 {} ## "." 3 {} # "." 4 {} # "." 5{} } right ]} {}

  1. No
  2. No

A survey of computer buyers indicates that if a person buys an Apple computer, there is an 80% chance that their next purchase will be an Apple, while owners of a Dell will buy a Dell again with a probability of .70. The buying habits of these consumers are represented in the transition matrix below.

This matrix shows the probable buying habits of consumers from Apple to Dell.
Figure 9.27

Find the following probabilities:

  1. The probability that a present owner of an Apple will buy a Dell as their next computer.

  2. The probability that a present owner of an Apple will buy a Dell as their third computer.

  3. The probability that a present owner of a Dell will buy a Dell as their fourth computer.

  1. 0.2
  2. 0.3
  3. 0.475

Professor Trayer either teaches Finite Math or Statistics each quarter. She never teaches Finite Math two consecutive quarters, but if she teaches Statistics one quarter, then the next quarter she will teach Statistics with a 1/3 size 12{1/3} {} probability.

  1. Write a transition matrix for this problem.

  2. If Professor Trayer teaches Finite Math in the Fall quarter, what is the probability that she will teach Statistics in the Winter quarter.

  3. If Professor Trayer teaches Finite Math in the Fall quarter, what is the probability that she will teach Statistics in the Spring quarter.

  1. [012/31/3] size 12{ left [ matrix { 0 {} # 1 {} ## 2/3 {} # 1/3{} } right ]} {}
  2. 1
  3. 2/3 size 12{2/3} {}

The transition matrix for switching academic majors each quarter by students at a university is given below, where Science, Business, and Liberal Arts majors are denoted by the letters S size 12{S} {}, B size 12{B} {}, and A size 12{A} {}, respectively.

This matrix shows the probability for students to switch between these three majors.
Figure 9.28
  1. Find the probability of a science major switching to a business major during their first quarter.

  2. Find the probability of a business major switching to a Liberal Arts major during their second quarter.

  3. Find the probability of a science major switching to a Liberal Arts major during their third quarter.

  1. 0.3
  2. 0.31
  3. 0.28

Determine whether the following matrices are regular Markov chains.

  1. [10.3.7] size 12{ left [ matrix { 1 {} # 0 {} ## "." 3 {} # "." 7{} } right ]} {}
  2. [.2.4.4.6.40.3.2.5] size 12{ left [ matrix { "." 2 {} # "." 4 {} # "." 4 {} ## "." 6 {} # "." 4 {} # 0 {} ## "." 3 {} # "." 2 {} # "." 5{} } right ]} {}
  1. No
  2. Yes

Patrick Mahomes, the football quarterback for the Kansas City Chiefs, calls his own plays. At every play he has to decide to either pass the ball or hand it off. The transition matrix for his plays is given in the following table, where P size 12{P} {} represents a pass and H size 12{H} {} a handoff.

This matrix shows the probability that of the next play being a pass or a hand off.
Figure 9.29

Find the following.

  1. If Patrick Mahomes threw a pass on the first play, what is the probability that he will handoff on the third play?

  2. Determine the long term play distribution.

  1. 0.32
  2. P=2/3 size 12{P=2/3} {}, H=1/3 size 12{H=1/3} {}

Company I, Company II, and Company III compete against each other, and the transition matrix for people switching from company to company each year is given below.

This matrix shows the probability that customers will switch between the three companies.
Figure 9.30

Find the following.

  1. If the initial market share is 20% for Company I, 30% for Company II and 50% for Company III, what will the market share be after the next year?

  2. If this trend continues, what is the long range expectation for the market?

  1. [.36.34.30] size 12{ left [ matrix { "." "36" {} # "." "34" {} # "." "30"{} } right ]} {}
  2. [3/79/281/4] size 12{ left [ matrix { 3/7 {} # 9/"28" {} # 1/4{} } right ]} {}

Given the following absorbing Markov chain.

This matrix depicts the probability of moving from one sate to the other.
Figure 9.31
  1. Identify the absorbing states.

  2. Write the solution matrix.

  3. Starting from state 4, what is the probability of eventual absorption in state 1?

  4. Starting from state 3, what is the probability of eventual absorption in state 2?

  1. S1 size 12{S1} {} and S2 size 12{S2} {}
  2. This matrix shows the probability of switching from S3 or S4 to S1 or S2
    Figure 9.32
  3. 26 / 35
  4. 19 / 35

A rat is placed in the maze shown below, and it moves from room to room randomly. From any room, the rat will choose a door to the next room with equal probabilities. Once it reaches room 1, it finds food and never leaves that room. And when it reaches room 6, it is trapped and cannot leave that room. What is the probability that the rat will end up in room 1 if it was initially placed in room 3?

This figure shows the layout of the rooms that the rat can navigate through.
Figure 9.33

2/7 size 12{2/7} {}

In, what is the probability that the rat will end up in room 6 if it was initially in room 2?

3/7 size 12{3/7} {}

Adapted from Applied Finite Mathematics by Rupinder Sekhon (De Anza College), originally published by OpenStax CNX (cnx.org, collection col10613), licensed under CC BY 3.0. Changes were made. License: CC-BY-3.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.