In my quantum mechanics notes, in connection to the problem of representing a function $\psi \in L^2(V)$ (where V is a cubic box centered at the origin, $V=\{ \bar{x}:|x_1|,|x_2|,|x_3| \leq L/2\})$ in the basis of plane waves: $\{\phi_k(\bar x)=\frac{1}{\sqrt{L^3}}e^{i\bar{k}.\bar{x}},\bar{k}=\frac{2\pi}{L}(n_1,n_2,n_3),n_i \in \mathbb{Z}\}$, they argue that the following is a representation of the Dirac's delta function: $$ \delta^3(\bar{y}-\bar{x})=\sum_{\bar{k}} \frac{e^{i\bar{k}.(\bar{y}-\bar{x})}}{L^3}$$
Why is that true? Can someone give both a an intuitive/heuristic explanation and a rigorous one?
They call the space $V$ I just defined a space with a periodic boundary condition, since $\phi_{\bar{k}}(x_1,x_2,x_3)=\phi_{\bar{k}}(x_1+L,x_2,x_3)=\phi_{\bar{k}}(x_1,x_2+L,x_3)=\phi_{\bar{k}}(x_1,x_2,x_3+L)$, so L is the period.
I know that in $L^2(\mathbb{R}^3)$ the dirac delta function can be represented with: $$ \delta^3(\bar{y}-\bar{x})=\int_{\mathbb{R}^3} d^3k \frac{e^{i\bar{k}.(\bar{y}-\bar{x})}}{(2\pi)^3}$$ but I am having trouble convincing myself of the statement in the limited cubic domain case specialy because of that $\frac{1}{L^3}$ factor instead of the $\frac{1}{(2\pi)^3}$ which I fail to derive logically from a Fourier transformation as they do here Fourier Representation of Dirac's Delta Function for the $L^2(\mathbb{R}^3)$ case
Can someone clear this up?