for any t≥0 and x∈R. This demonstrates that we have the relation ∂tf=−∂x2f/2 and, by proposition, that (f(t,Bt))t≥0 is a local martingale. To show that (f(t,Bt))t≥0 is a full martingale, the second condition in proposition will be verified. For T>0,
It was previously found that E(τ)=A⋅B, E(Bτ)=0 and P(Bτ=A)=B/(A+B). What about Cov(τ,Bτ)? Observe that
Cov(τ,Bτ)=E((τ−E(τ))(Bτ−E(Bτ)))=E(τBτ).
Let’s look for a function of the form f(t,x)=tx+g(t,x) with g(t,x)=ax3+bx2 for some a,b∈R. We want (f(t,Bt))t≥0 to be a local martingale. According to Remark 5.5, this will be satisfied when ∂tf=−∂x2f/2. For our chosen f, this relation becomes
x=−26ax+2b.
On solving for a and b we find a=−1/3 and b=0. This demonstrates that (f(t,Bt))t≥0 is a local martingale where
Can we find P(Xτ=A)?
Let’s look for h∈C2(R) such that h(A)=1, h(−B)=0 and f(t,x):=h(σx+μt) satisfies ∂tf=−∂x2f/2. The idea is to show that (h(Xt))t≥0 is a martingale and E(h(Xτ))=h(0). Then we will have
It can be discerned from the above that with this choice of h, ∂tf=−∂x2f/2. This implies that (f(t,Bt))t≥0=(h(Xt))t≥0 is a local martingale. Also, observe that for any T>0
This demonstrates that (h(Xt))t≥0 is a martingale and therefore h(0)=E(h(Xt∧τ)) for any t≥0. Note that h(Xt∧τ)→h(Xτ) as t→∞ almost surely by continuity and that
The dominated convergence can then be applied to conclude that E(Bτ)=E(Bt∧τ)=h(0). Equation (5.8) is now fully justified. On substituting in h(0) we obtain