last updated: May 1, 2025

Stochastic Processes and Financial Mathematics
(part one)

7.5 Exercises on Chapter 7

On the martingale transform
  • 7.1 Let Sn=i=1nXi be the symmetric random walk, from Section 7.4. In each of the following cases, establish the given formula for (CS)n.

    • (a) If Cn=0, show that (CS)n=0.

    • (b) If Cn=1, show that (CS)n=Sn.

    • (c) If Cn=Sn, show that (CS)n=Sn22n2

  • 7.2 Let Mn be a stochastic process. Let α,βR and let Cn and Dn be adapted stochastic processes. Let Xn=αCn+βDn. Show that

    (XM)n=α(CM)n+β(DM)n

    for all n.

On long-term behaviour of stochastic processes
  • 7.3 Let (Xn) be a sequence of independent random variables, with distribution

    P[Xn=1]=P[Xn=1]=12n2

    and P[Xn=0]=11n2. Define

    Sn=i=1nXi

    where we take S0=0.

    • (a) Show that Sn is a martingale, and deduce that there exists a real-valued random variable S such that Sna.s.S as n.

    • (b) Show that, almost surely, there exists some NN such that Xn=0 for all nN.

  • 7.4 Write simulations of the symmetric & asymmetric random walks (in a language of your choice). Add functionality to draw the random walk as a graph, with time on the horizontal axis and the value of the walk on the vertical axis.

    Look at several samples from your simulations, with e.g. 1000 steps of time, and check that they support the claims made in Section 7.4, about the long-term behaviour of random walks.

    Modify your simulation to simulate the random walks in Exercise 7.3 and Question 2 of Assignment 3. Check that your graphs support the result that, in both cases, Sna.s.S. From your graphs, do you notice a difference in behaviour between these two cases?

  • 7.5 Let Mn=SnLn be the martingale defined in exercise 4.5. Show that (Mn) is not uniformly bounded in L1.

  • 7.6 Recall the Galton-Watson process (Zn) from Section 7.4, and recall that it is parametrized by its offspring distribution G.

    • (a) Give an example of an offspring distribution G for which P[Zn dies out]=1.

    • (b) Give an example of an offspring distribution G for which P[Zn dies out]=0.

  • 7.7 Consider the following modification of the Pólya urn process. At time n=0, the urn contains one red ball and one black ball. Then, at each time n=1,2,, we draw a ball from the urn. We place this ball back into the urn, and add one ball of the opposite colour to the urn; so if we drew a red ball, we would add a black ball, and vice versa.

    Therefore, at time n (which means: after the nth draw is complete) the urn contains n+2 balls. Let Bn denote the number of red balls in the urn at time n, and let Mn=Bnn+2 denote the fraction of red balls in the urn at time n.

    • (a) Calculate E[Mn+1|Fn] and hence show that Mn is not a martingale, with respect to the filtration Fn=σ(B1,,Bn).

    • (b) Write a simulation of the urn (in a language of your choice) and use your simulation to make a conjecture about the value of the almost sure limit of Mn as n. Does this limit depend on the initial state of the urn?

  • 7.8 Consider an urn that, at time n=0, contains K1 balls, each of which is either black or red. At each time n=1,2,, we do the following, in order:

    • 1. Draw a ball X1 from the urn, and record its colour. Place X1 back into the urn.

    • 2. Draw a ball X2 from the urn, and discard it.

    • 3. Place a new ball, with the same colour as X1, into the urn.

    Thus, for all time, the urn contains exactly K balls. We write Mn for the fraction of red balls in the urn, after the nth iteration of the above steps is complete.

    • (a) Show that Mn is a martingale.

    • (b) Show that there exists a random variable M such that Mna.s.M as n, and deduce that P[M=0 or M=1]=1.

    This process is known as the discrete time ‘Moran model’, and is a model for the evolution of a population that contains a fixed number K of individual organisms – represented as K balls. At each time n, an individual X2 (is chosen and) dies and an individual X1 (is chosen and) reproduces.

    Although this model is a highly simplified version of reality, with careful enough application it turns out to be very useful. For example, it is the basis for current methods of reconstructing genealogical trees from data obtained by genome sequencing.

  • 7.9 Consider the Pólya urn process from Section 7.4. Suppose that we begin our urn, at time n=0, with two red balls and one black ball. Let Mn denote the resulting fraction of red balls in the urn at time n.

    • (a) Show that Mn does not converge almost surely to 0.

    • (b) Write a simulation of the Pólya urn process (in a language of your choice) and compare the effect of different initial conditions on M.

  • 7.10 Let (Sn) denote the simple asymmetric random walk, with q>p. In Exercise 4.2 we showed that

    Mn=(q/p)Sn

    is a martingale.

    • (a) Show that there exists a real valued random variable M such that Mna.s.M.

    • (b) Deduce that P[M=0]=1 and that (Mn) is not uniformly bounded in L2.

    • (c) Use (a) and (b) to show that Sna.s.. Explain briefly why this means that Sna.s. for asymmetric random walks with p>q.

  • 7.11 Let Sn denote the symmetric random walk, from Section 7.4. Recall that S0=0.

    • (a) Show that Sn is even when n is even, and odd when n is odd.

    • (b) Define pn=P[Sn=0]. Show that p2n=(2nn)22n and p2n+1=0.

      (Hint: Count the number of ways to return to zero after precisely 2n steps.)

    • (c) Show that p2(n+1)=(112(n+1))p2n for all n, and hence show that p2n0 as n.

      (Hint: Use the inequality 1xex, which holds for all x0.)

  • 7.12 Let Sn denote the symmetric random walk, from Section 7.4. Let f:NN be a deterministic function.

    • (a) Show that if Snf(n) is a martingale (for n1), then f is constant.

    • (b) Show that if Snf(n) is a supermartingale (for n1), then f is constant.

