A11 · Lesson 18 · Extremes
The largest and smallest of many, and how big noise peaks get
Engineers often care less about a typical value than about the worst one: the first of many parts to fail, the highest noise peak in a second of samples, the slowest of a thousand logic paths. These are extremes, the maximum or minimum of many random values, and they follow simple rules. The largest of values is below only if every one of them is, so its CDF is the single value's CDF raised to the power . That one idea explains why big systems fail early and why a noise signal's peaks sit five or six standard deviations out.
- The curve is the density of the largest of independent values, each uniform on : .
- With it's flat. Raise : the density piles up near 1, because with many draws, one of them is almost certainly large.
- The readout gives the mean of the maximum, .
Predict
A system has 3 parts, each with an exponential lifetime of mean 10 years. When, on average, does the first one fail?
After years. The minimum of independent exponential lifetimes is exponential too, with the failure rates added: three parts at 0.1 per year give 0.3 per year. Every redundant part you add without spares makes the first failure come sooner, which is why large systems need maintenance plans built around their weakest-link rate.
Name it
The maximum and the minimum
For independent values with the same CDF :
The maximum's density is .
Exponential lifetimes
If each part fails at rate , the first failure among parts comes at rate , with mean . With different rates, the rates add: the series-system failure rate is the sum of its parts' rates.
Noise peaks and crest factor
A noise waveform's crest factor is its peak divided by its RMS. For Gaussian noise there's no hard peak, but over independent samples the chance that all stay within is . For a million samples, gives about even odds; so a scope capturing a million noise samples typically shows peaks near , and peak-to-peak readings of about for a long record. Converters and amplifiers are given headroom for those peaks.
Worst-case paths
A chip's clock period is set by its slowest path. If thousands of paths each have a little random delay variation, the maximum sits several standard deviations above the typical path, so statistical timing analysis looks at the tail, not the mean.
Worked example
Three parts each have exponential lifetimes with a mean of 10 years. What is the mean time to the first failure?
Show the solution
- Combined rate. Each fails at rate 0.1 per year, so the first of the three fails at rate 0.3 per year.
- Mean time to the first failure. That's an exponential with mean
- All three last 5 years. against for one part.
Answer the first failure comes after 3.33 years on average.
Worked example
Gaussian noise is sampled a million times. What is the chance that every sample stays within ±5σ?
Show the solution
- One sample. Each sample exceeds with probability
- A million samples. All million stay inside with probability
- What it means. In a million samples, peaks beyond are roughly a coin toss; in ten million, they're almost certain.
Answer every sample stays within ±5σ with chance 0.56.
Worked example
Nine values are uniform on . What is the mean of the largest, and the chance it's below 0.9?
Show the solution
- Mean of the largest. The mean of the maximum of uniforms is
- All nine below 0.9.
- What it means. The maximum is above 0.9 more often than not, even though each value is below 0.9 nine times in ten.
Answer the largest has mean 0.9, and it is below 0.9 with chance 0.387.
Check
5 parts each have an exponential lifetime with a mean of 5 years. When, on average, does the first fail?
Check
10 independent values are uniform on . What is the chance the largest is below 0.8?
Check
Gaussian noise is sampled 1000 times. What is the chance that at least one sample exceeds ±4σ?
Check
What is the mean of the largest of 9 values uniform on ?
Check
A board fails if either of two parts fails; their failure rates are 0.1 and 0.05 per year.
(a)
What is the chance the board survives 5 years?
(b)
What is its mean life?
Check
Find the density of the largest of uniform values on .
Step 1
What is its CDF, ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
Differentiate. What is its density?
Check
Simulate 10⁵ systems of 3 parts, each with an exponential life of mean 10 years (np.random.default_rng(1)), and set first to the mean time to the first failure.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Explain why
Why does adding more components to a system without redundancy make it fail sooner, even if each component is excellent?
A series system works only while every component works, so its lifetime is the minimum of the components' lifetimes. The minimum of many random values sits near the low end of their spread, and the more values there are, the lower it goes. For constant failure rates the effect is exact: the system's failure rate is the sum of its parts' rates, so a thousand parts each failing once per million hours give a system that fails once per thousand hours. Excellent parts help, but only redundancy, which lets the system survive individual failures, breaks the link between part count and failure rate.
Practice
Keep practicing
7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.