2 Boba in a Straw
Imagine that Jonathan is drinking milk tea and he has a very short straw: it has enough room to fit two boba (see figure).
Figure 1: A straw with one boba currently inside. The straw only has enough room to t two boba. Here is a formal description of the drinking process: We model the straw as having two \"com- ponents\" (the top component and the bottom component). At any given time, a component can contain nothing, or one boba. As Jonathan drinks from the straw, the following happens every second: 1. The contents of the top component enter Jonathan's mouth. 2. The contents of the bottom component move to the top component. 3. With probability p, a new boba enters the bottom component; otherwise the bottom compo- nent is now empty. Help Jonathan evaluate the consequences of his incessant drinking! (a) Draw the Markov chain that models this process, and show that it is both irreducible and aperiodic. (b) At the very start, the straw starts off completely empty. What is the expected number of seconds that elapse before the straw is completely lled with boba for the rst time? [Write down the equations; you do not have to solve them.] (c) Consider a slight variant of the previous part: now the straw is narrower at the bottom than at the top. This affects the drinking speed: if either (i) a new boba is about to enter the bottom component or (ii) a boba from the bottom component is about to move to the top component, then the action takes two seconds. If both (i) and (ii) are about to happen, then the action takes three seconds. Otherwise, the action takes one second. Under these conditions, answer the previous part again. [Write down the equations; you do not have to solve them.] (d) Jonathan was annoyed by the straw so he bought a fresh new straw (same as the straw from Figure 1). What is the long-run average rate of Jonathan's calorie consumption? (Each boba is roughly 10 calories.) (e) What is the long-run average number of boba which can be found inside the straw? [Maybe you should rst think about the long-run distribution of the number of boba] (D What is the long run probability that the amount of boba in the straw doesn't change from one second to the next