Logarithm
📐 Definition
Section titled “📐 Definition”For , the (natural) logarithm can be defined by the integral
the inverse of the natural exponential, converting multiplicative changes into additive ones.
Domain and Codomain
Section titled “Domain and Codomain”Defined for positive real inputs; outputs are real and span the entire real line.
On , the principal complex logarithm is .
⚙️ Key Properties
Section titled “⚙️ Key Properties”Product, Quotient, and Power Rules
Section titled “Product, Quotient, and Power Rules”for (and with appropriate branch choices in the complex plane).
Derivative
Section titled “Derivative”Concavity
Section titled “Concavity”On , is concave, a key fact behind many inequalities and stabilization tricks.
🎯 Special Values and Limits
Section titled “🎯 Special Values and Limits”As , , and as , .
🔗 Related Functions
Section titled “🔗 Related Functions”The logarithm is the inverse of the exponential on . Stabilized constructions such as log-sum-exp and log-absolute-value build on the same multiplicative-to-additive conversion.
Usage in Oakfield
Section titled “Usage in Oakfield”Oakfield uses log/log1p primarily for stable measurements and smooth clamps:
- Remainder nonlinearity: the
remainderoperator’sLOG_ABSmode useslog1p(|x|/\epsilon)to compress magnitudes without singularities at zero. - Spectral entropy diagnostics: runtime field statistics compute normalized spectral entropy using terms like (with a
log(n)normalization). - Smooth clamping / softplus: the
thermostatoperator uses a softplus-style expressionlog1p(exp(kx))as part of its smooth clamp behavior. - Random sampling internals: some RNG paths use
login standard transforms (e.g. Box–Muller) when generating Gaussian deviates for stimuli/noise.
Historical Foundations
Section titled “Historical Foundations”📜 Logarithms for Computation
Section titled “📜 Logarithms for Computation”Logarithms were introduced to simplify multiplication and division into addition and subtraction, a major practical advance for astronomy, navigation, and early scientific computation.
🌍 Modern Perspective
Section titled “🌍 Modern Perspective”In modern analysis, is treated as the inverse of with a canonical branch structure in the complex plane, making branch cuts and arguments central to correct usage.
📚 References
Section titled “📚 References”- NIST Digital Library of Mathematical Functions (DLMF), §4
- Ahlfors, Complex Analysis