Separation of variables PDE

  • Thread starter pondzo
  • Start date
  • #1
169
0

Homework Statement


Physics forum PDE questio.JPG


Homework Equations




The Attempt at a Solution


I managed to do the first part of the question. But i'm not sure how to find u(x,t) with that initial condition.

The solution says; "since ##u(x,0) = \sum_{n=1}^\infty a_{n}\sin{(n\lambda x)}## Then it follows by linearity that ##u(x,t)=\sum_{n=1}^\infty a_{n}\sin{(n\lambda x)}e^{-n^2\lambda^{2}kt}##"
Could somebody please explain how the initial condition implies this. Thank you.
 

Answers and Replies

  • #2
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2020 Award
36,424
6,956
From the reference to linearity, I think the argument is that you can consider the set of solutions un(x, t) to the equation, the nth one having the initial condition un(x, 0) = ##a_n\sin(n \lambda x)##. Then sum them to get the solution to the summed initial condition.
 
  • #3
BvU
Science Advisor
Homework Helper
14,452
3,742
please explain how the initial condition implies this
makes me suspect pondzo is still struggling with an insight: that each and every term in ##u(x,0) = \Sigma ... ## is of a form that satisfies the differential equation at t=0: ##A##, ##\lambda## and ##\phi## are integration constants.

(I assume the linearity is not a problem: if ua and ub are solutions, then C ##\times## ua + D ##\times## ub is also a solution)

If a particular problem requires the integration constants to have values like ##a_n##, ##n\lambda## and ##0##, respectively, that's fine: they are still solutions. And for each of these solutions the time development is known.
 
  • #4
169
0
I don't think it is a problem with the concept of linearity, I understand that (at least I think I do). And i realize that the A, lambda and phi are integration constants. My problem is that i can't see how that initial condition implies (by linearity) that in the separation of variable technique the time dependence is of the form ##e^{-n^2\lambda^{2}kt}## In particular I don't know where the n^2 comes from. Maybe I am missing something blindingly obvious, after all we have only just been introduced to the wave equation and how one can approach solving special cases of it.
 
  • #5
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2020 Award
36,424
6,956
I don't think it is a problem with the concept of linearity, I understand that (at least I think I do). And i realize that the A, lambda and phi are integration constants. My problem is that i can't see how that initial condition implies (by linearity) that in the separation of variable technique the time dependence is of the form ##e^{-n^2\lambda^{2}kt}## In particular I don't know where the n^2 comes from. Maybe I am missing something blindingly obvious, after all we have only just been introduced to the wave equation and how one can approach solving special cases of it.
I think you are being thrown by the reuse of lambda with, effectively, a different meaning. To make it clearer, let's use a different letter for the constant of integration: ##u(x,t)=A\sin{(\mu x)}e^{-\mu^{2}\kappa t}##
And let's simplify it by saying the initial condition is just ##u(x,0) = \sin{(n\lambda x)}##, where now lambda is a given constant. What do you have to substitute for ##\mu## in the u(x,t) formula to apply the initial condition?
 
  • #6
169
0
Ok I think i finally get it.
The first part of the question required us to prove that solutions to this PDE had the form (when using sep var);
##u(x,t)=Ae^{-k\lambda^2 t}\sin{(\lambda x+\phi)}##
Then we were given an initial condition: ##u(x,0) = \sum_{n=1}^\infty a_{n}\sin{(n\lambda x)}##
And in order to apply this initial condition I need to let the lambda in the first equation equal ##n\lambda## which would yield the given solution.
I have one more question though, the phase constant in the sine argument of the final solution form is zero. Is this because the phase constant is zero in the initial condition (sorry if that seems a trivial question to you)?
 
  • #7
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2020 Award
36,424
6,956
Ok I think i finally get it.
The first part of the question required us to prove that solutions to this PDE had the form (when using sep var);
##u(x,t)=Ae^{-k\lambda^2 t}\sin{(\lambda x+\phi)}##
Then we were given an initial condition: ##u(x,0) = \sum_{n=1}^\infty a_{n}\sin{(n\lambda x)}##
And in order to apply this initial condition I need to let the lambda in the first equation equal ##n\lambda## which would yield the given solution.
I have one more question though, the phase constant in the sine argument of the final solution form is zero. Is this because the phase constant is zero in the initial condition (sorry if that seems a trivial question to you)?
Yes, and yes (but 'no' to the 'is it trivial?').
 
  • #8
169
0
Sorry i have one more question.
When solving the wave equation using separation of variables, the only interesting non trivial case is when the separation constant is negative. With a PDE like this one, can we assume the separation constant is negative or must we investigate the other cases too?
Thanks for all your help.
 
  • #9
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2020 Award
36,424
6,956
Sorry i have one more question.
When solving the wave equation using separation of variables, the only interesting non trivial case is when the separation constant is negative. With a PDE like this one, can we assume the separation constant is negative or must we investigate the other cases too?
Thanks for all your help.
With a positive constant, an initial condition defined for all x must be unbounded in one or other x direction.
If you restrict the equation to x>0 and set A=0 it might be ok, but now you need a boundary condition on u(0, t).
 

Related Threads on Separation of variables PDE

  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
2
Views
582
  • Last Post
Replies
9
Views
1K
  • Last Post
Replies
13
Views
7K
  • Last Post
Replies
1
Views
4K
  • Last Post
Replies
2
Views
2K
Replies
8
Views
730
  • Last Post
Replies
11
Views
1K
Replies
9
Views
1K
Replies
2
Views
2K
Top