Absolute Value
📐 Definition
Section titled “📐 Definition”The absolute value returns the nonnegative magnitude of a real input:
Domain and Codomain
Section titled “Domain and Codomain”The map is defined for all real inputs and returns nonnegative reals.
⚙️ Key Properties
Section titled “⚙️ Key Properties”Even Symmetry
Section titled “Even Symmetry”Lipschitz / Triangle Inequality
Section titled “Lipschitz / Triangle Inequality”Derivative (Away from 0)
Section titled “Derivative (Away from 0)”The nondifferentiability at motivates smooth surrogates when gradients are required.
🎯 Special Cases and Limits
Section titled “🎯 Special Cases and Limits”For , (while for ), so the limit produces a discontinuity at the origin.
🔗 Related Functions
Section titled “🔗 Related Functions”Log-absolute-value compresses magnitudes in log space. Power functions and fractional powers build magnitude-dependent nonlinearities. Euclidean norms generalize to vectors.
Usage in Oakfield
Section titled “Usage in Oakfield”Oakfield uses absolute value and magnitude computations throughout core operators and diagnostics:
- Diagnostics compute
mean_abs,max_abs, RMS, and magnitude gates for phase metrics. - Remainder operator supports
ABSandLOG_ABSnonlinearities (withfabs/log1p-style handling). - Feature extraction and polar modes rely on magnitudes like to form unit directions and to apply thresholding.
Historical Foundations
Section titled “Historical Foundations”📜 Magnitude as Distance
Section titled “📜 Magnitude as Distance”Absolute value formalizes “distance from zero” on the real line and is the one-dimensional prototype for norms and metrics.
🌍 Modern Perspective
Section titled “🌍 Modern Perspective”It remains a core primitive in analysis and numerical modeling, especially for magnitude-based diagnostics and robust objectives.
📚 References
Section titled “📚 References”- Rudin, Principles of Mathematical Analysis
- Kreyszig, Introductory Functional Analysis with Applications