Laplace transforms:Mass-Spring Oscillator

From Class Wiki
Revision as of 12:36, 20 October 2009 by David.steinweg (talk | contribs)
Jump to navigation Jump to search

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 follows.

Solution:

By Newton's first law:


F=mafm(t)=mx¨


By Hooke's law:


F=kxfk(t)=mx


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.


fm(t)+fk(t)=0mx¨(t)+kx(t)=0


We now have a second order differential equation that governs the motion of the mass. Taking the Laplace transform of both sides gives:


0=s{mx¨+kx}

    =ms{x¨}+ks{x}

    =m{s[sX(s)x(0)]x˙(0)}+kX(s)

    =ms2X(s)msx(0)mx˙(0)+kX(s)


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).

X(s)=sx(0)+x˙s2+km

Using the idea that the initial position x=0 and velocity is just the derivative of position:


X(s)=sx0+v0s2+km


Now, let's split it into two parts.


X(s)=sx0+v0s2+kmX(s)=sx0s2+km+v0s2+km


We know from Laplace transforms that:


s{sin(w0t)}=w0s2+w02

s{cos(w0t)}=ss2+w02


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:


km=w02