6.1: Spring Problems I
( \newcommand{\kernel}{\mathrm{null}\,}\)
We consider the motion of an object of mass m, suspended from a spring of negligible mass. We say that the spring–mass system is in equilibrium when the object is at rest and the forces acting on it sum to zero. The position of the object in this case is the equilibrium position. We define y to be the displacement of the object from its equilibrium position (Figure 6.1.1 ), measured positive upward.

Our model accounts for the following kinds of forces acting on the object:
- The force −mg, due to gravity.
- A force Fs exerted by the spring resisting change in its length. The natural length of the spring is its length with no mass attached. We assume that the spring obeys Hooke’s law: If the length of the spring is changed by an amount ΔL from its natural length, then the spring exerts a force Fs=kΔL, where k is a positive number called the spring constant. If the spring is stretched then ΔL>0 and Fs>0, so the spring force is upward, while if the spring is compressed then ΔL<0 and Fs<0, so the spring force is downward.
- A damping force Fd=−cy′ that resists the motion with a force proportional to the velocity of the object. It may be due to air resistance or friction in the spring. However, a convenient way to visualize a damping force is to assume that the object is rigidly attached to a piston with negligible mass immersed in a cylinder (called a dashpot) filled with a viscous liquid (Figure 6.1.1 ). As the piston moves, the liquid exerts a damping force. We say that the motion is undamped if c=0, or damped if c>0.
- An external force F, other than the force due to gravity, that may vary with t, but is independent of displacement and velocity. We say that the motion is free if F≡0, or forced if F≢0.

From Newton’s second law of motion,
my″=−mg+Fd+Fs+F=−mg−cy′+Fs+F.
We must now relate Fs to y. In the absence of external forces the object stretches the spring by an amount Δl to assume its equilibrium position (Figure 6.1.3 ). Since the sum of the forces acting on the object is then zero, Hooke’s Law implies that mg=kΔl. If the object is displaced y units from its equilibrium position, the total change in the length of the spring is ΔL=Δl−y, so Hooke’s law implies that
Fs=kΔL=kΔl−ky.
Substituting this into Equation ??? yields
my″=−mg−cy′+kΔL−ky+F.
Since mg=kΔl this can be written as
my″+cy′+ky=F.
We call this the equation of motion.

Simple Harmonic Motion
Throughout the rest of this section we’ll consider spring–mass systems without damping; that is, c=0. We’ll consider systems with damping in the next section. We first consider the case where the motion is also free; that is, F=0. We begin with an example.
An object stretches a spring 6 inches in equilibrium.
- Set up the equation of motion and find its general solution.
- Find the displacement of the object for t>0 if it is initially displaced 18 inches above equilibrium and given a downward velocity of 3 ft/s.
Solution a:
Setting c=0 and F=0 in Equation ??? yields the equation of motion
my″+ky=0,
which we rewrite as
y″+kmy=0.
Although we would need the weight of the object to obtain k from the equation mg=kΔl we can obtain k/m from Δl alone; thus, k/m=g/Δl. Consistent with the units used in the problem statement, we take g=32 ft/s2. Although Δl is stated in inches, we must convert it to feet to be consistent with this choice of g; that is, Δl=1/2 ft. Therefore
km=321/2=64
and Equation ??? becomes
y″+64y=0.
The characteristic equation of Equation ??? is
r2+64=0,
which has the zeros r=±8i. Therefore the general solution of Equation ??? is
y=c1cos8t+c2sin8t.
Solution b:
The initial upward displacement of 18 inches is positive and must be expressed in feet. The initial downward velocity is negative; thus,
y(0)=32andy′(0)=−3.
Differentiating Equation ??? yields
y′=−8c1sin8t+8c2cos8t.
Setting t=0 in Equation ??? and Equation ??? and imposing the initial conditions shows that c1=3/2 and c2=−3/8. Therefore
y=32cos8t−38sin8t,
where y is in feet (Figure 6.1.4 ).
We’ll now consider the equation
my″+ky=0
where m and k are arbitrary positive numbers. Dividing through by m and defining ω0=√k/m yields
y″+ω20y=0.
The general solution of this equation is
y=c1cosω0t+c2sinω0t.
We can rewrite this in a more useful form by defining
R=√c21+c22,

