Arithmetic and NumbersDeeper

Kayavak / Arithmetic and Numbers / AN·07 Decimals and Percentages / Deeper

Deeper · Arithmetic and Numbers

Decimals and Percentages

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?

Decimal fractions solved a practical problem: fractions with different denominators are awkward to compare and combine, and tradespeople, surveyors and tax collectors needed arithmetic anyone could check. Writing everything in tenths, hundredths and thousandths turned it all back into column arithmetic. The idea was old by the time Simon Stevin popularised it in 1585, but measures and money stayed non-decimal for centuries. India's rupee was divided into 16 annas, each of 4 pice (or 12 pies), until decimal coinage arrived on 1 April 1957, when the rupee became 100 "naya paise" (new paise); the metric system for weights and measures followed in the same years. France had adopted the metric system in the 1790s; Britain decimalised its currency on 15 February 1971.

The percent sign grew out of abbreviations of the Italian per cento in fifteenth-century merchants' books, slowly shortened to the symbol used today. And when computers arrived, they mostly chose binary fractions instead: fast in hardware, but unable to store 0.1. Different machines rounded differently until the IEEE 754 standard (1985), led by William Kahan, fixed one set of rules for binary floating point; its 2008 revision added decimal formats for exactly the problem this chapter describes.

The mental model

Try it yourself first: write your own model in the Mental Model Explorer, then compare.

A decimal is a fraction whose denominator is a power of ten, written in place value. Every fraction has a decimal that either ends (when the denominator's primes are only 2 and 5) or repeats (because long division's remainders must recur). A percentage is a decimal scaled by 100, always of a named base, and percentage changes multiply.

Question Answer
What is it? Place value extended to the right of the units, and "per hundred" as a standard scale
Problem it solves Comparing and combining amounts with column arithmetic; a common language for proportions
Parts The point, decimal places, ending and repeating expansions, percent, percentage change, percentage points
How it works Each place is a tenth of the one to its left; percent is a fraction with denominator 100
Assumptions Base ten; for percentages, a stated base value
When they change In base 2, different fractions end (only power-of-two denominators); percentages of different bases can't be added
Where it fails 13 has no finite decimal; floats can't store 0.1; averages of percentage changes mislead
Related ideas Place value (ch02), long division (ch04), primes (ch05), fractions (ch06), rates (ch08), rounding (ch11)

What if?

What if we counted in base 12?

Reason it through, then open

A fraction ends in base 12 when its denominator's primes divide 12, that is, are only 2 and 3. So 13=0.4, 14=0.3 and 16=0.2 would all be short, the fractions people use most in sharing and measuring; but 15 would repeat (0.2497 2497 …), and so would 110. Every base trades one set of short fractions for another. Advocates of base 12 (the "dozenal" societies) argue its trade is better for daily life; base 10 won because of fingers and because the metric system was built on it.

What if money were still divided into 16 annas?

Reason it through, then open

Halving would always be exact down to the smallest coin (16, 8, 4, 2, 1 annas, then pice), which is why many old systems used powers of two and twelves: they suit repeated halving and splitting three ways. But adding a column of "₹3, 11 annas, 2 pice" amounts means carrying at 4 pice and 16 annas, two different carries, and percentages and interest are much harder. Decimalisation gave up easy halving and thirding to make every calculation ordinary column arithmetic, and to make machines and ledgers simpler. Software that stores paise is doing what the 1957 reform did.

What if percentage changes were measured from the end value, or both?

Reason it through, then open

Measured from the end, ₹60 to ₹66 would be a rise of 666≈9.09%, and a rise then an equal fall would still not cancel. Economists use a symmetric measure instead: the log change, ln(new/old), about 9.53 "log points" for 60 to 66 and exactly −9.53 back again. Log changes add up over time (a rise then a fall of the same log size cancels exactly), which is why they're used for growth rates and returns. Chapter 10 introduces the logarithm; the everyday percentage stays measured from the start because that's what a price tag means.

Where the boundary is

Aspect Percent (%) Percentage points (pts)
Measures A relative change, or a share of a base The difference between two percentages
8 % to 10 % is A 25 % rise A 2-point rise
Depends on the starting value Yes No
Adds up over successive changes No (changes multiply) Yes (differences add)
Used for Price changes, growth, shares Changes in rates: interest, unemployment, vote shares
Common confusion "Up 2 %" said when 2 points is meant Rarely confused the other way

Derive it

How many decimal places a fraction that ends has.

  1. Take ab in lowest terms with b=2m×5n (the only kind that ends, by the chapter's theorem).
  2. A decimal with k places is a whole number over 10k=2k×5k. For ab to be written that way, b must divide 10k, so k≥m and k≥n.
  3. Take k=max(m,n) and multiply top and bottom by 2k−m×5k−n: the bottom becomes 10k, so k places are enough.
  4. Fewer won't do: with k−1 places the bottom 10k−1 lacks a factor 2 or a factor 5 that b needs, and since a shares no factor with b, it can't make up for it.
  5. So ab has exactly max(m,n) decimal places. Check: 340, with 40=23×5, has 3 places (0.075); 7125 =753 has 3 (0.056); 11024 =1210 has 10 (0.0009765625).

How sure are we?

Claim How it's known Where from
A fraction in lowest terms ends exactly when its denominator has only the primes 2 and 5 Theorem The chapter's proof; checked for every 1n up to 50 in its lab
Every other fraction repeats, with period less than the denominator Theorem Long division's remainders recur; the lab
0.999… = 1 Theorem The chapter's algebra; a limit, made precise in analysis
0.1 can't be stored exactly as a binary float Theorem The base-2 version of the first claim; the companion measured it
Successive percentage changes multiply Theorem Percent is a multiplier; the lab's +10 %/−10 %
Most languages round exact halves in floats to even by default Convention IEEE 754's default rounding mode; language documentation
India's decimal coinage began on 1 April 1957 Historical The Indian Coinage (Amendment) Act, 1955
The rupee is divided into 100 paise Convention It could have stayed in annas; the 1957 reform chose 100

Still open

Whether infinitely many primes p make 1p repeat with the longest possible period, p−1 digits, is Artin's conjecture (1927), still unproved, though it follows from a generalised form of the Riemann hypothesis. And nobody knows whether the digits of π, or of 2, are normal: whether every digit, and every block of digits, appears equally often in the long run. Computations of trillions of digits look normal; no proof exists.

What would change your mind? The chapter recommends decimal types or whole minor units for money, not binary floats. If a workload's amounts were all exactly representable in binary (prices in quarters, say), or if errors of 10−16 of the total were truly irrelevant and never compared for equality, floats would be acceptable; the recommendation rests on how often neither is true.

Recall

Which fractions have decimals that end?

Those whose lowest-terms denominator has no primes but 2 and 5.

Why must a fraction's decimal repeat if it doesn't end?

Long division can only produce remainders below the divisor, so one must recur, and from there the digits repeat.

How many decimal places does a fraction with denominator 2^m × 5^n have?

max(m, n).

Why don't a 10% rise and a 10% fall cancel?

They multiply by 1.10 and 0.90, which is 0.99; the fall is taken from a bigger base.

A rate goes from 8% to 10%. Describe the change two ways.

Up 2 percentage points, which is a 25% rise in the rate.

When did Indian coinage become decimal?

1 April 1957, with 100 naya paise to the rupee.

Reflect

Be honest with yourself; this stays in your browser. Anything you can't tick yet is what to revisit.