Hey guys, so I worked out the first problem but I was wondering if anybody knew how to answer the second part of the question. "How is this related to our solution of the heat problem?" I'll show my steps my below but I was wondering if somebody could help me relate the two.
Note - the original post I had up was completely wrong so I went through and reworked it with what Dylan added down below and this should be right now:
So the problem asks us to show that $$\lim_{n\to\infty} \int_{-\infty}^{\infty} \cos(y)K_n(x-y) dy = \cos(x)$$ where $$K_n(x) = \begin{cases}
\frac{n}{2} & |x|\leq \frac{1}{n} \\
0 & \text{otherwise}
\end{cases}$$
I don't generally explain much but of course, if I skip too many steps or you have questions about anything, feel free to ask and I'll try to explain to the best of my abilities.
$$\lim_{n\to\infty} \int_{x-\frac{1}{n}}^{x+\frac{1}{n}} \frac{n}{2}\cos(y)dy$$
$$\lim_{n\to\infty} \frac{n}{2} \int_{x-\frac{1}{n}}^{x+\frac{1}{n}} \cos(y)dy$$
$$\lim_{n\to\infty} \frac{n}{2} \sin(y) \Bigg|_{y = x-\frac{1}{n}}^{y =x+ \frac{1}{n}}$$
$$\lim_{n\to\infty} \frac{n}{2}\bigg[ \sin\bigg(x+\frac{1}{n}\bigg) - \sin\bigg(x-\frac{1}{n}\bigg)\bigg]$$
I will interject here to say that I used the following trig identities/properties $\sin(-u) = -\sin(u)$ and $\sin(u\pm v) = \sin(u)\cos(v) \pm \cos(u)\sin(v)$ and that's how I got to these next few steps:
$$\lim_{n\to\infty} \frac{n}{2}\bigg[ \sin\bigg(\frac{1}{n}\bigg)\cos(x) + \cos\bigg(\frac{1}{n}\bigg)\sin(x) + \sin\bigg(\frac{1}{n}\bigg)\cos(x) - \cos\bigg(\frac{1}{n}\bigg)\sin(x)\bigg]$$
$$\lim_{n\to\infty} \frac{n}{2}\bigg[ 2\sin\bigg(\frac{1}{n}\bigg)\cos(x)\bigg]$$
$$\lim_{n\to\infty} n\cdot\sin\bigg(\frac{1}{n}\bigg)\cos(x)$$
This seems like a reasonable place to plug in $n = \infty$ into the limit but if we do that, we see that we get something that resembles $\infty\cdot0$ which means we have to manipulate the equation a bit to use L'Hopital's rule.
$$\lim_{n\to\infty} n\cdot\sin\bigg(\frac{1}{n}\bigg)\cos(x) = \lim_{n\to\infty} \frac{\sin\Big(\frac{1}{n}\Big)\cos(x)}{\frac{1}{n}} = \lim_{n\to\infty} \frac{\sin(n^{-1})\cos(x)}{n^{-1}}$$
Now that we can apply L'Hopital's rule, the equation becomes:
$$\lim_{n\to\infty}\frac{-n^{-2}\cos(n^{-1})\cos(x)}{-n^{-2}} = \cos(x)$$
The $-n^{-2}$ in the numerator and denominator cancel out and $\cos(n^{-1}) = \cos\big(\frac{1}{n}\big) = 1$ since $n\to\infty, \frac{1}{n} = 0$ and $\cos(0) = 1$.
So we've shown that $$\lim_{n\to\infty} \int_{x-\frac{1}{n}}^{x+\frac{1}{n}} \frac{n}{2}\cos(y)dy = \cos(x)$$
I realize that the steps where I turned the fractions into negative exponents were unnecessary but they make taking the respective derivatives easier.
In any case, that's how I worked this problem out and I feel silly asking how this relates to the heat kernel but any input would be appreciated!