Solving 1-D Wave Equation w/ Fixed Boundaries

  • Thread starter Thread starter Mindscrape
  • Start date Start date
  • Tags Tags
    Wave Wave equation
Mindscrape
Messages
1,854
Reaction score
1
[SOLVED] 1-D Wave Eqn

Alright, so this problem is giving me troubles, and I must just be missing the trick. The equation to solve is the one dimensional wave equation with isotropic, homogeneous, etc. (i.e. wave in a vacuum). Which means the PDE is

\frac{\partial^2 u}{\partial t^2} = c^2 \frac{\partial^2 u}{\partial x^2}

with the boundary conditions that each end is fixed at zero, u(0,t) = 0 and u(L, t). I also know the initial conditions for the initial position and initial velocity are functions of x u(x,0) = f(x) and \frac{\partial u}{\partial t}(x, 0) = g(x). My job is to show that the solution follows d'Alembert's solution (which I can prove), that the wave equation can be written as u(x,t) = R(x-ct) + S(x+ct) where R and S are some functions.

The solution is easily found

u(x,t) = \sum_{n=1}^\infty \left(A_n sin\frac{n \pi x}{L} cos\frac{n \pi c t}{L} + B_n sin\frac{n \pi x}{L} sin\frac{n \pi c t}{L} \right)

Mostly what I am having trouble with is getting rid of the summations. The first initial condition is helpful because

\sum_{n=1}^\infty A_n sin \frac{n \pi x}{L} = f(x)

