Solving the Wave Equation with Initial Data: Ex. 5 Solution and Derivation

  • Context: MHB 
  • Thread starter Thread starter cbarker1
  • Start date Start date
  • Tags Tags
    Wave Wave equation
Click For Summary
SUMMARY

This discussion focuses on solving the wave equation with initial data given by \( u(x,t)=\frac{1}{{x}^2+1} \) and \( \pd{u}{t}(x,0)=0 \). The solution utilizes d'Alembert's formula, which expresses the solution as \( u(x,t) = \frac{f(x-ct)+f(x+ct)}{2}+\frac{1}{2c}\int_{x-ct}^{x+ct}g(s)ds \). Participants derive \( F(x) \) and \( G(x) \) to satisfy the boundary conditions, ultimately concluding that \( u(x,t)=\frac{1}{2}\left(\frac{1}{{(x+ct)}^{2}+1}+\frac{1}{{(x-ct)}^{2}+1}\right) \) fits the conditions.

PREREQUISITES
  • Understanding of wave equations and initial value problems
  • Familiarity with d'Alembert's formula for wave equations
  • Knowledge of calculus, particularly differentiation and integration
  • Ability to manipulate and solve equations involving functions of multiple variables
NEXT STEPS
  • Study the derivation and applications of d'Alembert's formula in detail
  • Explore other methods for solving wave equations, such as Fourier series
  • Investigate the implications of different initial conditions on wave solutions
  • Learn about the physical interpretations of wave equations in various contexts
USEFUL FOR

Mathematicians, physicists, and engineering students focusing on partial differential equations and wave phenomena will benefit from this discussion.

cbarker1
Gold Member
MHB
Messages
345
Reaction score
23
Dear Everyone,

Hi. I do not how to begin for the following question:

Ex. 5. Using the solution in Ex. 3, solve the wave equation with initial data

$u(x,t)=\frac{1}{{x}^2+1}$ and $\pd{u}{t}(x,0)=0$ for $x\in(-\infty,\infty)$.
The solution, (I have derived this solution in Ex. 4), that is given in Ex. 3 is the following: $u(x,t)=F(x+ct)+G(x-ct)$
Thanks,
Cbarker1
 
Last edited:
Physics news on Phys.org
Hi Cbarker1,

What you'll want to use/derive is d'Alembert's formula (see https://en.wikipedia.org/wiki/D'Alembert's_formula for full derivation), which allows us to solve for $F$ and $G$ in terms of the initial data. The starting point for the derivation is to note that $$u(x,0) = f(x) \qquad \Longrightarrow\qquad F(x) + G(x) = f(x)$$ and $$u_{t}(x,0) = g(x) \qquad\Longrightarrow\qquad cF'(x)-cG'(x) = g(x).$$ From here you want to use these two equations to solve for $F$ and $G$ in terms of $f(x)$ and $g(x)$. The end result is $$u(x,t) = \frac{f(x-ct)+f(x+ct)}{2}+\frac{1}{2c}\int_{x-ct}^{x+ct}g(s)ds.$$
 
GJA said:
Hi Cbarker1,

What you'll want to use/derive is d'Alembert's formula (see https://en.wikipedia.org/wiki/D'Alembert's_formula for full derivation), which allows us to solve for $F$ and $G$ in terms of the initial data. The starting point for the derivation is to note that $$u(x,0) = f(x) \qquad \Longrightarrow\qquad F(x) + G(x) = f(x)$$ and $$u_{t}(x,0) = g(x) \qquad\Longrightarrow\qquad cF'(x)-cG'(x) = g(x).$$ From here you want to use these two equations to solve for $F$ and $G$ in terms of $f(x)$ and $g(x)$. The end result is $$u(x,t) = \frac{f(x-ct)+f(x+ct)}{2}+\frac{1}{2c}\int_{x-ct}^{x+ct}g(s)ds.$$

I have not talked about this formula in my lecture yet. So, is there any other method to solve it?
 
Cbarker1 said:
I have not talked about this formula in my lecture yet. So, is there any other method to solve it?

Filling in your general solution in the boundary conditions gives us:
$$u(x,0)=F(x+ct)+G(x-ct)\Big|_{t=0}=F(x)+G(x)=\frac 1{x^2+1}$$
and:
$$\pd{}tu(x,0)=\pd{}t\big(F(x+ct)+G(x-ct)\big)\Big|_{t=0}=cF'(x)-cG'(x)=0$$

Which $F(x)$ and $G(x)$ can we pick so that they solve these 2 equations?
 
Klaas van Aarsen said:
Filling in your general solution in the boundary conditions gives us:
$$u(x,0)=F(x+ct)+G(x-ct)\Big|_{t=0}=F(x)+G(x)=\frac 1{x^2+1}$$
and:
$$\pd{}tu(x,0)=\pd{}t\big(F(x+ct)+G(x-ct)\big)\Big|_{t=0}=cF'(x)-cG'(x)=0$$

Which $F(x)$ and $G(x)$ can we pick so that they solve these 2 equations?

If $G(x)=0$, then $F(x)=\frac{1}{{x}^2+1}$ and $G'(x)=0$. So $F'(x)=0$.

Is that right?
 
Cbarker1 said:
If $G(x)=0$, then $F(x)=\frac{1}{{x}^2+1}$ and $G'(x)=0$. So $F'(x)=0$.

Is that right?

Not quite. $F'(x)$ is not 0, is it?
Suppose we divide $\frac 1{x^2+1}$ evenly over F and G, would that make it better?
 
Klaas van Aarsen said:
Not quite. $F'(x)$ is not 0, is it?
Suppose we divide $\frac 1{x^2+1}$ evenly over F and G, would that make it better?

No. So if we did divide $\frac{1}{x^2+1}$ evenly over F and G, then it yields

$\frac{F(x)+G(x)}{x^2+1}=\frac{1}{x^2+1} \implies F(x)+G(x)=1$
 
Cbarker1 said:
No. So if we did divide $\frac{1}{x^2+1}$ evenly over F and G, then it yields

$\frac{F(x)+G(x)}{x^2+1}=\frac{1}{x^2+1} \implies F(x)+G(x)=1$

I meant that we would pick $F(x)=G(x)=\frac 12 \cdot\frac 1{x^2+1}$, so that $F(x)+G(x)=\frac 1{x^2+1}$.
Suppose we fill that in into the boundary conditions?
 
Klaas van Aarsen said:
I meant that we would pick $F(x)=G(x)=\frac 12 \cdot\frac 1{x^2+1}$, so that $F(x)+G(x)=\frac 1{x^2+1}$.
Suppose we fill that in into the the boundary conditions?

Then, the solution would be the following:
$u(x,t)=\frac{1}{2}\left(\frac{1}{{(x+ct)}^{2}+1}+\frac{1}{{(x-ct)}^{2}+1}\right)$
 
  • #10
Cbarker1 said:
Then, the solution would be the following:
$u(x,t)=\frac{1}{2}\left(\frac{1}{{(x+ct)}^{2}+1}+\frac{1}{{(x-ct)}^{2}+1}\right)$

Indeed. Does it fit the boundary conditions?
 
  • #11
Klaas van Aarsen said:
Indeed. Does it fit the boundary conditions?

Yes. It does fit the condition.
 
  • #12
Cbarker1 said:
Yes. It does fit the condition.

Good!
Note that this is basically what the formula of d'Alembert that GJA mentioned says.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K