





IntroductionLogarithms can be viewed as a bridge between elementary algebra and more advanced math. As in the rest of "From Stargazers to Starships," here too, differential calculus is avoided, even though it can explain a lot . Therefore these sections may be regarded as an optional addition. After 4 section a natural break occursjust before the number "e" is introduced, and the user may stop there, or else, continue. And remember that these sections are meant to accommodate a wide variety of users: if any parts seem elementary or repetitious, just fastforward past them!OverviewA logarithm of a given number (its "log" for short) is another number, tied to it by some relationship. In other words, it is a "function" of that number. Suppose the chosen number is "2". The user should already know some basic relationships:The negative opposite (–2). That is the number which, when added to 2, brings one back to zero. The inverse of 2 or 1/2 = 0.5. That is the number which, when multiplied by 2, brings us back to 1, the cornerstone of all multiplication. The square of 2 or 2*2 = 4, the number multiplied by itself. To these one may add now: The logarithm of 2 or log 2 = 0.301029995... ?
How does one derive logarithms, i.e. numbers like log2 = 0.3010299.. What makes logarithms useful or important? You may for instance recall the slide rule used by engineers not long ago, for quick multiplication and division (of limited accuracy, but often good enough for the job). It was based on "logs." How did it work? An optional example of a calculation using logarithmsTo multiply two numbers A an B using logarithms (the precalculator way):
Add the logarithms Using tables of "logs", find the number whose logarithm equals the sum. (or use a table of "antilogs" where the value of the logarithm is the input and the table then leads you to the number.) That is your answer. Until about 1970, such calculators were unknown. Mechanical calculators for the first 4 operationsoperated by a hand crank, or later by an electric motorwere in limited use from the start of the 20th century, but were expensive, as was their repair. Cash registers used somewhat similar methods, requiring the smooth meshing of many gears, but to multiply two numbers (even large ones), or divide them, most people used paperandpencil methods taught in school. Those methods can give full precise solutions. However, in many engineering applications, an accuracy of 4 or 5 decimal places (or whatever) is enough. For such applications, tables of logarithms with corresponding precision saved much time and effort, replacing multiplication by an additionor in other cases, division by subtraction. For reason described below, only logarithms of numbers between 1 and 10 are needed, giving the fractional part of the logarithm, to the right of the decimal point (the "mantissa"). The part to the left of the decimal ("characteristic") encodes the position of the decimal point. Say we wanted (back in the old days) to multiply 123.45 times 98.765 , using logarithms. We would enter
Actual multiplication gives 12,192.54 To divide 456,789 by 12,345, logarithms are subtracted
The fractional part of the difference is .568224, which equals the logarithm of 3.700197. The "1" in front suggests moving the decimal point one step to the right (the larger the "characteristic", the larger the number being represented!) hence Actual division gives Here the logarithms were accurate to 6 figures, and the solutions have similar accuracy. A third use of logarithms is raising a number to a power (a process expanded to include fractional and negative numbers). This is accomplished by multiplying its logarithm by the index of that power. If one needed one looked up and multiplied by 3.811 , either using logarithms or the hard way: The fractional part is and the "2" in front tells that the decimal point needs to be moved two steps to the right (making the number larger by two powers of 10), so Does this make sense? Well... 5.32 is close to 5, while 3.811 is close to 4, and these two numbers give 5^{4} = 625, which is "within the ballpark." The y^{x} button on my calculator gives 584.3293, but this agreement is no surprise, since the same calculator was used to derive logarithms and "antilogarithms" (the button 10^{x}) for the above calculation. Logarithms thus help complicated mathematical calculations. Nowadays electronic calculators do it all at a push of a button (deriving logarithms in the process and applying them, unseen by the user). Even so, the logarithm of a number often comes up in advanced mathematical calculations and in many applications. A few quick notes(1) The "base" of logarithmsThe observant user has probably noted that the definition of the logarithm. e.g.contains the number "10". Strictly speaking, these are "common logarithms" or "logarithms to base 10," tailored for the convenience of calculations with numbers written in the decimal system. Indeed, purists will indicate the base by a subscript, e.g. 0.3010299... = log_{10}2. Other "bases" may also be chosen, and one in particular ("natural logs") has advantages of its own. That however will come later, after the number e = 2.71828.... is introduced. Until then, "log" will always indicate a logarithm to base 10. (2) Notation for multiplication and parenthesesIn what follows below, a period may denote multiplication, either of numbers or of symbols. Following a convention used in practically all technical applications, even that period may be omitted when two clearly different symbols stand side by side:2x means 2 times x ab a times b abc a times b times c However ALWAYS rememberif there exists more than one possible interpretation (or even just to make the operations crystalclear), use parentheses ( ) or brackets [ ], alerting the user to the correct order. Writing (3.4) + 5 = 17 3.(4 + 5) = 27 Sometimes the order makes no difference, e.g 3.4.5, but it is always safe to write parentheses, even if they are not absolutely required. Parentheses also prevent the multiplication mark from being confused with the decimal point! (3) CalculatorsAs already noted, deriving logarithms can be tedious business. Until about 1970, students, engineers, technicians and scientists used "log tables" printed in handbooks, giving the logarithms of numbers between 1 and 10 to an accuracy of 4, 5 or 6 decimal places (as in the examples above, logarithms of numbers bigger than 10 or smaller than 1 are simply related to them). Furthermore, they also learned to estimate logarithms of numbers between those tabulated ("to interpolate"), obtaining greater accuracy. You may still find such tables in handbooks.In addition, one had tables of "antilogarithms"given the logarithm, the table gave the number 10^{x} whose logarithm it was. One could also find the value by searching and interpolating the tables of logarithms, but antilogs saved time. Computer chips made all that obsolete, and inexpensive handheld calculators now can not only add, subtract, multiply and divide, and also find square roots, for which students were taught a moderately tedious routine, a bit more involved than long division. They can also find logarithms and antilogarithms (in the button function 10^{x}), as well as sines and cosines (for which printed tables were also used, since deriving them is tedious, too). They can even raise fractional powers y^{x} where y and x are any two positive numbers, whole or fractional. (For y^{x} the computer probably first derives some logarithms and then uses them). It is assumed here that the user of these web pages has such a calculator, or a computer capable of acting as one. (4) HistoryHistorically logarithms also form sort of bridge between "classical" algebra as known at the time of Galileo (e.g. that of Niccolo Tartaglia, 15001557 and Gerolamo Cardano, 150176, who developed a solution of the cubic equation and argued over it), and the development of the differential and integral calculus by Newton and Leibnitz in the second half of the 1600s.The first form of logarithms was produced in 1614 by John Napier, a Scotts nobleman with an interest in mathematics. His main interest was to produce an aid to calculation, his approach somewhat intuitive. His logarithms were close to the "natural logarithms" defined later, with a slight difference due to his method. He called them "artificial numbers" and published a book about his work (in Latin), which brought him to the attention of Henry Briggs, a professor of mathematics in London. Briggs traveled to Scotland in 1615 specifically to meet Napier, and a strong friendship developed between the two. They met again in 1616, but unfortunately, Napier died soon afterwards. Briggs and Napier together figured out the system of logarithms with base 10, and with log 1 = 0, as used today. Briggs later derived tables of logarithms (helped by the calculation of square roots) to an accuracy of 8 and later even 14 decimal figures. Kepler was an enthusiastic user of the newly invented tool, because it speeded up many of his calculations, and in 1620 he dedicated one of his publications to Napier.  Quick quiz: (1) Suppose you have a calculator of the kind described in item (3). You are told that the logarithm of some number is 0.4. How do you find the number itself? A. Find 10^{0.4} = 2.511886 That is the number you seek, and (2) By the same method, you find that the logarithm of 5.62341 is 0.7 Similarly, log 56.2341 = 1.7 log 562.341 = 2.7 log 5623.41 = 3.7 What do you conclude? A. You conclude that the fractional part of a logarithm of a number gives you its structure. The wholenumber part only tells you where to place the decimal point, as will be later justified. 
Author and Curator: Dr. David P. Stern
Mail to Dr.Stern: stargaze("at" symbol)phy6.org .
Updated 9 November 2007, edited 28 October 2016
Curators: Robert Candey, Alex Young, Tamara Kovalick
NASA Privacy, Security, Notices