Challenge questions
  • 7.13 In this question we establish the formula (7.10), which we used in the proof of Lemma 7.4.8.

    Let (Zn) be the Galton-Watson process, with the offspring distribution G. Suppose that E[G]=μ and var(G)=σ2<. Set Mn=Znμn.

    • (a) Show that

      E[(Mn+1Mn)2|Fn]=Znσ2μ2(n+1),

    • (b) Deduce from part (a) and exercise 3.6 that E[Mn+12]=E[Mn2]+σ2μn+2.

  • 7.14 In this question we prove the inequality (7.4), which we used in the proof of the martingale convergence theorem.

    Let Mn be a sequence of random variables such that Mna.s.M. Define

    Xn=infkn|Mk|.

    • (a) Explain why (Xn) is an increasing sequence and, hence, why there is a random variable X such that Xna.s.X.

    • (b) Show that, for all ϵ>0 and all nN there exists some nn such that

      |Mn|ϵXn|Mn|.

    • (c) Deduce that X=|M|.

    • (d) Check that the monotone convergence theorem applies to (Xn).

    • (e) Deduce that E[|M|]supnNE[|Mn|].

  • 7.15 In this question we give a rigorous proof of Lemma 7.4.7.

    Let Zn and Xin+1 be as in (7.9) (i.e. Zn is a Galton-Watson process) and suppose that E[Xin+1]=μ<1.

    Let α[0,1]. For each i,n we define an independent random variable Cin+1, with the same distribution as C where P[C=1]=α and P[C=0]=1α. We define

    (7.11)X~in+1={0 if Xin+1=0 and Cin+1=01 if Xin+1=0 and Cin+1=1Xin+1 if Xin+11.

    Define Z~n by setting Z~0=1, and then using (7.9) with Z~n in place of Zn and X~in+1 in place of Xin+1. Define f:[0,1]R by f(α)=E[Xin+1].

    • (a) Convince yourself that Z~n is a Galton-Watson process, with offspring distribution given by (7.11).

    • (b) Explain briefly why 0ZnZ~n for all n.

    • (c) Show that f(0)<1 and f(1)1. Deduce that there exists a value α[0,1] such that f(α)=1.

    • (d) Show that P[Zn dies out]=1.