4.3: Logarithmic Functions
This section studies the inverse of $f(x) = a^x$.
Recall the graph of $a^x$:
$a^x$ is one-to-one because it passes the horizontal line test.
An inverse of $a^x$ must exist! We call it the logarithm.
Logarithmic Functions
logarithmic function
Suppose $a > 0, a \neq 1$. The logarithmic function with base $a$ is defined by \[\log_a x = y \qquad \text{means} \qquad a^y = x\]
Both equations have names: \[\underbrace{\log_a x = y}_{\Large\text{logarithmic form}} \qquad \qquad \underbrace{a^y = x}_{\Large{\text{exponential form}}}\]
Writing $\log_a x$ means you are plugging in $x$ into $\log_a$.
You can use parentheses for readability: $\log_a(x)$
To find logs, convert to exponential form and find what power $a$ needs to be taken to in order to get $x$.
Evaluate the following:
- $\log_28 $
- $\log_{10}100$
- $\log_{16}4$
- $\log_2\left(\frac{1}{2}\right)$
Few useful facts for logarithms:
Properties of Logarithms
- $\log_a 1 = 0$
- $\log_a a = 1$
- $\log_a a^x = x$
- $a^{\log_a x} = x$
Evaluate the following:
- $\log_51 $
- $\log_{5}5$
- $\log_{4}4^8$
- $6^{\log_6 12}$
Here are two logarithms which will be extensively used.
common logarithm
Base 10 logarithm, the base is omitted: \[\log x = \log_{10} x\]
natural logarithm
Base $e$ logarithm, denoted by $\ln$: \[\ln x = \log_{e} x\]
We can rewrite the properties of logarithms for the natural logarithm:
Properties of Natural Logarithms
- $\ln 1 = 0$
- $\ln e = 1$
- $\ln e^x = x$
- $e^{\ln x} = x$
Evaluate:
- $\ln e^8$
- $\ln \left(\frac{1}{e^2}\right)$
Logarithmic Graphs
Let's inspect what the graph looks like.
The function $f(x) = \log_a x$ has the general shape

In general:
- Domain: $(0, \infty)$
- Codomain (range): $\mathbb{R}$
- Asymptotes: $x = 0$
Sketch a graph of $f(x) = 1 + \log_{10}(x - 3)$.
The Decibel scale is a function between intensity (energy required) and perceived loudness by a human.
For example, a normal conversation is around 60 dB while an electric vacuum is around 80 dB. But how much more energy was used to generate a difference of 20 dB?
Decibels $B$ for a sound with intensity $I$ is calculated by \[B = 10\log\left(\dfrac{I}{I_0}\right)\] where $I_0$ is the intensity of complete silence (0 dB).
Find the decibel level of a sound whose intensity $I$ is 100 times of $I_0$.
It takes 100 times more energy to generate a difference of 20 dB!