Exponential Weighted Moving Average (EWMA) is a core technique used to smooth noisy time-series data and track trends. In this post, we break down the intuition, mathematical formulation, step-by-step example, and proof behind EWMA — including why it plays a crucial role in optimizers like Adam and RMSProp.