Create your own
Lesson illustration

Equation of Motion for a Single DOF Spring-Mass System

Hello! Welcome to the first lesson in our new module, Introduction to Mechanical Vibrations.

In our previous modules on dynamics, we studied how to predict the motion of bodies under the action of forces. We used Newton's laws, work-energy, and impulse-momentum to analyze translational and rotational motion. Now, we're going to apply those same principles to a special, but extremely important, type of motion: vibration.

Vibration is oscillatory motion about an equilibrium point. In aerospace engineering, understanding vibration is critical. It can be destructive, as in the case of an aircraft wing experiencing flutter, or it can be a nuisance, like the vibration from an engine felt in the cabin. By modeling and analyzing vibrations, engineers can design systems to avoid resonance, isolate sensitive components, and ensure structural integrity.

Today, we will start with the simplest possible model. Your learning outcome is to derive the equation of motion for a single degree-of-freedom spring-mass system. This forms the absolute foundation for everything that follows in the study of vibrations.

1. Modeling a Vibrating System

Real-world structures like an aircraft wing or a helicopter fuselage are complex. To analyze their vibrations, we first simplify them into a conceptual model. The most common approach is the lumped parameter model, where we represent the object's mass as a single point mass () and its elasticity as a simple spring ().

If the mass can only move in one direction (e.g., up and down), we call it a single degree-of-freedom (SDOF) system. To begin, we will make a few simplifying assumptions: there is no friction or air resistance (no damping), and no external forces are acting on the system.

The following video provides a concise introduction to this modeling concept.

Understanding Vibration and Resonance

This clip from The Efficient Engineer explains how engineers simplify complex vibrating structures into a model we can analyze.

Watch from 0:30 to 2:07. Focus on three key ideas: The 'lumped parameter' approach using a point mass (m) and a spring (k). What a 'single degree-of-freedom' system is. The initial assumptions: no damping, no gravity, and no external loads.

2. Deriving the Equation of Motion

Our goal is to find a mathematical equation that describes the position of the mass, , at any time, . We can achieve this by combining two fundamental principles you've seen before: Newton's Second Law and Hooke's Law.

  1. Newton's Second Law: The net force on an object is equal to its mass times its acceleration (). In our SDOF system, acceleration is the second derivative of position with respect to time, so . Thus, .
  2. Hooke's Law: The force exerted by a spring is proportional to its displacement from its equilibrium position. The formula is . The negative sign is crucial; it signifies that the spring always pulls or pushes the mass back toward the equilibrium point. This is called a restoring force.

By drawing a free-body diagram of the mass and applying Newton's law, we can derive the equation of motion.

Undamped Mechanical Vibrations & Hooke's Law // Simple Harmonic Motion

Let's see this derivation in action. This video from Dr. Trefor Bazett clearly walks through the steps of combining Hooke's law and Newton's second law to arrive at our target equation.

Watch from the beginning to 2:55. Pay close attention to how the free-body diagram, Hooke's law (F = -kx), and Newton's second law (F=ma) are combined to produce the final differential equation: mẍ + kx = 0.

As the video shows, by setting the sum of forces equal to mass times acceleration, we get:


Rearranging this gives us the standard form of the equation of motion for an undamped, free SDOF system:

3. The Solution and Natural Frequency

This equation is a second-order linear homogeneous ordinary differential equation (ODE). Solving it yields the function that describes the mass's position over time. While we won't go deep into the ODE solution theory, the process reveals the single most important parameter in vibration analysis.

Undamped Mechanical Vibrations & Hooke's Law // Simple Harmonic Motion

Solving the equation of motion reveals the nature of the system's oscillation. This next clip shows the key result of that solution process.

Continue watching from 2:55 to 3:32. The main takeaway here is the introduction of the natural frequency, ωₙ (written as ω₀ in the video), and its definition.

The solution to describes simple harmonic motion. The general form of the solution is:

The key parameter that emerges from the math is the natural frequency, , defined as:

This is the frequency (in radians per second) at which the system will oscillate if displaced from equilibrium and released. It is an intrinsic property of the system, determined solely by its mass and stiffness.

4. The Electrical-Mechanical Analogy

Given your background in electronics engineering, you may have noticed that the equation of motion looks familiar. It is mathematically identical to the equation governing an ideal LC circuit. This is a powerful analogy that can provide great intuition for mechanical systems.

Consider the equation for an LC circuit, derived from Kirchhoff's voltage law:

Since current is the rate of change of charge (i.e., and ), we can write this as:

Now, compare the two equations:

  • Mechanical System:
  • Electrical System:

The analogy is clear:

Mechanical QuantitySymbolElectrical AnalogySymbol
Mass (Inertia)Inductance
Spring StiffnessInverse Capacitance
DisplacementCharge
VelocityCurrent

Just as an inductor resists changes in current, a mass resists changes in velocity (acceleration). And just as a capacitor stores energy in an electric field, a spring stores potential energy by being stretched. We'll see later that mechanical damping is analogous to electrical resistance.

The Electrical-Mechanical Analogue

For a deeper dive into this analogy, this document provides an excellent comparison between a mechanical mass-spring-damper system and an electrical LCR circuit.

Read 'Appendix A: The Electrical-Mechanical Analogue' (pages 8-9). Focus on the direct comparison of the governing equations. You can ignore the damping (R) and forcing (f(t)) terms for now; just solidify the relationship between L and m, and C and k.

5. What About Gravity? The Vertical System

So far, we've used a horizontal system to avoid dealing with gravity. What happens if the mass is hanging vertically from the spring?

Spring-Mass System States and Forces
This diagram illustrates the key positions for a vertical spring-mass system. (a) The spring's unstretched length. (b) The static equilibrium position, where the spring force balances the gravitational force. (c) The dynamic position, displaced by 'y' from equilibrium, which is our coordinate for vibration.

Let's derive the equation of motion for this vertical system.
First, at static equilibrium (position b), the spring stretches by an amount to support the weight of the mass. The forces are balanced:

Now, let's displace the mass by a distance downwards from this equilibrium position (to position c) and apply Newton's second law. The total stretch in the spring is now . Taking downwards as positive:


Distribute the spring term:

From our equilibrium analysis, we know that . Substituting this in, these two terms cancel out:


Rearranging this gives us:

This is the exact same equation of motion as the horizontal case! This is a critical result: for a vertical spring-mass system, if you measure displacement from the static equilibrium position, the effect of gravity is cancelled out, and the analysis is identical to the horizontal system.

Introduction to Vibration in Engineering

This textbook excerpt provides a formal summary of the derivation we just performed for a vertical system.

Review 'Example 1.1.2 Effect of gravity' on page 3. This reinforces the mathematical steps showing how the gravity term disappears from the final equation of motion.

Test your understanding!

An avionics package with a mass of kg is mounted in a transport aircraft on a suspension system that can be modeled as a single spring with stiffness N/m.

  1. Write the equation of motion for the system, assuming it vibrates only in the vertical direction.
  2. Based on this equation, what is the system's natural frequency of vibration, ?
Show answer
  1. Equation of Motion:
    As we've shown, for a vertical system where displacement () is measured from the static equilibrium position, the equation of motion has the standard form:

    Substituting the given values:

  2. Natural Frequency:
    The formula for natural frequency is .

    So, if disturbed, the avionics package will oscillate at a natural frequency of 30 radians per second.

Conclusion

In this lesson, you've taken the first and most important step in understanding mechanical vibrations. We've seen how to simplify a physical object into a basic mathematical model and derive the governing equation that describes its motion.

Key Takeaways:

  • Vibrating systems are often modeled as lumped parameter systems (mass and spring ).
  • The equation of motion for an undamped, single degree-of-freedom system is derived using Newton's Second Law and Hooke's Law, resulting in .
  • The solution to this equation describes simple harmonic motion at the system's natural frequency, .
  • For vertical systems, gravity's effect is nullified if displacement is measured from the static equilibrium position.
  • There is a direct and useful analogy between mechanical (mass-spring) and electrical (inductor-capacitor) systems.

Next Lesson Preview:
Now that we have derived the fundamental equation and the formula for natural frequency, the next lesson will focus on applying these concepts. You will learn to calculate the natural frequency and period for undamped free vibrations in a variety of engineering scenarios, including systems with springs in series and parallel.

Can't find a good explanation? Sign up and we'll make it for you

Sign up