Simple Harmonic Oscillator: Calculating Particle Position as a Function of Time

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
Je m'appelle
Messages
117
Reaction score
0
I need someone to please verify my work.

Homework Statement



A particle of mass [tex]m[/tex] is suspended from the ceiling by a spring of constant [tex]k[/tex] and initially relaxed length [tex]l_0[/tex]. The particle is then let go from rest with the spring initially relaxed. Taking the z-axis as vertically oriented downwards with it's origin in the ceiling, calculate the position 'z' of the particle as a function of time 't'.

Homework Equations



SHO equation:

[tex]m\ddot{x}(t) = -kx(t)[/tex]

The Attempt at a Solution



In this case, the acting forces on the mass are the weight directed downwards and the elastic force of the spring directed upwards, so

[tex]m\ddot{x}(t) = mg - kx(t)[/tex]

[tex]\ddot{x}(t) = g - \omega^2 x(t)[/tex]

[tex]\ddot{x}(t) + \omega^2 x(t) = g[/tex]

It's important to note that I'm assuming 'x' as the displacement of the spring and NOT the displacement of the mass.

[tex]\ddot{x}(t) + \omega^2 x(t) = g[/tex]

[tex]x(t) = x_p(t) + x_h(t)[/tex]

The homogeneous solution will be

[tex]x_h(t) = acos(\omega t) + bsin(\omega t)[/tex]

And the particular solution will be

[tex]x_p(t) = \frac{g}{\omega^2}[/tex]

By using the initial conditions [tex]x(0) = 0, \dot{x}(0) = 0[/tex] we get

[tex]x(0) = 0 = a + \frac{g}{\omega^2}[/tex]

[tex]a = - \frac{g}{\omega^2}[/tex]

[tex]\dot{x}(0) = 0 = b\omega,\ b = 0[/tex]

So by rearranging we get to

[tex]x(t) = -\frac{g}{\omega^2}cos(\omega t) + \frac{g}{\omega^2}[/tex]

But notice that this is the displacement of the spring and not of the mass, in order to find the displacement of the mass we would have to add the initial length of the relaxed spring, that is, [tex]l_0[/tex].

So the final answer for the displacement of the mass in the z-axis will be

[tex]z(t) = l_0 - \frac{mg}{k} (cos(\sqrt{\frac{k}{m}} t) - 1)[/tex]

Could someone please verify this, as there is a different answer in a solution manual I found, and I'm not so sure which one is correct.
 
Physics news on Phys.org
diazona said:
Hm, it seems reasonable to me. What's the other answer you found?

Well, I think it is correct after all.

I had two solutions, mine and a friend's which he claimed to have obtained from a solutions manual, but I think that wasn't the case.

I'm sure now that the answer I've provided here is the correct one, as I've analyzed the case when [tex]t = 0[/tex], that is when the system is at rest, the displacement of the mass is simply the length of the relaxed spring which is reasonable.

Thanks anyway diazona
 
Je m'appelle said:
Well, I think it is correct after all.

I had two solutions, mine and a friend's which he claimed to have obtained from a solutions manual, but I think that wasn't the case.

I'm sure now that the answer I've provided here is the correct one, as I've analyzed the case when [tex]t = 0[/tex], that is when the system is at rest, the displacement of the mass is simply the length of the relaxed spring which is reasonable.

Thanks anyway diazona

Are you sure it is not -l0,which direction are you taking it positive?
 
Last edited: