For zero drift, the reflection principle gives the known Brownian first-passage time density
To obtain a general drift, on a fixed finite horizon use the exponential martingale as change-of-measure density. The Novikov condition holds for constant , and the Girsanov theorem says that the coordinate process has drift under the new measure. Thus the hitting law of under that measure is the law of under the original measure. Conditional expectation of at a hitting time bounded by equals its stopped value, by the martingale optional sampling theorem. At this value is . The drifted Brownian first-passage density is obtained by multiplying , giving .
To verify the integrated formula, put and . The identity for the standard normal density gives
Both terms vanish as , so . The distribution has total mass one for and mass for ; in the latter case the remaining probability is an atom at infinity.
When is real and nonnegative, the discounted drifted Brownian first-passage density is . Integrating yields . In a Black-Scholes model with , the identity ensures this formula covers every real interest rate.