$\text{I was asked to solve the equation}\, \frac{\partial u}{\partial t} = \frac{\partial ^2 u}{\partial x^2} -au, $
$\text{for } 0
$u(0,t)=u(\pi,t)=0,\ when,\ t\ge0,\ and,\ u(x,0)=(sinx)^{3}.$
$\text{I solved it using separation of variables and got the solution to be equal to}$ $$ u(x,t)=\frac{1}{4}e^{-(1+a)t}sinx-\frac{3}{4}e^{-(9+a)t}sin(3x)$$
$\text{But now I'm asked to find for which values of} \ a \ \text{does}$
$$ \ \lim_{t \to \infty} u(x,t)=0.$$
$\text{I'm given the hint: set} \ u(x,t)=\sum_{1}^\infty b_{n}(t)\sin nx$
I have a formula for the $b_{n}$s in my book:
$b_{n}(t)=\frac{2}{\pi}\int_{0}^{\pi} u(x,t)\sin nx dx$
Anyone have any ideas?