Wave Equation with Continuous Piecewise Initial Velocity

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 4K views
Claud123
Messages
4
Reaction score
0

Homework Statement



Hello I am asked to find the solution to the following equation no infinite series solutions allowed. We are given that there is a string of length 4 with the following...

ytt=yxx

With y(0,t) = 0 y(4,t) = 0 y(x,0) = 0 yt(x,0) = x from [0,2] and (4-x) from [2,4].

Homework Equations


given none

The Attempt at a Solution


Since I can't use an infinite series to solve this separation of variables and Fourier series is out. So instead I think we are expected to use d'Almbert's solution.

y = [tex]\frac{1}{2}[/tex][g(x-ct) + g(x+ct)] + [tex]\frac{1}{2c}[/tex][tex]\int h(s) ds[/tex] from x-ct to x+ct.

Well we are given that the initial position function is just 0 so the g terms all drop out. However, I am stuck at the integration part. How exactly am I supposed to integrate d'Almbert's solution over this initial velocity?

***Note: I just noticed I used "Discontinuous in my title to describe the initial velocity which it is not. I understand why, I just used wrong wording at the time I wrote this. I guess this a continuous piecewise initial velocity would be a better description.
 
Last edited:
Physics news on Phys.org
What is the difficulty? To integrate a discontinuous function, integrate whatever formula you are given up to the discontinuity, then continue with the next formula past the discontinuity.

If h(x)= x from 0 to 2, then
[tex]\int_{x-t}^{x+ t} h(s)ds= \int_{x- t}^{x+ t} s ds= \frac{1}{2}[(x+t)^2- (x- t)^2= 4xt[/math] for [itex]x+ t\le 2[/itex] <br /> Note that if x+ t= 2, then t= 2- x so [itex]4xt= 4x(2- x)= 8x- 4x^2[/itex].<br /> <br /> and then, for x+ t> 2, <br /> [tex]8x- 4x^2+ \int_{2x- 2}^{x+ t} (4- s)ds[/tex][/tex]
 
Last edited by a moderator:
HallsofIvy said:
What is the difficulty? To integrate a discontinuous function, integrate whatever formula you are given up to the discontinuity, then continue with the next formula past the discontinuity.

If h(x)= x from 0 to 2, then
[tex]\int_{x-t}^{x+ t} h(s)ds= \int_{x- t}^{x+ t} s ds= \frac{1}{2}[(x+t)^2- (x- t)^2= 4xt[/math] for [itex]x+ t\le 2[/itex] <br /> Note that if x+ t= 2, then t= 2- x so [itex]4xt= 4x(2- x)= 8x- 4x^2[/itex].<br /> <br /> and then, for x+ t> 2, <br /> [tex]8x- 4x^2+ \int_{2x- 2}^{x+ t} (4- s)ds[/tex][/tex]
[tex] <br /> Thank you for your response. However, I am running into a boundary condition issue when I run your integral for the regions [2,4], mainly that I need Y(x,t=0) = 0 .<br /> <br /> I was thinking something along these lines would work. <br /> <br /> [tex]\int_{x-t}^{x+t} f(s) ds =[/tex]<br /> on region [0,2]<br /> [tex]\int_{x-t}^{2} sds[/tex]<br /> and on region [2,4]<br /> [tex]\int_{x-t}^{2} sds + \int_{2}^{x+t}(4-s)ds[/tex]<br /> <br /> but again I running into BC issues.[/tex]