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{,}\)
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.
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.
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.
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.
Theorem 1.8.3. Properties of Logarithms.
For every base \(b \gt 0\) with \(b \ne 1\) and values \(u \gt 0\) and \(v \gt 0\text{,}\) logarithms satisfy the following properties.
Identities Map: \(\log_b(1) = 0\text{.}\)
The Base Sets the Scale: \(\log_b(b) = 1\text{.}\)
Inverse Property: \(b^{\log_b(u)} = u\) and \(\log_b(b^x) = x\text{.}\)
Product Rule: \(\log_b(u \cdot v)= \log_b(u) + \log_b(v)\text{.}\)
Quotient Rule: \(\displaystyle \log_b\left(\frac{u}{v}\right)= \log_b(u) - \log_b(v)\text{.}\)
Power Rule: \(\log_b(u^p) = p \cdot \log_b(u)\text{.}\)
Proof.
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{.}\)
Start by writing 1.2 as a product of the factors 2, 3, and 5.
The properties of logarithms allow us to rewrite \(\log(1.2)\) as
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.
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.
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.
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.
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.
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
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
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
to write the expression in terms of a single logarithm.
We first recognize that every logarithm times an expression can be rewritten as a logarithm with the expression in the exponent.
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{.}\)
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.
It is usually best to isolate the exponential term first.
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{.}\)
Alternatively, we could have applied the logarithm at the very first. This would require using the logarithm product rule on the left.
The properties of logarithms allow us to compute logarithms with uncommon bases using logarithms that we know using the change of base formula.
Theorem 1.8.8.
For any two exponential bases \(b\) and \(c\text{,}\)
Proof.
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.
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.
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.
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.
We use base \(e\) for exponentials so much that we summarize the statement as a theorem.
Theorem 1.8.10.
Every exponential function \(f(x) = A b^x\) can be written using the natural exponential \(f(x) = Ae^{kx}\) where \(k = \ln(b)\text{.}\)
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{.}\)
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.
The first equation gives \(A=500\text{.}\) Substituting that into the second equation, we can solve for \(k\text{.}\)
Using these parameters, we have our model
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.
- \(\log_b(8)\)
- \(\log_b(\frac{1}{\sqrt{2}})\)
- \(\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.
- \(\log_b(6)\)
- \(\log_b(72)\)
- \(\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?