Hazard Rate and Residual Lifetime
The instantaneous 'risk of failure right now, given survival so far' — and how it determines whether something that has already lasted a while is more, less, or equally likely to fail soon, compared to something brand new.
Prerequisites: The Poisson Process
A trading server has been running for 400 days without failure. Does that make it more likely to fail tomorrow (it's "wearing out"), less likely ("proven reliable"), or exactly as likely as a brand-new server? The answer depends entirely on the shape of the component's hazard rate — how the instantaneous risk of failure changes with age. Getting this wrong leads to replacing components too early (wasting money) or too late (risking outages), and it's the same question underlying credit risk (does a seasoned loan default less than a new one?) and options (does an at-the-money option's chance of a big move change as expiry approaches?).
An analogy: an aging car versus a memoryless lottery
An old car with 150,000 miles is intuitively more likely to break down next month than one with 5,000 miles — mechanical wear accumulates, so the hazard rate increases with age. Compare a lottery ticket that draws a random number daily and "fails" (wins) if it matches yours: its chance of winning tomorrow doesn't depend on how many days it's gone without winning, because each day is a fresh, independent draw — a constant, age-independent hazard rate. Real failure processes span this range, from increasing hazard (wear) to constant hazard (random shocks) to even decreasing hazard (early "infant mortality" defects that, once survived, mark a genuinely good unit).
The formulas, one piece at a time
Let be the random lifetime of a component, with survival function (probability of lasting past age ) and density . The hazard rate at age is
which is the instantaneous rate of failure at age , conditional on having survived to age . In plain English: answers "given it's lasted this long, what's the failure rate right now?" — not the overall failure rate from birth, but the conditional rate given survival so far. The residual lifetime given survival to age is , and its expected value, , is the expected remaining life. For the exponential distribution specifically, is constant — the memoryless property — meaning for every : a component that's already survived to age has exactly the same expected remaining lifetime as a brand-new one, however large is.
Worked example 1: the memoryless exponential server
Suppose server failures follow an exponential distribution with rate per day (mean lifetime 500 days), modeling failures driven by random external shocks (power surges, cosmic-ray bit flips) rather than wear. The hazard rate is constant: per day, at every age . A server that's survived 400 days has exactly the same expected remaining lifetime, days, as a server installed today. This is genuinely counterintuitive — "it's been running fine for over a year" provides zero information about how much longer it will last, under this model.
Worked example 2: increasing hazard, a Weibull-style component
Now suppose a different component's lifetime follows a Weibull distribution with shape parameter (hazard rate increasing linearly in age) and scale parameter matched so per day. At days, per day. At days, per day — four times higher, reflecting genuine wear accumulation. Here, unlike the exponential case, a component that's survived 400 days genuinely faces a higher near-term failure risk than a new one, and the expected residual lifetime shrinks with age rather than staying constant — exactly the mechanical-wear intuition, formalized.
Drag the rate parameter above and watch how the curve's decay shape relates to a constant hazard rate — a steeper exponential decay corresponds to a higher constant , and the memoryless property holds regardless of the rate chosen.
What this means in practice
Hazard rate shape drives real decisions: whether "seasoned" loans (survived several years without default) are safer or riskier going forward than freshly originated ones, whether a market-making algorithm's fill probability should be modeled as memoryless or age-dependent, and whether preventive maintenance schedules make sense at all — replacing a memoryless component early buys nothing, since it's exactly as likely to fail tomorrow as one installed today, while replacing a wearing component early can meaningfully cut failure risk.
The hazard rate is the conditional, instantaneous failure rate given survival to age ; when it's constant (the exponential distribution), survival so far tells you nothing about future risk — the memoryless property — but when it rises or falls with age, survival so far genuinely changes the expected remaining lifetime.
The classic mistake is assuming any "it's lasted this long, it must be reliable" or "it's old, it's due to fail" intuition applies universally, when it actually depends entirely on the shape of the underlying hazard function — and many real financial and engineering processes genuinely are close to memoryless (exponential), where such intuitions are simply false. Before trusting an age-based judgment, check whether the process's hazard rate is actually increasing, decreasing, or flat, rather than assuming wear-and-tear reasoning applies by default.
Related concepts
Practice in interviews
Further reading
- Ross, Introduction to Probability Models, ch. 5
- Klein & Moeschberger, Survival Analysis, ch. 2