Let and . The Black-Scholes reflection symmetry gives another solution . Subtracting it enforces absorption:At the terms agree. At expiry the reflected argument satisfies , so its digital-put payoff vanishes; the first term supplies the required terminal payoff. These facts and the bounded pricing solution's uniqueness prove the formula. The up-and-out digital put price is zero once knocked out.
While the up-and-out digital put is alive, its pricing domain is , . Its Black-Scholes equation, terminal financial payoff, and absorbing boundary condition areFor completeness, the natural limiting condition is , with . A positive geometric Brownian motion cannot hit zero in finite time, and from a very small starting value the survival and below-strike terminal events have probability tending to one. If the barrier has already been hit, its value is zero regardless of the current stock price.
For , the terminal payoff tends to one from inside at , while an already hit barrier pays zero. Thus there is a terminal-boundary corner discontinuity; the terminal condition is imposed only for , not as a requirement of continuous extension at .
If , every surviving terminal price is already below the strike, so this is a barrier digital put paying one at expiry exactly when the upper barrier has been avoided. To use the Black-Scholes reflection symmetry, cap the free digital-put strike at , rather than continuing to use :Indeed, has terminal payoff one throughout the alive region, while its reflected argument exceeds and hence has zero terminal payoff. The barrier values again cancel. Using in both terms would generally leave an unwanted reflected terminal payoff near the barrier.
Writing makes the discounted survival probability explicit:The price is independent of in this case. Both cases combine by replacing the free strike with in the up-and-out digital put formula.