Question
Consider the following random walk starting from the root of an infinite binary tree: if the current state is the root, jump to a uniformly chosen child; otherwise, with probability 3/4 jump to the parent, and with probability 1/4 jump to a uniformly chosen child (so each child has jump probability 1/8). Let be the first return time to the root (note ).
(a) Find .
(b) Given that the first child of the root was visited 10 times before returning to the root, find the conditional expectation of .
Step-by-step solution
(a) Let be the expected time for a non-root vertex to first reach its parent . By the self-similarity of the infinite binary tree, is the same for all non-root vertices.
From any non-root vertex : 1. With prob. , jump to parent: cost 1 step. 2. With prob. , jump to a child : cost (return from to , then from to parent).
By the law of total expectation: , so .
For : the first step goes to a child (cost 1), then return to root costs . .
(b) Let be the designated first child of the root. Given is visited 10 times before returning to root, decompose into three parts:
1. Root to : 1 step (first visit to ). 2. 9 dive-and-return cycles at : Each of the first 9 visits to must be followed by a descent to a child (otherwise the walk would return to root, ending with fewer than 10 visits). Each cycle costs steps. Total: . 3. back to root: On the 10th visit, the walk must go directly to root (cost 1 step).
.
Final answer
(a) 3 (b) 29
Marking scheme
1. Checkpoints (max 7 pts total)
Note: This section contains parallel solution paths. Determine which method the student used, score the highest-scoring path, and do not combine points across paths.
(a) Finding (4 pts)
Path A: Recursive Expectation (Official Solution)
- [2 pts] Establish the recurrence for : Define as the expected return time from a non-root vertex to its parent. Write or equivalent. *Key*: must reflect "after descending, one must return to the current vertex and then to the parent" (the or term). Writing (missing one return step) earns 0 for this checkpoint.
- [1 pt] Solve : Simple algebra. If the equation is wrong but solving is correct, no credit.
- [1 pt] Compute : Correctly apply and obtain 3.
Path B: Stationary Distribution
- [1 pt] Establish detailed balance equations between root/child and child/grandchild.
- [2 pts] Sum and normalize (identify geometric series with ratio 1/3), solve .
- [1 pt] Apply Kac's formula .
(b) Conditional expectation (3 pts)
- [1 pt] Path structure decomposition: Identify the three-part structure: first step to (1 step) + 9 dive-and-return cycles + final step to root (1 step). The expression suffices.
- [1 pt] Single cycle expectation: State or compute that each dive-and-return from costs . *Error propagation allowed*: if is wrong in (a) but the logic is correct, this point is awarded.
- [1 pt] Final computation: Correctly combine to get . If the student interprets "visited 10 times" as "at least 10 times" and gets 30, deduct this point but keep the first two.
Total (max 7)
2. Zero-credit items
- Merely copying the probability values (3/4, 1/4) without setting up equations.
- Listing "law of total expectation" or "Markov chain" without concrete application.
- In (a), guessing or with no derivation.
- In (b), simply multiplying by 10 or other illogical arithmetic.
3. Deductions
- Arithmetic error: Correct setup but computational mistake in final value: -1 pt (once only).
- Logical contradiction: Computing but taking absolute value without explanation: -1 pt.
- Condition misunderstanding: In (b), not realizing the 10th visit must go directly to root, adding instead (getting 30): lose the final computation point only (2/3 for part b).