Solving 1-D Wave Equation w/ Fixed Boundaries

  • Thread starter Thread starter Mindscrape
  • Start date Start date
  • Tags Tags
    Wave Wave equation
Click For Summary
SUMMARY

The discussion focuses on solving the one-dimensional wave equation with fixed boundary conditions, represented by the partial differential equation (PDE) \(\frac{\partial^2 u}{\partial t^2} = c^2 \frac{\partial^2 u}{\partial x^2}\). The solution is derived using d'Alembert's formula, leading to the expression \(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)\). The challenge lies in eliminating the summation to express the solution in a more functional form, which is addressed through a bijective coordinate transformation using \(\psi = x + ct\) and \(\xi = x - ct\).

PREREQUISITES
  • Understanding of partial differential equations (PDEs)
  • Familiarity with boundary value problems
  • Knowledge of Fourier series and their applications
  • Proficiency in calculus and differential equations
NEXT STEPS
  • Study the derivation and applications of d'Alembert's solution for wave equations
  • Explore Fourier series and their role in solving PDEs
  • Learn about bijective transformations in the context of PDEs
  • Investigate numerical methods for approximating solutions to wave equations
USEFUL FOR

Mathematicians, physicists, and engineers working with wave phenomena, particularly those involved in solving partial differential equations and analyzing boundary value problems.

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

[tex]\frac{\partial^2 u}{\partial t^2} = c^2 \frac{\partial^2 u}{\partial x^2}[/tex]

with the boundary conditions that each end is fixed at zero, [itex]u(0,t) = 0[/itex] and [itex]u(L, t)[/itex]. I also know the initial conditions for the initial position and initial velocity are functions of x [itex]u(x,0) = f(x)[/itex] and [itex]\frac{\partial u}{\partial t}(x, 0) = g(x)[/itex]. 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 [itex]u(x,t) = R(x-ct) + S(x+ct)[/itex] where R and S are some functions.

The solution is easily found

[tex]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)[/tex]

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

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

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

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

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

[tex]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)[/tex]

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

[tex]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))[/tex]

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

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

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

Using the chain rule for differentiation you get

[tex] \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} [/tex]

do the same thing for

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

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

[tex] \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} [/tex]

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

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

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

so

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

This is easy enough to integrate

namely:

[tex] \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} [/tex]
 

Similar threads

Replies
7
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
4
Views
2K
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
12
Views
3K