Suppose $u$ is a smooth solution to $u_t -\Delta u +c(t,x)u =0$ and $u(x,0)=g(x)\ge 0$, where $x\in D\subset \mathbb{R}^n$ is smooth with zero boundary conditions. Assume $g$ is smooth and $c$ is smooth and bounded by $M$. We want to show $u(x,t)\ge 0$ for all $t\ge 0$ and $x\in D$.
In the normal heat equation, I know it follows from the maximum principle, so the idea here I think is to let $v(x,t)=e^{at}u(x,t)$ for some constant $a$; indeed, this was given as a hint. Initially, I thought letting $a=-M$ would give us that $v$ is a subsolution, and hence the result follows. But I now see that the inequality $$v_t -\Delta v= e^{-Mt}(u_t -\Delta u -Mu) \le e^{-Mt}(u_t-\Delta u+cu)=0$$ I had used doesn't work because it actually assumes $u$ is positive to begin with. So now I'm a bit stuck. Any suggestions?