From a Markov Property to a Boundary-Value Equation
For Brownian motion, a hitting-time transform can be characterized by a differential equation in the starting point. The Markov property explains the equation locally: over a short time interval the process moves by a small Gaussian increment, and the transform of the remaining hitting time is again the same function evaluated at the new position. The boundary condition records what happens when the target has already been reached.
Let \(B_t\) be standard Brownian motion on a probability space \((\Omega,\mathcal{F},\mathbb{P})\), with its usual filtration \((\mathcal{F}_t)_{t\ge0}\). For a fixed starting point \(x<a\), write \(X_t=x+B_t\), and let \(\mathbb{P}_x\) and \(\mathbb{E}_x\) denote probability and expectation for this process. Its state space is \(\mathbb{R}\), and time is continuous. Define the first hitting time of \(a\) by \(\tau_a=\inf\{t\ge0:X_t=a\}\). It is a stopping time. For \(s>0\), define \(u_s(x)=\mathbb{E}_x[e^{-s\tau_a}\mathbf{1}_{\{\tau_a<\infty\}}]\); thus a path that never hits \(a\) contributes zero.
The boundary condition has a direct probabilistic meaning: if the process starts at \(a\), then \(\tau_a=0\), so \(e^{-s\tau_a}=1\). Boundedness at the other end is required because the transform is an expectation of a random variable between zero and one. It also selects the appropriate solution of the differential equation. The calculation below concerns a single target on a half-line; it does not impose conditions at two finite endpoints.
Deriving the Local Equation
Fix \(x<a\) and let \(h>0\) be small. On the event \(\{\tau_a>h\}\), the Markov property at deterministic time \(h\) says that the conditional transform of the remaining time is \(u_s(X_h)\). Splitting according to whether the target is hit by time \(h\) gives the exact identity
To use a Gaussian increment without restricting it to paths that have not hit the boundary, extend \(u_s\) to a bounded function \(\widetilde u_s\) on the real line, setting \(\widetilde u_s(y)=1\) for \(y\ge a\). Since \(0\le u_s\le1\), replacing the two terms in the identity by \(e^{-sh}\mathbb{E}_x[\widetilde u_s(X_h)]\) changes the value by at most \(2\mathbb{P}_x(\tau_a\le h)\).
The reflection principle gives \(\mathbb{P}_x(\tau_a\le h)=2\mathbb{P}(B_h\ge a-x)\). For \(d=a-x>0\), the Gaussian exponential bound gives \(\mathbb{P}(B_h\ge d)\le e^{-d^2/(2h)}\): apply Markov's inequality to \(e^{\theta B_h}\), use \(\mathbb{E}e^{\theta B_h}=e^{\theta^2h/2}\), and choose \(\theta=d/h\). Therefore the replacement error is at most \(4e^{-d^2/(2h)}=o(h)\).
At a point where \(u_s\) is twice continuously differentiable, the short-time Gaussian expansion is \(\mathbb{E}_x[\widetilde u_s(X_h)]=u_s(x)+\tfrac12 h u_s''(x)+o(h)\). Indeed, \(X_h-x\) has mean zero and second moment \(h\); Taylor expansion near \(x\) gives the displayed terms, while the probability of leaving any fixed neighborhood of \(x\) is exponentially small in \(1/h\). Also \(e^{-sh}=1-sh+o(h)\). Substitution into the Markov identity yields \(u_s(x)=u_s(x)+h(\tfrac12u_s''(x)-su_s(x))+o(h)\). Subtract \(u_s(x)\), divide by \(h\), and let \(h\downarrow0\). This gives the stated differential equation wherever the transform is twice differentiable. The verification below establishes that the probabilistic transform is indeed the smooth solution, rather than assuming smoothness without justification.
Worked Example: Solve the Equation for an Upper Target
Consider standard Brownian motion started at \(x<a\), and fix \(s>0\). The equation is \(\tfrac12u''=su\), or \(u''=2su\). Put \(\lambda=\sqrt{2s}\), which is positive. The general solution of this constant-coefficient equation is \(u(x)=C e^{\lambda x}+D e^{-\lambda x}\). As \(x\to-\infty\), the term \(e^{-\lambda x}\) is unbounded, so boundedness forces \(D=0\). The boundary condition \(u(a)=1\) then gives \(C=e^{-\lambda a}\). Thus the only bounded solution is
Check: Differentiating gives \(u_s'(x)=\lambda u_s(x)\) and \(u_s''(x)=\lambda^2u_s(x)=2su_s(x)\), so \(\tfrac12u_s''=su_s\). At \(x=a\), the exponent is zero and \(u_s(a)=1\). For \(x\le a\), the exponent is nonpositive, so \(0<u_s(x)\le1\), as required of a transform.
Why This Solution Is the Hitting-Time Transform
Proof. Let \(\lambda=\sqrt{2s}\), and define \(g(y)=e^{\lambda(y-a)}\). The basic Brownian exponential martingale gives that \(e^{-st}g(X_t)=e^{\lambda(x-a)}e^{\lambda B_t-\lambda^2t/2}\) is a martingale, since \(\lambda^2/2=s\). Apply optional stopping at the bounded stopping time \(\tau_a\wedge t\). Up to this time \(X\le a\), so \(0\le e^{-s(\tau_a\wedge t)}g(X_{\tau_a\wedge t})\le1\). Consequently,
On \(\{\tau_a>t\}\), \(X_t<a\), so the second expectation is between zero and \(e^{-st}\), which tends to zero. As \(t\to\infty\), the first expectation increases to \(\mathbb{E}_x[e^{-s\tau_a}\mathbf{1}_{\{\tau_a<\infty\}}]\), by monotone convergence. This proves that the transform equals \(e^{\lambda(x-a)}\), the formula obtained from the boundary-value equation.
For uniqueness, every solution has the form \(C e^{\lambda x}+D e^{-\lambda x}\). Boundedness as \(x\to-\infty\) forces \(D=0\), and \(u(a)=1\) forces \(C=e^{-\lambda a}\). Hence no other bounded solution satisfies the boundary condition. \(\square\)
At \(s=0\), the transform is understood as the hitting probability \(\mathbb{P}_x(\tau_a<\infty)\), rather than as \(e^{-0\tau_a}\) on paths where \(\tau_a=\infty\). Taking \(s\downarrow0\) in the formula gives \(1\); monotone convergence therefore shows that the upper level is hit with probability one. The corresponding equation is \(\tfrac12u''=0\); its bounded solutions on \((-\infty,a]\) are constant, and the boundary value makes the solution equal to one.
Worked Example: A Numerical Upper-Level Transform
Let standard Brownian motion start at \(0\), let the target be \(a=2\), and take \(s=2\). Then \(\lambda=\sqrt{2s}=\sqrt{4}=2\), and the distance to the target is \(a-x=2-0=2\). Substitution into the formula gives
Check: The proposed value as a function of the starting point is \(v(x)=e^{-2(2-x)}\). Its derivatives are \(v'(x)=2v(x)\) and \(v''(x)=4v(x)\), so \(\tfrac12v''(x)=2v(x)=sv(x)\). Also \(v(2)=1\), and \(v(x)\) is bounded by one for \(x\le2\).
Worked Example: A Lower Target
Let standard Brownian motion start at \(x=3\), and let its target be \(b=1\). Define \(\tau_b=\inf\{t\ge0:X_t=b\}\) and \(v_s(x)=\mathbb{E}_x[e^{-s\tau_b}\mathbf{1}_{\{\tau_b<\infty\}}]\) for \(x>b\). The same local Markov argument gives \(\tfrac12v_s''=sv_s\) on \(x>b\), with \(v_s(b)=1\). Boundedness as \(x\to+\infty\) eliminates the growing solution \(e^{\lambda x}\), leaving \(v_s(x)=e^{-\lambda(x-b)}\).
For \(s=\tfrac12\), \(\lambda=\sqrt{2s}=\sqrt{1}=1\), and the distance is \(x-b=3-1=2\). Hence \(v_{1/2}(3)=e^{-1\cdot2}=e^{-2}\).
Check: For this choice of \(s\), \(v(x)=e^{-(x-1)}\), so \(v''(x)=v(x)\) and \(\tfrac12v''(x)=\tfrac12v(x)=sv(x)\). At \(x=1\), \(v(1)=e^0=1\); for \(x\ge1\), it is bounded by one.
A Drift and Volatility Extension
The same reasoning illustrates how the differential operator changes when the process has drift or a different variance rate. Let \(X_t=x+\nu t+\sigma B_t\), where \(\nu\in\mathbb{R}\), \(\sigma>0\), and the filtration is the Brownian filtration. For an upper target \(a>x\), the short-time increment has mean \(\nu h\) and second moment \(\sigma^2h+o(h)\). Taylor expansion in the Markov identity therefore gives \(\nu u'(x)+\tfrac12\sigma^2u''(x)=su(x)\). The positive root of the characteristic equation is \(r_+=\frac{-\nu+\sqrt{\nu^2+2\sigma^2s}}{\sigma^2}\); it is positive because \(s>0\). Boundedness as \(x\to-\infty\) selects \(u_s(x)=e^{r_+(x-a)}\).
Worked Example: Drifted Brownian Motion
Take \(\nu=1\), \(\sigma=\sqrt{2}\), \(s=1\), starting point \(x=0\), and upper target \(a=2\). The equation is \(u'+u''=u\). Its characteristic equation is \(r^2+r-1=0\), with roots \(\frac{-1+\sqrt5}{2}\) and \(\frac{-1-\sqrt5}{2}\). The second root gives a term unbounded as \(x\to-\infty\); retaining the first root and imposing \(u(2)=1\) gives
Check: Put \(r=(\sqrt5-1)/2\). Then \(r^2+r=1\), since \((\sqrt5-1)^2/4+(\sqrt5-1)/2=(6-2\sqrt5+4\sqrt5-4)/4=1\). For \(u(x)=e^{r(x-2)}\), this gives \(u'+u''=(r+r^2)u=u=su\), and \(u(2)=1\). The exponent in the transform is \(r(0-2)=1-\sqrt5\), as displayed.
Common Pitfall: Choosing the Wrong Exponential
A frequent error is to keep the exponential solution that grows at the unbounded end. For an upper target and \(s>0\), writing \(u(x)=C e^{\lambda x}+D e^{-\lambda x}\) and choosing \(D\ne0\) violates boundedness as \(x\to-\infty\), because \(e^{-\lambda x}\to\infty\). The boundary value at \(a\) alone is not enough to determine the correct solution: it gives only \(C e^{\lambda a}+D e^{-\lambda a}=1\). Boundedness forces \(D=0\), after which \(C=e^{-\lambda a}\). The correct answer is \(e^{\lambda(x-a)}\), not the growing term.
The second check is probabilistic: a Laplace transform of a nonnegative hitting time, with the convention used here, must lie between zero and one. The upper-target expression \(e^{-\lambda(a-x)}\) has this property when \(x\le a\). If a proposed sign makes the expression exceed one far from the target, that is evidence that the wrong boundary condition or exponential branch was used.
Check Your Understanding
Use the boundary-value equation and its conditions to answer each question.
- For standard Brownian motion started at \(x<a\), state the differential equation and both conditions that select the one-sided transform.
- For \(s=2\), what is \(\lambda\), and what is the transform from \(x=a-1\)?
- Explain why the term \(e^{-\lambda x}\) must be excluded for an upper target on \((-\infty,a]\).
- For a lower target \(b\) and starting point \(x>b\), which exponential branch remains bounded as \(x\to+\infty\)?
- For \(X_t=x+\nu t+\sigma B_t\), write the differential equation for the upper-target transform and the positive characteristic root.