A logarithmic scale (or log scale) is a method used to display numerical data that spans a broad range of values, especially when there are significant differences between the magnitudes of the numbers involved.
Unlike a linear scale where each unit of distance corresponds to the same increment, on a logarithmic scale each unit of length is a multiple of some base value raised to a power, and corresponds to the multiplication of the previous value in the scale by the base value.
A logarithmic scale is nonlinear, and as such numbers with equal distance between them such as 1, 2, 3, 4, 5 are not equally spaced. Equally spaced values on a logarithmic scale have exponents that increment uniformly. Examples of equally spaced values are 10, 100, 1000, 10000, and 100000 (i.e., 10^1, 10^2, 10^3, 10^4, 10^5) and 2, 4, 8, 16, and 32 (i.e., 2^1, 2^2, 2^3, 2^4, 2^5).
Exponential growth curves are often depicted on a logarithmic scale to prevent them from expanding too rapidly and becoming too large to fit within a small graph.
YouTube Encyclopedic
-
1/5Views:449 548150 64910 43337 7598 373
-
Logarithmic scale | Logarithms | Algebra II | Khan Academy
-
How to read a log scale.
-
Linear vs. logarithmic scaling in plots
-
What's a Log Scale?? Pandemic Plots Explained!
-
The universe on a logarithmic scale
Transcription
I would guess that you're reasonably familiar with linear scales. These are the scales that you would typically see in most of your math classes. And so just to make sure we know what we're talking about, and maybe thinking about in a slightly different way, let me draw a linear number line. Let me start with 0. And what we're going to do is, we're going to say, look, if I move this distance right over here, and if I move that distance to the right, that's equivalent to adding 10. So if you start at 0 and you add 10, that would obviously get you to 10. If you move that distance to the right again, you're going to add 10 again, that would get you to 20. And obviously we could keep doing it, and get to 30, 40, 50, so on and so forth. And also, just looking at what we did here, if we go the other direction. If we start here, and move that same distance to the left, we're clearly subtracting 10. 10 minus 10 is equal to 0. So if we move that distance to the left again, we would get to negative 10. And if we did it again, we would get to negative 20. So the general idea is, however many times we move that distance, we are essentially adding-- or however many times you move that distance to the right-- we are essentially adding that multiple of 10. If we do it twice, we're adding 2 times 10. And that not only works for whole numbers, it would work for fractions as well. Where would 5 be? Well to get to 5, we only have to multiply 10-- or I guess one way to think about it is 5 is half of 10. And so if we want to only go half of 10, we only have to go half this distance. So if we go half this distance, that will get us to 1/2 times 10. In this case, that would be 5. If we go to the left, that would get us to negative 5. And there's nothing-- let me draw that a little bit more centered, negative 5-- and there's nothing really new here. We're just kind of thinking about it in a slightly novel way that's going to be useful when we start thinking about logarithmic. But this is just the number line that you've always known. If we want to put 1 here, we would move 1/10 of the distance, because 1 is 1/10 of 10. So this would be 1, 2, 3, 4, I could just put, I could label frankly, any number right over here. Now this was a situation where we add 10 or subtract 10. But it's completely legitimate to have an alternate way of thinking of what you do when you move this distance. And let's think about that. So let's say I have another line over here. And you might guess this is going to be the logarithmic number line. Let me give ourselves some space. And let's start this logarithmic number line at 1. And I'll let you think about, after this video, why I didn't start it at 0. And if you start at 1, and instead of moving that, so I'm still going to define that same distance. But instead of saying that that same distance is adding 10 when I move to the right, I'm going to say when I move the right that distance on this new number line that I have created, that is the same thing as multiplying by 10. And so if I move that distance, I start at 1, I multiply by 10. That gets me to 10. And then if I multiply by 10 again, if I move by that distance again, I'm multiplying by 10 again. And so that would get me to 100. I think you can already see the difference that's happening. And what about moving to the left that distance? Well we already have kind of said what happens. Because if we start here, we start at 100 and move to the left of that distance, what happens? Well I divided by 10. 100 divided by 10 gets me 10. 10 divided by 10 get me 1. And so if I move that distance to the left again, I'll divide by 10 again. That would get me to 1/10. And if I move that distance to the left again, that would get me to 1/100. And so the general idea is, is however many times I move that distance to the right, I'm multiplying my starting point by 10 that many times. And so for example, when I move that distance twice, so this whole distance right over here, I went that distance twice. So this is times 10 times 10, which is the same thing as times 10 to the second power. And so really I'm raising 10 to what I'm multiplying it times 10 to whatever power, however many times I'm jumping to the right. Same thing if I go to the left. If I go to the left that distance twice-- let me do that in a new color-- this will be the same thing as dividing by 10 twice. Dividing by 10, dividing by 10, which is the same thing as multiplying by-- one way to think of it-- 1/10 squared. Or dividing by 10 squared is another way of thinking about it. And so that might make a little, that might be hopefully a little bit intuitive. And you can already see why this is valuable. We can already on this number line plot a much broader spectrum of things than we can on this number line. We can go all the way up to 100, and then we even get some nice granularity if we go down to 1/10 and 1/100. Here we don't get the granularity at small scales, and we also don't get to go to really large numbers. And if we go a little distance more, we get to 1,000, and then we get to 10,000, so on and so forth. So we can really cover a much broader spectrum on this line right over here. But what's also neat about this is that when you move a fixed distance, so when you move fixed distance on this linear number line, you're adding or subtracting that amount. So if you move that fixed distance you're adding 2 to the right. If you go to the left, you're subtracting 2. When you do the same thing on a logarithmic number line, this is true of any logarithmic number line, you will be scaling by a fixed factor. And one way to think about what that fixed factor is is this idea of exponents. So if you wanted to say, where would 2 sit on this number line? Then you would just think to yourself, well, if I ask myself where does 100 sit on that number line-- actually, that might be a better place to start. If I said, if I didn't already plot it and said where does 100 sit on that number line? I would say, how many times would we have to multiply 10 by itself to get 100? And that's how many times I need to move this distance. And so essentially I'll be asking 10 to the what power is equal to 100? And then I would get that question mark is equal to 2. And then I would move that many spaces to plot my 100. Or another way of stating this exact same thing is log base 10 of 100 is equal to question mark. And this question mark is clearly equal to 2. And that says, I need to plot the 100 2 of this distance to the right. And to figure out where do I plot the 2, I would do the exact same thing. I would say 10 to what power is equal to 2? Or log base 10 of 2 is equal to what? And we can get the trusty calculator out, and we can just say log-- and on most calculators if there's a log without the base specified, they're assuming base 10-- so log of 2 is equal to roughly 0.3. 0.301. So this is equal to 0.301. So what this tells us is we need to move this fraction of this distance to get to 2. If we move this whole distance, it's like multiplying times 10 to the first power. But since we only want to get 10 to the 0.301 power, we only want to do 0.301 of this distance. So it's going to be roughly a third of this. It's going to be roughly-- actually, a little less than a third. 0.3, not 0.33. So 2 is going to sit-- let me do it a little bit more to the right-- so 2 is going to sit right over here. Now what's really cool about it is this distance in general on this logarithmic number line means multiplying by 2. And so if you go that same distance again, you're going to get to 4. If you multiply that same distance again, you're going to multiply by 4. And you go that same distance again, you're going to get to 8. And so if you said where would I plot 5? Where would I plot 5 on this number line? Well, there's a couple ways to do it. You could literally figure out what the base 10 logarithm of 5 is, and figure out where it goes on the number line. Or you could say, look, if I start at 10 and if I move this distance to the left, I'm going to be dividing by 2. So if I move this distance to the left I will be dividing by 2. I know it's getting a little bit messy here. I'll maybe do another video where we learn how to draw a clean version of this. So if I start at 10 and I go that same distance I'm dividing by 2. And so this right here would be that right over there would be 5. Now the next question, you said well where do I plot 3? Well we could do the exact same thing that we did with 2. We ask ourselves, what power do we have to raise 10 to to get to 3? And to get that, we once again get our calculator out. log base 10 of 3 is equal to 0.477. So it's almost halfway. So it's almost going to be half of this distance. So half of that distance is going to look something like right over there. So 3 is going to go right over here. And you could do the logarithm-- let's see, we're missing 6, 7, and 8. Oh, we have 8. We're missing 9. So to get 9, we just have to multiply by 3 again. So this is 3, and if we go that same distance, we multiply by 3 again, 9 is going to be squeezed in right over here. 9 is going to be squeezed in right over there. And if we want to get to 6, we just have to multiply by 2. And we already know the distance to multiply by 2, it's this thing right over here. So you multiply that by 2, you do that same distance, and you're going to get to 6. And if you wanted to figure out where 7 is, once again you could take the log base-- let me do it right over here-- so you'll take the log of 7 is going to be 0.8, roughly 0.85. So 7 is just going to be squeezed in roughly right over there. And so a couple of neat things you already appreciated. One, we can fit more on this logarithmic scale. And, as I did with the video with Vi Hart, where she talked about how we perceive many things with logarithmic scales. So it actually is a good way to even understand some of human perception. But the other really cool thing is when we move a fixed distance on this logarithmic scale, we're multiplying by a fixed constant. Now the one kind of strange thing about this, and you might have already noticed here, is that we don't see the numbers lined up the way we normally see them. There's a big jump from 1 to 2, then a smaller jump from 3 to 4, then a smaller jump from that from 3 to 4, then even smaller from 4 to 5, then even smaller 5 to 6 it gets. And then 7, 8, 9, you know 7's going to be right in there. They get squeeze, squeeze, squeezed in, tighter and tighter and tighter, and then you get 10. And then you get another big jump. Because once again, if you want to get to 20, you just have to multiply by 2. So this distance again gets us to 20. If you go this distance over here that will get you to 30, because you're multiplying by 3. So this right over here is a times 3 distance. So if you do that again, if you do that distance, then that gets you to 30. You're multiplying by 3. And then you can plot the whole same thing over here again. But hopefully this gives you a little bit more intuition of why logarithmic number lines look the way they do. Or why logarithmic scale looks the way it does. And also, it gives you a little bit of appreciation for why it might be useful.
Common uses
The markings on slide rules are arranged in a log scale for multiplying or dividing numbers by adding or subtracting lengths on the scales.
The following are examples of commonly used logarithmic scales, where a larger quantity results in a higher value:
- Richter magnitude scale and moment magnitude scale (MMS) for strength of earthquakes and movement in the Earth
- Sound level, with units decibel
- Neper for amplitude, field and power quantities
- Frequency level, with units cent, minor second, major second, and octave for the relative pitch of notes in music
- Logit for odds in statistics
- Palermo Technical Impact Hazard Scale
- Logarithmic timeline
- Counting f-stops for ratios of photographic exposure
- The rule of nines used for rating low probabilities
- Entropy in thermodynamics
- Information in information theory
- Particle size distribution curves of soil
The following are examples of commonly used logarithmic scales, where a larger quantity results in a lower (or negative) value:
- pH for acidity
- Stellar magnitude scale for brightness of stars
- Krumbein scale for particle size in geology
- Absorbance of light by transparent samples
Some of our senses operate in a logarithmic fashion (Weber–Fechner law), which makes logarithmic scales for these input quantities especially appropriate. In particular, our sense of hearing perceives equal ratios of frequencies as equal differences in pitch. In addition, studies of young children in an isolated tribe have shown logarithmic scales to be the most natural display of numbers in some cultures.[1]
Graphic representation
The top left graph is linear in the X and Y axes, and the Y-axis ranges from 0 to 10. A base-10 log scale is used for the Y axis of the bottom left graph, and the Y axis ranges from 0.1 to 1,000.
The top right graph uses a log-10 scale for just the X axis, and the bottom right graph uses a log-10 scale for both the X axis and the Y axis.
Presentation of data on a logarithmic scale can be helpful when the data:
- covers a large range of values, since the use of the logarithms of the values rather than the actual values reduces a wide range to a more manageable size;
- may contain exponential laws or power laws, since these will show up as straight lines.
A slide rule has logarithmic scales, and nomograms often employ logarithmic scales. The geometric mean of two numbers is midway between the numbers. Before the advent of computer graphics, logarithmic graph paper was a commonly used scientific tool.
Log–log plots
If both the vertical and horizontal axes of a plot are scaled logarithmically, the plot is referred to as a log–log plot.
Semi-logarithmic plots
If only the ordinate or abscissa is scaled logarithmically, the plot is referred to as a semi-logarithmic plot.
Extensions
A modified log transform can be defined for negative input (y<0) to avoid the singularity for zero input (y=0), and so produce symmetric log plots:[2][3]
for a constant C=1/ln(10).
Logarithmic units
A logarithmic unit is a unit that can be used to express a quantity (physical or mathematical) on a logarithmic scale, that is, as being proportional to the value of a logarithm function applied to the ratio of the quantity and a reference quantity of the same type. The choice of unit generally indicates the type of quantity and the base of the logarithm.
Examples
Examples of logarithmic units include units of information and information entropy (nat, shannon, ban) and of signal level (decibel, bel, neper). Frequency levels or logarithmic frequency quantities have various units are used in electronics (decade, octave) and for music pitch intervals (octave, semitone, cent, etc.). Other logarithmic scale units include the Richter magnitude scale point.
In addition, several industrial measures are logarithmic, such as standard values for resistors, the American wire gauge, the Birmingham gauge used for wire and needles, and so on.
Units of information
Units of level or level difference
Units of frequency level
Table of examples
Unit | Base of logarithm | Underlying quantity | Interpretation |
---|---|---|---|
bit | 2 | number of possible messages | quantity of information |
byte | 28 = 256 | number of possible messages | quantity of information |
decibel | 10(1/10) ≈ 1.259 | any power quantity (sound power, for example) | sound power level (for example) |
decibel | 10(1/20) ≈ 1.122 | any root-power quantity (sound pressure, for example) | sound pressure level (for example) |
semitone | 2(1/12) ≈ 1.059 | frequency of sound | pitch interval |
The two definitions of a decibel are equivalent, because a ratio of power quantities is equal to the square of the corresponding ratio of root-power quantities.[citation needed]
See also
- Alexander Graham Bell
- Bode plot
- Geometric mean (arithmetic mean in logscale)
- John Napier
- Level (logarithmic quantity)
- Log–log plot
- Logarithm
- Logarithmic mean
- Log semiring
- Preferred number
- Semi-log plot
Scale
Applications
References
- ^ "Slide Rule Sense: Amazonian Indigenous Culture Demonstrates Universal Mapping Of Number Onto Space". ScienceDaily. 2008-05-30. Retrieved 2008-05-31.
- ^ Webber, J Beau W (2012-12-21). "A bi-symmetric log transformation for wide-range data" (PDF). Measurement Science and Technology. IOP Publishing. 24 (2): 027001. doi:10.1088/0957-0233/24/2/027001. ISSN 0957-0233. S2CID 12007380.
- ^ "Symlog Demo". Matplotlib 3.4.2 documentation. 2021-05-08. Retrieved 2021-06-22.
Further reading
- Dehaene, Stanislas; Izard, Véronique; Spelke, Elizabeth; Pica, Pierre (2008). "Log or linear? Distinct intuitions of the number scale in Western and Amazonian indigene cultures". Science. 320 (5880): 1217–20. Bibcode:2008Sci...320.1217D. doi:10.1126/science.1156540. PMC 2610411. PMID 18511690.
- Tuffentsammer, Karl; Schumacher, P. (1953). "Normzahlen – die einstellige Logarithmentafel des Ingenieurs" [Preferred numbers - the engineer's single-digit logarithm table]. Werkstattechnik und Maschinenbau (in German). 43 (4): 156.
- Tuffentsammer, Karl (1956). "Das Dezilog, eine Brücke zwischen Logarithmen, Dezibel, Neper und Normzahlen" [The decilog, a bridge between logarithms, decibel, neper and preferred numbers]. VDI-Zeitschrift (in German). 98: 267–274.
- Ries, Clemens (1962). Normung nach Normzahlen [Standardization by preferred numbers] (in German) (1 ed.). Berlin, Germany: Duncker & Humblot VerlagISBN 978-3-42801242-8. (135 pages) .
- Paulin, Eugen (2007-09-01). Logarithmen, Normzahlen, Dezibel, Neper, Phon - natürlich verwandt! [Logarithms, preferred numbers, decibel, neper, phon - naturally related!] (PDF) (in German). Archived (PDF) from the original on 2016-12-18. Retrieved 2016-12-18.
External links
- "GNU Emacs Calc Manual: Logarithmic Units". Gnu.org. Retrieved 2016-11-23.
- Non-Newtonian calculus website