Mathematical table
A mathematical table is a list of values of a function (a rule that gives one output for each input) that someone has worked out in advance. You look a result up instead of calculating it. A table of logarithms, for example, lists the logarithm of each number in a range, and a table of sines does the same for angles.
Tables are very old. The oldest known table comes from the Sumerian city of Shuruppak, in what is now southern Iraq, and probably dates from about 2600 to 2500 BCE.[1][2]
Printed tables were the most important aid to calculation for several hundred years, until the 1960s. Electronic calculators and computers have since replaced most of them.[1]
What a table contains
A table pairs inputs with outputs. The left column lists input values at a fixed step, such as every 0.01. The other columns give the function's value for each input, rounded to a set number of digits.
The step and the number of digits decide how useful a table is:
- A smaller step means more rows and a thicker book.
- More digits mean more work for the people who compute the table.
Many tables print only part of each value to save space. In a table of common logarithms (base 10), the logarithm of a number has two parts:[3]
- The characteristic is the whole-number part. It is the power of 10 when the number is written in scientific notation (a number from 1 to 10 times a power of 10), so no table is needed for it.
- The mantissa is the part after the decimal point. This is the part the table lists.
For example, , so the characteristic of is 1. The table supplies the mantissa 0.3762, so .[3]
The word mantissa is often credited to Henry Briggs in 1624, but this appears to be wrong. John Wallis used it in 1693, and Leonhard Euler used both terms for the parts of a logarithm in 1748.[4]
Using a table
Looking up a value
A four-figure log table is laid out as a grid.[3] The row label gives the first two digits of the number, and the column heading gives the third digit. A set of small "mean difference" columns on the right gives the amount to add for a fourth digit.
To find the mantissa for 23.78:[3]
- Go to row 23 and column 7. The entry is 3747.
- In the mean difference columns of the same row, read the entry under 8. It is 15.
- Add them: 3747 + 15 = 3762. The mantissa is 0.3762.
Multiplying with logarithms
Log tables turn multiplication into addition. This works because, for positive numbers and ,
You look up the two logarithms, add them, and then look up the number whose logarithm is the sum.[5] For example, to multiply 23.78 by 4.572 with a four-figure table:
- Look up and .[3]
- Add them to get 2.0363.
- Read the table in reverse. The mantissa 0.0363 belongs to 1.087, and the characteristic 2 moves the decimal point two places, so the product is about 108.7.
The exact product is 108.72216, so the four-figure answer is correct to four figures.
John Napier gave this use as his reason for inventing logarithms. He wrote that long multiplications and divisions were slow and "subject to many slippery errors".[6]
Reading between entries
When an input falls between two rows of a table, the reader must estimate its value. Estimating a value between entries is called interpolation. The simplest kind, linear interpolation, treats the function as a straight line between the two neighbouring entries.
Suppose the table lists and , where is the step. For an input a fraction of the way from one row to the next,[7]
For a function with a second derivative (the rate at which its slope changes), the error of this estimate is at most[7]
for some point between and . The error grows with the square of the step, so halving the step cuts this bound by a factor of four.
As an example, five-figure tables give and . The number 3.542 lies of the way along, so . That matches the true value to five decimal places.
Table makers built aids for interpolation into their tables:
- Ptolemy's chord table, with entries every half degree, has a column of "sixtieths" giving one thirtieth of the step between neighbouring chords.[8] Since half a degree is 30 minutes of arc, this is the change per minute.
- Four-figure log tables have mean difference columns that give the change for each extra digit.[3]
- High-precision handbooks such as Abramowitz and Stegun tell readers to interpolate through several table points (Lagrange interpolation) for full accuracy.[9]
Using more table points
Using several neighbouring entries can give a more accurate estimate than two. The degree of a polynomial is the highest power of the variable in it, so has degree 2. Through points with different inputs there is exactly one polynomial of degree at most that passes through all of them. It is called the Lagrange interpolation polynomial:[7]
Here is the table value at , and each equals 1 at and 0 at the other inputs.
For entries spaced a step apart, the error at the input is bounded by[7]
Here is the th derivative, is a point within the range of the points used, and is a number that depends on and on the range of . For two points (), , which gives the linear bound above.[7]
More points do not always help. A polynomial through many points has a high degree and can swing up and down between them, so it may predict the function poorly even though it matches every table value exactly.[10]
Abramowitz and Stegun print a short bracketed hint at the foot of many table columns. In the logarithm table for inputs from 1.750 to 1.800, it says linear interpolation is accurate to better than , and that full 15-figure accuracy needs Lagrange interpolation through 5 points.[9]
Kinds of tables
In the early 19th century, mathematicians, navigators, engineers, surveyors and bankers relied on printed tables for any calculation that needed more than a few figures of accuracy.[11] The main kinds are compared below.
| Kind | What it lists | Example |
|---|---|---|
| Arithmetic | Products, squares, fractions, and reciprocals (numbers that multiply by the original to give 1) | Old Babylonian multiplication and reciprocal tables[12] |
| Trigonometric | Chords (straight lines joining two points on a circle), sines and other trigonometric ratios | Ptolemy's table of chords[8] |
| Logarithmic | Logarithms of numbers and of trigonometric values | Briggs's Arithmetica Logarithmica (1624)[13] |
| Special functions | Values of advanced functions used in physics and engineering | Mathematical Tables Project volumes, including Bessel functions[14] |
| Number theory | Indices: exponents that act as logarithms in clock arithmetic (arithmetic where numbers wrap around after a fixed value) | Canon arithmeticus (1839)[15] |
| Random numbers | Digits with no pattern, for sampling and simulation | A Million Random Digits (1955)[16] |
| Navigation and astronomy | Positions and values needed at sea | Tables for finding longitude by the lunar distance method[17] |
| School handbooks | Formulas and data tables for students | The Finnish MAOL table book[18] |
Making a table
The method of differences
Human computers often built tables with the method of finite differences, which needs only addition and subtraction.[11] You take differences between neighbouring values, then differences of those differences. For a polynomial of degree , the th differences are constant.[19]
For example, take , whose values at to 4 are 5, 8, 13 and 20.[19]
- The first differences are 3, 5 and 7.
- The second differences are 2 and 2, a constant.
- To extend the table, add the constant 2 to the last first difference (7) to get 9.
- Add 9 to the last value (20) to get . Repeating gives .
Logarithms and trigonometric functions are not polynomials. Polynomials can approximate them, though, so the same method served for these tables too.[17]
Dividing the work
Large tables were made by splitting the work into simple steps for many workers. In 1792, Gaspard de Prony began a huge set of logarithmic and trigonometric tables in France with 70 to 80 assistants. The work was finished in 1801.[20]
Prony's tables had these features:[20]
- They gave values to between 14 and 29 decimal places, in 18 large-format volumes plus a volume of methods.
- They used a "division of labour", which his publisher praised for reducing most of the work to simple additions and subtractions.
- They were too expensive to print and were never published in full.
The Mathematical Tables Project in New York used the same idea from 1938.[14] It was led by Arnold Lowan, with Gertrude Blanch as chief mathematician. At its peak it had about 450 staff, most of whom only added, and it produced 37 volumes of tables.[14]
Errors
Hand-made tables often contained mistakes. These came from calculation and from copying, setting type and printing.[11] The astronomer John Herschel wrote in 1842 that "an undetected error in a logarithmic table is like a sunken rock at sea".[17]
These errors led Charles Babbage to design machines that would compute and print tables. In 1821 he began the Difference Engine No. 1, which was designed to use the method of differences and print its results automatically.[21] Neither of his difference engines was built in his lifetime. The Science Museum in London completed a Difference Engine No. 2 from his 1847 to 1849 design in 2002.[11]
History
Ancient tables
The oldest known tables come from Shuruppak and probably date from about 2600 to 2500 BCE.[2] One, known as VAT 12593, lists the areas of square fields with sides of decreasing length.[2]
In the Old Babylonian period, around 2000 BCE, scribes used multiplication tables and tables of reciprocals.[12] They divided by a number by multiplying by its reciprocal, and they wrote numbers in base 60, the sexagesimal system.[12] See Babylonian mathematics.
In Egypt, the Rhind Mathematical Papyrus was copied around 1650 BCE.[22] It opens with the 2/n table, which writes 2 divided by each odd number from 3 to 101 as a sum of unit fractions (fractions with numerator 1), such as 1/4 + 1/28.[22] These sums are now called Egyptian fractions.
In the 2nd century CE, Ptolemy included a table of chords in the Almagest, based largely on earlier work by Hipparchus.[8] It gives the length of the chord for each angle up to 180° in half-degree steps, in a circle whose diameter is 120 units.[8] Because in this circle, the table is the same as a table of sines for angles up to 90° in quarter-degree steps.[8]
Logarithm tables
Napier published his logarithms in 1614 in Mirifici logarithmorum canonis descriptio.[6] His logarithms were not to base 10. Napier and Briggs agreed that new tables should use base 10, with the logarithm of 1 equal to 0.[13]
Briggs's Arithmetica Logarithmica (1624) gave logarithms of the numbers 1 to 20,000 and 90,000 to 100,000, to 14 decimal places.[13] Adriaan Vlacq filled the gap from 20,000 to 90,000 in an edition printed at Gouda in 1628.[13] Printed tables then remained the most important computing aid for several hundred years, until the 1960s.[1]
Index tables
Carl Gustav Jacob Jacobi's Canon arithmeticus (1839) gave tables of indices for each prime below 1000, followed by tables for prime powers below 1000.[15] A prime is a whole number greater than 1 whose only divisors are 1 and itself. A prime power is a prime raised to a whole-number power, such as .
Indices are taken with respect to a primitive root. The statement means that and leave the same remainder when divided by . A primitive root modulo is a number whose powers, taken this way, give every number below that shares no factor other than 1 with .[23]
The index of a number is the exponent with . For example, 3 is a primitive root modulo 10, since leave remainders 3, 9, 7 and 1, so the index of 7 is 3.[23] The index is also called a discrete logarithm, since it plays the role of a logarithm in modular arithmetic.[23]
Not every modulus has a primitive root. Among powers of 2, only 2 and 4 have one.[23] Jacobi noted that for moduli of the form the odd numbers cannot all be written as powers of one number, and he added separate tables for these moduli below 1000.[15]
Random digits
The RAND Corporation produced A Million Random Digits with 100,000 Normal Deviates, which The Free Press first published in 1955.[24] Its digits came from an electronic roulette wheel and were produced in 1947.[16] The book was made for Monte Carlo calculations on punched-card machines.[16]
The 1964 handbook
In 1964, the National Bureau of Standards, now NIST, published the Handbook of Mathematical Functions, edited by Milton Abramowitz and Irene Stegun.[25] It ran to 1,046 pages and became the most widely distributed and most cited NIST publication in the institution's first 100 years.[25]
Decline
Computers did not end the use of tables at once. A 1954 conference that led to the Abramowitz and Stegun handbook agreed that tables would still be needed, even with large computers available.[26] It saw tables as tools for first surveys of a problem and for people without access to machines.[26]
Handheld calculators removed most of that need. The HP-35 of 1972 was the first handheld calculator to compute logarithms and trigonometric functions.[27] Its maker advertised that it "eliminates the need to refer to log or trig tables".[28]
In 2010, NIST released the Digital Library of Mathematical Functions, the successor to Abramowitz and Stegun.[29] It dropped the long tables of function values, which NIST called "a necessity before the advent of desktop computers".[29]
Tables in computing today
The idea of a table lives on inside computers. A lookup table stores results worked out in advance so a program can read them instead of computing them, trading memory for speed.[5] Log tables, for example, are still used in some computing to replace costly multiplications with lookups and additions.[5]
Interpolation also survives. Computers sometimes evaluate a function by interpolating between stored values, just as human readers once did with printed tables.[9]
References
- The History of Mathematical Tables: From Sumer to Spreadsheets, Oxford University Press, 2003.
- Early-Dynastic tables from Southern Mesopotamia, or the multiple facets of the quantification of surfaces, HAL open archive, 2020.
- How to Use Log Table?, Cuemath, 2024.
- Earliest Known Uses of Some of the Words of Mathematics (M), Jeff Miller, MacTutor History of Mathematics, University of St Andrews.
- Logarithms, Julius O. Smith III, Mathematics of the Discrete Fourier Transform, CCRMA, Stanford University, 2007.
- John Napier (1550 - 1617) - Biography, MacTutor History of Mathematics, University of St Andrews, 2003.
- §3.3 Interpolation, NIST Digital Library of Mathematical Functions, 2024.
- Ptolemy's Table of Chords: Trigonometry in the Second Century, The Physics Hypertextbook (E-World), 1997.
- Using a table of logarithms, John D. Cook, 2024.
- Lagrange Interpolating Polynomial, Eric W. Weisstein, MathWorld, Wolfram Research.
- Charles Babbage's Difference Engines and the Science Museum, Science Museum, 2023.
- Old Babylonian Multiplication and Reciprocal Tables, Tony Phillips, Stony Brook University, 2012.
- Henry Briggs (1561 - 1630) - Biography, MacTutor History of Mathematics, University of St Andrews, 2003.
- Prehistory: The Math Tables Project, NIST, 2022.
- Canon arithmeticus, sive tabulae quibus exhibentur pro singulis numeris primis vel primorum potestatibus infra 1000 numeri ad datos indices et indices ad datos numeros pertinentes (full text), C. G. J. Jacobi, Berlin, Typis Academicis (Internet Archive scan), 1839.
- A Million Random Digits with 100,000 Normal Deviates, RAND Corporation, 2001.
- Charles Babbage's Difference Engine, Whipple Museum of the History of Science, University of Cambridge.
- MAOL-taulukot, Otava, 2019.
- How it Works, Babbage Engine, Computer History Museum.
- Gaspard de Prony (1755 - 1839) - Biography, MacTutor History of Mathematics, University of St Andrews.
- The Engines, Babbage Engine, Computer History Museum.
- The Rhind 2÷n table and fraction reckoning in ancient Egypt, Thomas Blasselle and Cédric Gaucherel, HAL open archive, 2017.
- Primitive Roots, Indices and the Discrete Logarithm, Neil Donaldson, Math 180B lecture notes, University of California, Irvine.
- A Million Random Digits with 100,000 Normal Deviates: Introduction, RAND Corporation, 2001.
- Foreword, NIST Digital Library of Mathematical Functions, 2010.
- Handbook of Mathematical Functions, Preface, National Bureau of Standards, 1964.
- Milestones: Development of the HP-35, the First Handheld Scientific Calculator, 1972, IEEE Engineering and Technology History Wiki.
- The Hewlett-Packard HP-35 Scientific Pocket Calculator (brochure), Hewlett-Packard, 1972.
- NIST Releases Successor to Venerable Handbook of Math Functions, NIST, 2010.
