Skip to content
Tactiverge

Textbooks/Mechanical Systems and Dynamics/Chapter 7Lite (plain text) version

7Multi-degree-of-freedom systems and modes

Version 1 · Technically checked (automated checks only) · 4 source lessons · 8 practice items

Text
All chapters and search
  1. 1. Forces, moments and mechanisms
  2. 2. Strength, stiffness and failure
  3. 3. Kinematics of motion
  4. 4. Forces of flight
  5. 5. Dynamics and first-order response
  6. 6. Vibration and damping
  7. 7. Multi-degree-of-freedom systems and modes
  8. 8. Orbital mechanics

Introduction

Two masses joined by springs do not have one natural frequency but two, each with its own pattern of motion called a mode. In one mode the masses swing together; in the other they move against each other. This chapter writes such systems in state-space form, finds their modes from eigenvalues and eigenvectors, builds models from first principles with dimension checks, and designs a modelling investigation before running it.

mmin phase (1, 1): ω = 2 rad/smmopposite (1, −1): ω = 2.449 rad/sω1 = √(k/m), ω2 = √((k + 2kc)/m), k = 4, kc = 1
Figure 7.1. Two masses, two modes. Two equal 1 kg masses between walls, each held by a 4 N/m spring with a 1 N/m spring coupling them. In the first mode they move together, shape (1, 1), at 2 rad/s. In the second they move in opposite directions, shape (1, −1), at 2.449 rad/s, because the coupling spring is stretched.

Explanation

This chapter is built from 4 School lessons. Each part below is the lesson's own explanation; open the lesson for its predict-and-discover activities.

7.1 Mass–spring systems in state space

Why do simulators, controllers and estimators all insist on first-order equations, even for a second-order mass on a spring?

The general recipe

For an nth-order equation, use the output and its first n − 1 derivatives as states. With several masses, use every position and every velocity. With inputs, x′ = Ax + Bu. The state is everything you need to know now to predict the future.

Classifying equilibria

For 2×2 A: det < 0 gives a saddle (one positive and one negative real eigenvalue). det > 0 and tr² > 4det gives a node (two real eigenvalues of the same sign). det > 0 and tr² < 4det gives a spiral (complex pair). tr = 0 with det > 0 gives a centre. Stable if tr < 0 and det > 0.

Eigenvectors in the portrait

For real eigenvalues, the eigenvectors are straight-line trajectories: start on one and you stay on it, moving in or out like e^{λt}. Near a stable node, trajectories arrive along the slower eigenvector, because the faster mode has already died away.

Derivation: From x″ to x′ = Ax, and back to the characteristic equation
  1. Start from m x″ + c x′ + k x = 0. Choose states x₁ = x (position) and x₂ = x′ (velocity).

  2. Then x₁′ = x₂ and x₂′ = x″ = −(k/m)x₁ − (c/m)x₂.

  3. In matrix form: (x₁, x₂)′ = [[0, 1], [−k/m, −c/m]]·(x₁, x₂). Call the matrix A.

  4. det(A − λI) = (−λ)(−c/m − λ) + k/m = λ² + (c/m)λ + k/m. Multiplying by m gives m λ² + c λ + k: the characteristic equation.

  5. So tr A = −c/m (damping) and det A = k/m (stiffness), and the eigenvalues of A are the roots r. Solutions are x(t) = Σ cᵢ e^{λᵢt} vᵢ.

Common mix-ups

  • State-space models are only for control engineers.
    ✓ They are the standard input format for numerical integrators and estimators too.
  • Stable means no oscillation.
    ✓ A stable spiral oscillates while decaying.

Open the full lesson: Mass–spring systems in state space →

7.2 Module check: modal analysis of two masses

Push one of two connected masses and the motion wanders back and forth between them. What hidden simple motions are adding up?

Question → method → evidence

Question: what are the natural motions of the chain? Method: build M and K, solve the 2×2 eigenproblem, interpret. Evidence: animate each mode; check K v = ω² M v by substitution; compare the predicted beat period with what the diagram shows.

Mode shapes

In the low mode the masses move together and the middle spring barely works, so the frequency is low. In the high mode they move in opposition, stretching the middle spring twice as much, so it is stiffer and faster. Unequal masses tilt the shapes: the lighter mass moves more in the higher mode.

Why engineers care

A structure driven at a natural frequency resonates. Modal analysis tells designers where those frequencies are and which parts move most, so they can stiffen, add mass, add damping or move the operating speed away. Mode shapes also show where to place sensors (at large motions) and where not to (at nodes).

