I am asked to show that the following function is positive for each $(x,s)\in[0,1]^2$ where $t>0$ is a parameter:
$k(x, s) := \displaystyle 1+\sum_{n=1}^\infty 2e^{-t(n\pi)^2}\cos(\pi n s)\cos(\pi nx)$
The background is the following: I am looking at the semigroup $T$ on $L^2[0,1]$ with
$$T(t)f = \sum_{n=0}^\infty e^{-t(n\pi)^2}\langle f,e_n\rangle_{L^2(0,1)} e_n$$ where $e_n(x) = \sqrt{2}\cos(\pi n x)$ if $n>0$ and $e_0 \equiv 1$. Now, for each $t>0$ there is supposed to be a positive kernel $k\in C([0,1]^2)$ with $T(t)f(x) = \int_0^1 k(x,s)f(s)ds$.
I showed that $k$ from the start is indeed a kernel for $T(t)$ but I have no idea how to show positivity. One would need to see that $T(t)$ is a positive operator but I don't see how this would work.