Checking d'Alembert wave equation solution

11 replies · 3K views · last reply
CannonSLX
Messages
40
Reaction score
0

Homework Statement


Printed exam question 4: show that d2y/dt2 = 4 d2y/dx2 has solutions y = f(x + λt) when λ = -2 or 2 (6 marks); interpret the solution form with a diagram (6 marks); derive the solution with y(x,0) = sin x and ∂y/∂t(x,0) = e^(-x) (13 marks).


Homework Equations


General wave solution y=f(x+ct)+g(x-ct) [/B]

The Attempt at a Solution


Handwritten derivation solving the wave equation d2y/dt2 = 4 d2y/dx2 using a general solution y = f1(x+2t) + f2(x-2t), with initial conditions y(x,0) = sin x and dy/dt(x,0) = e^-x, leading to y = (1/4)e^-(x+2t) + sin(x+2t)/2 - (1/4)e^-(x-2t) - sin(x-2t)/2.
[/B]

Graphical sketch
Handwritten sketches of a bell-shaped pulse f(x) peaking at the origin, shifted left to a peak at -2t for f(x+2t) and right to a peak at 2t for f(x-2t), with the time t and speed 2 noted.
 
Your solution to the first part is essentially right, but the logic flow is backwards. You have shown that if the differential equation has solutions of the given form then the parameter must be ±2. You were asked to show that with a parameter of either of those values a function of the proposed form is a solution to the equation.

For the second part, I'm not sure what is wanted, so cannot comment.

In the last part, did you check that your answer satisfies the boundary conditions?
 
haruspex said:
Your solution to the first part is essentially right, but the logic flow is backwards. You have shown that if the differential equation has solutions of the given form then the parameter must be ±2. You were asked to show that with a parameter of either of those values a function of the proposed form is a solution to the equation.

For the second part, I'm not sure what is wanted, so cannot comment.

In the last part, did you check that your answer satisfies the boundary conditions?
How do I check my answer satisfies the boundary conditions please?
 
haruspex said:
Plug in t=0.
So is that substituting t=0 into the final solution I have at the bottom right to achieve what exactly, please?
 
CannonSLX said:
So is that substituting t=0 into the final solution I have at the bottom right to achieve what exactly, please?
To see whether it yields y(x,0)=sin(x).
 
haruspex said:
To see whether it yields y(x,0)=sin(x).
when t=0
The following occurs

Typeset expression: (1/4)e^(-x) + sin(x)/2 - (1/4)e^(-x) - sin(x)/2, written as a sum and difference of fractions with exponential and sine terms.
 
haruspex said:
Which gives 0, not the required sin(x). So find your error.
Dont see my error from my workings :sorry:
 
CannonSLX said:
Dont see my error from my workings :sorry:
Look at the equation where you introduce the constant B. Check the sign of the sin(x) term.
 
haruspex said:
Look at the equation where you introduce the constant B. Check the sign of the sin(x) term.
I see, it should be + sin(x)/2

But I don't see how substituting t=0 will provide the result of y(x,0)=sin(x), as its sin(x)/2 along with an exponential function.
 
CannonSLX said:
I see, it should be + sin(x)/2

But I don't see how substituting t=0 will provide the result of y(x,0)=sin(x), as its sin(x)/2 along with an exponential function.
Take a closer look at your post #7. There is some cancellation. As it is there, everything cancels, but with the corrected sign it will give the desired result.