Every number stored in a computer is slightly wrong. The fraction 1/3 can't be written exactly in binary; the decimal 0.1 can't either. When you chain hundreds of operations together — the way scientific simulations do — those tiny mismatches accumulate, and there is no easy way to know how large the final error actually is.
Interval arithmetic attacks that problem head-on. Instead of representing a quantity as a single floating-point value, it carries a guaranteed bracket [a, b] that is guaranteed to contain the true mathematical answer. Every addition, subtraction, multiplication, and division is redefined so that the bracket expands just enough to swallow the rounding error of that step.
The result is a computation that proves its own accuracy: if you evaluate a formula with interval arithmetic and get [3.14159, 3.14160], you know with certainty — no approximation, no probability — that the true value lies in that range.
The idea was formalized by Ramon E. Moore in his 1966 book Interval Analysis, making it one of the foundational techniques of rigorous numerical computing. It sits in the toolkit of everyone who needs not just a good answer, but a guaranteed one.
Comments
Loading comments...