11 Exponential function
\(e \approx 2.718 \ldots\)
Multiplication is fundamentally a condensed addition (e.g., \(2 + 2 + 2 = 2 \times 3\)), while exponents represent condensed multiplication (e.g., \(2 \times 2 \times 2 = 2^3\); see Chapter 6). With these knowledge, exponent rules can be derived logically rather than memorized by heart. For example:
\[a^n \times a^m = a^{n+m}\]
For instance: \[2^3 \times 2^4 = (2 \times 2 \times 2) \times (2 \times 2 \times 2 \times 2) = 2^7\]
At the end of highschool, a specific continuous function is introduced: the exponential function, written as \(\exp(x)\) or \(e^x\). Alongside concepts like limits and derivatives, its most fundamental algebraic property is:
\[e^x \times e^y = e^{x+y}\]
In hindsight, this is identical to the traditional product rule for exponents, replacing the generic base \(a\) with the specific constant \(e \approx 2.718\dots\).
Many key properties flow naturally from this connection without requiring brute-force memorization:
- Zero Exponent (\(e^0 = 1\)): Just as \(a^0 = 1\) for any non-zero number.
- Strict Positivity (\(e^x > 0\)): Powers of positive bases are strictly positive across all real numbers \(\mathbb{R}\)—just as \(2^n\) can never yield a negative value for any real exponent \(n\).
- Negative exponent: \(e^{-x} = \frac{1}{e^x}\) as \(2^{-1} = \frac{1}{2}\).
Why is this specific constant \(e \approx 2.718\dots\) so special? Why not use \(\pi^x\) or another base? While entire volumes are dedicated to Euler’s number \(e\), the short answer is that \(e\) emerges naturally throughout mathematics and science due to its unique properties.
Formal
The function \(\exp(x)\) or \(e^x\) can be defined by the infinite sum: \[ \exp(x) = \sum_{n=0}^{\infty} \frac{x^n}{n!} \tag{11.1}\] see Chapter 4 for summation notation.
Using this definition, the mathematical constant \(e\) is formally defined as the evaluation of this series at \(x=1\): \[ e = \exp(1) = \sum_{n=0}^{\infty} \frac{1}{n!} \tag{11.2}\]
Below is the graphical representation of the exponential function.
Examples
The exponential function plays a central role in probability and statistics, most notably forming the core of the Gaussian density curve (Equation 11.3): \[ f(x) = \frac{1}{\sigma \sqrt{2\pi}} e^{\displaystyle -\frac{(x - \mu)^2}{2\sigma^2}} \tag{11.3}\]
If a component (such as a car part) has a constant failure rate \(\lambda\), its cumulative probability of failure by time \(t\) is modeled by the exponential function1: \[ 1 - e^{- \lambda t} \tag{11.4}\] Notice that at \(t = 0\), the probability of failure is \(1 - e^0 = 0\), and as time \(t \rightarrow \infty\), the term \(e^{- \lambda t} = \frac{1}{e^{\lambda t}} \rightarrow 0\). The probability approaches to 1 meaning things are meant to break.
An unexpected yet fundamental appearance of \(e\) arises from continuous growth2: \[ \lim_{n \to \infty } \left(1 + \frac{1}{n}\right)^n = e \tag{11.5}\]
The intrinsic growth \(r\) in ecology is the solution the Euler-Lotka equation \[ 1 = \int_0^{\infty} e^{-r x} l(x) m(x) dx \tag{11.6}\] where \(x\) is age, \(l(x)\) is the probabily that a new born survives to age \(x\), and \(m(x)\) is the average number of offspring produced by an individual at stage x
Tips and warnings
The number \(e\) is the unique base whose exponential function serves as its own derivative:
\[\frac{d}{dx}e^x = e^x\]
Equivalently, \(y = \exp(x)\) is the fundamental solution to the ordinary differential equation (Chapter 14):
\[\frac{dy}{dx} = y \quad \text{with initial condition } y(0) = 1\]
This property means that at any point along the curve \(y = e^x\), the height of the function above the horizontal axis is exactly equal to the slope of its tangent line.
The exponential function \(e^x\) is the reciprocal of the logarithm function \(\ln(x)\).
\[ e^{\displaystyle \ln(\text{input})} = \text{input} = \ln(e^{\displaystyle \text{input}}) \tag{11.7}\]
This relationship is characterized with the visual symmetry between the two curves with respect to the identidy function \(y = x\) .
Figure 11.2: Geometric reflection of exp(x) and ln(x) across the identity line y = x Exponential growth is a phenomenon that deeply concerns scientists, yet non-scientists frequently overlook its early stages. Because the initial rate of increase appears slow and linear, the curve hides its explosive potential until it reaches a sudden, compounding inflection point.
Figure 11.3: Cognitive deception of exponential growth. Credits to Tris Sainsbury and a node to xkcd
Notations/Semantic/Terminology
The exponential operation can be written in two distinct notations, each offering unique pedagogical and structural advantages depending on the context:
Writing \(e^x\) directly emphasizes the algebraic concept of repeated base multiplication and continuous growth. Visually, it connects back to elementary exponent rules (\(a^b\)), making properties like \(e^a \cdot e^b = e^{a+b}\) and \(e^0 = 1\) immediately recognizable and intuitive to read.
The functional notation \(\exp(x)\) is preferred in advanced applied mathematics and programming for several reasons:
- When the exponent consists of fractions, derivatives, or multi-variable terms—such as the Gaussian distribution or exponential decay—writing \(e^{\dots}\) forces tiny inline script fonts that are difficult to read. Functional notation \(\exp(\dots)\) keeps the argument at full display size on the main text baseline.
- It reinforces that the exponential is a mathematical operator (mapping inputs \(x \to y\)) rather than simple fixed-base arithmetic.
- It matches the universal function syntax used across programming environments and computer algebra systems (such as
exp(x)in R, Python, most programming language)