Each morning Joe leaves his house and goes for a run Hes equ
Each morning, Joe leaves his house and goes for a run. He’s equally likely to leave either from the front or back door. Upon leaving the house, he chooses a pair of running shoes (or goes barefoot if there are no shoes at the door from which he departed). On his return, is equally likely to enter, and leave his running shoes, either by the front or back door. If he owns a total of k pairs of shoes, what’s the long-run proportion of time that he runs barefooted?
Solution
The long run proportion of time that he runs barefooted= 1 / (1+2k)
Method:Let An be the event that in the nth step,he was barefoot and let Pn be the corresponding probability.
P(An)=P(An|An-1)P(An-1)+P(An|An-1c)P(An-1c)
Pn=(1/2)*Pn-1+1/2 *1/2k *(1-Pn-1) =a+b Pn-1 (say)
=a+b(a+bPn-2)=....= a(1+b+...+bb-2)+bn-1 P1 =a(1-bn-1)/(1-b )+bn-1 * P1 =a/1-b (as n tends to infinity)
=1/(2k+1)
