Problem Statement
An ideal mass m sliding on a frictionless surface, attached via an ideal spring k to a rigid wall. The spring is at rest when the mass is centered at x=0. Find the equation of motion that the spring mass system follows.
As set up, the mass is sitting at x=0 with positive being to the right. Velocity is positive to the right as well.
Solution
By Newton's first law:
By Hooke's law:
By Newton's third law of motion that states every action produces an equal and opposite reaction, we have f_k = -f_m. That is, the force f_k applied by the mass to the spring is equal and opposite to the accelerating force f_m exerted in the -x direction by the spring on the mass:
We now have a second order differential equation that governs the motion of the mass. Taking the Laplace transform of both sides gives:
Now that we have the Laplace transform of the differential equation that governs the motion of the spring and mass system, we need to solve for X(s):
Using the idea that the initial position x=0 and velocity is the equivalent of x dot:
Now, let's split it into two parts:
We know from Laplace transforms that:
From this we know that we are going to have two parts to our solution, and sine wave and a cosine wave. We can also tell that:
Once we get the Laplace transform into the correct form, we have:
Now we take the inverse Laplace transform:
Now that we are back in the time domain we just add the two parts together and we have:
So we have found the equation that governs the motion of the spring mass system, all that is left is putting in constants for the variables to find numerical answers for any problem of this type.