- #1
Rweir
- 1
- 0
Homework Statement
du/dt = d2u/dx2 + u
Bc: u'(0) = u'(1) = 0
Ic: u(x,0) = 1
Homework Equations
Using sturm-liouville to solve for eigenvalues.
The Attempt at a Solution
After first separating variables in the equation
we get G'/G - 1 = F'' = λ
after using Sturm-Liouville we find that
F(x) = Acos(n*Pi*x)
G(t) = Ae(-n2pi2-1)t
So after multiplying them together and then taking the initial condition of u(x,0) = 1
we get A*cos(n*pi*x) = 1 and thus the problem arises after using Fourier expansion we get A = 0 which makes everything 0. Any suggestions as to why it is coming out like this?