Skip to main content

Section 6.1 What Are Logarithms?

When studying processes of exponential growth and decay in Chapter 5 we encountered equations of the type:
\begin{equation*} 3000(1.0433)^t=6000 \end{equation*}
where the unknown is in the exponent. To solve such equations algebraically, we need logarithms.

Definition 6.1.1. Logarithm Base \(b\).

Let \(b\) such that \(b\gt0\text{,}\) \(b\neq1\) be given. Then for every \(x\gt0\text{,}\) the logarithm base \(b\) of \(x\text{,}\) denoted \(\log_{b}x\text{,}\) is defined so that
\begin{equation*} b^{\log_{b} x} = x. \end{equation*}
The logarithm, \(\log_{b}x\) is the exponent such that the base \(b\) raised to this exponent is \(x\text{.}\)
In other words, \(\log_{b} x\) is equal to a number \(p\) such that \(b\) to that number is \(x\text{.}\) The expressions
\begin{equation*} \log_{b} x=p \quad \text{and} \quad b^{p}=x \end{equation*}
are equivalent; they are a logarithmic and an exponential version of the same statement.
The base of the logarithm is \(b\text{,}\) so we say \(\log_{b}x\) is the β€œlogarithm base \(b\)”.

Example 6.1.2.

Compute the following:
  1. \(\displaystyle \log_2 8\)
  2. \(\displaystyle \log_3 \frac{1}{9}\)
  3. \(\displaystyle \log_{10} 0.001\)
  4. \(\displaystyle \log_{e} (e^2)\)
Solution.
  1. We have the logarithm base \(2\) in this example. The value of \(\log_2 8\) is the exponent such that \(2\) to this exponent equals \(8\text{,}\) which is \(3\text{:}\)
    \begin{equation*} \log_2 8=3 \quad \text{as} \quad 2^3=8. \end{equation*}
  2. The logarithm base \(3\) of \(\frac{1}{9}\text{,}\) \(\log_3\frac{1}{9}\text{,}\) is the exponent such that \(3\) to this power equals \(\frac{1}{9}\text{.}\) This exponent is \(-2\text{:}\)
    \begin{equation*} \log_3\frac{1}{9}=-2 \quad \text{as} \quad 3^{-2}=\frac{1}{3^2}=\frac{1}{9}. \end{equation*}
    This example shows that the value or output of a logarithm can be negative, meanwhile the input value cannot be.
  3. The logarithm base \(10\) of \(0.001=\frac{1}{1000}\) is the exponent such that \(10\) to that power equals \(\frac{1}{1000}\text{.}\) Because we can write
    \begin{equation*} 10^{-3}=\frac{1}{10^3}=\frac{1}{1000}=0.001, \end{equation*}
    then the logarithm is
    \begin{equation*} \log_{10} 0.001=-3. \end{equation*}
  4. The logarithm base \(e\) of \(e^2\text{,}\) \(\log_{e} (e^2)\text{,}\) is the power of \(e\) needed to obtain \(e^2\text{.}\) That is,
    \begin{equation*} \log_{e} (e^2)=2. \end{equation*}
Note: If the argument inside the logarithm is a more complicated expression rather than just a number or a variable, we use parentheses around it. Often we use parentheses even if the argument is just a number or a variable. In other words, \(\log_{10}x\) and \(\log_{10}(x)\) are two different ways to denote the same thing. However, \(\log_{10}(x+3)\) and \(\log_{10} x+3\) are not the same, as in one case \(x+3\) is inside the logarithm and in the other case only \(x\) is inside the logarithm. It would be more clear for us to write \(\log_{10} (x)+3\) rather than \(\log_{10} x+3\text{,}\) as the parentheses emphasize that \(x\) is inside the logarithm and the addition of 3 is not.

Example 6.1.3.

Compute the following:
  1. \(\displaystyle \log_{10} (-100)\)
  2. \(\displaystyle \log_{e} 1\)
Solution.
  1. We are looking for a number such that \(10\) to that number is equal to \(-100\text{:}\)
    \begin{equation*} 10^?=-100 \end{equation*}
    Would it be \(-2\text{?}\) Definitely not as \(10^{-2}=\frac{1}{100}\text{.}\) There is no number such that \(10\) to that number is \(-100\) as \(10^p\) is always positive by properties of exponential functions.
  2. We are asking: \(e^?=1\text{.}\) Since \(e^0=1\text{,}\) then \(\log_{e} 1=0\text{.}\)
The last example illustrates the following properties of logarithms which hold for any base \(b\text{:}\)
  • If \(w\) is negative or 0, \(\log_{b} w\) is undefined as \(b^p\gt0\) for any power \(p\text{.}\)
  • \(\log_{b} 1=0\) as \(b^0=1\) for any \(b\text{.}\)

Example 6.1.4.

Compute \(\log_{10}(5)\text{.}\)
Solution.
We are looking for an exponent such that \(10\) to this exponent equals \(5\text{:}\)
\begin{equation*} 10^?=5. \end{equation*}
Notice \(10^0=1\) so \(0\) is too small, and \(10^1=10\) so \(1\) is too large. The exponent that we are looking for is somewhere between \(0\) and \(1\text{.}\) The graph of \(y=10^x\) shows that such a number exists.
Clearly there is a number between \(0.5\) and \(1\) such that \(10\) to that number is \(5\text{.}\) That number is by definition \(\log_{10}(5)\text{.}\) What’s the simplest way to approximate it? Use your calculator! Most likely you have two buttons on your calculator related to logarithms: β€œlog” and β€œln”. β€œlog” is the logarithm of base \(10\text{.}\) We use our calculator and obtain:
\begin{equation*} \log_{10} (5)\approx 0.69897. \end{equation*}
While the logarithm base \(2\) has some importance in the theory of music and other applications, the applications we will focus on rely heavily on the common logarithm and natural logarithm, which we will define below.
The logarithm of base \(10\) is denoted by \(\log(x)\) and called the common logarithm:
\begin{equation*} \log(x)=\log_{10}(x) \end{equation*}
The logarithm of base \(e\) is denoted by \(\ln(x)\) and called the natural logarithm:
\begin{equation*} \ln(x)=\log_{e}(x) \end{equation*}
To evaluate and manipulate these two logarithms correctly, you have to remember what their bases are:
\begin{align*} \log x \amp = \log_{10} x = p \amp \quad \amp \leftrightarrow \amp \amp \amp 10^p \amp = x\\ \ln x \amp = \log_{e} x = p \amp \quad \amp \leftrightarrow \amp \amp \amp e^p \amp = x \end{align*}

Example 6.1.5.

Evaluate the following expressions without a calculator.
  1. \(\displaystyle \ln e\)
  2. \(\displaystyle \ln \left(\dfrac{1}{e^3}\right)\)
  3. \(\displaystyle \ln 0\)
  4. \(\displaystyle \ln 1\)
  5. \(\displaystyle \ln (e^{-0.078})\)
  6. \(\displaystyle \log(\log 10)\)
  7. \(\displaystyle \log(\sqrt{10})-\log(10^2)\)
Solution.
  1. The natural logarithm β€œln” is the logarithm base \(e\text{.}\) Since \(e^1=e\text{,}\) we have \(\ln e=1\text{.}\)
  2. First, simplify the expression inside the logarithm:
    \begin{equation*} \left(\frac{1}{e^3}\right)=e^{-3}. \end{equation*}
    Therefore,
    \begin{equation*} \ln \left(\frac{1}{e^3}\right)=\ln (e^{-3})=-3. \end{equation*}
  3. This quantity is undefined. The natural logarithm, as any other logarithm, is defined for positive inputs only. There is no number \(p\) such that \(e^p=0\text{,}\) since \(e^p\) is always positive.
  4. \(\ln 1=0\) as \(e^0=1\text{.}\)
  5. We have to raise \(e\) to the power \(-0.078\) to get \(e^{-0.078}\text{.}\) Hence, \(\ln (e^{-0.078})=-0.078\text{.}\)
  6. Because \(\log 10=1\text{,}\) then \(\log(\log 10)=\log(1)=0\text{.}\)
  7. Evaluate each term and then take the difference: \(\log(\sqrt{10})=\log(10^{\frac{1}{2}})=\frac{1}{2}\) and \(\log(10^2)=2\text{.}\) Hence:
    \begin{equation*} \log(\sqrt{10})-\log(10^2)=\frac{1}{2}-2=-\frac{3}{2} \end{equation*}

Example 6.1.6.

Use your calculator to find the approximate value of each of the following logarithms.
  1. \(\displaystyle \ln 2\)
  2. \(\displaystyle \log 2\)
  3. \(\displaystyle \log (e^{-0.078})\)
Solution.
  1. Using the β€œln” button of your calculator, \(\ln 2\approx0.693\text{,}\) rounded to three decimal places. As with many logarithms, \(\ln 2\) is an irrational number, so we can only have its decimal approximation. As a check, \(e^{0.693}\approx 1.99970\)β€”almost \(2\text{.}\)
  2. Using the β€œlog” button of your calculator, \(\log 2\approx 0.301\text{,}\) rounded to three decimal places. As a check, \(10^{0.301}\approx 1.99986\)β€”practically \(2\text{.}\)
  3. Using a calculator, \(\log (e^{-0.078})\approx -0.0339\text{.}\) To double check, we find that \(10^{-0.0339}\approx 0.9249\text{,}\) \(e^{-0.078}\approx 0.9249\text{.}\)

Subsection Graphs of Functions \(y=\log(x)\) and \(y=\ln(x)\)

The common logarithm \(\log (x)\) is defined for every positive input \(x\) and so is the natural logarithm \(\ln (x)\text{.}\) We can consider the two logarithmic functions \(y=\log(x)\) and \(y=\ln(x)\) with domains \(x\gt0\text{.}\) The graphs of the common logarithm function and the natural logarithm function have a similar shape:
We see that both functions \(y=\log x\) and \(y=\ln x\) are defined for all \(x\gt0\) and not defined for \(x\leq 0\text{.}\) Both functions are \(0\) at \(x=1\text{:}\) \(\log 1=0\) and \(\ln 1=0\text{.}\) Furthermore, both functions are positive for \(x\gt1\) and negative for \(0\lt x\lt1\text{.}\) We also notice that for positive inputs \(x\) which are closer and closer to \(0\text{,}\) outputs are getting β€œmore and more negative,” and both graphs approach the \(y\)-axis without ever crossing it. We say that the \(y\)-axis is a vertical asymptote for \(y=\log x\) and \(y=\ln x\text{.}\) Recall that exponential functions have a horizontal asymptote at the \(x\)-axis. Finally, both functions are increasing.

Exercises Exercises

Evaluating Logarithms.

For each of the following, evaluate the given expression without a calculator. If the expression is undefined, say so.

Estimating Logarithms.

For each of the following, use the graphs of \(y=\ln(x)\) and \(y=\log(x)\) to give a rough estimate.

Logarithms on a Calculator.

For each of the following, use your calculator to evaluate the given expression. Round off to four decimal places. For undefined expressions, state β€œundefined”.
You have attempted of activities on this page.