Logarithms and Musical Intervals
Logarithms and Musical Intervals
The logarithm allows us to convert ratios into cents or semitones, which are the most
natural representations of intervals. We will review some basic facts. In this discussion, b
will be a positive number ƒ= 1 which will be called the base of the logarithm.
Exponents. If n is a positive integer, then bn is the n-fold product b · b · · · b, b−n = 1/bn ,
√n
and b1/n = b. These facts, together with the the rule of exponents
bst = (bs)t ,
give meaning to bx for all rational numbers x. For example, b−2/3 can be calculated as
. Σ1 .
1 1 3 1
b = b( −2)3 =
1
(−2)·(
3 ) 3
=
b b
2 2
Exponential Functions. The calculus concept of limit provides a definition bx for all
real numbers x in such a way that f(x) = bx is a continuous function. Its domain is the set
of real numbers R and, (since b =ƒ 1) its range is the set of positive real numbers R+ .
f : R → R+
For b > 1 the function is increasing, hence it gives a one-to-one correspondents between
the sets R and R+. The graph of f(x) = bx is:
y = bx
x
Typeset by AMS-TEX
1
2 V. LOGARITHMS AND MUSICAL INTERVALS
The number b is called the base of the exponential function. It will aleways be a positive
real number, ƒ= 1, and we generally take it to be > 1.
Logarithmic Functions. Since the function f( is one-to-one and onto, it has an inverse
function. The function g(x) = logb(x) is defined as the inverse function of f(x) = bx, that
is to say
f(g(x)) = x, which says blogb x = x
and
g(f(x)) = x, which says logb(bx) = x.
Thus the statement logb x = y means exactly the same as by = x. The domain of g(x) (=
the range of f(x)) is R+; the range of g(x) (= the domain of f(x)) is R.
g : R+ → R
The graph of g(x) = logb x is obtained by flipping the graph of f(x) = bx around the line
y = x. Again assuming b ≥ 1, we see that g(x) = logb x is an increasing, hence 1 to 1,
function whose graph is:
y y = logb x
The number b is called the base of the logarithm. Remember that it is always positive,ƒ= 1,
and we usually take it to be > 1.
If we recognize a number x as a power of b then we can say immediately what logb x is.
√ 1 1 √
For example, log3 9 = 2 (since 3 2 = 9) and logb b= (since b 2 = b).
2