Working With Logarithms
Logarithms of Products
A useful property of logarithms states that the logarithm of a product of two quantities is the sum of the logarithms of the two factors. In symbols, logb(xy)=logb(x)+logb(y).
Learning Objectives
Relate the product rule for logarithms to the rules for operating with exponents, and use this rule to rewrite logarithms of products
Key Takeaways
Key Points
- The logarithm of a product is the sum of the logarithms of the factors.
- The product rule does not apply when the base of the two logarithms are different.
Key Terms
- exponent: The power to which a number, symbol, or expression is to be raised. For example, the 3 in x3.
Logarithms
The logarithm of a number is the exponent by which another fixed value, the base, has to be raised to produce that number. For example, the logarithm of 1000 in base 10 is 3, because 103=1000.
More generally, if x=by, then y is the logarithm base b of x, written: y=logb(x), so log10(1000)=3.
It is useful to think of logarithms as inverses of exponentials. So, for example:
logb(bz)=z
And:
blogb(z)=z
Product Rule for Logarithms
Logarithms were introduced by John Napier in the early 17th century as a means to simplify calculations. Logarithms were rapidly adopted by navigators, scientists, engineers, and others to perform computations more easily by using slide rules and logarithm tables. Tedious multi-digit multiplication steps can be replaced by table look-ups and simpler addition, because of the fact that the logarithm of a product is the sum of the logarithms of the factors:
logb(xy)=logb(x)+logb(y)
We can see that this rule is true by writing the logarithms in terms of exponentials.
Let logb(x)=v and logb(y)=w.
Writing these equations as exponentials:
bv=x
And:
bw=y.
Then note that:
\displaystyle
\begin{align}
xy&=b^vb^w\\
&=b^{v+w}
\end{align}
Taking the logarithm base b of both sides of this last equation yields:
\displaystyle
\begin{align}
\log_b(xy)&=\log_b(b^{v+w})\\
&=v+w\\
&=\log_b(x) + \log_b(y)
\end{align}
This is a very useful property of logarithms, because it can sometimes simplify more complex expressions. For example:
log10(10x⋅100x3+1)=log10(10x)+log10(100x3+1)
Then because 100 is 102, we have:
\displaystyle
\begin{align}
x+\log_{10}(10^{2(x^3+1)}) &= x+2(x^3+1)\\
&=2x^3+x+2
\end{align}
Logarithms of Powers
The logarithm of the pth power of a quantity is p times the logarithm of the quantity. In symbols, logb(xp)=plogb(x).
Learning Objectives
Relate the power rule for logarithms to the rules for operating with exponents, and use this rule to rewrite logarithms of powers
Key Takeaways
Key Points
- The logarithm of a product is the sum of the logarithms of the factors.
- An exponent, p, signifies that a number is being multiplied by itself p number of times. Because the logarithm of a product is the sum of the logarithms of the factors, the logarithm of a number, x, to an exponent, p, is the same as the logarithm of x added together p times, so it is equal to plogb(x).
Key Terms
- base: A number raised to the power of an exponent.
- logarithm: The logarithm of a number is the exponent by which another fixed value, the base, has to be raised to produce that number.
- exponent: The power to which a number, symbol, or expression is to be raised. For example, the 3 in x3.
The Power Rule for Logarithms
We have already seen that the logarithm of a product is the sum of the logarithms of the factors:
logb(xy)=logb(x)+logb(y)
If we apply this rule repeatedly we can devise another rule for simplifying expressions of the form logbxp.
Recall that xp can be thought of as x⋅x⋅x⋯x where there are p factors of x. Then we have:
\displaystyle
\begin{align}
\log_b(x^p) &= \log_b (x \cdot x \cdots x) \\
&= \log_b x + \log_b x + \cdots +\log_b x \\
&= p\log_b x
\end{align}
Since the p factors of x are converted to p summands by the product rule formula.
Example 1: Simplify the expression log3(3x⋅9x100)
First expand the log:
log3(3x⋅9x100)=log3(3x)+log39+log3(x100)
Next use the product and power rule to simplify:
log3(3x)+log39+log3(x100)=x+2+100log3x
Example 2: Solve 2(x+1)=103 for x using logarithms
Start by taking the logarithm with base 2 of both sides:
\displaystyle
\begin{align}
\log_2 (2^{(x+1)}) &= \log_2 (10^3)\\
x+1&=3\log_2(10)\\
x&=3\log_2(10)-1
\end{align}
Therefore a solution would be x=3log2(10)−1.
Logarithms of Quotients
The logarithm of the ratio of two quantities is the difference of the logarithms of the quantities. In symbols, logb(yx)=logbx−logby.
Learning Objectives
Relate the quotient rule for logarithms to the rules for operating with exponents, and use this rule to rewrite logarithms of quotients
Key Takeaways
Key Points
- The logarithm of a number is the exponent by which another fixed value, the base, has to be raised to produce that number.
- The logarithm of a product is the sum of the logarithms of the factors.
- The logarithm of the ratio or quotient of two numbers is the difference of the logarithms.
Key Terms
- exponent: The power to which a number, symbol, or expression is to be raised. For example, the 3 in x3.
We have already seen that the logarithm of a product is the sum of the logarithms of the factors:
logb(xy)=logbx+logby
Similarly, the logarithm of the ratio of two quantities is the difference of the logarithms:
logb(yx)=logbx−logby.
We can show that this is true by the following example:
Let u=logbx and v=logby.
Then bu=x and bv=y.
Then:
\displaystyle
\begin{align}
\log_b\left(\frac{x}{y}\right)&=\log_b\left({b^u \over b^v}\right)\\
&= \log_b(b^{u-v}) \\
&=u-v\\
&= \log_b x - \log_b y
\end{align}
Another way to show that this rule is true, is to apply both the power and product rules and the fact that dividing by y is the same is multiplying by y−1. So we can write:
\displaystyle
\begin{align}
\log_b\left(\frac{x}{y}\right)&=\log_b(x\cdot y^{-1})\\
& = \log_bx + \log_b(y^{-1})\\&
= \log_bx -\log_by
\end{align}
Example: write the expression log2(z100x4y9) in a simpler way
By applying the product, power, and quotient rules, you could write this expression as:
log2(x4)+log2(y9)−log2(z100)=4log2x+9log2y−100log2z.
Changing Logarithmic Bases
A logarithm written in one base can be converted to an equal quantity written in a different base.
Learning Objectives
Use the change of base formula to convert logarithms to different bases
Key Takeaways
Key Points
- The base of a logarithm can be changed by expressing it as the quotient of two logarithms with a common base.
- Changing a logarithm's base to 10 makes it much simpler to evaluate; it can be done on a calculator.
Key Terms
- logarithm: The logarithm of a number is the exponent by which another fixed value, the base, has to be raised to produce that number.
- base: A number raised to the power of an exponent.
Most common scientific calculators have a key for computing logarithms with base 10, but do not have keys for other bases. So, if you needed to get an approximation to a number like log4(9) it can be difficult to do so. One could easily guess that it is between 1 and 2 since 9 is between 41 and 42, but it is difficult to get an accurate approximation. Fortunately, there is a change of base formula that can help.
Change of Base Formula
The change of base formula for logarithms is:
loga(x)=logb(a)logb(x)
Thus, for example, we could calculate that log4(9)=log10(4)log10(9) which could be computed on almost any handheld calculator.
Deriving the Formula
To see why the formula is true, give loga(x) a name like z:
z=loga(x)
Write this as az=x
Now take the logarithm with base b of both sides, yielding:
logbaz=logbx
Using the power rule gives:
z⋅logba=logbx
Dividing both sides by logba gives:
z=logbalogbx.
Thus we have logax=logbalogbx.
Example
An expression of the form log5(10x2+1) might be easier to graph on a graphing calculator or other device if it were written in base 10 instead of base 5. The change-of-base formula can be applied to it:
log5(10x2+1)=log105log10(10x2+1)
Which can be written as log105x2+1.Licenses & Attributions
CC licensed content, Shared previously
CC licensed content, Specific attribution