Free, undamped vibrations
March 16, 2014 at 1:23 PM by Dr. Drang
Let’s start with the simplest vibrating system, a spring and a mass:
(You can ignore the free body diagram in the right half for the moment. We’ll return to it in a bit.)
There are lots of oscillating systems that have the same behavior as the springmass system. The pendulum is an important historical example, because it was studied by Galileo and Huygens and was an early means for accurate timekeeping. On the electrical side, there’s the inductorcapacitor (LC) circuit, and in acoustics, there’s the Helmholtz resonator. Even within mechanical systems, we can change the way our springmass system looks by using different types of springs. We could put the mass at the end of a light cantilever beams, for example, or in the center of a stretched string. These are all analogous systems because the equations that govern their behavior take the same mathematical form.
The key assumptions in the analysis of the springmass system are that the mass of the spring is small enough to be ignored and that it follows Hooke’s Law, i.e., that the force in the spring is proportional to the amount it’s stretched. The constant of proportionality is [k].
I’m going to use [u] to represent the displacement of the mass from its “natural” position, which is where the spring is neither stretched nor compressed. You might be more comfortable with using [x] for this value, but don’t get thrown by notation. [u] is commonly used for “displacement in the [x] direction,” and we’ll be using [x] for something else in a later post.
The springmass system is called a single degree of freedom (SDOF) system, because all of its behavior can be described by a single function, [u], and its derivatives. Later on we’ll look at multiple degree of freedom (MDOF) systems and continuous systems, which have an infinite number of degrees of freedom.
With [u] as displacement, the velocity of the mass will be
[v = \frac{du}{dt} = \dot u]and the acceleration will be
[a = \frac{dv}{dt} = \frac{d^2u}{dt^2} = \dot v = \ddot u]Using dots over the letters to represent differentiation with respect to time is pretty common in mechanics because it’s nice and compact. Newton used it, so it has a good pedigree.
Looking back now at the free body diagram, we see that there’s only one horizontal force acting on the mass.^{1} It’s the force from the spring which acts in the negative (left) direction when the mass is displaced in the positive (right) direction. Applying Newton’s Second Law, we get
[k u = m \ddot u]or
[m \ddot u + k u = 0]This is a second order differential equation with constant coefficients, so it’s one of the few differential equations that can be solved in closed form. The solution is
[u = u_0 \cos \omega_n t + \frac{v_0}{\omega_n} \sin \omega_n t]where [u_0] is the displacement at time zero, [v_0] is the velocity at time zero, and
[\omega_n = \sqrt{\frac{k}{m}}]is the natural frequency of the oscillation.
You may remember from differential equations class that second order differential equations have two constants of integration, which are determined by either the boundary conditions or initial conditions of the system. In our solution above, [u_0] and [v_0] are the initial conditions, and this is often a convenient way to express the solution. If, for example, we stretch the spring out a distance [u_0] and release it from rest, the solution will be just
[u = u_0 \cos \omega_n t]because [v_0 = 0].
We’re not, however, restricted to using [u_0] and [v_0] as our constants of integration. Another form of the solution is
[u = A \cos(\omega_n t  \phi)]where [A] is the amplitude of the oscillation and [\phi] is the phase. If we plot this function, we get a sinusoid that varies between [A] and [A] and is horizontally offset by [\phi] from a standard cosine.
The amplitude and phase are related to the initial conditions through these formulas:
[A = \sqrt{u_0^2 + \left( \frac{v_0}{\omega_n} \right) }] [\tan \phi = \frac{v_0}{\omega_n u_0}]Let’s return now to the most interesting characteristic of the system, the natural frequency. First, what are its units? The spring constant, [k], has dimensions of force per unit length, which we can write this way, using square bracket notation:
[k \rightarrow \left[ \frac{\mathrm{F}}{\mathrm{L}} \right]]The force part can be broken down further into mass, length, and time:
[k \rightarrow \left[ \frac{\mathrm{M L T^{2}}}{\mathrm{L}} \right] = \left[ \frac{\mathrm{M}}{\mathrm{T^2}} \right]]And therefore the units of natural frequency are
[\omega_n = \sqrt{\frac{k}{m}} \rightarrow \left[ \sqrt{\mathrm{\frac{M}{M T^2}}}\; \right] = [\mathrm{T^{1}}]]which is reciprocal time, e.g., “per second” or, more commonly, “radians per second.” Recall that the radian is dimensionless, so putting it in the numerator is mathematically no different that putting the number one in the numerator. It’s just easier to say “five radians per second” than “five per second.”
When frequency of any type is expressed in radians per second, we often call it circular frequency and always give it the symbol [\omega]. Circular frequency is mathematically convenient, but not easy to measure. Frequencies are usually measured in cycles per second, or hertz, and are given the symbol [f]. Because there are [2\pi] radians in a cycle, [f] and [\omega] are proportional to one another, with [\omega = 2 \pi f].
Moving back to our springmass system, we can say that [\omega_n = 2 \pi f_n] or
[f_n = \frac{\omega_n}{2 \pi}]The natural period of the system is the inverse of the cyclic natural frequency:
[T_n = \frac{1}{f_n} = \frac{2 \pi}{\omega_n}]If you look back at the graph above, you’ll see that I used [\omega_n t] for the horizontal axis rather than just [t]. This trick makes it easy to see that the cycle repeats itself whenever [\omega_n t] increases by [2\pi] or, equivalently, whenever [t] increases by [2\pi/\omega_n]. Which is another way of showing that the period of the system is [T_n = 2\pi/\omega_n].
So we could write our solution it at least two other ways,
[u = A \cos(2\pi f_n t  \phi)]and
[u = A \cos \left( \frac{2 \pi t}{T_n}  \phi \right)]depending on what’s most convenient for us, which may change from one situation to another.
Measuring the period of a springmass system is fairly easy. Imagine we had such a system oscillating in front of us. We could start a stopwatch when the mass was at its extreme right and stop it the next time it reached that position. The reading on the stopwatch would be [T_n], and we could calculate the two types of frequency using the formulas above.
As we’ll see in later posts, the natural frequency of a system determines how it responds to dynamic forces. Neither the spring stiffness nor the mass matter as much as the ratio between the two.
One last thing. Looking back at the graph again, you’ll see that the function is completely determined by the three parameters, [\omega_n] (which we could convert to [f_n] or [T_n]), [A], and [\phi]. Of these, the least important is [\phi]. In fact, if you think about it, the phase is entirely arbitrary—it’s determined by when we decide to set [t] to zero. Consider again our experiment for measuring the period. We started our stopwatch (set [t=0]) when the mass was at its rightmost point. In doing so, we were setting [\phi =0]. Had we chosen to start our watch when the mass was at its leftmost point, we’d have set [\phi= \pi]. All we’re doing is shifting the origin of the horizontal axis in our graph. The spring and mass don’t care—they move the way they want without regard to when we start the watch. This is a feature we can take advantage of by choosing values of [\phi] that make the math easier. I’ll do that in the next vibration post, which will cover damped vibrations.
In the meantime, you might want to take a look at John D. Cook’s series of four posts (one, two, three, and four) on SDOF systems from last year. I think it’s interesting to compare how he and I approach this problem. Although he’s toward the applied end of mathematicians and I’m toward the mathematical end of engineers, and the problem we’re solving is exactly the same, we still look at the problem in ways that betray our origins. This will become more clear as I move into damped and forced vibrations.

We’re ignoring the vertical direction because there’s no motion in that direction. ↩