Derivation: From Newton's law to an eigenproblem
  1. Chain: wall–k₁–m₁–k₂–m₂–k₃–wall, displacements x₁, x₂ from equilibrium.

  2. Newton for each mass: m₁x₁″ = −k₁x₁ + k₂(x₂ − x₁), m₂x₂″ = −k₂(x₂ − x₁) − k₃x₂.

  3. Matrix form: M x″ + K x = 0 with M = diag(m₁, m₂) and K = [[k₁ + k₂, −k₂], [−k₂, k₂ + k₃]].

  4. Try a synchronous motion x = v cos(ωt). Then −ω²Mv + Kv = 0, i.e. K v = ω² M v, or (M⁻¹K) v = ω² v.

  5. For m₁ = m₂ = m, k₁ = k₃ = k, k₂ = k_c: v = (1, 1) gives ω₁² = k/m; v = (1, −1) gives ω₂² = (k + 2k_c)/m.

  6. Free motion: x(t) = a₁v₁cos(ω₁t + φ₁) + a₂v₂cos(ω₂t + φ₂). Pushing mass 1 alone excites both modes equally, giving beats.

Common mix-ups

  • Each mass has its own natural frequency.
    ✓ The system has natural frequencies; each mode involves both masses.
  • Coupled motion is chaotic.
    ✓ For linear systems it is an exact sum of modes: beats are perfectly predictable.

Open the full lesson: Module check: modal analysis of two masses →

7.3 Models from first principles, and non-dimensionalising

A door closer, a car suspension and a seismometer have different masses, springs and dampers. Why do they share one curve?

A modelling checklist

  1. Purpose: what question must the model answer? 2. System boundary and states. 3. Laws: Newton, Kirchhoff, conservation. 4. Constitutive relations: Hooke's law, linear damping, Ohm's law. 5. Assumptions, written down (small angles, no friction, rigid links). 6. Parameters and units. 7. Checks before trusting it.

Checks before simulating

Units: every term in an equation must have the same units. Limiting cases: c = 0 should conserve energy; k = 0 should give no oscillation; very large c should creep. Conservation: with no damping or input, does energy stay constant? Signs: does a spring pull back, not push away?

Why dimensionless groups help

They reduce the number of experiments or simulations needed, reveal which effects dominate (a tiny group can often be neglected), and let you compare systems of very different sizes. Engineers use them everywhere: Reynolds number in fluids, the damping ratio here, the Biot number in heat transfer.

Derivation: Non-dimensionalising the damped oscillator
  1. Start: m d²x/dt² + c dx/dt + k x = 0, with x(0) = X₀, x′(0) = 0.

  2. Introduce dimensionless variables: ξ = x/X₀ and τ = ω_n t with ω_n = √(k/m). Then d/dt = ω_n d/dτ.

  3. Substitute: m ω_n² X₀ ξ″ + c ω_n X₀ ξ′ + k X₀ ξ = 0, where primes are now d/dτ.

  4. Divide by k X₀ (and use m ω_n² = k): ξ″ + (c ω_n / k) ξ′ + ξ = 0.

  5. c ω_n / k = c / √(km) = 2ζ. So ξ″ + 2ζ ξ′ + ξ = 0 with ξ(0) = 1, ξ′(0) = 0: one parameter, ζ.

Common mix-ups

  • A model is right if its simulation looks realistic.
    ✓ Realistic-looking output can come from wrong equations; use units, limiting cases and data.
  • Assumptions are a weakness to hide.
    ✓ Stated assumptions define where the model can be trusted; they are part of the result.

Open the full lesson: Models from first principles, and non-dimensionalising →

7.4 Designing a modal and numerical investigation

You have a two-mass model, two integrators and a week. What exactly will you claim at the end, and what evidence would change your mind?

Question → method → evidence

Question: specific and measurable. Method: state-space model (4 states), analytic modes via K v = ω² M v, simulation with two integrators at several steps. Evidence: frequency or beat-period error against the analytic value, energy drift over a fixed time, observed convergence order.

Pre-commit

Before running anything, write down: parameters (m₁, m₂, k₁, k₂, k₃, initial state), metrics (for example relative error in beat period at t = 200 s, energy drift), step sizes, the decision rule ('we prefer the method with lower energy drift at equal cost, provided its frequency error is below 1%'), and what result would surprise you.

Assumptions to state

Linear springs, point masses, no damping (or a stated small damping), motion along one line, exact parameter values. Simplified educational model: real structures have distributed mass, damping and nonlinear joints, so results describe this model, not a particular machine.

Common mix-ups

  • A project question can be refined after seeing the results.
    ✓ Refining is fine, but report it as a deviation; the confirmatory analysis follows the plan.
  • A simulation result describes the real machine.
    ✓ It describes the model; validation against measurements is a separate step.

Open the full lesson: Designing a modal and numerical investigation →

Worked examples

Mass–spring systems in state space: example 1

Classify x′ = [[1, 2], [3, 0]]x.

