Optimization, Mathematics.
\mathrm{d}i\label{defInt}\end{equation}$$ Integral approximation corresponds to taking the area under smooth curve whereas the sum adds up area under step function below. Curve flattens out for large $n$, so integral approximation becomes more accurate as $n$ increases. ‌ ‌ For most values, $1/i$