In the last section we studied the natural exponential function.
\[
\begin{align}
p &\mathrel{\overset{\exp}{\leftarrow}} e
\\
p &= \exp e
\end{align}
\]
The natural exponential takes exponents, \( e \), as input and produces powers, \( p \), as output. The natural logarithm inverts the relationship between \( p \) and \( e \).
\[
\begin{align}
e &\mathrel{\overset{\log}{\leftarrow}} p
\\
e &= \log p
\end{align}
\]
Since the natural logarithm is an
inverse, it cancels with the natural exponential.
\[
\begin{align}
\log \exp e &= e
&
&\andSpaced
&
\exp \log p &= p
\end{align}
\]
We need one restriction: the natural exponential function produces positive output, \( p \gt 0 \), only, so the natural logarithm will only accept positive input.