The mean first-passage time obeys the backward equation
For , direct integration gives
In particular,
This increases monotonically with drift away from the target, so the constrained optimum is
Expanding the exponential at zero drift yields
The adsorption mechanism is uniform along the two vertical sides, and evolves independently of . Consequently the mean first-passage time depends only on the initial -coordinate. Its Kolmogorov backward equation for is
The forward partially absorbing boundary condition for a diffusion is . The boundary term in the adjoint relation is
because the diffusion coefficient is one. It vanishes for every admissible precisely when
For , the two Robin boundary conditions are therefore
The general solution of the ordinary differential equation is
The right condition gives , and the left gives . At the prescribed initial position,