- #1
ElijahRockers
Gold Member
- 270
- 10
Homework Statement
A certain laid-back runner owns three pairs of shoes, which he keeps by either the front
or back doors of his house. Each morning he is equally likely to leave through the front
or back door, and then after his run, he is equally likely to enter through the front or
back door. He takes off his shoes and leaves them at whatever door he enters. If there are
no shoes at the door he leaves from, then he runs barefooted. We want to determine the
proportion of time that the runner runs barefooted, in the long run (pun intended). Solve
this problem using a Markov Chain (specify the states, give the transition probabilities,
and determine the required steady-state probability). Hint: You only need to keep track
of the number of pairs of shoes at one of the doors.
The Attempt at a Solution
Not sure how to set this one up, not much experience with Markov chains.
I've set up a chain with 4 states: 0, 1, 2, 3, each state representing the number of shoes at the front door, with transition matrix:
$$ P =
\left( \begin{array}{cccc}
.75 & .25 & 0 & 0 \\
.25 & .5 & .25 & 0 \\
0 & .25 & .5 & .25 \\
0 & 0 & .25 & .75\end{array} \right)$$
I don't know if this is helpful though, because what I'm really looking for is a probability that's sort of buried in the .75 probabilities. e.g. the probability there are three shoes at the front door, and he leaves through the back door. This probability is .5, but there's also the probability of .25 that he leaves through the front door and returns through the front door, returning us to state 3.
Am I setting up the chain incorrectly? Basically, 50% of those 75% transition probabilities account for him running bare-foot, but I don't see anyway to include that in the transition matrix