Mirifici Logarithmorum Canonis Descriptio (Description of the Wonderful Canon of Logarithms, 1614) and Mirifici Logarithmorum Canonis Constructio (Construction of the Wonderful Canon of Logarithms, 1619) are two books in Latin by John Napier expounding the method of logarithms. While others had approached the idea of logarithms, notably Jost Bürgi, it was Napier who first published the concept, along with easily used precomputed tables, in his Mirifici Logarithmorum Canonis Descriptio.

Prior to the introduction of logarithms, high accuracy numerical calculations involving multiplication, division and root extraction were laborious and error prone. Logarithms greatly simplify such calculations. As Napier put it: “…nothing is more tedious, fellow mathematicians, in the practice of the mathematical arts, than the great delays suffered in the tedium of lengthy multiplications and divisions, the finding of ratios, and in the extraction of square and cube roots… [with] the many slippery errors that can arise…I have found an amazing way of shortening the proceedings [in which]… all the numbers associated with the multiplications, and divisions of numbers, and with the long arduous tasks of extracting square and cube roots are themselves rejected from the work, and in their place other numbers are substituted, which perform the tasks of these rejected by means of addition, subtraction, and division by two or three only.”

The book contains fifty-seven pages of explanatory matter and ninety pages of tables of trigonometric functions and their Napierian logarithms. These tables greatly simplified calculations in spherical trigonometry, which are central to astronomy and celestial navigation and which typically include products of sines, cosines and other functions. Napier describes other uses, such as solving ratio problems, as well.

John Napier spent 20 years calculating the tables. He wrote a separate volume describing how he constructed his tables, but held off publication to see how his first book would be received. John died in 1617. His son, Robert, published his father's book, Mirifici Logarithmorum Canonis Constructio, with additions by Henry Briggs in 1619. The Constructio details how Napier created and used three tables of geometric progressions to facilitate the computation of logarithms of the sine function.

The tables In Napier's time, decimal notation, as used in Europe, only represented integers. Including a fractional part with a decimal number had been proposed by Simon Stevin but his notation was awkward. The idea of using a period to separate the integer part of a decimal number from the fractional part was first proposed by Napier himself in his Constructio book, Section 5, “In numbers distinguished thus by a period in their midst, whatever is written after the period is a fraction, the denominator of which is unity with as many cyphers after it as there are figures after the period.“ He used the concept to facilitate more accurate computation of the tables, but not in the printed tables themselves. Thus an angle's sine value published in his table is a whole number representing the length of the side opposite that angle in a right triangle with hypotenuse of 10,000,000 units. The logarithm in the table, however, is of that sine value divided by 10,000,000. The logarithm is again presented as an integer with an implied denominator of 10,000,000.

The table consists of 45 pairs of facing pages. Each pair is labeled at the top with an angle, from 0 to 44 degrees, and at the bottom from 90 to 45 degrees. (The 44–45 degree page being a single side.) The first column on each page of the table is an angle increment in minutes, to be added to the degree value at the top of the page. The far right column is minutes to be added to the degree value at the bottom of each page. This arrangement is such that for each line on a page, the full angle represented by column 7 is the co-angle of column 1 (90° – column_1). Moving inward, adjacent to each angle column is the sine of that angle, followed by the absolute value of Napierian log of that sine. One can get log-cosines for column 1 easily by reading across the page to column 5, and vice versa. The middle column shows the difference between the two logs, which is the Napierian log of the tangent function (cotangent if you reverse signs).

The tables can also be used as a table of Napierian logarithms for positive numbers less than one, using the sine values (Columns 2 and 6) as the argument and the log sine values (Columns 3 and 5) as the resulting logarithm. Reversing the procedure gives anti-logarithms.

The first three rows in the table below reproduce the headings and first two data rows of the left-side 19 degree page of Napier's table, see photograph. They are followed by values computed using modern algorithms for the same angles. These are truncated to 8-digit accuracy, one more than the nominal 7-digit accuracy of Napier's table. Column numbers are shown for clarity.

+ Napier's page (left side) for Gr. 19 (19 degrees) mi. Sinus Logarithmi Differentie Logarithmi Sinus 0 3255682 11221830 10661613 560217 9455186 60 1 3258432 11213386 10652167 561219 9454239 59 θ sin(θ) −ln(sin(θ)) −ln(tan(θ)) −ln(sin(90°-θ)) sin(90° − θ) 90° − θ 19° 0.32556815 1.12218345 1.0661617 0.05602174 0.94551857 71° 19° 1' 0.32584318 1.12133905 1.0652171 0.05612195 0.94542383 70° 59'Column 1234567

The Descriptio text Napier's Descriptio is divided into two books. The first describes his invention and some applications and includes the tables. The second discusses applications to trigonometry.

