Department of Physics
8.02
An object of mass m = 4.0 ×10−2 kg sitting on a frictionless surface is attached to one end
of a spring. The other end of the spring is attached to a wall. Assume that the object is
constrained to move horizontally along one dimension. The spring has spring
constant k = 2.0 × 102 N/ m . The spring is initially stretched a distance 2.0cm from the
equilibrium position and released at rest.
c) What is the time that it takes the mass-spring system to first return to its original
configuration?
d) How do the initial conditions for the position and velocity of the mass-spring
system enter into the solution?
Solutions:
a) Choose the origin at the equilibrium position. Choose the positive x -direction to the
right. Define x ( t ) to be the position of the mass with respect to the equilibrium position.
E-1
Newton’s Second law in the horizontal direction Fx = m ax becomes
d 2x
− k x = m ax = m (E.1)
dt 2
This equation is called the simple harmonic oscillator (SHO) equation. Since the spring
force depends on the distance x , the acceleration is not constant. This is a second-order
linear differential equation in which the second derivative in time of the position of the
mass is proportional to the negative of the position of the mass,
d 2x
∝ −x (E.2)
dt 2
d 2x k
2
=− x (E.3)
dt m
The term ω is called the angular frequency (unfortunately the same symbol is used for
angular velocity in circular motion but it should be clear that for a mass-spring system
there is no circular motion). In order for the guess to satisfy the SHO equation, the
angular frequency must satisfy
ω= k m (E.5)
Proof: To verify the guess, take the first and second derivatives of the guess and
substitute the second derivative into the SHO equation,
E-2
The last equality follows from substituting in our guess, x ( t ) = A cos ( ωt ) + B sin ( ωt ) .
Thus the SHO equation becomes
d 2x k
2
= −ω2 x = − x (E.8)
dt m
ω= k m (E.9)
QED
The graph of position x ( t ) vs. time t described by our solution is shown in Figure 2 .
b) The velocity of the object at time t is then obtained by differentiating the solution,
E-3
c) The mass-spring system oscillates and returns back to its initial configuration for the
first time at a time t = T where the T is called the period and is defined by the condition
ω T = 2π (E.11)
T = 2π ω = 2π k m = 2π k / m (E.12)
v0
A = x0 and B = (E.14)
ω
Proof: To find the constants A and B , substitute t = 0 into the guess for the solution.
Since cos ( 0 ) = 1 and sin ( 0 ) = 0 , the initial position at time t = 0 is
x0 ≡ x ( t = 0 ) = A (E.15)
Thus
v0
A = x0 and B = (E.17)
ω
QED
x ( t ) = x0 cos ( k mt + ) v0
k m
sin ( k mt ) (E.18)
E-4
v ( t ) = − k m x0 sin ( )
k m t + v0 cos ( k mt ) (E.19)
k 2.0 ×102 N/ m
ω= = = 7.1×101 rad/ s (E.20)
m 4.0 ×10−2 kg
v0
B= =0 (E.22)
ω
So the position is
x ( t ) = x0 cos ( k mt ) (E.23)
v ( t ) = − k m x0 sin ( k mt ) (E.24)
1
2
1
m v 2 = k x02 sin 2
2
( k mt ) (E.25)
1 2 1 2
2
k x = k x0 cos 2
2
( k mt ) (E.26)
E = K +U =
1
2
1 1
( (
m v 2 + k x 2 = k x02 cos 2
2 2
)
k m t + sin 2 ( k mt )) = 12 k x
2
0 (E.27)
1 2 1
k x0 = ( 2.0 × 102 N/ m )( 2.0 ×10−2 m ) = ( 2.0 ×102 J )
2
E= (E.28)
2 2
E-5