Consider the sequence $(\phi_n)_{n\in \mathbb{N}}$ of test-functions $\phi_n\in \mathcal{D}(\mathbb{R})$ defined by
$$\phi_n(x) = \dfrac{n}{\sqrt{\pi}}e^{-n^2x^2}.$$
I want to show that this is a delta sequence, in the sense that:
$$\lim_{n\to\infty}(\phi_n,\psi)=(\delta,\psi)=\psi(0), \quad \forall \psi\in \mathcal{D}(\mathbb{R}).$$
In that case we know that we have
$$(\phi_n,\psi)=\dfrac{n}{\sqrt{\pi}}\int_{-\infty}^{\infty}e^{-n^2x^2}\psi(x)dx.$$
The problem here is to compute this integral. The function $x\mapsto e^{-n^2x^2}\psi(x)$ has no singularities, hence contour integration wouldn't help. Integration by parts or substitution also doesn't seem to be of great help.
The major problem is that there is a function $\psi$ inside the integral about which we don't know really anything apart from the fact that it is $C^\infty$ and with compact support.
How can we compute this integral and in the end show that the sequence $(\phi_n)$ is a delta sequence?
Just to make clear, I'm here doing all of this in the context of the Riemann integral.
Do the substitution $y=nx$. You will get $$\dfrac{n}{\sqrt{\pi}}\int_{-\infty}^{\infty}e^{-n^2x^2}\psi(x)dx=\dfrac{1}{\sqrt{\pi}}\int_{-\infty}^{\infty}e^{-y^2}\psi\left(\frac{y}{{n}}\right)dy.$$ Now apply Lebesgue convergence theorem to obtain $$\lim_{n\to +\infty} \dfrac{1}{\sqrt{\pi}}\int_{-\infty}^{\infty}e^{-y^2}\psi\left(\frac{y}{{n}}\right)dy =\psi(0)\dfrac{1}{\sqrt{\pi}}\int_{-\infty}^{\infty}e^{-y^2}dy=\psi(0).$$