A simple spring system consists of a mass m attached to the lower end of a spring that is itself suspended vertically from a mounting. The system is in its equilibrium position when it is at rest. The mass is set in motion by one or more of the following means: displacing the mass from its equilibrium position, providing it with an initial velocity, or subjecting it to an external force F(t).
Hooke's Law: The restoring force F of a spring is equal and opposite to the forces applied to the spring and is proportional to the extension (contraction) l of the spring as a result of the applied force; that is, F=−kl, where k denotes the constant of proportionality, generally called the spring constant.
Example 1. A steel ball weighing 128 lb. is suspended from a spring, whereupon the spring is stretched 2 ft. from its natural length. The applied force responsible for the 2-ft. displacement is the weight of the ball, 128 lb. Thus, F=−128lb. Hooke's law then gives −128=−k(2), or k=64ftlb.
For convenience, we choose the downward direction as the positive direction and take the origin to be the center of gravity of the mass in the equilibrium position. We assume that the mass of the spring is negligible and that air resistance, when present, is proportional to the velocity of the mass. Thus, at any time t, there are three forces acting upon the system: F(t), measured in the positive direction; a restoring force given by Hooke's law as Fs=−kx, k>0; and a force due to air resistance given by Fa=−adtdx′, a>0, where a is the constant of proportionality. Note that the restoring force Fs always acts in the direction that will tend to return the system to the equilibrium position: if the mass is below the equilibrium position, x is positive, and −kx is negative; whereas if the mass is above the equilibrium position, x is negative, and −kx is positive. Also, note that because a>0, the force Fa due to air resistance acts in the opposite direction of the velocity and thus tends to retard, or damp, the motion of the mass. It now follows from Newton's second law that mdt2d2x=−kx−adtdx+F(t), or dt2d2x+madtdx+mkx=mF(t).
If the system starts at t=0 with an initial velocity v0 and from the initial position x0, we also have the initial conditions x(0)=x0,x′(0)=v0.
The force of gravity does not explicitly appear in the differential equation, but it is present nonetheless. We automatically compensated for this force by measuring the distance from the equilibrium position of the spring. If one wishes to exhibit gravity explicitly, then distance has to be measured from the bottom end of the natural length of the spring. That is, the motion of a vibrating spring can be given by dt2d2x+madtdx+mkx=g+mF(t) if the origin, x=0, is the terminal point of the unstretched spring before the mass m is attached.
Example 2. A mass of 2 kg is suspended from a spring with a known spring constant of 10 N/m and is allowed to come to rest. It is then set in motion by giving it an initial velocity of 150 cm/sec. Find an expression for the motion of the mass, assuming no air resistance.
Here, the externally applied force on the mass F(t)=0, and there is no resistance from the surrounding medium, a=0. The mass and the spring constants are given as m = 2 kg and k = 10 N/m respectively; so, the differential equation becomes dt2d2x+5x=0. The roots of its characteristic equationr2+5=0 are purely imaginary; hence, its solution is
x(t)=c1cos(5t)+c2sin(5t).
At t=0, the position of the ball is at the equilibrium position x0=0 m. Applying this initial condition, we find that x(0)=0=c1cos(5⋅0)+c2sin(5⋅0), or c1=0.
So, x(t)=c2sin(5t). Thus, x′=5c2cos(5t).
Applying the second initial condition x′(0)=150csm=1.5sm gives that x′(0)=1.5=5c2cos(5⋅0), or c2=51.5.
Finally, x(t)=51.5sin(5t).
Let's take a look at one more example.
Example 3. A 128-lb. weight is attached to a spring whereupon the spring is stretched 2 ft. and allowed to come to rest. The weight is set in motion from rest by displacing the spring 6 in. (which is equal to 0.5 ft.) above its equilibrium position and also by applying an external force F(t)=8sin(4t). Find the subsequent motion of the weight if the surrounding medium offers a negligible resistance.
Here, W=128. We need to find m using W. Since W=mg and g=32s2ft, we have that m=gW=32128=4. From Hooke's law, W=−kl, where l=2.
So, k=−lW=−2128=64ftlb.
There is no air resistance; so, a=0.
Thus, the given differential eqaution is dt2d2x+16x=2sin(4t).
The solution of the corresponding homogeneous equation is xh=c1cos(4t)+c2sin(4t).
To find the particular solution, use the method of undetermined coefficients. We can't assume that xp=Acos(4t)+Bsin(4t) because these terms are already in the homogeneous solution; so, assume that xp=Atcos(4t)+Btsin(4t).
Then, xp′=Acos(4t)−4Atsin(4t)+Bsin(4t)+4Btcos(4t), and xp′′=−4Asin(4t)−4Asin(4t)−16Atcos(4t)+4Bcos(4t)+4Bcos(4t)−16Btsin(4t)
Note that ∣x∣→∞ as t→∞. This phenomenon is called pure resonance. It is due to the forcing function F(t) having the same circular frequency as that of the associated free undamped system.