Skip to main content

Exploring Calculus with Maple Introductory Calculus

Section 3.13 Motion of a Mass Connected to a Spring

Subsection 3.13.1 Recommended Tutorial

Before starting on these exercises, you should familiarize yourself with the material covered in the following tutorials:

Subsection 3.13.2 Introduction

According to Hooke’s law (\(F=-kx\)) and Newton’s second law (\(F=ma\)), the differential equation for the motion of a mass (\(m\)) on the end of a spring is
\begin{equation*} m \frac{d^2x}{dt^2}=-kx\text{,} \end{equation*}
where \(k\) is the spring constant (a measure of the stiffness of the spring). This equation assumes no damping (resistance). The displacement of the mass from equilibrium is denoted by \(x\text{,}\) and thus \(\frac{dx}{dt}\) is the velocity, and \(\frac{d^2x}{dt^2}\) is the acceleration.
Figure 3.8. A simple mass-spring system.
If we add damping (resistance) to the spring, then the damping is opposite the direction of the motion and proportional to the velocity. Therefore we have the equation,
\begin{equation*} m \frac{d^2x}{dt^2}=-kx-c\frac{dx}{dt}\text{,} \end{equation*}
where \(c\) is the damping constant.
In the following exercises, you will assume that the mass is \(m=2\) kg and the spring constant is \(k=3\) kg/s\(^2\text{.}\) You will look at the equation of motion with no damping (\(c=0\)), overdamping (\(c=4\) kg/s), and underdamping (\(c=0.5\) kg/s).
In all cases, you will use the initial conditions \(x(0)=1\) m and \(x'(0)=-1\) m/s.

Exercises 3.13.3 Exercises

1.

Consider the equation of motion of a \(2\)-kg mass attached to a spring with \(k=3\) kg/s\(^2\text{.}\)
\begin{equation*} 2 x''(t) = -3 x(t)\text{.} \end{equation*}
(a)
Solve the differential equation using the given initial conditions.
(b)
Plot the solution of the differential equation for the first fifteen seconds.
Hint.
The rhs() command may be used to refer to only the right hand side of the differential equation solution. You can use this command to assign a name to the solution.
(c)
Insert a new paragraph and describe what you observe about the motion of a mass on the spring.

2.

Consider the equation of motion of a \(2\)-kg mass attached to a spring with \(k=3\) kg/s\(^2\) and a damping constant of \(c=4\) kg/s. This is considered overdamping.
\begin{equation*} 2 x''(t) = -3 x(t) - 4 x'(t)\text{.} \end{equation*}
Aside
(a)
Solve the differential equation using the given initial conditions.
(b)
Plot the solution of the differential equation for the first fifteen seconds.
(c)
Insert a new paragraph and describe what you observe about the motion of a mass on the spring with overdamping.

3.

Consider the equation of motion of a \(2\)-kg mass attached to a spring with \(k=3\) kg/s\(^2\) and a damping constant of \(c=0.5\)Β kg/s. This is considered underdamping.
\begin{equation*} 2 x''(t) = -3 x(t) - 0.5 x'(t)\text{.} \end{equation*}
Aside
(a)
Solve the differential equation using the given initial conditions.
(b)
Plot the solution of the differential equation for the first thirty seconds.
(c)
Insert a new paragraph and describe what you observe about the motion of a mass on the spring with underdamping.

4.

Suppose you wish to force the spring to oscillate at a given frequency. Let’s add a forcing term \(3 \sin(2t)\) to the undamped equation of motion from exerciseΒ 3.13.3.1.
\begin{equation*} 2x''(t) = -3 x(t) + 3\sin(2t) \end{equation*}
(a)
Solve the differential equation using the given initial conditions.
(b)
Plot the differential equation solution for the first sixty seconds.
(c)
Insert a new paragraph and describe what you observe about the motion of a mass on the spring with forcing and no damping.

5.

Let’s add damping to equation of motion from exerciseΒ 3.13.3.4 with a damping constant of \(0.5\) kg/s.
\begin{equation*} 2x''(t) = -3 x(t) - 0.5 x'(t) + 3\sin(2t) \end{equation*}
(a)
Solve the differential equation using the given initial conditions.
(b)
Plot the differential equation solution for the first sixty seconds.
(c)
Insert a new paragraph and describe what you observe about the motion of a mass on the spring with forcing and underdamping.