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

In summary, the conversation discusses the use of d'Alembert's formula to solve the wave equation with initial data. The formula allows for $F$ and $G$ to be solved in terms of the initial data, and the end result is a solution of $$u(x,t) = \frac{f(x-ct)+f(x+ct)}{2}+\frac{1}{2c}\int_{x-ct}^{x+ct}g(s)ds.$$ Other methods are also discussed, but they all lead to the same solution.
  • #1
cbarker1
Gold Member
MHB
349
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
  • #2
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.$$
 
  • #3
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?
 
  • #4
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?
 
  • #5
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?
 
  • #6
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?
 
  • #7
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$
 
  • #8
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?
 
  • #9
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.
 

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

What is the wave equation and why is it important?

The wave equation is a mathematical model that describes how waves propagate through a medium. It is important because it has many applications in physics, engineering, and other fields, such as predicting the behavior of sound and light waves, and analyzing the motion of particles in a fluid.

What is initial data in the context of the wave equation?

Initial data refers to the values of the wave equation at a specific point in time and space. This data is used to determine the behavior of the wave at all other points in time and space, making it a crucial aspect of solving the wave equation.

How is the wave equation solved with initial data?

The wave equation can be solved using a variety of methods, such as separation of variables, Fourier series, or numerical methods. The specific method used will depend on the complexity of the equation and the desired level of accuracy.

What is the purpose of Ex. 5 Solution and Derivation in solving the wave equation with initial data?

Ex. 5 Solution and Derivation is an example problem that demonstrates the application of the wave equation with initial data. It allows scientists to understand the process of solving the equation and how to use initial data to determine the behavior of the wave.

How is the solution and derivation of the wave equation with initial data verified?

The solution and derivation of the wave equation with initial data can be verified through various methods, such as comparing it to experimental data or using mathematical techniques to check for consistency and accuracy. Additionally, the solution can be cross-checked with other methods to ensure its validity.

Similar threads

Replies
2
Views
2K
Replies
7
Views
3K
Replies
2
Views
1K
Replies
19
Views
3K
Replies
7
Views
1K
Replies
4
Views
2K
Replies
2
Views
2K
Replies
3
Views
1K
Back
Top