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: 415
  • g2.JPG
    g2.JPG
    4.7 KB · Views: 450
  • gtotal.JPG
    gtotal.JPG
    5.2 KB · Views: 445
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!
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top