(i) Let F={Fn}n=0∞ be a filtration. Give the definition of a martingale and a stopping time with respect to the filtration F.
(ii) State Doob's optional stopping theorem. Give an example of a martingale M and a stopping time T such that E(MT)=E(M0).
(iii) Let Sn be a standard random walk on Z, that is, S0=0,Sn=X1+…+Xn, where Xi are i.i.d. and Xi=1 or −1 with probability 1/2.
Let Ta=inf{n⩾0:Sn=a} where a is a positive integer. Show that for all θ>0,
E(e−θTa)=(eθ−e2θ−1)a.
Carefully justify all steps in your derivation.
[Hint. For all λ>0 find θ such that Mn=exp(−θn+λSn) is a martingale. You may assume that Ta is almost surely finite.]
Let T=Ta∧T−a=inf{n⩾0:∣Sn∣=a}. By introducing a suitable martingale, compute E(e−θT).