Logarithmic scale explained

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.

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:

The following are examples of commonly used logarithmic scales, where a larger quantity results in a lower (or negative) value:

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:

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

See main article: Log–log plot. 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

See main article: Semi-log plot. 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]

Y=sgn(y) ⋅ log10(1+|y/C|)

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

UnitBase of logarithmUnderlying quantityInterpretation
bit2number of possible messagesquantity of information
bytenumber of possible messagesquantity of information
decibelany power quantity (sound power, for example)sound power level (for example)
decibelany root-power quantity (sound pressure, for example)sound pressure level (for example)
semitonefrequency of soundpitch 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.[4]

See also

Scale

Applications

Further reading

External links

Notes and References

  1. Web site: Slide Rule Sense: Amazonian Indigenous Culture Demonstrates Universal Mapping Of Number Onto Space. 2008-05-30. ScienceDaily. 2008-05-31.
  2. Webber . J Beau W . A bi-symmetric log transformation for wide-range data . Measurement Science and Technology . IOP Publishing . 24 . 2 . 2012-12-21 . 0957-0233 . 10.1088/0957-0233/24/2/027001 . 027001. 12007380 .
  3. Web site: Symlog Demo . Matplotlib 3.4.2 documentation . 2021-05-08 . 2021-06-22.
  4. https://repository.oceanbestpractices.org/bitstream/handle/11329/2340/A-Century-of-Sonar.pdf?sequence=1 Ainslie, M. A. (2015). A Century of Sonar: Planetary Oceanography, Underwater Noise Monitoring, and the Terminology of Underwater Sound.