Skip to content
Oakfield Operator Calculus Function Reference Site

Exponential Function

For xRx \in \mathbb{R} (and more generally xCx \in \mathbb{C}), the exponential function is defined by its power series

exp(x)=n=0xnn!\exp(x) = \sum_{n=0}^{\infty} \frac{x^n}{n!}

This definition also characterizes exp\exp as the unique solution of y=yy' = y with y(0)=1y(0)=1.

exp\exp is an entire function on C\mathbb{C}. For real inputs, exp(x)(0,)\exp(x) \in (0,\infty).


exp(a+b)=exp(a)exp(b)\exp(a+b) = \exp(a)\exp(b)
ddxexp(x)=exp(x),exp(x)dx=exp(x)+C\frac{d}{dx}\exp(x) = \exp(x), \qquad \int \exp(x)\,dx = \exp(x) + C
log(exp(x))=x,xR\log(\exp(x)) = x, \qquad x\in\mathbb{R}

On positive reals, exp(logx)=x\exp(\log x)=x for x>0x>0. In the complex plane, exp(Log(z))=z\exp(\operatorname{Log}(z))=z holds on C(,0]\mathbb{C}\setminus(-\infty,0], while Log(exp(z))=z\operatorname{Log}(\exp(z))=z only within the principal strip Im(z)(π,π]\operatorname{Im}(z)\in(-\pi,\pi].

exp(ix)=cosx+isinx\exp(ix) = \cos x + i\sin x

xxexp(x)\exp(x)
0011
11ee
1-1e1e^{-1}

As xx \to -\infty, exp(x)0\exp(x)\to 0, and as x+x \to +\infty, exp(x)+\exp(x)\to +\infty.


The logarithm is the inverse of exp\exp on (0,)(0,\infty). The complex exponential generates trigonometric functions via Euler’s formula, and stretched exponentials generalize decay profiles.


Oakfield uses exp (and its complex variant) in several core runtime paths:

  • Spectral dissipation: the linear_dissipative operator implements fractional-Laplacian damping by multiplying each Fourier bin by a factor like exp(νkαdt)\exp(-\nu |k|^\alpha\,dt).
  • Spectral phase evolution: the dispersion operator applies per-bin phase factors of the form eiϕ(k)e^{i\phi(k)} via cexp.
  • Envelopes and kernels: Gaussian/Gabor stimuli and Gaussian-shaped filters use exponential envelopes (e.g. stimulus_gaussian, stimulus_gabor, and sieve’s Gaussian tap generation).
  • Stochastic processes: the stochastic_noise operator uses exponential decay terms (including stretched-exponential-style decays) when updating its internal noise state.
  • Diagnostics smoothing: runtime phase-coherence diagnostics use exp(dt/τ)\exp(-dt/\tau) when computing exponential moving averages (EMA) and lock detection.

The modern exponential function crystallized through the development of logarithms and continuous compounding, with Euler’s work establishing the base-ee exponential as the natural analytic object.

Today, exp\exp is foundational across analysis and applied modeling, providing the canonical map from additive to multiplicative structure.


  • NIST Digital Library of Mathematical Functions (DLMF), §4
  • Abramowitz & Stegun, Handbook of Mathematical Functions