We observed in the previous section that exponential functions are one-to-one (in fact, monotonic), and hence invertible; and in
ExampleΒ 2.10.26 we illustrated how properties of exponential functions
\(f(x)=b^x\) (specifically graphical properties) can be translated directly to those of their inverse function
\(f^{-1}\text{.}\) Those inverse functions turn out to be important enough to warrant their own name:
logarithimic functions.
This method of defining a new function as the inverse of an existing one, is sometimes off-putting to students. We are accustomed to functions being defined via an explicit formula that allows us to compute its values directly. Note that this is not the case with our definition of logarithmic functions. We do not give you a formula for computing
\(\log_b(x)\) for a given
\(x\text{;}\) instead, we simply describe
\(\log_b\) as the inverse function of the exponential function
\(f(x)=b^x\text{.}\) So how do we deal with functions thus defined? The key is to use the many linked properties of a function
\(f\) and its inverse
\(f^{-1}\text{,}\) as articulated in
TheoremΒ 2.10.25. The next theorem does just that, building on the various properties of exponential functions established in
TheoremΒ 2.8.21. Statement (1) of the theorem is a direct applications of equations
(2.24),
(2.25), and
(2.29) to the special case of
\(f(x)=b^x\) and
\(f^{-1}(x)=\log_b x\text{.}\) The properties of (2) follow from complementary properties of the exponential function essentially by reversing the roles of input and output.
Before moving on to graphical properties of logarithmic functions, we consider the special case of the base-\(10\) logarithm \(\log_{10}\text{.}\) This logarithm appears fairly frequently in applications, mainly due to our favoring a base-10 (or decimal) number system. A useful manner of understanding \(\log_{10} x\) is as a measure of the length of the decimal expansion of \(x\text{.}\) This is made clear by looking at some simple examples:
\begin{align*}
\log_{10} 10 \amp =\log_{10} 10^1=1 \\
\log_{10}100 \amp = \log_{10}10^2=2 \\
\log_{10}1000 \amp =\log_{10}10^3=3 \\
\log_{10}10000 \amp =\log_{10}10^4=4 \\
\log_{10}1\underset{ n \text{ zeros}}{\underbrace{00\dots 0}}\amp =\log_{10}10^n=n \amp \text{.}
\end{align*}
We see that for powers of \(10\text{,}\) the base-10 logarithm \(\log_{10}10^n\) is equal to \(n\text{,}\) the number of trailing zeros behind the initial \(1\) in the decimal expansion of \(10^n\text{.}\) Equivalently, \(\log_{10}10^n\) is one less than the number of digits in the decimal expansion of \(10^n\text{.}\) What about for an arbitrary positive number \(x\) that is not a perfect power of 10? In that case, we can find an \(n\) such that
\begin{align*}
10^n \amp \leq x < 10^{n+1}\text{.}
\end{align*}
In terms of decimal expansions, this means that \(x\) has at least as many decimals of \(10^n\text{,}\) and fewer decimals than \(10^{n+1}\text{:}\) i.e., \(x\) has \(n+1\) digits in its decimal expansion. This fact is reflected in the value \(\log_{10}x\text{.}\) Since, as we make official below, \(\log_{10}\) is an increasing function, the inequality \(10^n\leq x< 10^{n+1}\) implies
\begin{align*}
n\amp \leq \log_{10} x < n+1\text{.}
\end{align*}
Thus \(\log_{10} x\text{,}\) rounded to the nearest integer below \(x\text{,}\) is equal to one less than the number of digits in the decimal expansion of \(x\text{.}\) Letβs verify this with some examples, making use of technology:
\begin{align*}
\log_{10} \underset{\boxed{2} \text{ digits}}{23}\amp \approx \boxed{1}.3617 \\
\log_{10} \underset{\boxed{3} \text{ digits}}{500} \amp \approx \boxed{2}.6990 \\
\log_{10} \underset{\boxed{4} \text{ digits}}{7000} \amp \approx \boxed{3}.8451 \\
\log_{10} \underset{\boxed{6} \text{ digits}}{125000} \amp \approx \boxed{5}.0969 \text{.}
\end{align*}
Put another way, the number of digits in the decimal expansion of \(x\) is equal to the integer part of \(\log_{10}x\text{.}\) Because of the prevalence of base-10 logarithms, \(\log_{10}x\) is often written simply as \(\log x\text{.}\) We make this official now.