IntroductionLogarithms in a way are the 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 explains a lot . Therefore, it is better to view these sections as an optional addition. After 4 section a natural break occurs--just before the number "e" is introduced, and the user may stop there, or else, continue. And keep in mind that these sections try to accommodate a wide variety of users: if any parts seem elementary or repetitious, just fast-forward 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 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 pre-calculator way):
---Add the logarithms
---Using tables of "logs", find the number whose logarithm equals the sum.
(or use a table of "anti-logs" 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 operations--operated by a hand crank, or later by an electric motor--were in limited use from the start of the 20th century, but were expensive, as was their repair. Cash registers used somewhat similar methods, but to multiply two numbers (even large ones), or divide them, most people used paper-and-pencil 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 save much time and effort, replacing multiplication by an addition--or 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 (which needs not be a whole number, a concept developed below). 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 54 = 625, which is "within the ballpark." The yx 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 10x) for the above calculation.
Logarithms thus helped complicated mathematical calculations. Nowadays electronic calculators do it all at a push of a button (often 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... = log102.
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 remember--if there exists more than one possible interpretation (or even just to make the operations crystal-clear), 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 a handbook, giving the logarithms of numbers between 1 and 10 to an accuracy of 4, 5 or 6 decimal places (as will be seen, 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 "anti-logarithms"--given the logarithm, the table gave the number 10x 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 hand-held 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 anti-logarithms (in the button function 10x), 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 yx where y and x are any two positive numbers, whole or fractional. (For yx 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.
(4) HistoryHistorically logarithms also form sort of bridge between "classical" algebra as known at the time of Galileo (e.g. that of Niccolo Tartaglia, 1500-1557 and Gerolamo Cardano, 1501-76, 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 published a book about his work (in Latin) and that 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.
(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 100.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 whole-number part only tells you where to place the decimal point, as will be later justified.