How Do You Solve a Wave Equation Using Separation of Variables?

2 replies · 2K views · last reply
Precursor
Messages
219
Reaction score
0
Homework Statement

Typeset wave equation problem: u_tt = x^2 u_xx + x u_x for 1 < x < e, with boundary conditions u(t,1) = u(t,e) = 0, initial conditions u(0,x) = 0 and u_t(0,x) = sin(π log(x)) - 3 sin(3π log(x)).
The attempt at a solution

I'm using the method of separation of variables by first defining the solution as [itex]u(x,t) =X(x)T(t)[/itex]

Putting this back into the PDE I get: [itex]T''X = x^{2}X''T + xX'T[/itex]

which is simplified to [tex]\frac{T''}{T} = \frac{x^{2}X'' + xX'}{X} = -\lambda^{2}[/tex]

The spatial problem is then: [itex]x^{2}X'' + xX' = -X\lambda^{2}[/itex]

Is this correct so far? How do I continue?
 
Yes, that is correct. You proceed, of course, by solving that equation, together with the boundary conditions X(1)= 0, X(e)= 0.

(Those boundary conditions follow from u(t, 1)= T(t)X(1)= 0 and u(t, e)= T(t)X(e)= 0. If T(t) is not identically 0, which would not satisfy the initial conditions, then X(1)= X(e)= 0.)

(An obvious solution is the trivial X(x)= 0. But then you could not satisfy the initial conditions. [itex]\lambda[/itex] must be such that the equation has non-trivial solutions- i.e. eigenvalues.)
 
Precursor said:
Homework Statement

Printed math problem: solve the wave equation u_tt = x^2 u_xx + x u_x for 1 < x < e, with u(t,1) = u(t,e) = 0, u(0,x) = 0, and u_t(0,x) = sin(π log(x)) - 3 sin(3π log(x)).



The attempt at a solution

I'm using the method of separation of variables by first defining the solution as [itex]u(x,t) =X(x)T(t)[/itex]

Putting this back into the PDE I get: [itex]T''X = x^{2}X''T + xX'T[/itex]

which is simplified to [tex]\frac{T''}{T} = \frac{x^{2}X'' + xX'}{X} = -\lambda^{2}[/tex]

The spatial problem is then: [itex]x^{2}X'' + xX' = -X\lambda^{2}[/itex]

Is this correct so far? How do I continue?

Looking at the boundary conditions, the substitution [itex]X(x) = Z(\log (x))[/itex] looks helpful.