Simple Harmonic Oscillator on a smooth surface

AI Thread Summary
The discussion centers on solving the equation of motion for a mass-spring system when the mass is released from a position with an initial velocity rather than from rest. The standard solution for a mass released from rest is x(t) = x_0 cos(ωt), where x_0 is the amplitude. When released with an initial velocity v_0, the solution changes to include both the cosine and sine components, resulting in x(t) = x_0 cos(ωt) + (v_0/ω) sin(ωt). This reflects the additional kinetic energy imparted to the system, leading to higher amplitude oscillations. The conversation concludes with an acknowledgment of the need to consider both solutions to fully describe the system's behavior.
Edge Of Pain
Messages
21
Reaction score
0
I feel I understand what happens, and how to solve the equation of motion x(t) for a mass attached to a spring and released from rest horizontally on a smooth surface. We typically end up with

x(t) = x_0 cos(ωt)

as the solution, with x_0as the amplitude of the oscillation.

But I've been wondering what happens if the mass was released again from position x_0but with velocity v_0 instead of being released from rest. Is x(t) the same or different to when the mass was released from rest?

Thanks in advance.
 
Physics news on Phys.org
Have you tried doing this problem yourself using mathematics? Do you know where the original ##x(t)## comes from?

If you've solved the differential equation, then the differential equation doesn't change, but the initial conditions do change. Released from rest means ##v(0)=\left.dx/dt\right|_{t=0}=0## and ##x(0)=x_0##. Now you have a different initial condition ##v(0)=v_0##. Mathematically this shouldn't be too hard to implement.

Thinking about the problem physically, releasing the block with speed means giving it some initial kinetic energy. One would expect then that the amplitude of oscillations would be higher than if the block were released without speed since the turning points (where we define our amplitude of oscillations) are points where the kinetic energy has all been converted into potential energy. If you start off with more total energy, you expect higher amplitude oscillations.

Nothing else really special happens.
 
  • Like
Likes 1 person
I tried doing the problem myself. What I did was use the trial function

x(t) = x_0 e<sup>(jωt)</sup>

I found the first and second derivatives and substituted this back into Newton's law for motion of the particle

x&#039;&#039;(t) + ω^2 x(t) = 0

where ω^2 is equal to k/m, k being the stiffness constant of the spring and m being the mass of the particle.

Then the real part of this is the solution, and from Euler's relation we end up with

x(t) = x_0 cos(ωt)

Is this the correct way of thinking?

So now, from initial conditions would the position at t = 0be given by

x = x_0 cos(ωt) + v_0 t just by integrating with respect to t and then re-arranging?

Here's my reasoning.

At time t = 0 the velocity x&#039;(t) = v_0

Usually we'd have x(t) = x_0 cos(ωt). But differentiating this gives

x&#039;(t) = -x_0 ω sin(ωt).

But at t = 0 this gives us an initial velocity of 0. We want the initial velocity to be v_0 so we instead our velocity function is

x&#039;(t) = -x_0 ω sin(ωt) + v_0,

then integrating with respect to t gives

x(t) = x_0 cos(ωt) + v_0 t. Is that correct? I omitted the arbitrary constant on the end.
 
Edge Of Pain said:
I tried doing the problem myself. What I did was use the trial function

x(t) = x_0 e<sup>(jωt)</sup>

I found the first and second derivatives and substituted this back into Newton's law for motion of the particle

x&#039;&#039;(t) + ω^2 x(t) = 0

where ω^2 is equal to k/m, k being the stiffness constant of the spring and m being the mass of the particle.

Then the real part of this is the solution, and from Euler's relation we end up with

x(t) = x_0 cos(ωt)
.

You've only found one solution to the DE, once you've found the other linearly independant solution you will have two integration constants to adjust for x_0 and v_0.
After solving for those two parameters you will end up with x(t) = x_0 cos(ωt)+(v_0/ω)sin(ωt)
 
Last edited:
  • Like
Likes 1 person
HomogenousCow said:
You've only found one solution to the DE, once you've found the other linearly independant solution you will have two integration constants to adjust for x_0 and v_0.
After solving for those two parameters you will end up with x(t) = x_0 cos(ωt)+(v_0/ω)sin(ωt)

The first part, where I found x(t) = x_0 cos(ωt) was when initial velocity was 0.

I don't know how to find this other solution non-linearly for when initial velocity is v_0. But the more I think about it, the less it makes sense for the solution to be sinusoidal + linear, because that would imply that after a very long time the effect of the cosine would become tiny and the particle would be displaced by a very large amount in the positive direction. So now I'm convinced that the solution is entirely sinusoidal but I don't know how to even start finding this solution.
 
Edge Of Pain said:
The first part, where I found x(t) = x_0 cos(ωt) was when initial velocity was 0.

I don't know how to find this other solution non-linearly for when initial velocity is v_0. But the more I think about it, the less it makes sense for the solution to be sinusoidal + linear, because that would imply that after a very long time the effect of the cosine would become tiny and the particle would be displaced by a very large amount in the positive direction. So now I'm convinced that the solution is entirely sinusoidal but I don't know how to even start finding this solution.

You're simply missing the other solution, when you made your original ansatz you should have added a Ae-iωt term which is also a solution to the DE.
 
There are three common ways of writing the general solution to the differential equation for the simple harmonic oscillator. All have two arbitrary constants, and are equivalent to each other. You can find the arbitrary constants for anyone of them in terms of the arbitrary constants of either of the others:

$$x(t) = A \cos \omega t + B \sin \omega t\\
x(t) = C e^{i \omega t} + D e^{-i \omega t}\\
x(t) = x_0 \cos (\omega t + \phi_0)$$

(In the last one, you can use sin instead of cos, but with a different value for ##\phi_0##.)
 
  • Like
Likes 1 person
Hang on a second. I just realized why I need to add both the solutions to the DE.

If I have a 2nd order linear differential equation, and there is a solution to it, like g(t), and another solution to it, h(t), then Ag(t) and Bh(t) are both solutions, where A, B are constants, and Ag(t) + Bh(t) is another solution! So, Ag(t) + Bh(t) encapsulates ALL solutions! I need to work on my differential equations. Thanks everyone.

EDIT: Just came back to it and I understand it now, and got both the solutions. Thanks all.
 
Last edited:

Similar threads

Replies
1
Views
1K
Replies
2
Views
1K
Replies
131
Views
7K
Replies
17
Views
3K
Replies
7
Views
2K
Replies
8
Views
2K
Back
Top