Kayavak / Arithmetic and Numbers / AN·11 Estimation, Rounding, Error and Units / Deeper
Deeper · Arithmetic and Numbers
Estimation, Rounding, Error and Units
The questions the chapter doesn't stop for: why this exists, the model to keep in your head, what changes when an assumption does, how sure we are of each claim, and what's still open. Read it after the chapter; back to the chapter.
Why does this exist?
Measurement is older than arithmetic: lengths from body parts (the cubit, the foot, the hand), weights from seeds, time from the sky. Every ruler and every market made its own units, and trade between towns meant converting. Indian texts such as the Arthaśāstra (compiled around the start of the common era) list official weights and measures and the penalties for false ones; the Harappan cities, two thousand years earlier, already used a standard system of cubic stone weights. Revolutionary France set out to replace hundreds of local units with one decimal system based on nature (the metre as a fraction of the Earth's meridian), adopted in 1795; the Metre Convention of 1875 created an international bureau to keep the standards, and the SI (1960) became the common language of science. India moved to metric weights and measures between 1958 and the 1960s.
The theory of error came from astronomy. Repeated observations of the same star disagreed, and astronomers needed to know how to combine them: Legendre (1805) and Gauss (1809) developed least squares, and Gauss's analysis of observational error gave the "normal" bell curve. In computing, rounding became a design question: early machines rounded inconsistently, and IEEE 754 (1985) fixed the rules, half even by default, for every floating-point operation.
The mental model
Try it yourself first: write your own model in the Mental Model Explorer, then compare.
Every measured number stands for a range. Estimation finds a range's rough position quickly; rounding chooses one value to write for it; error measures its width and follows it through calculations; units say what is being counted, and behave like factors in every calculation.
| Question | Answer |
|---|---|
| What is it? | The arithmetic of approximate, measured and labelled numbers |
| Problem it solves | Knowing how far to trust a result, and catching mistakes of size and of kind |
| Parts | Significant figures, rounding rules, absolute and relative error, propagation, units and conversion |
| How it works | Errors combine by simple rules; units multiply and cancel like factors |
| Assumptions | Errors small compared with the values; units well defined; errors independent (for typical bounds) |
| When they change | Close differences amplify relative error; calendar units vary; worst case vs typical depends on independence |
| Where it fails | Double rounding; floats accumulating tiny errors; unit mix-ups at system boundaries |
| Related ideas | Rates (ch08), scientific notation and orders of magnitude (ch10), floats (ch07), the real line (ch12) |
What if?
What if every number were exact?
Reason it through, then open
In pure mathematics they are: and are exact numbers. But no ruler, scale or clock delivers an exact real number, and no computer stores most of them. A world of exact measurement would need infinite precision in every instrument and infinite memory in every computer. So applied arithmetic always works with ranges, explicitly ( cm) or implicitly (81 cm, to the nearest centimetre). The question is never "is it exact?" but "is it precise enough for the decision?", and that's what error analysis answers.
What if everyone used one unit system?
Reason it through, then open
Most of the world nearly does: the SI is used for science, and metric units for trade, in almost every country. The remaining mixtures (miles, pounds and Fahrenheit in a few countries; feet in aviation altitudes; inches for screens and pipes; acres, guntas and bighas for land in India) persist because of existing equipment, records and habits. Even with one system, conversion wouldn't vanish: prefixes (mg, kg), derived units (kWh against joules) and calendar units still need care. The lesson of the Mars Climate Orbiter is less "use metric" than "make the unit explicit at every interface".
What if we always rounded down?
Reason it through, then open
Truncation is simple and some systems do it (cutting decimals off, integer division towards zero). But it's biased: on average it loses half a unit per value, so totals of truncated amounts drift down steadily (a bank truncating each customer's interest would keep about half a paisa per account per crediting, which over millions of accounts is real money). For quantities that must be whole and sufficient (boxes, seats, cylinders) you round up, not down; for counts of complete things (full boxes) you round down. The rule must match the question.
Where the boundary is
| Aspect | Precision | Accuracy |
|---|---|---|
| Meaning | How finely a value is stated or measured | How close a value is to the truth |
| Shown by | Significant figures, decimal places, the instrument's resolution | Comparison with a trusted reference |
| Example | A scale reading 72.384 kg is precise | If it's miscalibrated by 2 kg, it's inaccurate |
| Improved by | Better instruments, more digits | Calibration, removing systematic errors |
| Can mislead when | Many digits suggest a reliability the method lacks | A single check against a wrong reference |
| In software | Float digits printed | Whether the computation or data is right |
Derive it
Why, for small relative errors, the relative error of a product is about the sum of the inputs' relative errors.
- Write the measured values as and , where and are the relative errors (positive or negative).
- Their product is by distributivity.
- So the product's relative error is .
- If and are at most 1 % (0.01), the extra term is at most 0.0001, a hundred times smaller than either: negligible. So the relative error is about , at most .
- For a power, , the same argument with equal factors gives about : a 1 % error in a length is about a 2 % error in an area and 3 % in a volume (chapter 10's and again).
How sure are we?
| Claim | How it's known | Where from |
|---|---|---|
| Absolute errors add (worst case) in sums and differences | Theorem | The triangle inequality; the chapter's proof |
| Relative errors add, approximately, in products and quotients | Theorem | The derivation above, for small errors |
| Independent random errors grow like the square root of the count | Theorem | Variance adds for independent errors; simulated in the companion |
| Half-even rounding has no bias over evenly spread halves | Theorem | The exercises' harder exercise 12; measured in the lab |
| One-figure estimates of sums are usually within about 10 % | Measured | The chapter's lab, 10,000 random shopping lists |
| The inch is exactly 2.54 cm | Convention | The 1959 international agreement |
| Since 2019 the kilogram is defined by the Planck constant | Convention | The 26th General Conference on Weights and Measures (2018), effective 20 May 2019 |
| A unit mix-up caused the loss of the Mars Climate Orbiter | Historical | NASA's 1999 mishap investigation report |
Still open
How to communicate uncertainty to non-specialists is still debated: ranges, probabilities, "likely" and "very likely", error bars and confidence intervals are all misread in predictable ways, and studies continue on which formats help people decide well. In computing, whether languages should make units part of their type systems by default is argued over: it prevents a whole class of errors, at the cost of more complex code and libraries.
What would change your mind? The chapter recommends rounding once, at the end. Where a law or contract requires rounding at intermediate steps (each invoice line, each month's interest), that requirement wins, and the "more accurate" calculation would be the wrong one for that purpose.
Recall
What's the difference between decimal places and significant figures?
Decimal places count digits after the point; significant figures count digits from the first non-zero one.
Why does half-even rounding exist?
Half up pushes every exact half the same way and biases totals; half even sends half of them each way.
How do errors combine in a sum, and in a product?
Absolute errors add for sums and differences; relative errors add (approximately) for products and quotients.
Why is subtracting two close measurements risky?
The absolute error stays the same while the value shrinks, so the relative error becomes large.
How do you convert km/h to m/s?
Multiply by 1000 m/1 km and by 1 h/3600 s: divide by 3.6.
Why is 1 m² equal to 10,000 cm²?
A square metre is 100 cm by 100 cm; the conversion factor is squared.
Reflect
Be honest with yourself; this stays in your browser. Anything you can't tick yet is what to revisit.