Solution

tr = 1, det = 0 − 6 = −6 < 0: a saddle. λ² − λ − 6 = 0 gives λ = 3, −2. Unstable along the λ = 3 eigenvector (1, 1).

Module check: modal analysis of two masses: example 1

m = 1 kg, k = 1 N/m, k_c = 1 N/m. Find both natural frequencies.

Solution

K = [[2, −1], [−1, 2]], M = I. Eigenvalues of K: λ² − 4λ + 3 = 0, so ω² = 1 and 3, giving ω₁ = 1 and ω₂ = √3 ≈ 1.73 rad/s, with shapes (1, 1) and (1, −1).

Models from first principles, and non-dimensionalising: example 1

Check the units of c ω_n / k.

Solution

c: N·s/m. ω_n: 1/s. k: N/m. (N·s/m)(1/s)/(N/m) = 1: dimensionless, as a damping ratio must be.

Models from first principles, and non-dimensionalising: example 2

A pendulum: m L θ″ = −m g sin θ − b L θ′. State two assumptions in this model.

Solution

Point mass on a massless rigid rod; damping proportional to the bob's speed (linear drag); no friction at the pivot beyond that; motion in a plane. (Small angles are not assumed yet: sin θ is still exact.)

Designing a modal and numerical investigation: example 1

Draft a decision rule for comparing semi-implicit Euler and RK4.

Solution

'At equal function evaluations (RK4 with h, semi-implicit Euler with h/4), over 200 s, we will prefer the method with smaller maximum relative energy error, provided both keep the low-mode frequency within 1% of ω₁. If neither meets 1%, we halve h until one does.'

Interactive figures

Figure 7.2 from Mass–spring systems in state spaceSwitch to 'Any 2×2 matrix'. Find settings that give each type: stable node, stable spiral, centre, saddle, unstable spiral. For each, record the signs of tr A and det A and of tr² − 4det.
Can't use the interactive? Read a description instead

In general mode, four sliders set the entries of A. The phase portrait shows direction arrows, trajectories and real eigen-lines; text gives the trace, determinant, discriminant, eigenvalues and the equilibrium type.

Interactive figure (online). Description: In general mode, four sliders set the entries of A. The phase portrait shows direction arrows, trajectories and real eigen-lines; text gives the trace, determinant, discriminant, eigenvalues and the equilibrium type.

Figure 7.3 from Module check: modal analysis of two massesShow Mode 1 and Mode 2 and describe each shape. Then choose 'Push mass 1 only', set the coupling spring to about 0.1 and step time forward. Measure the time for the motion to move fully to mass 2 and compare with half the beat period in the readout.
Can't use the interactive? Read a description instead

The two-mass diagram draws a wall, spring, mass, spring, mass, spring, wall, with mass positions set by the time slider. Chips choose mode 1, mode 2 or 'push mass 1 only'. Text gives both natural frequencies, the mode shapes and, for the push case, the beat period. Play is disabled under reduced motion; a step button advances time.

Interactive figure (online). Description: The two-mass diagram draws a wall, spring, mass, spring, mass, spring, wall, with mass positions set by the time slider. Chips choose mode 1, mode 2 or 'push mass 1 only'. Text gives both natural frequencies, the mode shapes and, for the push case, the beat period. Play is disabled under reduced motion; a step button advances time.

Laboratory

Everything runs in your browser. No kit, nothing mains-powered. Simulations are simplified educational models.

  • Equation Lab exploration

    Equation Lab: Matrices

    Enter a 2×2 stiffness matrix and find the directions that the matrix only stretches: those are the mode shapes.

    Open Equation Lab: Matrices →
  • Studio

    Code Lab

    Simulate the two-mass system from an initial push on one mass and show that the motion is a sum of the two modes.

    Open Code Lab →

Guided practice

Answers are checked on the server; wrong answers get a hint and another try. Signed in, solved items also count towards the source lesson.

Practice 1

For m x″ + c x′ + k x = F(t), which state vector works?

Practice 2

In state space, m = 2 kg and c = 3 N·s/m. What is tr A?

Practice 3

In the higher-frequency mode of two equal masses, the masses…

Practice 4

ω₁ = 1.00 rad/s and ω₂ = 1.10 rad/s. What is the beat period 2π/(ω₂ − ω₁) in seconds?

s

Practice 5

A motor runs at 9.5 rad/s. The structure's modes are at 3 and 10 rad/s. What is the concern?

Practice 6

Which equation is dimensionally consistent (x in m, t in s, k in N/m, m in kg)?

Practice 7

Your damped oscillator code with c = 0 shows energy slowly falling. What should you suspect first?

Practice 8

