Structural Dynamics / Two-degree-of-freedom systems
Coupled motion and the matrices
Assemble two floor balances using relative storey movement.
Lesson review: expert verification remains open
This lesson has received a full-context editorial review and a check of its technical explanations. Selected arithmetic has been checked separately. This is not independent engineering sign-off.
Checks needed for project use
- A dynamics reviewer must confirm excitation models, damping, modal assumptions and any comfort or serviceability interpretation. Small displacement alone is not an acceptance criterion.
- Independent validation of the associated interactive implementation, input domain and project applicability remains required; this review checks lesson context and selected calculations, not design certification.
- Validate reduction assumptions, mass distribution and damping before using modal predictions.
- Validate the shear-building idealisation, mass coupling and modal response against a physical load-path model.
These are educational models and exercises. Check their assumptions before using the results. The full technical content and every diagram have not yet been independently verified.
Concrete and steel calculations retain their stated first-generation Eurocode teaching basis. Use the standards and amendments specified for your project; do not mix generations without an appropriate design basis.
Read the lesson register and outstanding review notesWhy this matters
In a two-storey building, moving one floor deforms springs connected to the other. Write each floor’s force balance first; the matrix then records those physical connections.
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
Storey deformation is a difference of floor movements
Increase the imposed floor movements and compare their difference.
Displacements exaggerated. Geometry and movement are schematic; use the lesson calculations for numerical results.
- Lower storey
- Its deformation is u₁ because the base is fixed.
- Upper storey
- Its deformation is u₂ − u₁. Equal floor movements leave this storey undeformed even though both floors move.
What you should already know
- The equation of motion for one degree of freedom (Module 3)
- The shear-building idealisation (Module 2)
- Matrix multiplication
Form the two equations
Let u₁ and u₂ be floor translations from a fixed base. The lower storey deforms by u₁ and the upper storey by u₂−u₁. For the upper floor, m₂ü₂ + k₂(u₂−u₁) = F₂. For the lower floor, m₁ü₁ + k₁u₁ − k₂(u₂−u₁) = F₁.
Collecting coefficients gives a diagonal lumped mass matrix and stiffness matrix [[k₁+k₂, −k₂], [−k₂, k₂]]. Move only floor 1 and both storeys resist; move only floor 2 and the upper storey transfers equal and opposite forces to its ends.
The negative off-diagonal terms express coupling. Symmetry follows for this conservative linear elastic model. More general non-conservative or algorithmic systems can have unsymmetric matrices, so symmetry is a model-specific check rather than a universal property of all dynamic formulations.
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.
Show
Animated
- Floor 1
- Floor 2
- Mode 1 contribution to floor 2
- Mode 2 contribution to floor 2
Show the numbers behind this plot
Mass matrix M(tonne)
| 400 | 0 |
| 0 | 300 |
Stiffness matrix K(MN/m)
| 1000 | -400 |
| -400 | 400 |
- 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%
- 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
- Modal coordinates q₁, q₂ now
- 20.6, 2.16
Two independent routes to the same frequencies.
Zero to machine precision — this is what makes modal analysis possible.
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 and inspect the second mode. A small directional effective mass does not establish that its local acceleration or force can be ignored; check the required response.
- 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
- The upper storey deforms by u₂−u₁, not u₂ alone.
- For the stated shear model, K = [[k₁+k₂, −k₂], [−k₂, k₂]].
- Matrix symmetry is expected for the conservative elastic assembly used here.