Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2017/discrete-mathematics-continuous-mathematics-and-probability/8/b/ii/solution

Let . By the law of total probability,
There is no return contribution from the absorbing state . Since can be entered only from , for . Substitution yields
No independence between successive positions is assumed; the conditional transitions give the recurrence.

New to topics? Read the docs here!