Let $$S_n^* = \max_{1\leq m \leq n}S_m$$
$S_0 = 0$. Assume that $n$ and $a$ are even positive integers, $b$ is an even integer $b\leq a$, $a \leq n$, $ 2a - b \leq n$.
Prove that $P(S_n^*\geq a, S_n=b)=P(S_n=2a-b)={n\choose ({n+b})/2-a}(1/2)^n$
2) also find $P(S_n^*\leq a, S_n=b)$
Once I can prove $P(S_n^*\geq a, S_n=b)=P(S_n=2a-b)$ its easy to prove the next result, however I am having difficulty visualizing this result using reflection principle. Also, the second one should be easy once i get this concept. Can some one please help?
If $S_n^\star \ge a$, you need to reflect the random walk the first time you hit $a$. Now $S_n$ will hit $b$ if you go down $a - b$ steps after the first time you hit $a$, this is equivalent to asking that the reflected walk goes up $a - b$ times, i.e. $S_n = a + a - b = 2a - b$.