Skip to content
Queensferry

Module 9 · Lesson 9.1

Coupled motion and the matrices

Two masses that cannot move independently, the matrices that describe them, and what every entry physically means.

Why this matters

Everything so far has had one coordinate. Real structures have many, and the step from one to two is where all the new ideas appear — mode shapes, orthogonality, participation, superposition of modes. The step from two to fifty adds nothing conceptual at all; it only adds arithmetic.

So two degrees of freedom is the right place to meet these ideas, because at two the eigenvalue problem is a quadratic that can be solved by hand and checked.

By the end of this lesson you should be able to

  • Write the equations of motion for a two-storey shear building
  • Assemble M and K and say what every entry means
  • Explain what coupling is and which matrix carries it here
  • Recognise when a system is uncoupled and what that implies

What you should already know

  • The equation of motion for one degree of freedom (Module 3)
  • The shear-building idealisation (Module 2)
  • Matrix multiplication

Two floors, two coordinates

Take a two-storey shear building. Floor 1 has mass m₁ and sits on columns of total lateral stiffness k₁. Floor 2 has mass m₂ and sits on columns of stiffness k₂ connecting it to floor 1.

Let u₁ and u₂ be the lateral displacements of the two floors, both measured from the ground.

Write equilibrium for each floor separately

Floor 2 is connected only to floor 1. The columns between them are stretched by the RELATIVE displacement (u₂ − u₁), so:

m₂ü₂ + k₂(u₂ − u₁) = F₂(t)

Floor 1 is connected to the ground below and floor 2 above. The lower columns are deformed by u₁; the upper columns pull back with the force they are carrying, which is k₂(u₂ − u₁) acting in the opposite direction:

m₁ü₁ + k₁u₁ − k₂(u₂ − u₁) = F₁(t)

That is the whole derivation. Two free bodies, two equilibrium equations, and the only subtlety is remembering that a storey's columns respond to the RELATIVE movement of its two ends.

Collect into matrices

Rearranging and writing in matrix form:

[m₁ 0 ] {ü₁} [k₁+k₂ −k₂] {u₁} {F₁} [0 m₂] {ü₂} + [ −k₂ k₂] {u₂} = {F₂}

or simply Mü + Ku = F.

What every entry means

The mass matrix is diagonal. Accelerating floor 1 produces no inertia force on floor 2 — the masses are separate lumps and the inertia of one has nothing to do with the other. This is the lumped-mass assumption of Module 2, and here it is exactly true if the mass really is concentrated at the floors.

The stiffness matrix is not diagonal, and its entries have a precise meaning:

K[i][j] is the force required at i to hold every other coordinate at zero while coordinate j is moved by one unit.

Read that way, each entry can be checked by inspection:

  • K[0][0] = k₁ + k₂. Move floor 1 by one unit while holding floor 2. Both the lower columns and the upper columns are deformed, so both resist.
  • K[1][1] = k₂. Move floor 2 while holding floor 1. Only the upper columns deform.
  • K[0][1] = K[1][0] = −k₂. Move floor 2 by one unit while holding floor 1. The upper columns pull floor 1 upwards in the direction of the movement, so a force of −k₂ must be applied at floor 1 to hold it still.

The symmetry K[0][1] = K[1][0] is not a coincidence. Betti's reciprocal theorem guarantees it, and a stiffness matrix that comes out unsymmetric has an assembly error in it.

Coupling

Two coordinates are coupled when the equation for one contains the other.

Here the coupling is in the stiffness matrix, through the −k₂ terms. Physically: floor 1 cannot move without deforming the columns that hold floor 2, so it cannot move without pushing floor 2.

This is static coupling. A system can also have inertial coupling, where the mass matrix has off-diagonal terms — a consistent-mass beam element, or a floor whose centre of mass is offset from its centre of stiffness. Module 10 meets both.

If both matrices were diagonal, the two equations would be entirely independent and there would be no interesting problem: two separate SDOF systems that happen to be drawn near each other. Modal analysis is the search for a set of coordinates in which that is true.

Try it

Two storeys, two modes

Change one storey and watch BOTH frequencies and BOTH mode shapes move. Nothing in a coupled system changes alone.

tonne
tonne
MN/m
MN/m

Show

mm
mm

Animated