Book I Chapter 1 contains a series of definitions and propositions that explains Napier's conception of logarithms. He conceived logarithms in terms of two models of motion. In the first, a particle starts at a point and moves along a straight line at a constant speed. In the second, a particle moves along a straight line, starting with the same initial speed, but its speed decreases in proportion to its distance from the starting point. The logarithm of a number, a, is then the distance traveled by a particle in the constant speed model, during the time it takes the particle in the second, inverse proportional model to reach a. He defines the logarithm of 10,000,000 to be zero and that the logarithm of values less than that to be positive, while greater numbers have a negative logarithm, a reversal of sign from modern logarithms. (This sign change is sometimes expressed by saying Napier used logarithms with base 1/e.) He notes that he has freedom to choose any value to have a zero log, in modern terms the base, but chooses 10,000,000 for ease of calculation as it matches the "total sine" (the hypotenuse), in his sine tables. See Naperian logarithm.

The second chapter describes the properties of logarithms and give some formulas (in text form) for working with ratios. It ends with a note stating he is delaying publication of his work on constructing logarithms until he sees how his invention is received. Chapter 3 describes the tables and their seven columns, see above. The fourth chapter explains how to use the tables and gives worked examples for sines tangents and secants. He also explains how to get logarithms of numbers directly by using the sine values as the argument and the log-sine values as result and vice versa. He discusses how to deal with different multiples of ten and introduces a notation, similar to modern scientific notation where he appends a number of zeros after the logarithm of a quantity to indicate a need for correction by decades. He give specific logarithm quantities to be added or subtracted in different cases:

23025842 + 0 or 46051684 + 00, or 69077527 + 000, or 92103369 + 0000, or 115129211 + 00000

These correspond to 10,000,000*ln(10), 10,000,000*ln(100), etc.

Chapter 5 presents four problems in proportionality and their solution using Napier's logarithms. He concludes by asking "how great a benefit is bestowed by these logarithms : since by the addition of these for multiplication, by subtraction for divisional, by division by two for the extraction of square roots, and by three for cube roots ... all the heavier work of calculation is avoided."

Book II Book II deals with "that noble kind of Geometry, that is called Trigonometry." The first chapter deals with using logarithms to solve problems in plane trigonometry with right triangles and, in particular, with small angles, where his trigonometric logarithms become large. The next chapter cover plane oblique triangles. The remaining chapters cover spherical trigonometry, starting with quadrants. He also describes his Pentagramma mirificum, a five-pointed star on the sphere whose angles are all 90 degrees.

Mirifici Logarithmorum Canonis Constructio

Napier was reluctant to publish the theory and details of how he created his table of logarithms pending feedback from the mathematics community on his ideas, and he died shortly after publication of the Descriptio. His son Robert published the Constructio in 1619. The volume has a preface by Robert and several appendices, including a section on John Napier's methods for more easily solving spherical triangles, and a section by Henry Biggs on “another and better kind of logarithms,” namely base 10 or common logarithms. An English translation by William Rae Macdonald was published, with annotations, in 1889.

Napier's describes logarithms via a correspondence between two points moving under different speed profiles. The first point, P, moves along a finite line segment P0 to Q, with an initial speed that decreases proportional to P's distance to Q. The second point, L, moves along an unbounded line segment starting at L0 at the same time as P and with the same initial speed, but maintaining that speed without change. For each possible position of P, measured by its distance from Q, there is a corresponding simultaneous position of L. Napier defined the logarithm of the distance from P to Q to be distance from L0 to that L.

Computation approach

Napier relies on several insights to compute his table of logarithms. To achieve high accuracy he starts with a large base of 10,000,000. But he then gets additional precision by using decimal fractions in a notation that he invented, but now universally familiar, namely using a decimal point. He goes on to explain how his notation works with some examples. He also introduces a form of interval arithmetic to bound any errors that occur in his calculations.

Another now familiar fact he observes is that fractions with denominators that are powers of 10 can be computed easily in decimal notation by shifting the number right relative the decimal point. As he puts it: "We call easy parts of a number, any parts the denominators of which are made up of unity and a number of cyphers, such parts being obtained by rejecting as many of the figures at the end of the principal number as there are cyphers in the denominator."

He notes that arithmetic progressions are easy to calculate since they only involve addition and subtraction but that geometric progressions are, in general, harder to compute because they involve multiplication, division and possibly roots. However he observes that geometric progressions involving multipliers of the form (i.e. of the form 0.99...9, with m nines) can be computed to arbitrary precision using just one shift and one subtraction per stage. Similarly, multipliers of the form (i.e. 0.99...95) only require one shift, one division by two and one subtraction per stage for full precision, which he calls "tolerably easy."