Suppose, that $u(t,x)$ is a solution to the following partial differential equation problem: $$\left\{ \begin{array}{ll} u_t = D u_{xx} - Vu_{x},&\text{where }t>0,\; x\in[0,\pi],\\ u_x(t,0) = u_x(t,\pi)= 0, & \text{for }t>0,\\ u(0,x) = u_0(x),& x \in [0,\pi].\end{array} \right. $$ Prove, that $\int_{0}^{\pi} u(t,x) dx$ is constant if $u_0 (x) = \sin (x)$ and it is not, when $u_0 (x) = \cos(x)$. I'm quite terrible at anything else than topology and measure theory, so I humbly ask for help. Thank you in advance.
EDIT: I forgot one thing, I'm terribly sorry. I forgot to mention, that $V,D$ are positive constants. But since question has been already answered, I put it here just for the information.