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

Discussion Overview

The discussion revolves around solving the wave equation with specific initial data, focusing on the application of d'Alembert's formula and exploring alternative methods for deriving the solution. Participants engage in mathematical reasoning and clarification of concepts related to the wave equation.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Cbarker1 presents the problem of solving the wave equation with initial data and references a previous solution.
  • Some participants suggest using d'Alembert's formula to derive functions F and G from the initial conditions.
  • There is a discussion about whether alternative methods exist to solve the problem, as some participants have not covered d'Alembert's formula in their lectures.
  • Participants explore the implications of setting G(x) to zero and the resulting conditions on F(x) and G(x).
  • One participant proposes dividing the initial condition evenly between F and G, leading to a discussion about the correctness of this approach.
  • A later reply suggests a specific choice of F(x) and G(x) to satisfy the boundary conditions, leading to a derived solution for u(x,t).
  • Participants confirm that the derived solution fits the boundary conditions, but there is a note that this aligns with d'Alembert's formula.

Areas of Agreement / Disagreement

The discussion contains multiple competing views regarding the methods to solve the wave equation, particularly concerning the use of d'Alembert's formula versus alternative approaches. Participants do not reach a consensus on the necessity of d'Alembert's formula, as some have not yet discussed it in their lectures.

Contextual Notes

Participants express uncertainty about the implications of their choices for F(x) and G(x) and the conditions required to satisfy the initial data. There are unresolved questions about the appropriateness of dividing the initial condition evenly between the two functions.

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 2 ·
Replies
2
Views
3K