Finite-horizon maximum of Brownian motion with negative drift
= Finite-horizon maximum of Brownian motion with negative drift
For $a,b>0$,
$$
\mathbb P\!\left(\sup_{0\leq s\leq t}(W_s-as)\leq b\right)
=\Phi\!\left(\frac{b+at}{\sqrt t}\right)
-e^{-2ab}\Phi\!\left(\frac{at-b}{\sqrt t}\right).
$$
This follows from the <Brownian reflection principle> weighted by the <Cameron-Martin theorem for a linear drift>.