Diffusion with decay
This problem is inspired by problem #5 on page 166.
Consider the following diffusion with decay problem:
$$u_t = u_{xx} - ku, \: u(0,t)=u(1,t)=0, \: u(x,0) = 4(x-x^2),$$
where $k>0$.
- Explain why this equation should model "diffusion with decay", with a particular emphasis on decay. Which terms correspond to diffusion and which to decay?
- Use a physical interpretation to sketch the solutions $u(x,t)$ for $t=0$, $t=0.01$, $t=0.1$, and $t=1$. How should the value of $k$ affect the nature of your pictures?
- Use separation of variables and a Fourier series to find an analytic solution. Where does the $k$ fit in and how does that relate to your answer from part 2?
Comments
$$b_n = 2\int_{0}^{L} 4(x - x^2)\sin(n\pi x)dx$$
should be
$$b_n = 2\int_{0}^{1} 4(x - x^2)\sin(n\pi x)dx.$$