Exponential functions are one-to-one and therefore have inverse functions, called logarithms. (See Section 6.9.)
Definition7.17.Logarithmic Functions.
Suppose \(a \gt 0\) and \(a \neq 1\text{.}\) The base \(a\) exponential function \(f(x) = a^x\) has an inverse function called the base \(a\) logarithmic function denoted
\begin{equation*}
f^{-1}(y) = \log_a (y), \quad y \gt 0.
\end{equation*}
The domain of the logarithm is the range \((0,\infty)\) of the exponential function. As inverse functions, they satisfy \((f^{-1}\circ f )(x) = x\) and \((f\circ f^{-1})(y) = y\) which now becomes
\(\displaystyle \log_a(a^x) = x\) for all \(x\)
\(\displaystyle a^{\log_a(y)} = y\) for all \(y \gt 0\)
Alternatively, exponential equations are equivalent logarithmic equations according to the relationship
\begin{equation}
y = a^x \quad \text{if and only if} \quad \log_a(y) =x.\tag{7.1}
\end{equation}
Observe that the logarithm returns the exponent in the exponential equation.
Example7.18.The Base \(2\) Logarithm.
This video discusses the case of the base 2 logarithm.
Example7.19.Evaluating Logarithmic Expressions.
Evaluate the following expressions without the use of calculator. Video solutions follow.
\(5^x \gt 0\text{,}\) for all \(x\text{.}\) In particular, \(5^x \neq -1\) for any \(x\text{.}\) Thus \(\log_{5} \left(-1\right)\) is undefined.
Example7.21.Graphing a Logarithmic Function.
To sketch the graph of \(y = \log_5 (x)\) begin by sketching the graph of its inverse function \(y = 5^x\) (dashed curve). Then reflect the graph across \(y=x\) interchanging coordinates of points as you do. The horizontal asymptote of \(y = 5^x\) will become the vertical asymptote of \(y = \log_5 (x)\) (solid curve).
Observe how the rapid exponential growth of \(y = 5^x\) becomes the slow logarithmic growth of \(y = \log_5 (x)\text{.}\)