TactivergeLite

Lite / Textbooks / Mechanical Systems and Dynamics / Chapter 7

7. Multi-degree-of-freedom systems and modes

Version 1 · Technically checked (automated checks only) · 4 source lessons · Full interactive version

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.

Figure 7.1. Two masses, two modes (described in words)

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

Built from 4 School lessons. Each part is the lesson's own explanation.

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

Open the Lite 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

Open the Lite 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

Open the Lite 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

Open the Lite 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, in words

Figure 7.2 from Mass–spring systems in state space

Switch 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.

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 masses

Show 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.

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.

The interactive versions are in the full chapter.

Laboratory

These run in a browser on the full site (they need a faster connection). Simulations are simplified educational models.

Practice

Each question links to its Lite lesson, where your answer is checked on our server and a wrong answer gets a hint. Answers are never sent to your device.

  1. For m x″ + c x′ + k x = F(t), which state vector works?
    Answer it in “Mass–spring systems in state space”
  2. In state space, m = 2 kg and c = 3 N·s/m. What is tr A?
    Answer it in “Mass–spring systems in state space”
  3. In the higher-frequency mode of two equal masses, the masses…
    Answer it in “Module check: modal analysis of two masses”
  4. ω₁ = 1.00 rad/s and ω₂ = 1.10 rad/s. What is the beat period 2π/(ω₂ − ω₁) in seconds?
    Answer it in “Module check: modal analysis of two masses”
  5. A motor runs at 9.5 rad/s. The structure's modes are at 3 and 10 rad/s. What is the concern?
    Answer it in “Module check: modal analysis of two masses”
  6. Which equation is dimensionally consistent (x in m, t in s, k in N/m, m in kg)?
    Answer it in “Models from first principles, and non-dimensionalising”
  7. Your damped oscillator code with c = 0 shows energy slowly falling. What should you suspect first?
    Answer it in “Models from first principles, and non-dimensionalising”
  8. Which is an assumption of the two-mass model, not a result?
    Answer it in “Designing a modal and numerical investigation”

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)

Streaming video uses a lot of data. Everything you need is in the text.

Summary

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. Field Guide
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. Field Guide
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. Field Guide
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. 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

Write it up on paper or in your own notes. Lite never stores what you write.

References

← 6. Vibration and damping8. Orbital mechanics →