Which is an assumption of the two-mass model, not a result?

  1. For m x″ + c x′ + k x = F(t), which state vector works?
    • (x, F)
    • (x, x′)
    • (x′, x″)
  2. In state space, m = 2 kg and c = 3 N·s/m. What is tr A?
  3. In the higher-frequency mode of two equal masses, the masses…
    • Move together
    • Move in opposition
    • Do not move
  4. ω₁ = 1.00 rad/s and ω₂ = 1.10 rad/s. What is the beat period 2π/(ω₂ − ω₁) in seconds? (s)
  5. A motor runs at 9.5 rad/s. The structure's modes are at 3 and 10 rad/s. What is the concern?
    • None: 9.5 is not exactly 10
    • Near-resonance with the 10 rad/s mode, especially if lightly damped
    • The 3 rad/s mode, because it is lower
  6. Which equation is dimensionally consistent (x in m, t in s, k in N/m, m in kg)?
    • m x″ + k x = 0
    • m x″ + k x′ = 0
    • x″ + k x = 0
  7. Your damped oscillator code with c = 0 shows energy slowly falling. What should you suspect first?
    • The physics: springs lose energy
    • The integrator or a sign/term error, since c = 0 must conserve energy
    • Nothing: that is expected
  8. Which is an assumption of the two-mass model, not a result?
    • ω₂ > ω₁
    • The springs obey Hooke's law exactly
    • The mode shapes are (1, 1) and (1, −1) for equal masses

Engineering applications

  • Footbridges

    Some footbridges have swayed sideways when crowds walked across, because a mode's frequency was near the rate of people's footsteps. Engineers now check modes against walking frequencies and add dampers where needed.

  • Machine frames

    A machine tool's frame is designed so that no mode lies near the spindle speeds. Modal analysis of the frame model shows which members to stiffen.

Watch

Optional verified videos. Nothing loads from YouTube until you press play.

Shows eigenvectors as the directions a transformation only stretches, the picture behind every eigen-calculation this term.

17 min 15 s · captions on YouTube · source

Nothing loads from YouTube until you press play.

Why engineers write models in state-space form, with intuition before matrices.

14 min 12 s · captions on YouTube · source

Nothing loads from YouTube until you press play.

An overview of the finite element method: splitting a part into small pieces to predict stress.

18 min 36 s · captions on YouTube · source

Nothing loads from YouTube until you press play.

  • Eigenvectors and eigenvalues | Chapter 14, Essence of linear algebra (3Blue1Brown)
  • Introduction to State-Space Equations | State Space, Part 1 (MATLAB)
  • Understanding the Finite Element Method (The Efficient Engineer)

Chapter summary

  • n masses give n modes, each with a natural frequency and a mode shape.
  • Mode shapes are eigenvectors and squared natural frequencies are eigenvalues of the stiffness-to-mass problem.
  • Any free motion is a sum of modes; close frequencies produce beats.
  • First-principles models need dimension checks and limiting cases before any data comparison.

Glossary

Hooke's law (springs)
For a spring within its elastic limit, the force needed to stretch or compress it is proportional to the change in length: F = k × x.
Frequency and period
Frequency is how many cycles happen per second; the period is the time for one cycle. Each is the reciprocal of the other.
Matrix multiplication
Multiplying matrices combines rows of the first with columns of the second: each entry of the result is a dot product of a row and a column.
Degrees of freedom
The degrees of freedom of a mechanism are the number of independent ways it can move. A rigid body free in space has 6: three translations and three rotations.

Definitions from the Field Guide.

Project: Find the modes of a shelf of masses

Model three equal masses in a line joined by springs. Write the stiffness matrix, find the three natural frequencies and mode shapes, and check one mode by simulation. Then change one spring and say which mode moves most.

Deliverables

  • The model and stiffness matrix
  • Frequencies and mode shapes
  • A simulation check and the sensitivity result

Keep your work in your Engineering Journal; it stays private unless you choose to share it.

References

  • Singiresu S. Rao (2017). Mechanical Vibrations, 6th edition. Pearson.
  • J. L. Meriam and L. G. Kraige (2012). Engineering Mechanics: Dynamics, 7th edition. Wiley.

Publication record

Version
1
Status
Technically checked (automated checks only)
Technical review
Automated checks only, last run 2026-11-29. No human, educator or mentor review is claimed.src/content/textbooks/textbooks.test.ts: schema, every lesson, diagram, practice item, video, Field Guide entry, lab and reference resolves; figure numbers recomputed; no practice answers in client payloads.
Written by
Compiled and written by the Tactiverge team with AI assistance, from Tactiverge School lessons that were themselves written with AI assistance.
Licence
All rights reserved by the founders unless a licence is approved.
Corrections
None recorded yet.Spotted a mistake? Use “Report a problem” on any chapter, or see the corrections page.