118 3 Markov Chains
(a) Draw a state diagram for the amount of money with the gambler and ex-
plain how much money corresponds to each state.
(b) Derive the transition matrix.
(c) What is the probability that the gambler will have more than $500 after
playing the game for 10 tosses of the coin?
3.37 Suppose you play the following game with a friend, both of you start with $2.
The game starts when the coin is filipped. If the coin comes up heads, you win
$1. If the coin comes up tails, you lose $1. The game ends when either of you
do not have anymore money.
(a) Construct a Markov transition diagram and transition matrix for this game.
(b) Find the eigenvectors and eigenvalues for this matrix.
(c) What is the initial probability vector when you start the game?
3.38 Assume you are playing a truncated form of the snakes and ladder game using
a fair coin instead of the dice. The number of squares is assumed to be 10,
to make things simple, and each player starts at the first square (we label it
square 1 and the last square is labeled 10). Tails mean the player advances one
square and heads mean the player advances by two squares. To make the game
interesting, some squares have special transitions according to the following
rules which indicate the address on the next square upon the flip of the coin.
Square Heads Tails
242
361
572
894
Write the initial distribution vector and the transition matrix. What will be
the distribution vector be after 5 flips of the coin? What are the chances of a
player winning the game after 10 flips?
3.39 Assume a particle is allowed to move on a one-dimensional grid and starts at
the middle. The probability of the particle moving to the right is p and to the
left is q, where p +q = 1. Assume the size of the gird to extend from 1 to N,
with N assumed odd. Assume that at the end points of the grid, the particle is
reflected back with probability 1. Draw a Markov transition diagram and write
down the corresponding transition matrix. Assume p = 0.6 and q = 0.4, and
N = 7. Plot the most probable position for the particle versus time.
3.40 A parrot breeder has birds of two colors, blue and green. She finds that 60%
of the males are blue if the father was blue and 80% of the males are green
if the father was green. Write down the transition matrix for the males parrot.
What is the probability that a blue male has a blue male after two and three
generations?