which can be directly substituted in (though I don't know if I want or need to). The other IC is not so helpful

\sum_{n=1}^\infty \frac{n \pi c}{L} B_n sin\frac{n \pi x}{L} = g(x)

and I cannot really do much other. The other thing I know I have to do is use trig identities, which will rewrite the solution as

u(x,t) = \sum \left(\frac{A_n}{2} [sin \frac{n \pi}{L} (x + ct) + sin \frac{n \pi}{L} (x - ct)] + \frac{B_n}{2}[cos \frac{n \pi}{L} (x - ct) - cos\frac{n \pi}{L} (x + ct)] \right)

This starts to towards making some functions, and I converted this all into exponentials to get (after some grouping)

u(x,t) = \sum (\frac{A'_n}{2i} - \frac{B'_n}{2}) Exp(i\frac{n\pi}{L}(x+ct)) + (-\frac{A'_n}{2i} - \frac{B'_n}{2}) Exp(-i\frac{n\pi}{L}(x+ct)) + (\frac{A'_n}{2i} + \frac{B'_n}{2}) Exp(i\frac{n\pi}{L}(x-ct)) + (-\frac{A'_n}{2i} + \frac{B'_n}{2}) Exp(-i\frac{n\pi}{L}(x-ct))

Where A'_n = A_n/2 and B'_n = B_n/2.

Unfortunately, I can't rewrite these back into sines and cosines as two functions. Does someone know the trick, specifically to this problem, or in general, that gets from the superposed answer to the functional answer?
 
Last edited:
Physics news on Phys.org
Ok

make a bijective coordinate change

<br /> \begin{gathered}<br /> \xi \left( {x,t} \right) \hfill \\<br /> \psi (x,t) \hfill \\ <br /> \end{gathered} <br />

Using the chain rule for differentiation you get

<br /> \begin{gathered}<br /> \frac{{\partial ^2 u}}<br /> {{\partial t^2 }} = \frac{{\partial ^2 u}}<br /> {{\partial \psi ^2 }}\left( {\frac{{\partial \psi }}<br /> {{\partial t}}} \right)^2 + 2\frac{{\partial ^2 u}}<br /> {{\partial \xi \partial \psi }}\frac{{\partial \xi }}<br /> {{\partial t}}\frac{{\partial \psi }}<br /> {{\partial t}} + \frac{{\partial u}}<br /> {{\partial \psi }}\frac{{\partial ^2 \psi }}<br /> {{\partial t^2 }} \hfill \\<br /> + \frac{{\partial ^2 u}}<br /> {{\partial \xi ^2 }}\left( {\frac{{\partial \xi }}<br /> {{\partial t}}} \right)^2 + \frac{{\partial u}}<br /> {{\partial \xi }}\frac{{\partial ^2 \xi }}<br /> {{\partial t^2 }} \hfill \\ <br /> \end{gathered} <br />

do the same thing for

<br /> \frac{{\partial ^2 u}}<br /> {{\partial x^2 }}<br />

plug all this crap into the wave equation, and bring everything to the same side, and you get.

<br /> \begin{gathered}<br /> \left( {\left( {\frac{{\partial \psi }}<br /> {{\partial t}}} \right)^2 - c^2 \left( {\frac{{\partial \psi }}<br /> {{\partial x}}} \right)^2 } \right)\frac{{\partial ^2 u}}<br /> {{\partial \psi ^2 }} + 2\frac{{\partial ^2 u}}<br /> {{\partial \xi \partial \psi }}\left( {\frac{{\partial \xi }}<br /> {{\partial t}}\frac{{\partial \psi }}<br /> {{\partial t}} - c^2 \frac{{\partial \xi }}<br /> {{\partial x}}\frac{{\partial \psi }}<br /> {{\partial x}}} \right) \hfill \\<br /> \left( {\left( {\frac{{\partial \xi }}<br /> {{\partial t}}} \right)^2 - c^2 \left( {\frac{{\partial \xi }}<br /> {{\partial x}}} \right)^2 } \right)\frac{{\partial ^2 u}}<br /> {{\partial \xi ^2 }} + \left( {\frac{{\partial ^2 \psi }}<br /> {{\partial t^2 }} - c^2 \frac{{\partial ^2 \psi }}<br /> {{\partial x^2 }}} \right)\frac{{\partial u}}<br /> {{\partial \psi }} + \left( {\frac{{\partial ^2 \xi }}<br /> {{\partial t^2 }} - c^2 \frac{{\partial ^2 \xi }}<br /> {{\partial x^2 }}} \right)\frac{{\partial u}}<br /> {{\partial \xi }} = 0 \hfill \\ <br /> \end{gathered} <br />

Now, you can pick \xi ,\psi to be whatever you want as long as it's a bijective map. Let's pick:

<br /> \begin{gathered}<br /> \psi = x + ct \hfill \\<br /> \xi = x - ct \hfill \\ <br /> \end{gathered} <br />

This simplifies everything to <br /> - 4c^2 \frac{{\partial ^2 u}}<br /> {{\partial \psi \partial \xi }} = 0<br />

so

<br /> \frac{{\partial ^2 u}}<br /> {{\partial \psi \partial \xi }} = 0<br />

This is easy enough to integrate

namely:

<br /> \begin{gathered}<br /> \frac{{\partial u}}<br /> {{\partial \psi }} = \frac{{\partial S(\psi )}}<br /> {{\partial \psi }} \hfill \\<br /> u\left( {\xi ,\psi } \right) = S\left( \psi \right) + R\left( \xi \right) \hfill \\<br /> \therefore u\left( {x,t} \right) = S\left( {x + ct} \right) + R\left( {x - ct} \right) \hfill \\ <br /> \end{gathered} <br />
 
Thread 'Need help understanding this figure on energy levels'
This figure is from "Introduction to Quantum Mechanics" by Griffiths (3rd edition). It is available to download. It is from page 142. I am hoping the usual people on this site will give me a hand understanding what is going on in the figure. After the equation (4.50) it says "It is customary to introduce the principal quantum number, ##n##, which simply orders the allowed energies, starting with 1 for the ground state. (see the figure)" I still don't understand the figure :( Here is...
Thread 'Understanding how to "tack on" the time wiggle factor'
The last problem I posted on QM made it into advanced homework help, that is why I am putting it here. I am sorry for any hassle imposed on the moderators by myself. Part (a) is quite easy. We get $$\sigma_1 = 2\lambda, \mathbf{v}_1 = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} \sigma_2 = \lambda, \mathbf{v}_2 = \begin{pmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \\ 0 \end{pmatrix} \sigma_3 = -\lambda, \mathbf{v}_3 = \begin{pmatrix} 1/\sqrt{2} \\ -1/\sqrt{2} \\ 0 \end{pmatrix} $$ There are two ways...
Back
Top