Shear building elevation with 2 storeys, drawn with displacements exaggerated.u₁u₂movement exaggerated
Mode 1 — 0.252 s: storey amplitudes 0.53, 1.00, relative to each other.0.531.00Mode 1 — 0.252 s
Mode 2 — 0.111 s: storey amplitudes -1.41, 1.00, relative to each other.-1.411.00Mode 2 — 0.111 s
t = 0.00 s
Displacement against Time. Floor 1 reaches a peak magnitude of 20 mm. Floor 2 reaches a peak magnitude of 34.1 mm. Mode 1 contribution to floor 2 reaches a peak magnitude of 32.1 mm. Mode 2 contribution to floor 2 reaches a peak magnitude of 2.07 mm.00.10.20.30.40.50.60.70.80.91-30-20-100102030Time (s)Displacement (mm)
  • Floor 1
  • Floor 2
  • Mode 1 contribution to floor 2
  • Mode 2 contribution to floor 2
Displacement against Time. Floor 1 reaches a peak magnitude of 20 mm. Floor 2 reaches a peak magnitude of 34.1 mm. Mode 1 contribution to floor 2 reaches a peak magnitude of 32.1 mm. Mode 2 contribution to floor 2 reaches a peak magnitude of 2.07 mm.
Show the numbers behind this plot

Mass matrix M(tonne)

4000
0300

Stiffness matrix K(MN/m)

1000-400
-400400
T₁
0.252 s
T₂
0.111 s
f₁
3.97 Hz
f₂
9.02 Hz
Frequency separation ω₂/ω₁
2.27
Closed form vs eigensolver
1.4e-14%

Two independent routes to the same frequencies.

Mode 1 effective mass
90.9%
Mode 2 effective mass
9.1%
Mode 1 shape (u₁ : u₂)
1 : 1.88
Mode 2 shape (u₁ : u₂)
1 : -0.71
Orthogonality φ₁ᵀMφ₂
0.0e+0

Zero to machine precision — this is what makes modal analysis possible.

Modal coordinates q₁, q₂ now
20.6, 2.16

Mode 1 has both floors moving the same way; mode 2 has them opposed. Change k₂ alone and watch T₁ AND T₂ both move — in a coupled system there is no such thing as "the stiffness of mode 2".

Things worth doing here

  • Make the upper storey very light. The second mode becomes almost entirely the top floor moving on its own — a local mode with almost no effective mass, which is exactly what a code's 90% mass rule is designed to let you ignore.
  • Make the upper storey very soft. The building becomes a mass on a long soft column, the first period lengthens sharply, and the mode shape shows almost all the deformation in the top storey — a soft-storey mechanism in embryo.
  • Set the initial displacements to match mode 1's shape exactly. Only mode 1 is excited, and the building vibrates in a pure sinusoid. Any other starting shape excites both.

What this shows: A two-degree-of-freedom system has exactly two shapes in which it can vibrate freely without changing shape. Every other motion it can make is a combination of those two.

Worked example

Assembling the matrices for a real two-storey frame

Given

  • Two-storey steel frame, both storeys 3.5 m
  • Floor 1: 320 tonnes. Floor 2 (roof): 240 tonnes
  • Each storey has four columns, I = 2.14 × 10⁻⁴ m⁴, E = 210 GPa, fixed top and bottom

Find

The mass and stiffness matrices, and a check on each entry.

Assumptions

  • Shear building: rigid floors, axially rigid columns, mass at the floors
  • Columns fixed against rotation at both ends, so each contributes 12EI/h³

    Predict first

    In the two-storey shear building above, which matrix entry changes if the UPPER storey is stiffened and nothing else?

    Practice

    A two-storey shear building has k₁ = 80 MN/m and k₂ = 50 MN/m. What is the entry K[0][0], in MN/m?

    Practice

    For the same building, what is the off-diagonal entry K[0][1], in MN/m?

    Summary

    • Two floors, two equilibrium equations, collected as Mü + Ku = F
    • M is diagonal for a lumped-mass model — no inertial coupling
    • K[i][j] is the force at i to hold everything still while j moves one unit
    • K[0][0] = k₁ + k₂, K[1][1] = k₂, K[0][1] = K[1][0] = −k₂
    • Storey forces depend on RELATIVE displacement, which is what creates the coupling
    • K must be symmetric — Betti's theorem, and a check on any assembly
    • A diagonal K for a connected shear building is always an error

    This is educational material. It uses simplified examples to teach principles, and must not be relied on for real design or safety-critical decisions. Module overview and checkpoint