Skip to main content

Section 4 Logarithmic Functions and Their Modeling

Given two functions \(y=f(x)\) and \(z=g(y)\text{,}\) we can construct a new function \(z = (g \circ f)(x) = g(f(x))\text{,}\) which is called the composition of \(g\) and \(f\text{.}\)

Given a function \(f\) defined on the domain \(D\) with the range \(E\) and another function \(g\) defined the domain \(E\) with the range \(D\text{.}\) We say that \(g\) is the inverse function of \(f\) if \(g(f(x))=x\) for all \(x\) in \(D\) and \(f(g(x))=x\) for all \(x\) in \(E\text{.}\) Often the inverse function \(g\) is denoted by \(f^{-1}\text{.}\)

The inverse function of an exponential function \(f(x)=b^x\) is called the logarithmic function \(g(x)=\log_b(x)\text{.}\) According to the definition of inverse functions, we know that \(f(g(x)) = x\) and \(g(f(x))=x\text{.}\) Therefore we have

\begin{equation*} b^{\log_b(x)}=x, \qquad \log_b(b^x)=x. \end{equation*}

This tells us that the number \(\log_b(x)\) is the exponent of \(b\) that gives \(x\text{,}\) that is, if \(y=\log_b(x)\text{,}\) then \(b^y=x\text{.}\) When the base number \(b=e\text{,}\) we write \(\log_b(x)\) as \(\ln(x)\) and call it the natural logarithmic function. We have

\begin{equation*} \ln(e^x) = x, \qquad e^{\ln(x)}=x. \end{equation*}

Note that \(\ln(x) = \log_e(x)\) so all the properties that hold for \(\log_b(x)\) for any base \(b\) also hold for \(\ln(x)\text{.}\)

On the Richter scale, the magnitude \(R\) of an earthquake of intensity \(I\) is given by

\begin{equation*} R = \log_{10} \frac{I}{I_0}. \end{equation*}

Here \(I_0=1\) is the minimum intensity that can be detected and is used for comparison. Intensity is a measure of the wave energy of an earthquake.

Common calculators can only calculate logarithm with base \(10\) or base \(e\text{.}\) What if we want to calculate logarithms that have bases different from \(10\) and \(e\text{?}\) We can use the following base changing formula:

\begin{equation*} \log_b(x) = \frac{\log_a(x)}{\log_a(b)}. \end{equation*}

We have learn several categories of functions such as linear functions, quadratic functions, exponential functions, logarithm functions. When given a set of data, how do we decide which type of functions we choose to model the set of the data?