and
c1=Rcosϕandc2=Rsinϕ.
Substituting from Equation ??? into Equation ??? and applying the identity
cosω0tcosϕ+sinω0tsinϕ=cos(ω0t−ϕ)
yields
y=Rcos(ω0t−ϕ).
From Equation ??? and Equation ??? we see that the R and ϕ can be interpreted as polar coordinates of the point with rectangular coordinates (c1,c2) (Figure 6.1.5 ). Given c1 and c2, we can compute R from Equation ???. From Equation ??? and Equation ???, we see that ϕ is related to c1 and c2 by
cosϕ=c1√c21+c22andsinϕ=c2√c21+c22.
There are infinitely many angles ϕ, differing by integer multiples of 2π, that satisfy these equations. We will always choose ϕ so that −π≤ϕ<π.
The motion described by Equation ??? or Equation ??? is simple harmonic motion. We see from either of these equations that the motion is periodic, with period
T=2π/ω0.
This is the time required for the object to complete one full cycle of oscillation (for example, to move from its highest position to its lowest position and back to its highest position). Since the highest and lowest positions of the object are y=R and y=−R, we say that R is the amplitude of the oscillation. The angle ϕ in Equation ??? is the phase angle. It’s measured in radians. Equation Equation ??? is the amplitude–phase form of the displacement. If t is in seconds then ω0 is in radians per second (rad/s); it is the frequency of the motion. It is also called the natural frequency of the spring–mass system without damping.

We found the displacement of the object in Example 6.1.1 to be
y=32cos8t−38sin8t.
Find the frequency, period, amplitude, and phase angle of the motion.
Solution:
The frequency is ω0=8 rad/s, and the period is T=2π/ω0=π/4 s. Since c1=3/2 and c2=−3/8, the amplitude is
R=√c21+c22=√(32)2+(38)2=38√17.
The phase angle is determined by
cosϕ=3238√17=4√17
andsinϕ=−3838√17=−1√17.
Using a calculator, we see from Equation ??? thatϕ≈±.245 rad.
Since sinϕ<0 (see Equation ???), the minus sign applies here; that is,ϕ≈−.245 rad.
The natural length of a spring is 1 m. An object is attached to it and the length of the spring increases to 102 cm when the object is in equilibrium. Then the object is initially displaced downward 1 cm and given an upward velocity of 14 cm/s. Find the displacement for t>0. Also, find the natural frequency, period, amplitude, and phase angle of the resulting motion. Express the answers in cgs units.
Solution:
In cgs units g=980 cm/s2. Since Δl=2 cm, ω20=g/Δl=490. Therefore
y″+490y=0,y(0)=−1,y′(0)=14.
The general solution of the differential equation isy=c1cos7√10t+c2sin7√10t,
soy′=7√10(−c1sin7√10t+c2cos7√10t).
Substituting the initial conditions into the last two equations yields c1=−1 and c2=2/√10. Hence,y=−cos7√10t+2√10sin7√10t.
The frequency is 7√10 rad/s, and the period is T=2π/(7√10) s. The amplitude is
R=√c21+c22=√(−1)2+(2√10)2=√75cm
The phase angle is determined by
cosϕ=c1R=−√57andsinϕ=c2R=√27
Therefore ϕ is in the second quadrant and
ϕ=cos−1(−√57)≈2.58rad
Spring Motion Demo - Undamped and Unforced Oscillation
Click on the play button in the animation below to see Example 6.1.1 in motion.
Undamped Forced Oscillation
In many mechanical problems a device is subjected to periodic external forces. For example, soldiers marching in cadence on a bridge cause periodic disturbances in the bridge, and the engines of a propeller driven aircraft cause periodic disturbances in its wings. In the absence of sufficient damping forces, such disturbances – even if small in magnitude – can cause structural breakdown if they are at certain critical frequencies. To illustrate, this we’ll consider the motion of an object in a spring–mass system without damping, subject to an external force
F(t)=F0cosωt
where F0 is a constant. In this case the equation of motion Equation ??? is
my″+ky=F0cosωt,
which we rewrite as
y″+ω20y=F0mcosωt
with ω0=√k/m. We’ll see from the next two examples that the solutions of Equation ??? with ω≠ω0 behave very differently from the solutions with ω=ω0.
Solve the initial value problem
y″+ω20y=F0mcosωt,y(0)=0,y′(0)=0,
given that ω≠ω0.Solution:
We first obtain a particular solution of Equation ??? by the method of undetermined coefficients. Since ω≠ω0, cosωt isn’t a solution of the complementary equation
y″+ω20y=0.
Therefore Equation ??? has a particular solution of the formyp=Acosωt+Bsinωt.
Sincey″p=−ω2(Acosωt+Bsinωt),
y″p+ω20yp=F0mcosωt
if and only if(ω20−ω2)(Acosωt+Bsinωt)=F0mcosωt.
This holds if and only ifA=F0m(ω20−ω2)andB=0,
soyp=F0m(ω20−ω2)cosωt.
The general solution of Equation ??? isy=F0m(ω20−ω2)cosωt+c1cosω0t+c2sinω0t,
soy′=−ωF0m(ω20−ω2)sinωt+ω0(−c1sinω0t+c2cosω0t).
The initial conditions y(0)=0 and y′(0)=0 in Equation ??? imply thatc1=−F0m(ω20−ω2)andc2=0.
Substituting these into Equation ??? yieldsy=F0m(ω20−ω2)(cosωt−cosω0t).
It is revealing to write this in a different form. We start with the trigonometric identities
cos(α−β)=cosαcosβ+sinαsinβcos(α+β)=cosαcosβ−sinαsinβ.
Subtracting the second identity from the first yieldscos(α−β)−cos(α+β)=2sinαsinβ
Now letα−β=ωtandα+β=ω0t,
so thatα=(ω0+ω)t2andβ=(ω0−ω)t2.
Substituting Equation ??? and Equation ??? into Equation ??? yieldscosωt−cosω0t=2sin(ω0−ω)t2sin(ω0+ω)t2,
and substituting this into Equation ??? yieldsy=R(t)sin(ω0+ω)t2,
whereR(t)=2F0m(ω20−ω2)sin(ω0−ω)t2.
From Equation ??? we can regard y as a sinusoidal variation with frequency (ω0+ω)/2 and variable amplitude |R(t)|. In Figure 6.1.6 the dashed curve above the t axis is y=|R(t)|, the dashed curve below the t axis is y=−|R(t)|, and the displacement y appears as an oscillation bounded by them. The oscillation of y for t on an interval between successive zeros of R(t) is called a beat.

You can see from Equation ??? and Equation ??? that
|y(t)|≤2|F0|m|ω20−ω2|;
moreover, if ω+ω0 is sufficiently large compared with ω−ω0, then |y| assumes values close to (perhaps equal to) this upper bound during each beat. However, the oscillation remains bounded for all t. (This assumes that the spring can withstand deflections of this size and continue to obey Hooke’s law.) The next example shows that this isn’t so if ω=ω0.
Find the general solution of
y″+ω20y=F0mcosω0t.
Solution:
We first obtain a particular solution yp of Equation \ref{eq:6.1.22}. Since \cos\omega_0t is a solution of the complementary equation, the form for y_p is
\label{eq:6.1.23} y_p=t(A\cos\omega_0t+B\sin\omega_0t).
Theny_p'=A\cos\omega_0t+B\sin\omega_0t +\omega_0t(-A\sin\omega_0t+B\cos\omega_0t)\nonumber
and\label{eq:6.1.24} y''_p=2\omega_0(-A\sin\omega_0t +B\cos\omega_0t)-\omega_0^2t(A\cos\omega_0t+B\sin\omega_0t).
From Equation \ref{eq:6.1.23} and Equation \ref{eq:6.1.24}, we see that y_p satisfies Equation \ref{eq:6.1.22} if-2A\omega_0\sin\omega_0t+2B\omega_0\cos\omega_0t={F_0\over m} \cos\omega_0t;\nonumber
that is, ifA=0\quad \text{and} \quad B={F_0\over2m\omega_0}.\nonumber
Thereforey_p={F_0t\over2m\omega_0}\sin\omega_0t\nonumber
is a particular solution of Equation \ref{eq:6.1.22}. The general solution of Equation \ref{eq:6.1.22} isy={F_0t\over2m\omega_0}\sin\omega_0t+c_1\cos\omega_0t+c_2\sin\omega_0t.\nonumber

y={F_0t\over2m\omega_0}\quad \text{and} \quad y=-{F_0t\over2m\omega_0}\nonumber
with increasing amplitude that approaches \infty as t\to\infty. Of course, this means that the spring must eventually fail to obey Hooke’s law or break.This phenomenon of unbounded displacements of a spring–mass system in response to a periodic forcing function at its natural frequency is called resonance. More complicated mechanical structures can also exhibit resonance–like phenomena. For example, rhythmic oscillations of a suspension bridge by wind forces or of an airplane wing by periodic vibrations of reciprocating engines can cause damage or even failure if the frequencies of the disturbances are close to critical frequencies determined by the parameters of the mechanical system in question.
Spring Motion Demo - Forced, Undamped Spring Motion
Click on the play button in the animation to view an example of forced (undamped) spring motion.