1.8 Exponential and Logarithmic Functions

Story (The Mathematics of Compounding).

If trigonometric functions represent cyclic rhythms, exponential functions represent cascading growth. They are nature’s favorite mechanism, arising inevitably whenever a quantity’s rate of change is proportional to the quantity itself—be it populations of bacteria dividing in a petri dish, the radioactive decay of isotopes, or the compounding of wealth in finance.

Definition 1.8.1.

Let b>0b>0 with b≠1b\neq 1. The exponential function with base bb is defined as f⁢(x)≔bxf(x)\coloneqq b^{x}.

Remark 1.8.2 (Properties of Exponentials).

For any bases a,b>0a,b>0 and exponents x,y∈ℝx,y\in\mathbb{R}, the exponential function strictly adheres to the following operational rules:

  1. 1.
    ​

    a0=1a^{0}=1

  2. 2.
    ​

    ax⁢ay=ax+ya^{x}a^{y}=a^{x+y}

  3. 3.
    ​

    (ax)y=ax⁢y(a^{x})^{y}=a^{xy}

  4. 4.
    ​

    (a⁢b)x=ax⁢bx(ab)^{x}=a^{x}b^{x}

  5. 5.
    ​

    axay=ax−y\frac{a^{x}}{a^{y}}=a^{x-y}

  6. 6.
    ​

    (ab)x=axbx\left(\frac{a}{b}\right)^{x}=\frac{a^{x}}{b^{x}}

  7. 7.
    ​

    a−x=1axa^{-x}=\frac{1}{a^{x}}

Example 1.8.3.

Consider the dyadic exponential f⁢(x)=2xf(x)=2^{x}. We can compute various discrete points to observe its rapid escalation:

  • •
    ​

    f⁢(0)=20=1f(0)=2^{0}=1

  • •
    ​

    f⁢(2)=22=2⋅2=4f(2)=2^{2}=2\cdot 2=4

  • •
    ​

    f⁢(23)=22/3=(22)1/3=43f\left(\frac{2}{3}\right)=2^{2/3}=(2^{2})^{1/3}=\sqrt[3]{4}

  • •
    ​

    f⁢(π)=2πf(\pi)=2^{\pi} (an transcendental output!)

Before characterizing the global geometric behavior of bxb^{x}, let us formalize the analytic notion of a function “going up” or “going down”.

Definition 1.8.4 (Increasing, Decreasing, and Monotonicity).

Suppose we have a function f:ℝ→ℝf\colon\mathbb{R}\to\mathbb{R} with domain dom⁡(f)⊂ℝ\operatorname{dom}(f)\subset\mathbb{R} and range ran⁡(f)⊂ℝ\operatorname{ran}(f)\subset\mathbb{R}.

  1. (i)
    ​

    We say ff is increasing if for all x1,x2∈dom⁡(f)x_{1},x_{2}\in\operatorname{dom}(f),

    equation (1.25) (1.25)
    x1<x2⟹f⁢(x1)≤f⁢(x2).x_{1}<x_{2}\implies f(x_{1})\leq f(x_{2}).

    We say ff is strictly increasing if ≤\leq is replaced by <<.

  2. (ii)
    ​

    We say ff is decreasing if for all x1,x2∈dom⁡(f)x_{1},x_{2}\in\operatorname{dom}(f),

    equation (1.26) (1.26)
    x1<x2⟹f⁢(x1)≥f⁢(x2).x_{1}<x_{2}\implies f(x_{1})\geq f(x_{2}).

    We say ff is strictly decreasing if ≥\geq is replaced by >>.

We say that ff is monotone if it is either strictly increasing or strictly decreasing on its entire domain.

Caveat (Not Everything is Monotone!).

The function y=sin⁡(x)y=\sin(x) is emphatically not monotone. It constantly reverses direction, fluctuating between increasing and decreasing phases to create the waves we analyzed in the previous section.

Graph of the function which oscillates
about the $x-$axis.

Armed with this definition, we can classify the macro-behavior of f⁢(x)=bxf(x)=b^{x}:

  1. 1.
    ​

    dom⁡(f)=ℝ\operatorname{dom}(f)=\mathbb{R}, and ran⁡(f)=(0,∞)\operatorname{ran}(f)=(0,\infty). (An exponential output is always strictly positive).

  2. 2.
    ​

    f⁢(0)=b0=1f(0)=b^{0}=1, which implies the yy-intercept is universally at the coordinate (0,1)(0,1).

  3. 3.
    ​

    Monotonicity is governed entirely by the base bb, see Figure 1.13:

    • •
      ​

      If b>1b>1, ff is increasing (modeling exponential growth).

    • •
      ​

      If 0<b<10<b<1, ff is decreasing (modeling exponential decay).

The behaviors of exponential functions with
different bases.
Figure 1.13: The behaviors of exponential functions.
Moral (The Natural Base).

Among the infinitely many bases we could choose, one reigns supreme in the calculus: Euler’s number e≈2.71828⁢…\mathrm{e}\approx 2.71828\dots. The special case b=eb=\mathrm{e} gives us the natural exponential function f⁢(x)=exf(x)=\mathrm{e}^{x}, uniquely characterized by the profound property that its rate of growth is precisely equal to its value at any given moment.

If one wishes to find the time it takes for a biological population to reach a certain size, one must invert the exponential function. This logical necessity gives birth to the logarithm.

Definition 1.8.5.

For 0<b≠10<b\neq 1, the logarithmic function base bb, denoted by logb⁡x\log_{b}x, is the inverse of the exponential function bxb^{x}. It satisfies the identities:

equation (1.27) (1.27)
logb⁡(bx)=xandblogb⁡x=x.\log_{b}(b^{x})=x\quad\text{and}\quad b^{\log_{b}x}=x.

If b=eb=\mathrm{e}, we typically write f⁢(x)=log⁡xf(x)=\log x (or sometimes log⁡x\log x in higher mathematics) to denote the natural logarithmic function.

Remark 1.8.6.

Because the logarithm is the inverse of the exponential, their domains and ranges perfectly swap. For f⁢(x)=logb⁡xf(x)=\log_{b}x:

equation (1.28) (1.28)
dom⁡(f)=(0,∞),ran⁡(f)=ℝ.\operatorname{dom}(f)=(0,\infty),\qquad\operatorname{ran}(f)=\mathbb{R}.