Weibull Reliability
One shape knob turns a lifetime model from infant-mortality to constant-risk to wear-out — the bathtub curve, in a single distribution.
A single failure rate is not enough
Suppose you model the lifetime of a machine part with one average failure rate and stop there. You have quietly assumed something strong: that a brand-new part and a ten-year-old part are equally likely to fail in the next hour. For light bulbs that might be roughly true. For almost everything else it is not.
Three patterns show up again and again:
- Infant mortality. A fresh batch carries hidden defects. The weak units die early, so the failure rate is high at first and then falls as the survivors prove themselves.
- Random, age-independent failure. A steady background rate — voltage spikes, stray cosmic rays — that does not care how old the unit is.
- Wear-out. Fatigue, corrosion, and erosion accumulate, so an old unit fails at a rate that rises with age.
The Weibull distribution builds all three from one family, tuned by a single shape parameter.
Three views of the same distribution
Reliability work looks at a lifetime \(T\ge 0\) through three linked functions:
- The density \(f(t)\) — how the probability of failing is spread across time.
- The reliability (or survival) function \(R(t)=\Pr(T>t)\) — the fraction still working at time \(t\). It starts at 1 and slides down to 0.
- The hazard rate \(h(t)\) — the instantaneous failure rate given survival so far. This is the one that tells the aging story, and it is defined as the density among the survivors, \(h(t)=f(t)/R(t)\).
Read the hazard carefully: it is conditional. A rising hazard means that the longer a unit has lasted, the more precarious its next moment becomes.
The hazard rate is where k lives
Divide the density by the reliability and the exponential terms cancel, leaving a strikingly simple hazard:
Shape, scale, and the bathtub curve
Look at the exponent \(k-1\) in the hazard and the whole picture falls out:
- \(k<1\Rightarrow k-1<0\): the hazard is a decreasing function of \(t\) — infant mortality.
- \(k=1\Rightarrow k-1=0\): the hazard is constant at \(1/\lambda\) — the exponential, the only memoryless lifetime.
- \(k>1\Rightarrow k-1>0\): the hazard increases with \(t\) — wear-out. (At \(k=2\) it rises in a straight line; this special case is the Rayleigh distribution.)
Stitch these three regimes across a product's life — a falling hazard early, a flat stretch in the middle, a rising hazard at the end — and you get the famous bathtub curve of reliability engineering.
The scale \(\lambda\) plays a separate role: it is the characteristic life. Whatever \(k\) is, plugging \(t=\lambda\) into the reliability gives \(R(\lambda)=e^{-1}\approx 0.368\) — so by the characteristic life about 63% of units have failed. It anchors the timescale without touching the shape.
See k reshape the failure rate
Below, switch the view between the density \(f(t)\) and the hazard \(h(t)\), then drag the shape \(k\). Watch the hazard panel especially: as you slide \(k\) through 1, the failure-rate curve tips from downhill, to flat, to uphill — the three arms of the bathtub, live. The dashed marker sits at the scale \(x=\lambda\); moving \(\lambda\) slides the whole picture along the time axis without changing its shape. The readout reports the mean life \(\lambda\,\Gamma(1+1/k)\).
- Aging pattern: \(k=2>1\), so the exponent \(k-1=1>0\) and the hazard rate rises with age — this is a wear-out component, not a random-failure one.
- Reliability at 2000 h: \(R(2000)=\exp[-(2000/5000)^2]=\exp[-(0.4)^2]=\exp(-0.16)\approx 0.852\).
- So about 85% of motors are still running at 2000 hours.
- Characteristic life: at \(t=\lambda=5000\) h, \(R=e^{-1}\approx 0.368\), so only ~37% remain by then.
- Mean life: \(\lambda\,\Gamma(1+1/k)=5000\,\Gamma(1.5)=5000\times\tfrac{\sqrt{\pi}}{2}\approx 5000\times 0.8862\approx 4431\) hours.
Check your understanding
- The Weibull models lifetimes with two dials: scale lambda (the timescale) and shape k (the trend of the failure rate).
- Density, reliability R(t) = exp[-(t/lambda)^k], and hazard h(t) = (k/lambda)(t/lambda)^(k-1) are three views of the same distribution, linked by h = f/R.
- The hazard exponent is k - 1: k<1 falls (infant mortality), k=1 is constant (the exponential), k>1 rises (wear-out) — the three arms of the bathtub curve.
- The scale lambda is the characteristic life: R(lambda) = e^-1 ≈ 0.37 for every k, so ~63% have failed by then.
- The mean life is lambda times Gamma(1 + 1/k).