Lesson 13 - Mass Spring Systems
This lesson will bring what we've learned about nonhomogeneous differential equations into a real world application.
Consider a mass
Hooke's Law states that the force excreted by the spring on the mass is
If
where
Now, we have a nonhomogeneous equation that we have seen before. Also consider that
Since we are describing an oscillating force, it will be helpful for us to see the behavior of the oscillating graph. We can do so by solving the differential equation and then converting the general solution into a sine form.
For the above model, write the general solution when the damping force is zero and there is no external force. Let
We start with the equation of motion with no external force and damping force of zero:
We can now use the characteristic equation to find the general solution.
Substituting
Recall the general solution of nonhomogeneous equations using Euler's formula (see Lesson 9 - Homogeneous Second Order Linear Equations). The general solution is as follows:
Now, consider a right triangle with sides
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[thick] (0, 0) -- (3, 0) -- (3, 4) -- cycle; % Triangle
\draw (3, 0) rectangle +(-0.5, 0.5); % Right angle marker
\draw[thick] (0, 0) -- (3, 4) node[left, midway] {$\sqrt{(C_1)^2+(C_2)^2}$}; % Hypotenuse label
\draw[thick] (0, 0) -- (3, 0) node[below, midway] {$C_2$}; % Hypotenuse label
\draw[thick] (3, 0) -- (3, 4) node[right, midway] {$C_1$}; % Hypotenuse label
\draw[thick] (0, 0) -- (0.35, 0) arc[start angle=0, end angle=60, radius=0.3cm]; % Angle arc
\node at (0.5, 0.2) {$\phi$}; % Label the angle
\end{tikzpicture}
\end{document}
Imposing geometry, by the Pythagorean theorem, we can say that the sides
We also impose an angle
Now let's manipulate the general solution equation to contain
We will multiply across the denominator but leave the numerator un-factored.
Recall that
Notice we have a sum of the products of two angles. We can implement the following identity:
The forms look different, but they're the same if we rearrange the equation and consider
Now these are identical forms and it's more clear that we can use this identity. Our general solution is now as follows:
So why did we do all of this work if the past solutions have worked in the past? Well consider that we are now talking about sine functions as we analyze the oscillations of the the mass spring system. This form helps us to analyze the angular frequency (
We can see an example of this below:
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis lines = middle,
xlabel = {$t$},
ylabel = {$x(t)$},
grid = both,
domain=-12:12*pi,
samples=100,
legend style={at={(0.5,-0.15)}, anchor=north},
title = {Oscillation: $x(t) = A \sin(\omega t + \phi)$},
xtick=\empty,
ytick=\empty,
]
% General sine function with parameters A, omega, and phi
\addplot[blue, thick] {sin(deg(x))};
\addlegendentry{$x(t) = \sin(t)$}
\end{axis}
\end{tikzpicture}
\end{document}
As we can see here, it is much easier to see the behavior of the oscillation system by converting the general solution into it's a sinusoidal form.
In the next mini lesson, we will look at a couple of examples of this and discuss free vibrations with damping.
Next Lesson: Lesson 13.1 Mass Spring Systems Damping and Worked Examples
Table of Contents: Table of Contents