La funzione logaritmo en
From "Physics, Waves, Music": a website about the physics of waves and sound, acoustics of musical instruments, musical scales, harmony and music.
| AI-translated from Italian. Original page: La_funzione_logaritmo |
Definition of the logarithm function
Given two numbers
- with
we define the logarithm of b to base a
as the number x to which the real number a (called the base of the logarithm) must be raised to obtain the positive real number b (called the argument of the logarithm). In other words, x is the solution of the equation
Examples of calculating logarithms
For example
- since
- since
- since
- since for
Properties of logarithms
It is easy to show that, given the numbers
- with
the following properties hold:
(1)
(2)
(3)
Property (3) actually also holds for values .
Finally, if also , the change-of-base formula holds
(4)
which makes it possible to compute a logarithm in any base using the base-10 logarithms of a calculator. For example = 0.903/0.301 = 3.
Why use logarithms?
Logarithms (usually to base 10, and for this reason called decimal logarithms) are extremely useful
- to compress the range of values taken by a quantity (physical or not)
- For example, if a quantity has a range that goes from 1 to (a million million!), the decimal logarithm of that quantity ranges only from 0 to 12. This makes it possible to represent the quantity in a graph (it is enough to plot on the vertical axis its decimal logarithm instead of the quantity itself).
- Many scales used in the sciences are based on logarithms. Examples are
- the Richter scale, which measures the magnitude of earthquakes;
- the scale of the magnitude of stars;
- the pH scale, which measures the acidity or basicity of substances;
- the sound intensity scale. If you want to know how it is defined in terms of logarithms, visit the page perception of loudness;
- the musical scales of pitch are in fact logarithmic scales with respect to the frequency of the fundamental of the corresponding sounds. You can see this, for example, by looking at the keys of the piano: every time you move seven white keys to the right, the frequency of the corresponding note doubles.
- to turn (thanks to properties (1) and (2)) products and quotients into sums and differences
- this is particularly useful when dealing with quantities defined through products or ratios of homogeneous quantities. For example, musical intervals are defined through the frequency ratio between the two sounds of the interval.
Check your understanding
Problem. Going up an octave doubles the frequency. How many octaves are there between 20 Hz and 20000 Hz, that is in the whole audible range?
Solution. We look for the number n such that , that is . With formula (4): n = log101000 / log102 = 3/0.301 ≈ 9.97. The ear therefore covers about 10 octaves.Problem. The sound intensity level in decibels is , where is a reference intensity. A loudspeaker produces 60 dB at a point. What level is obtained by switching on a second, identical loudspeaker, which doubles the intensity?
Solution. By property (1): ≈ 3 dB + 60 dB = 63 dB. Doubling the intensity adds only 3 dB: the logarithmic scale turns products into sums.Problem. The fifth corresponds to the frequency ratio 3/2, the fourth to 4/3. Playing a fifth and then, from the note reached, a fourth, one arrives at the octave (ratio 2). Why do musicians say that "a fifth plus a fourth makes an octave", if frequency ratios multiply?
Solution. The ratios multiply: 3/2 · 4/3 = 2. The ear, however, perceives intervals on a logarithmic scale, and by property (1) logarithms add: (about 0.585 + 0.415 = 1 octave). This is why musical intervals "add up".Categories:

