Free, undamped vibrations

Let’s start with the simplest vibrating system, a spring and a mass:

Spring-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 spring-mass 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 inductor-capacitor (LC) circuit, and in acoustics, there’s the Helmholtz resonator. Even within mechanical systems, we can change the way our spring-mass 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 spring-mass 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 kk.

I’m going to use uu 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 xx for this value, but don’t get thrown by notation. uu is commonly used for “displacement in the xx direction,” and we’ll be using xx for something else in a later post.

The spring-mass system is called a single degree of freedom (SDOF) system, because all of its behavior can be described by a single function, uu, 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 uu as displacement, the velocity of the mass will be

v=dudt=u˙v = \frac{du}{dt} = \dot u

and the acceleration will be

a=dvdt=d2udt2=v˙=u¨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

ku=mu¨-k u = m \ddot u

or

mu¨+ku=0m \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=u0cosωnt+v0ωnsinωntu = u_0 \cos \omega_n t + \frac{v_0}{\omega_n} \sin \omega_n t

where u0u_0 is the displacement at time zero, v0v_0 is the velocity at time zero, and

ωn=km\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, u0u_0 and v0v_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 u0u_0 and release it from rest, the solution will be just

u=u0cosωntu = u_0 \cos \omega_n t

because v0=0v_0 = 0.

We’re not, however, restricted to using u0u_0 and v0v_0 as our constants of integration. Another form of the solution is

u=Acos(ωntϕ)u = A \cos(\omega_n t - \phi)

where AA is the amplitude of the oscillation and ϕ\phi is the phase. If we plot this function, we get a sinusoid that varies between AA and A-A and is horizontally offset by ϕ\phi from a standard cosine.

Undamped

The amplitude and phase are related to the initial conditions through these formulas:

A=u02+(v0ωn)A = \sqrt{u_0^2 + \left( \frac{v_0}{\omega_n} \right) } tanϕ=v0ωnu0\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, kk, has dimensions of force per unit length, which we can write this way, using square bracket notation:

k[FL]k \rightarrow \left[ \frac{\mathrm{F}}{\mathrm{L}} \right]

The force part can be broken down further into mass, length, and time:

k[MLT2L]=[MT2]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

ωn=km[MMT2]=[T1]\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 ff. Because there are 2π2\pi radians in a cycle, ff and ω\omega are proportional to one another, with ω=2πf\omega = 2 \pi f.

Moving back to our spring-mass system, we can say that ωn=2πfn\omega_n = 2 \pi f_n or

fn=ωn2πf_n = \frac{\omega_n}{2 \pi}

The natural period of the system is the inverse of the cyclic natural frequency:

Tn=1fn=2πωnT_n = \frac{1}{f_n} = \frac{2 \pi}{\omega_n}

If you look back at the graph above, you’ll see that I used ωnt\omega_n t for the horizontal axis rather than just tt. This trick makes it easy to see that the cycle repeats itself whenever ωnt\omega_n t increases by 2π2\pi or, equivalently, whenever tt increases by 2π/ωn2\pi/\omega_n. Which is another way of showing that the period of the system is Tn=2π/ωnT_n = 2\pi/\omega_n.

So we could write our solution it at least two other ways,

u=Acos(2πfntϕ)u = A \cos(2\pi f_n t - \phi)

and

u=Acos(2πtTnϕ)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 spring-mass 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 TnT_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, ωn\omega_n (which we could convert to fnf_n or TnT_n), AA, 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 tt to zero. Consider again our experiment for measuring the period. We started our stopwatch (set t=0t=0) when the mass was at its rightmost point. In doing so, we were setting ϕ=0\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.


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