Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 4 27J Solution Created 2026-09-24 Updated 2026-10-03
Let be the natural filtration. An integer-valued random variable is a stopping time with respect to whenThus whether one has stopped by time can be decided from the first observations, without seeing future variables. Equivalently, .
Write the stopped sum asThe event depends only on , so its indicator and are independent random variables. Since and , Tonelli theorem givesWe may consequently exchange expectation and summation. Using the tail-sum formula for proves Wald's equation:
For the renewal process, put and . The random variable is a stopping time. Since , Wald's equation givesand hence
For , set and . Wald's equation still applies to the stopping time and the independent variables . Because ,ThereforeBy the monotone convergence theorem, as . Combining the bounds proves the elementary renewal theorem
For a fixed word over equally likely symbols, the waiting time for a word in independent uniform symbols has mean , where runs through the lengths of the borders of a word, including the full word. The word
lava' has no proper nonempty border, so
$$
\boxed{\mathbb E\tau_{\mathtt{lava}}=100^4=100\,000\,000}.
$$
The word aa' has borders of lengths and , soFor a direct check, let be the expected remaining time with no trailing a' and $E_1$ with one trailing a'. Thenwhich gives .