Particle Head
Homework Statement
I am trying to solve the given wave equation using separation of variables,
u_{tt} - 4u_{xx} = 4 for 0 < x < 2 and t > 0
(BC) u(0,t) = 0 , u(2,t) = -2, for t>0
(IC) u(x,0)=x-x^2 , u_t(x,0)=0 for 0\leq x \leq2
Homework Equations
We are told we will need to use,
x = \frac{2L}{\pi} \sum_{n\geq1}^{} \frac{(-1)^{n+1}}{n} \sin{\frac{n\pi x}{L}}
x^2 = \frac{2L^2}{\pi} \sum_{n\geq1}^{} [\frac{(-1)^{n+1}}{n} + \frac{2}{n^3 \pi^2} ((-1)^n -1)] \sin{\frac{n\pi x}{L}}
The Attempt at a Solution
[/B]
I first assumed a solution of the form,
u(x,t) = X(x)T(t)
Plugging this back into the PDE this suggests that,
XT''-4X''T=4
With the homogeneous case we got a relation where in general \frac{T''}{c^2T} = \frac{X''}{X} = -\lambda and this is where I am unsure because I cannot seem to separate XT''-4X''T=4 in order to get a constant ratio between T and X.
I have a feeling I am supposed to solve the homogeneous case first however when progressing through that I ended up finding that \lambda = 0 satisfied my boundary conditions. This is because in the homogeneous case we want to solve X''+\lambda X = 0 and in the case where \lambda = 0 we have X = Ax+B and imposing the boundary conditions this seemed to imply X=-x
Just not sure how to go from here ?