DR.WANG Mathematics中文

2025 STEP · Paper 3 · Question 12

Probability · conditional random variables

Problem outline

For integer m≥0m\ge0 and functions f,gf,g, reverse the order in ∑r=1m+1f(r)∑s=r−1mg(s)\sum_{r=1}^{m+1} f(r)\sum_{s=r-1}^{m}g(s), giving the new bounds explicitly. Next let X0=0X_0=0 and, conditional on Xn−1=sX_{n-1}=s, let XnX_n be uniform on 0,…,s+10,\ldots,s+1. Calculate E[X1]E[X_1], all three probabilities for X2X_2, and E[X2]E[X_2]. Express P(Xn=0)P(X_n=0) using the distribution of Xn−1X_{n-1}, and find the corresponding formula for P(Xn=r)P(X_n=r) for 1≤r≤n1\le r\le n. Deduce E[Xn]=(1+E[Xn−1])/2E[X_n]=(1+E[X_{n-1}])/2 and solve for E[Xn]E[X_n] as a function of nn.

Show final result

The reversed sum is ∑s=0mg(s)∑r=1s+1f(r)\sum_{s=0}^m g(s)\sum_{r=1}^{s+1}f(r). E[X1]=1/2E[X_1]=1/2. The probabilities for X2=0,1,2X_2=0,1,2 are 5/12,5/12,1/65/12,5/12,1/6, with mean 3/43/4. In general P(Xn=r)=∑s=max⁡(0,r−1)n−1P(Xn−1=s)/(s+2)P(X_n=r)=\sum_{s=\max(0,r-1)}^{n-1}P(X_{n-1}=s)/(s+2) and E[Xn]=1−2−nE[X_n]=1-2^{-n}.

Source and attribution

The outline was prepared for DR.WANG Mathematics. The published solutions are credited above.

Original question (external)