For every $k\in\mathbb{N}$, with $k\geq 1$, let $f_k=f_k(x,t)$ be the real-valued function defined over the set $(x,t) \in [-\pi,\pi]\times[0,+\infty)$ by
$$f_k(x,t)=(-1)^{k+1}\frac{2}{k}e^{-k^{2} t}\sin(kx).$$
We then consider the corresponding function series
$$\sum_{k=1}^{+\infty}f_k(x,t)=\sum_{k=1}^{+\infty}(-1)^{k+1}\frac{2}{k}e^{-k^{2} t}\sin(kx). \tag{1}$$
It is simple to show that $(1)$ converges pointwise on the whole $[-\pi,\pi]\times[0,+\infty)$, and uniformly on every $[-\pi,\pi]\times[t_0,+\infty)$, with $t_0>0$. Let $u=u(x,t)$ be its sum, i.e
$$u(x,t)=\sum_{k=1}^{+\infty}f_k(x,t)=\sum_{k=1}^{+\infty}(-1)^{k+1}\frac{2}{k}e^{-k^{2} t}\sin(kx).$$
The sum $u$ it is a superposition of sinusoids of increasing frequency $\frac{k}{2\pi}$ and of strongly damped amplitude because of the negative exponential, at least when $t > 0$. For this reason, it is simple to show that $u$ is smooth on the set $[-\pi,\pi]\times(0,+\infty)$, ie $u\in C^{\infty}([-\pi,\pi]\times(0,+\infty))$. Notice also that:
- $u=u(x,t)$ is the solution of the one-dimensional Heat Equation problem with periodic boundary conditions
$$\begin{cases} u_t-u_{xx} = 0 \qquad &x \in (-\pi,\pi),t>0 \\ u(x,0) = x \qquad &x \in (-\pi,\pi) \\ u(-\pi,t) = u(\pi,t) \qquad &t \geq 0 \end{cases}. \tag{2}$$
For every $x_0\in (-\pi,\pi)$ one has $$\lim_{(x,t)\to(x_0,0)}u(x,t)=x_0,$$ and then $u$ is also continuous at every point of the open segment $(-\pi,\pi)\times\{0\}$.
The limits $$\lim_{(x,t)\to(\pm \pi,0)}u(x,t)\qquad \nexists.$$
I'm not able to prove that $u$ is bounded on the whole $[-\pi,\pi]\times [0,+\infty)$.
By uniform convergence (as suggested me in comments), we just need to prove that partial sums of $(1)$ are uniformly bounded on $[-\pi,\pi]\times [0,+\infty)$, but I really don't know how to obtain this uniform bound.
Any hint would be really appreciated.