A hitting time is the time when a system described by a random process first crosses a certain threshold, like the Earth’s climate when it makes a transition from one locally stable state to another locally stable state, from today’s climate to a climate closer to Snowball Earth, for example. The hitting time in this case is the time when the system or process reaches a tipping point. Another example is the rate of a chemical reaction, the tipping point is the point when the reaction starts, and the hitting time contains information about the rate at which the reaction takes place.
First-hitting-time problems or first-passage-time problems or first-escape-time problems try pose questions and to infer information about the probability distribution of the hitting time. This information may be used to predict and control the system under scrutiny.
Disclaimer for the mathematically inclined reader: We silently assume that all functions are smooth, all integrals are defined and finite, and everything converges absolutely, in short: We assume we are physicists.
Let’s assume we have a one dimensional diffusion process - a particle - described by an autonomous Fokker-Planck equation that starts at $x_0 \in \mathbb{R}$. “Autonomous” means that the Fokker-Planck operator has no explicit time dependency, and the stochastic process is therefore stationary.
Let’s say the particle is absorbed at $a, b$ with $a \lt x_0 \lt b$, and let
denote the probability to find the particle at time $t$ at $x_t$, when it was at time $t_0 = 0$ at $x_0$. That is, $p$ is the solution of the Fokker-Planck equation with the initial condition
In this paragraph we will show what we can find out about the distribution of the hitting time, which in this example is the time of the absorption of the particle.
From the formulation of our problem we already know that the probability that the particle is not absorbed at time t, that is that the particle is still in $(a, b)$ at time t, is
When we call the time of absorption $T$, then we have for the probability distribution of $T$:
Therefore, the mean for any function $f(T)$ is
For the mean of the hitting time itself we therefore get:
The last part follows from integration by parts.
For the higher moments we get of course
Now that we have a formula for the expectation and all higher moments of the hitting time involving the function $G(x_0, t)$, we need more information about $G(x_0, t)$.
To this end, we will see that the function $G(x, t)$ satisfies the backward Fokker-Planck equation. Note that we treat the function argument $x$ now as a variable, not as a constant starting point $x_0$.
Since our system is homogeneous in time, we have
which implies that we can state the backward Fokker-Planck equation via symmetry as a forward equation:
When we assume that all involved functions are “nice” enough so that we may interchange differentiation and integration, we see that $G(x, t)$ satisfies this backward equation, too. The initial condition for $G(x, t)$ is obviously
We can integrate the backwards equation over time from $0$ to $\infty$, noting that
and get a differential equation for the expectation value $T(x)$ and similarly for all higher moments $T_x(x)$:
with boundary conditions $T(a) = T(b) = 0$ and for the higher moments
Therefore, in our example, we are able to calculate the moments of the hitting time recursively.
Hitting time, Wikipedia
First-hitting-time model, Wikipedia
The following textbook is a general introduction to stochastic models for practitioners, including first-hitting-time problems:
First hitting time problems have been a research topic in mathematics of their own, for some time now, here is a textbook that provides an introduction at an elementary level, for time independent diffusion processes, using electrostatics as an analogy: