Skip to main content

Section 1.8 Logarithms and Their Properties

We previously learned about the algebraic properties of exponents. Because logarithms are the inverses of exponential operations, they inherit related algebraic properties. The properties of logarithms allow us to rewrite expressions involving products and exponents in new ways.

In this section, we will introduce the properties of logarithms and how they relate to the properties of exponents. These properties are closely related to the logarithmic scale. We will learn new methods for solving equations involving exponentials using the properties of the logarithm. In addition, we will learn how to rewrite exponential functions in terms of other bases and justify the change of base formula for logarithms.

Subsection 1.8.1 The Logarithmic Scale

Historically, the logarithm was invented so that calculations involving multiplication and division could be solved using the much simpler operations of addition and subtraction. Addition and multiplication share many of the same properties—commutativity, associativity, and the existence of an identity and inverses. These shared properties suggest that there might be a way to think about multiplication in terms of addition.

The properties of exponents establish the relationship required to make this connection. When two numbers can be written as powers of the same base, say \(u=b^x\) and \(v=b^y\text{,}\) then the product \(uv\) can be written as a power of that base as \(uv = b^{x+y}\text{.}\) Division \(u \div v\) can similarly be written as a power, \(u \div v = b^{x-y}\text{.}\) In this way, multiplication and division of numbers directly corresponds to addition and subtraction of their associated powers for a given base.

The logarithm relates a number and its associated power for a given base. For every number \(u \gt 0\) and base \(b \gt 0\) with \(b \ne 1\text{,}\)

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

We will try to develop an intuition by creating the map between a number and its logarithm. In the process, we will develop something called a logarithmic number line or logarithmic scale.

A map is a way of thinking about the relationship between two variables. We use one variable as the independent variable, or input, for the map. This is the value we start with. The relation tells us that this value for the independent variable is associated with a particular value of the dependent variable. The value of the dependent variable is the output of the map.

To make our example precise, we will create the map for a base \(b=2\text{.}\) However, the process could be done for any base \(b \gt 0\) with \(b \ne 1\text{.}\) With a base \(b=2\text{,}\) we find \(\log_2(u)\) by solving the equation \(2^x = u\text{.}\) The logarithm is the map \(u \mapsto x\text{.}\) The equation is easy to solve when \(u\) is a known power of 2.

\begin{align*} 1 = 2^0 \quad &\Leftrightarrow (u,x)=(1,0) \quad \Leftrightarrow \quad \log_2(1) = 0\\ 2 = 2^1 \quad &\Leftrightarrow (u,x)=(2,1) \quad \Leftrightarrow \quad \log_2(2) = 1\\ 4 = 2^2 \quad &\Leftrightarrow (u,x)=(4,2) \quad \Leftrightarrow \quad \log_2(4) = 2\\ 8 = 2^3 \quad &\Leftrightarrow (u,x)=(8,3) \quad \Leftrightarrow \quad \log_2(8) = 3\\ {\textstyle \frac{1}{2}} = 2^{-1} \quad &\Leftrightarrow (u,x)=({\textstyle \frac{1}{2}},-1) \quad \Leftrightarrow \quad \log_2({\textstyle \frac{1}{2}}) = -1 \end{align*}

These simple logarithms are illustrated in the following map.

Now, instead of drawing two number lines, let us use a single number line labeling the points with the input above the line and the output below the line.

This relation could be extended to every point on the number line. The value above the number line is just the value \(2^x\) where \(x\) is the value below the number line. Some special values should be explicitly identified. The point with \(x=\frac{1}{2}\) corresponds to \(u=2^{1/2}=\sqrt{2} \approx 1.4142\text{.}\) Similarly, the point with \(x=\frac{3}{2}\) corresponds to \(u=2^{3/2}= \sqrt{8} \approx 2.8284\text{.}\)

The resulting locations of numbers above the number line is called a logarithmic scale. A more detailed logarithmic scale is provided below. Because consecutive integers are closer and closer together in a logarithmic scale, the figure only shows the tick mark location for some of the values.

Figure 1.8.1. Logarithmic scale showing the logarithm base two, \(b=2\text{.}\)

In our example, we developed the logarithmic scale using a base \(b=2\text{.}\) We could have done it with any base. The logarithmic scale with base \(b=10\text{,}\) corresponding to the common logarithm, is shown below.

Figure 1.8.2. Logarithmic scale showing the common logarithm, \(b=10\text{.}\)

Comparing the logarithmic scales for bases \(b=2\) and \(b=10\text{,}\) you should notice that the logarithmic scale itself appears to be the same. The only thing that is different is the scale of the tick marks below the number line corresponding to the value of the logarithm.

Subsection 1.8.2 Properties of the Logarithm

When considering the logarithmic scales, we always had \(\log_b(1) = 0\text{.}\) This is because \(b^0 = 1\) for every valid base. This creates a mapping from the multiplicative identity \(u=1\) to the additive identity \(x=0\text{.}\) That is, the value \(u=1\) becomes the origin of the logarithmic scale.

In a similar way, because \(b^1 = b\text{,}\) the logarithm will always have \(\log_b(b) = 1\text{.}\) Be careful that you do not think of this as a cancellation. Instead, think of the logarithmic scale. The value \(u=1\) sets the origin. The logarithm measures the position of each number as if using a ruler starting at \(u=1\text{.}\) The value \(u=b\) sets the length scale for the ruler.

The core properties of logarithms are summarized below.

The first two properties were proved in the paragraphs preceding the theorem. For the remaining three properties, because \(u \gt 0\text{,}\) we know that \(b^x=u\) has a solution \(x=\log_b(u)\text{.}\) Similarly, for \(v \gt 0\text{,}\) we know that there is a value \(y=\log_b(v)\) so that \(b^y = v\text{.}\) The inverse property is simply stating what it means to be a logarithm.

The power rule considers the logarithm of the value \(u^p\text{.}\) By rewriting \(u = b^x\text{,}\) we are looking for the logarithm of \(u^p = (b^x)^p\text{.}\) By the Power of a Power property, we have \(u^p = b^{(xp)}\text{,}\) which means that \(\log(u^p) = x p = p \cdot \log_b(u)\text{.}\)

The product rule considers the logarithm of the value \(u \cdot v\text{.}\) By rewriting \(u = b^x\) and \(v=b^y\text{,}\) we are looking for the logarithm of \(uv = b^x \cdot b^y\text{.}\) By the Product with a Common Base property, we have \(uv = b^{x+y}\text{,}\) which means that \(\log(uv) = x+y = \log_b(u) + \log_b(v)\text{.}\) The proof of the quotient rule for logarithms is proved in a similar way.

The properties of logarithms allow us to compute the logarithm of a product (and quotient) in terms of the logarithms of the individuals factors.

Example 1.8.4.

A reference table shows \(\log(2) \approx 0.30103\text{,}\) \(\log(3) \approx 0.47712\) and \(\log(5) \approx 0.69897\text{.}\) Use properties of logarithms to determine \(\log(1.2)\text{.}\)

Solution

Start by writing 1.2 as a product of the factors 2, 3, and 5.

\begin{equation*} 1.2 = \frac{12}{10} = \frac{4(3)}{2(5)} = \frac{2(3)}{5} \end{equation*}

The properties of logarithms allow us to rewrite \(\log(1.2)\) as

\begin{align*} \log(1.2) &= \log\left(\frac{2(3)}{5}\right) \\ &= \log(2(3)) - \log(5) & \text{(Quotient)} \\ &= \log(2) + \log(3) - \log(5) & \text{(Product)} \\ &\approx 0.30103 + 0.47712 - 0.69897 = 0.07918. \end{align*}

Historically, the logarithm was invented so that multiplication and division calculations could be solved using the much simpler operations of addition and subtraction. Engineers and scientists would often reference logarithm tables to find the logarithms of the factors and add the values by hand. Then they would look in the table for the number that had the resulting logarithm. The slide rule was a mechanical implementation, where the lengths corresponding to logarithm values were added physically to get a new length. For an interactive demonstration, check out http://educ.jmu.edu/~waltondb/webapp/log_scale_explore.html.

Although modern calculators and computers have eliminated this particular need for logarithms in calculations, we still use logarithms in order to expand symbolic formulas expressed as products and powers in terms of sums of the logarithms of the factors. To expand a logarithm, we look at the structure of the expression to which the logarithm is applied. There are likely many parts, but we look at the final operation that is used to form that expression.

  1. If the input of the logarithm is a product of expressions, then we expand the logarithm by rewriting it as a sum of logarithms each with one of the factors as input.

  2. If the input of the logarithm is a quotient of expressions, then we expand the logarithm by rewriting it as a difference of logarithms, adding the logarithm of the numerator and subtracting the logarithm of the denominator.

  3. If the input of the logarithm is a power applied to an expression, then we expand the logarithm by rewriting it as the value of the power times the logarithm of the base.

  4. If the input of the logarithm is a anything else, then the rules of logarithms do not apply. In particular, we can not expand the logarithm of a sum.

By changing any quotients into multiplication by negative powers, we can reduce the process of expanding logarithms to only two rules: the product and power rules.

Example 1.8.5.

Expand \(\displaystyle \log\left(\frac{4x^3\sqrt{2x+5}}{(x^2+3)^5}\right)\) as far as possible.

Solution

Each factor of the expression inside the logarithm will get its own term using the product and quotient rules for logarithms. If we think of every division in terms of negative powers, then we only need to deal with products. In particular, the inner expression can be rewritten

\begin{equation*} \frac{4x^3\sqrt{2x+5}}{(x^2+3)^5} = 4x^3(2x+5)^{\frac{1}{2}}(x^2+3)^{-5}\text{.} \end{equation*}

The factors identified are \(4\text{,}\) \(x^3\text{,}\) \((2x+5)^{\frac{1}{2}}\text{,}\) and \((x^2+3)^{-5}\text{.}\) Using the logarithm's product rule followed by the logarithm's power rule, we find

\begin{align*} \log\left(\frac{4x^3\sqrt{2x+5}}{(x^2+3)^5}\right) &= \log(4) + \log(x^3) + \log\left( (2x+5)^{\frac{1}{2}}\right) + \log\left( (x^2+3)^{-5} \right) \\ &= \log(4) + 3\log(x) + {\textstyle \frac{1}{2}}\log(2x+5) -5 \log(x^2+3). \end{align*}

Notice that we could have used the quotient rule of logarithms instead of negative powers to get the term \(-5 \log(x^2+3)\text{.}\)

The rules for expanding logarithms can also be used in reverse to collect terms into a single logarithm.

Example 1.8.6.

Collect the terms of

\begin{equation*} 2 + 4 \log x + 2 \log y - \frac{1}{2}\log(x+y) \end{equation*}

to write the expression in terms of a single logarithm.

Solution

We first recognize that every logarithm times an expression can be rewritten as a logarithm with the expression in the exponent.

\begin{equation*} 2 + 4 \log x + 2 \log y - \frac{1}{2}\log(x+y) = 2+ \log(x^4) + \log(y^2) + \log \left( (x+y)^{-1/2} \right) \end{equation*}

Now that the expression is a sum of logarithms. What about the isolated number 2? Using the common logarithm with base \(b=10\text{,}\) we know \(\log(10^2) = 2\text{.}\)

\begin{align*} 2 + 4 \log x + 2 \log y - \frac{1}{2}\log(x+y) \amp= 2 + \log(x^4) + \log(y^2) + \log \left( (x+y)^{-1/2} \right) \\ \amp= \log(10^2 \, x^4 \, y^2 \, (x+y)^{-1/2}) \\ \amp= \log \left( \frac{100 x^4 y^2}{\sqrt{x+y}} \right) \end{align*}

Subsection 1.8.3 Using Logarithms to Solve Equations

The properties of logarithms help solve us equations, particularly where the variable is in an exponent. Logarithm and exponential operations are invertible, so we can use them as balanced operations on an equation to obtain new equivalent equations. The properties of the logarithm can then be used to our advantage.

Example 1.8.7.

Solve the equation \(3 \cdot 2^{3x} = 5\) using the logarithm base 10.

Solution

It is usually best to isolate the exponential term first.

\begin{gather*} 3 \cdot 2^{3x} = 5 \\ 2^{3x} = \frac{5}{3} \end{gather*}

We next apply the logarithm base 10 to both sides of this equation, which then allows us to apply the logarithm power rule on the left. Then we can isolate \(x\text{.}\)

\begin{gather*} \log_{10}(2^{3x}) = \log_{10}({\textstyle \frac{5}{3}}) \\ 3x \cdot \log_{10}(2) = \log_{10}({\textstyle \frac{5}{3}}) \\ x = \frac{\log_{10}({\textstyle \frac{5}{3}})}{3 \log_{10}(2)} \end{gather*}

Alternatively, we could have applied the logarithm at the very first. This would require using the logarithm product rule on the left.

\begin{gather*} \log_{10}(3 \cdot 2^{3x}) = \log_{10}(5) \\ \log_{10}(3) + \log_{10}(2^{3x}) = \log_{10}(5) \\ \log_{10}(2^{3x}) = \log_{10}(5) - \log_{10}(3) \\ 3x \log_{10}(2) = \log_{10}(5) - \log_{10}(3) \\ x = \frac{\log_{10}(5) - \log_{10}(3)}{3\log_{10}(2)} \end{gather*}

The properties of logarithms allow us to compute logarithms with uncommon bases using logarithms that we know using the change of base formula.

Consider \(x=\log_b(u)\text{,}\) which solves \(b^x=u\text{.}\) If we solve this equation using \(\log_c\) to both sides, we find the change of base formula.

\begin{gather*} b^x = u \\ \log_c(b^x) = \log_c(u) \\ x \log_c(b) = \log_c(u) \\ x = \log_b(u) = \frac{\log_c(u)}{\log_c(b)}. \end{gather*}

This theorem has a nice geometric interpretation in relation to the logarithmic scale. The value \(\log_b(u)\) measures the distance in the logarithmic scale from the origin at \(1\) to the location of \(u\) in terms of the scale set by the location of \(b\text{.}\) The change of base formula is based on knowing the positions of \(u\) and \(b\) on the logarithmic scale in terms of the base \(c\text{.}\) We take the position of \(u\) and divide it by the length to get to \(b\text{.}\) In effect, this is a change of units calculation, similar to finding a distance measured in inches when we know the distance measured in centimeters.

Closely related to the change of base formula is the fact that we can rewrite any power with a positive base using a composition with an elementary exponential. We will soon discover that the number \(e\) is the natural exponential base. Thus, every power can be rewritten in terms of the natural exponential function. The logarithm with this base is the natural logarithm \(\ln\text{.}\)

Example 1.8.9.

Rewrite \(f(x) = 4 \cdot 3^{2x}\) using the natural exponential function.

Solution

One approach is to use the inverse property, \(e^{\ln(u)} = u\text{,}\) on the factor with the power. Then use logarithm properties to simplify (expand) the power.

\begin{align*} f(x) &= 4 \cdot 3^{2x} \\ &= 4 \cdot e^{\ln(3^{2x})} & \text{(Inverse Property)} \\ &= 4 \cdot e^{2x \ln(3)} & \text{(Power Rule)} \\ &= 4 \cdot e^{2 \ln(3) \, x} & \text{(Commute)} \end{align*}

Another approach is to just rewrite the base using the inverse property, \(3 = e^{\ln(3)}\text{,}\) and then finish by using properties of powers.

\begin{align*} f(x) &= 4 \cdot 3^{2x} \\ &= 4 \cdot (e^{\ln(3)})^{2x} & \text{(Inverse Property)} \\ &= 4 \cdot e^{2x \ln(3)} & \text{(Power of Product)} \\ &= 4 \cdot e^{2 \ln(3) \, x} & \text{(Commute)} \end{align*}

We use base \(e\) for exponentials so much that we summarize the statement as a theorem.

Example 1.8.11.

A population \(P\) is an exponential function of time \(t\text{,}\) \(P = Ae^{kt}\text{.}\) Suppose that \(P=500\) when \(t=0\) and the population triples every 5 years. Find the formula for \(P\text{.}\)

Solution

This is an exponential model \(P=Ae^{kt}\) with unknown parameters \(A\) and \(k\text{.}\) We use the data \((t,P)=(0,500)\) and \((t,P)=(5,1500)\) (the population triples in 5 years) to create equations based on our model that constrain the parameters.

\begin{equation*} \left\{ \begin{matrix} 500 = Ae^{0k} \\ 1500 = Ae^{5k} \end{matrix} \right. \end{equation*}

The first equation gives \(A=500\text{.}\) Substituting that into the second equation, we can solve for \(k\text{.}\)

\begin{gather*} Ae^{5k} = 1500 \\ 500 e^{5k} = 1500 \\ e^{5k} = 3 \\ 5k = \ln(3) \\ k = {\textstyle \frac{1}{5}} \ln(3) \end{gather*}

Using these parameters, we have our model

\begin{equation*} P = 500 e^{\frac{1}{5} \ln(3) t}\text{.} \end{equation*}

Subsection 1.8.4 Summary

  • The logarithmic scale is based on the inverse map of an exponential function. The multiplicative identity \(u=1\) represents the origin of the scale. The base \(b\) establishes the length scale used to calculate logarithms.
  • The properties of logarithms are consequences of properties of exponents.

    • \(\log_b(1) = 0\) (Identities Map) and \(\log_b(b) = 1\) (Base Sets Scale).

    • \(b^{\log_b(u)} = u\) and \(\log_b(b^x) = x\) (Inverse Property).

    • \(\log_b(uv) = \log_b(u) + \log_b(v)\) (Product Rule).

    • \(\log_b(u \div v) = \log_b(u) - \log_b(v)\) (Quotient Rule).

    • \(\log_b(u^p) = p \cdot \log_b(u)\) (Power Rule).

  • To expand a logarithm is to identify if the input of a logarithm is a product, quotient, or power, and then to rewrite that logarithm as a sum of logarithms, a difference of logarithms, or a product with a logarithm. This is repeated until no logarithm has an input that is a product, quotient, or power.

Exercises 1.8.5 Exercises

1.

For an unknown base \(b\text{,}\) we have \(\log_b(2)=0.3\text{.}\) Use the rules of logarithms to find each of the following.

  1. \(\log_b(8)\)
  2. \(\log_b(\frac{1}{\sqrt{2}})\)
  3. \(\log_b(4b^2)\)

Can you identify the value \(b\text{?}\)

2.

For an unknown base \(b\text{,}\) we have \(\log_b(2) \approx 0.3562\) and \(\log_b(3) \approx 0.5646\text{.}\) Use the rules of logarithms to find each of the following.

  1. \(\log_b(6)\)
  2. \(\log_b(72)\)
  3. \(\log_b(\frac{4}{9})\)
3.

Expand \(\displaystyle \log\left( 3x^5(2x+1)^4 \right)\) as far as possible.

4.

Expand \(\displaystyle \log\left( \frac{(x^2+4)^3}{x^4(3x+1)} \right)\) as far as possible.

5.

Expand \(\displaystyle \log\left( \sqrt{5(x^2+1)} \right)\) as far as possible.

6.

Rewrite the expanded formula \(\displaystyle 2 + 3\log(x) - \log(2x+1)\) as the logarithm (base 10) of a single expression.

7.

Rewrite the expanded formula \(\displaystyle {\textstyle \frac{1}{2}}\ln(x) - \ln(x+1) - \ln(x-1)\) as the logarithm (base e) of a single expression.

8.

Use the natural logarithm to solve the equation \(4 \cdot 5^x = 3\text{.}\)

9.

Use the natural logarithm to solve the equation \(2 \cdot 3^{-x} = 3 \cdot 2^{x}\text{.}\)

10.

Write the function \(f(x) = 4^x\) using an exponential with base \(10\text{.}\)

11.

Write the function \(f(x) = 4^x\) using an exponential with base \(e\text{.}\)

12.

Write the function \(f(x) = 5 \cdot 0.25^x\) using an exponential with base \(e\text{.}\)

13.

Write the function \(f(x) = x^4\) using an exponential with base \(e\) for \(x \gt 0\text{.}\)

14.

Write the function \(f(x) = x^{2x}\) using an exponential with base \(e\) for \(x \gt 0\text{.}\)

15.

Find an exponential model \(y=Ae^{kx}\) satisfying the states \((x,y)=(0,3)\) and \((x,y)=(5,9)\text{.}\)

16.

Find an exponential model \(y=Ae^{kx}\) satisfying the states \((x,y)=(1,3)\) and \((x,y)=(4,6)\text{.}\)

17.

In a living organism, 1 gram of carbon would result in about 840 carbon-14 atoms disintegrating per hour. After death, the rate of radiocarbon disintegrations decays exponentially. Carbon-14 has a half-life of 5730 years, meaning the rate has dropped to half its original value after this time. Determine the radioactive disintegration rate for 1 gram of carbon using the natural exponential base \(e\text{.}\) What is the radioactive disintegration rate of the sample after 1000 years?

18.

A money market account starting at $2000 grew by 10% in one year. Determine the value of the money market account assuming the rate of growth remains constant by using an exponential growth model. What will be the value in 4 years? How long does it take for the value to double?