Solve Vibrating String Differential Equation with d'Alembert's Method

AI Thread Summary
To solve the vibrating string differential equation using d'Alembert's method, it's crucial to apply odd extensions to the initial conditions. The user attempted to substitute the given functions directly into the solution but encountered incorrect results. The correct approach involves extending the function g(x) = x(1-x) to create an odd periodic function over the necessary integration intervals. After performing the odd extensions and integrating, the final result for u(1/2, 3/2) is calculated to be -1/12. Understanding the need for these extensions is essential for accurate solutions in this context.
stunner5000pt
Messages
1,443
Reaction score
4
Of the Partial Kind :smile:
Using d'Alemberts soltuion for the vibrating string in one dimension

Find u(1/2,3/2), when l-=1, c=1, f(x) = 0, g(x) = x(1-x)
Now i tried simply substituting this into the solution that is (since f(x)=0)
u(x,t) = \frac{1}{2} \int_{x-t}^{x+t} g(x) dx
but it yields the wrong answer.
Does the length of the string have anything to do with the answer?

Thank you in advance for your help!
 
Physics news on Phys.org
stunner5000pt said:
Of the Partial Kind :smile:
Using d'Alemberts soltuion for the vibrating string in one dimension

Find u(1/2,3/2), when l-=1, c=1, f(x) = 0, g(x) = x(1-x)
Now i tried simply substituting this into the solution that is (since f(x)=0)
u(x,t) = \frac{1}{2} \int_{x-t}^{x+t} g(x) dx
but it yields the wrong answer.
Does the length of the string have anything to do with the answer?

Thank you in advance for your help!

Stunner, to use D'Alembert's forumua, you need to remember to use the "odd extensions" of both f(x) and g(x). Now, I know that's not pretty but that's just how it is. Remember when I said that Sin[\pi x] was already an odd-extension and so we didn't have to do anything about it? That's not the case with g(x)=x(1-x) over the interval you're integrating from. Look at the first plot. That's g(x) un-extended. We wish to make an odd periodic function of g(x) over the interval of integration. In your case that's 1/2-3/2 to 1/2+3/2 or the interval [-1,2]. So, first thing is to "odd-extend" what the function looks like in [0,1] to the interval [-1,0]. Well, that's the second plot and the equation for it is:

g_1[x]=x(1+x)

The equation for the interval [0,1] is just g(x):

g_2(x)=x(1-x)

Now I wish to do that again for the interval [1,2], that is an odd extension of g(x) which would just be flipping it over into the interval [1,2]. The equation for that one would be:

g_3(x)=-(x-1)+(x-1)^2

The third plot is all three. So:

<br /> \begin{align*}<br /> u(1/2,3/2) &amp;=\frac{1}{2}<br /> \int_{-1}^{2}\tilde{g_0}(\tau)d\tau \\ &amp;=<br /> \frac{1}{2}\left(\int_{-1}^0 g_1(\tau)d\tau+\int_0^1 g_2(\tau)d\tau+\int_1^2 g_3(\tau)\tau \right)<br /> \end{align}<br />

I get -1/12. Is that what you get?

Edit: Stunner, I initially made a typo on g3 but corrected it above.

Edit2: Forgot the 1/2 in front of the integral sign. Suppose that's -1/12 now. Sorry.
 

Attachments

  • g1.JPG
    g1.JPG
    4.8 KB · Views: 418
  • g2.JPG
    g2.JPG
    4.7 KB · Views: 455
  • gtotal.JPG
    gtotal.JPG
    5.2 KB · Views: 449
Last edited:
it is quite clear that we are not being taught (or the material's presentation) correctly. I did not know how to extend the functions. I understand now... thank you very much!
 
Thread 'Variable mass system : water sprayed into a moving container'
Starting with the mass considerations #m(t)# is mass of water #M_{c}# mass of container and #M(t)# mass of total system $$M(t) = M_{C} + m(t)$$ $$\Rightarrow \frac{dM(t)}{dt} = \frac{dm(t)}{dt}$$ $$P_i = Mv + u \, dm$$ $$P_f = (M + dm)(v + dv)$$ $$\Delta P = M \, dv + (v - u) \, dm$$ $$F = \frac{dP}{dt} = M \frac{dv}{dt} + (v - u) \frac{dm}{dt}$$ $$F = u \frac{dm}{dt} = \rho A u^2$$ from conservation of momentum , the cannon recoils with the same force which it applies. $$\quad \frac{dm}{dt}...
I was thinking using 2 purple mattress samples, and taping them together, I do want other ideas though, the main guidelines are; Must have a volume LESS than 1600 cubic centimeters, and CAN'T exceed 25 cm in ANY direction. Must be LESS than 1 kg. NO parachutes. NO glue or Tape can touch the egg. MUST be able to take egg out in less than 1 minute. Grade A large eggs will be used.
Back
Top