Consider this integral
$$\frac{1}{2d}\int_{-d}^{d}f(x-t) \, \mathrm{d}t$$
When $d$ goes to zero,
$$\lim _{d\to 0} \frac{1}{2d}\int_{-d}^{d}f(x-t) \, \mathrm{d}t = f(x)$$
but what is the second term in the expansion of this integral (the second order asymptotic) when $d$ is small?
($f(x)$ is an even function, i.e. $f(x-t)=f(t-x)$)
HINT:
Let $F(d)$ be the function
$$F(d)=\int_{-d}^d f(x-t)\,dt \tag 1$$
Expand $F(d)$ as given in $(1)$ in a Taylor series around $d=0$ and find
$$F(d)=2f(x)d+\frac13 f''(x)d^3+O(d^5)$$
SPOILER ALERT: Scroll over the highlighted region to reveal the full expansion