How to Separate the Wave Equation into Three ODEs Using Separation of Variables?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 1K views
whatisreality
Messages
286
Reaction score
1

Homework Statement


The wave equation for ψ=ψ(t,x,y) is given by

##\frac{\partial ^2 \phi}{\partial t^2} - \frac{\partial ^2 \phi}{\partial x^2} - \frac{\partial ^2 \phi}{\partial y^2}##

Use separation of variables to separate the equation into 3 ODEs for T, X and Y. Use the separation constants
##-k_{x}^{2}X## and ##-k_{y}^{2}Y##

Do not introduce any more separation constants for T.

Homework Equations

The Attempt at a Solution


I'm fairly sure I know how to start.
Ansatz ψ(t,x,y) = T(t)X(x)Y(y). Sub the derivatives of this into the the wave equation:

##XY\frac{\partial ^2 T}{\partial t^2} - TY\frac{\partial ^2 X}{\partial x^2} - TX\frac{\partial ^2 Y}{\partial y^2}##=0

Then divide by TXY:
##\frac{1}{T}\frac{\partial ^2 T}{\partial t^2} - \frac{1}{X}\frac{\partial ^2 X}{\partial x^2} - \frac{1}{Y}\frac{\partial ^2 Y}{\partial y^2}##=0

Rearrange:
##\frac{1}{T}\frac{\partial ^2 T}{\partial t^2} = \frac{1}{X}\frac{\partial ^2 X}{\partial x^2} + \frac{1}{Y}\frac{\partial ^2 Y}{\partial y^2}##
Which is only possible if LHS = RHS = constant, I think? But then I would get
##\frac{1}{X}\frac{\partial ^2 X}{\partial x^2} + \frac{1}{Y}\frac{\partial ^2 Y}{\partial y^2}## = constant, and how do I separate that further? Why would I need more than one constant of separation?
Because if
##\frac{1}{X}\frac{\partial ^2 X}{\partial x^2} + \frac{1}{Y}\frac{\partial ^2 Y}{\partial y^2}## = constant

Then surely each individual term must also be a constant, and I can just write
##\frac{1}{X}\frac{\partial ^2 X}{\partial x^2}## = ##-k_{x}^{2}X##
##\frac{1}{Y}\frac{\partial ^2 Y}{\partial y^2}## = ##-k_{y}^{2}X##

And why wouldn't I introduce a new constant for T? What do I write instead,

##\frac{1}{T}\frac{\partial ^2 T}{\partial t^2}## = constant?
 
on Phys.org
whatisreality said:

Homework Statement


The wave equation for ψ=ψ(t,x,y) is given by

##\frac{\partial ^2 \phi}{\partial t^2} - \frac{\partial ^2 \phi}{\partial x^2} - \frac{\partial ^2 \phi}{\partial y^2}##

You are missing the "= 0" which would turn that expression into an equation.

Use separation of variables to separate the equation into 3 ODEs for T, X and Y. Use the separation constants
##-k_{x}^{2}X## and ##-k_{y}^{2}Y##

Do not introduce any more separation constants for T.

Homework Equations

The Attempt at a Solution


I'm fairly sure I know how to start.
Ansatz ψ(t,x,y) = T(t)X(x)Y(y). Sub the derivatives of this into the the wave equation:

##XY\frac{\partial ^2 T}{\partial t^2} - TY\frac{\partial ^2 X}{\partial x^2} - TX\frac{\partial ^2 Y}{\partial y^2}##=0

Then divide by TXY:
##\frac{1}{T}\frac{\partial ^2 T}{\partial t^2} - \frac{1}{X}\frac{\partial ^2 X}{\partial x^2} - \frac{1}{Y}\frac{\partial ^2 Y}{\partial y^2}##=0

Rearrange:
##\frac{1}{T}\frac{\partial ^2 T}{\partial t^2} = \frac{1}{X}\frac{\partial ^2 X}{\partial x^2} + \frac{1}{Y}\frac{\partial ^2 Y}{\partial y^2}##
Which is only possible if LHS = RHS = constant, I think? But then I would get
##\frac{1}{X}\frac{\partial ^2 X}{\partial x^2} + \frac{1}{Y}\frac{\partial ^2 Y}{\partial y^2}## = constant, and how do I separate that further? Why would I need more than one constant of separation?
Because if
##\frac{1}{X}\frac{\partial ^2 X}{\partial x^2} + \frac{1}{Y}\frac{\partial ^2 Y}{\partial y^2}## = constant

Then surely each individual term must also be a constant, and I can just write
##\frac{1}{X}\frac{\partial ^2 X}{\partial x^2}## = ##-k_{x}^{2}X##
##\frac{1}{Y}\frac{\partial ^2 Y}{\partial y^2}## = ##-k_{y}^{2}X##

You mean
[tex] \frac 1X \frac{\partial^2 X}{\partial x^2} = -k_x^2 \\<br /> \frac 1Y \frac{\partial^2 Y}{\partial x^2} = -k_y^2[/tex]

And why wouldn't I introduce a new constant for T?

Because you need [tex] \frac{1}{T}\frac{\partial ^2 T}{\partial t^2} - \frac{1}{X}\frac{\partial ^2 X}{\partial x^2} - \frac{1}{Y}\frac{\partial ^2 Y}{\partial y^2}<br /> = \frac{1}{T}\frac{\partial ^2 T}{\partial t^2} + k_x^2 + k_y^2 =0[/tex]
 
  • Like
Likes   Reactions: whatisreality
pasmith said:
You are missing the "= 0" which would turn that expression into an equation.

You mean
[tex] \frac 1X \frac{\partial^2 X}{\partial x^2} = -k_x^2 \\<br /> \frac 1Y \frac{\partial^2 Y}{\partial x^2} = -k_y^2[/tex]

Because you need [tex] \frac{1}{T}\frac{\partial ^2 T}{\partial t^2} - \frac{1}{X}\frac{\partial ^2 X}{\partial x^2} - \frac{1}{Y}\frac{\partial ^2 Y}{\partial y^2}<br /> = \frac{1}{T}\frac{\partial ^2 T}{\partial t^2} + k_x^2 + k_y^2 =0[/tex]
Oh yes, I did mean that. An yep, get the bit about not introducing a new constant too! Thank you :)