Sub topic 2
Common Logarithms, Natural Logarithms, and the Number \(e\)
Assume you can solve linear and quadratic equations, use integer and rational exponent rules, understand inverse functions, and evaluate powers and logarithms with a calculator. This chapter distinguishes two important logarithms and explains why the number \(e\) appears so often in mathematics.
Common logarithms
A logarithm answers the question, “What exponent produces this number?” The equation
\[ \log_b(x)=y \]
means the same thing as
\[ b^y=x. \]
The number \(b\) is the base. For example,
\[ \log_{10}(1000)=3 \]
because \(10^3=1000\).
A common logarithm is a logarithm with base 10. It is written as \(\log(x)\) without showing the base:
\[ \log(x)=\log_{10}(x). \]
Common logarithms are useful when quantities are measured in powers of 10, such as scientific notation, sound levels, and acidity.
Natural logarithms and \(e\)
A natural logarithm is a logarithm with base \(e\). It is written as \(\ln(x)\):
\[ \ln(x)=\log_e(x). \]
The number \(e\) is an irrational constant approximately equal to \(2.71828\). Like \(\pi\), its decimal expansion never ends or repeats. The number \(e\) is the natural base for continuous growth and decay because its rate of change has a particularly simple form.
The inverse relationships are
\[ \ln(e^x)=x \]
and
\[ e^{\ln(x)}=x \qquad (x>0). \]
These identities let you isolate variables in exponential equations. For example, if
\[ e^{2x-1}=20, \]
take \(\ln\) of both sides:
\[ \ln(e^{2x-1})=\ln(20). \]
Because \(\ln\) and \(e^x\) are inverse functions,
\[ 2x-1=\ln(20). \]
Therefore,
\[ x=\frac{1+\ln(20)}{2}. \]
This is an exact answer. A calculator gives \(x\approx 1.9979\).
import math
# Solve e^(2x - 1) = 20
x = (1 + math.log(20)) / 2
print(x)
print(math.exp(2 * x - 1)) # approximately 20Comparing \(\log\) and \(\ln\)
Both logarithms measure exponents. Their difference is the base.
| Notation | Base | Example |
|---|---|---|
| \(\log(x)\) | \(10\) | \(\log(100)=2\) |
| \(\ln(x)\) | \(e\) | \(\ln(e^2)=2\) |
Many calculators have separate log and ln keys. Choosing the wrong key changes the answer.
Why \(e\) models continuous change
For repeated growth, the expression
\[ A=P\left(1+\frac{r}{n}\right)^{nt} \]
models an initial amount \(P\), annual rate \(r\), \(n\) compounding periods per year, and time \(t\). As compounding becomes continuous, this expression leads to
\[ A=Pe^{rt}. \]
For continuous decay, \(r\) is negative. To find time, use a natural logarithm:
\[ A=Pe^{rt} \]
\[ \ln\left(\frac{A}{P}\right)=rt \]
\[ t=\frac{\ln(A/P)}{r}. \]
Exercise
Solve \(e^{3x}=7\) and give both an exact answer and a decimal approximation.
Show answer
Take \(\ln\) of both sides: \(3x=\ln(7)\). Thus \(x=\frac{\ln(7)}{3}\approx 0.6486\).