Last reviewed 16 Sept 2026 · 6 min read
Why matrices
Classical methods become unwieldy for large structures. Matrix methods write the same principles — equilibrium, compatibility and member force–displacement laws — in a systematic form that a computer can solve for thousands of unknowns. Every structural analysis program (STAAD, ETABS, SAP) uses the stiffness method.
Flexibility and stiffness
For a structure with coordinates (directions of forces/displacements) :
- Flexibility coefficient = displacement at coordinate due to a unit force at coordinate (all other forces zero).
- Stiffness coefficient = force at coordinate required to produce a unit displacement at coordinate with all other displacements held at zero.
- Both and are square and symmetric (Maxwell's reciprocal theorem).
- Diagonal elements are positive.
- of a stable, supported structure is positive definite (non-singular); the stiffness matrix of an unsupported element or structure is singular (rigid-body motion is possible).
- The flexibility matrix exists only for a stable structure with the chosen coordinates.
Force (flexibility) method in matrix form
Choose redundants . With the released structure:
The unknowns equal the degree of static indeterminacy. Selection of redundants is not unique and affects convenience.
Stiffness (displacement) method
Unknowns are joint displacements — their number equals the degree of kinematic indeterminacy. The procedure is automatic and does not require choosing redundants, which is why it dominates software.
Element stiffness matrices (local coordinates)
Axial (truss) element, length , area :
Beam element (coordinates: transverse displacement and rotation at each end, ):
Reading the rotation terms: at the near end and at the far end (carry-over ½); translation gives moments and shears — the same numbers as in slope deflection.
Plane frame element — 6×6: combines the axial matrix (terms ) and the beam matrix.
Beam element for rotations only (translations restrained, common in hand problems):
Transformation to global coordinates
For an inclined truss member at angle with , :
In general .
Assembly, boundary conditions and solution
- Number joints and degrees of freedom; list each element's global DOF numbers.
- Assemble by adding each element's global stiffness terms into the rows and columns of its DOFs (direct stiffness method).
- Form the load vector : joint loads plus equivalent joint loads from member loads (negative of fixed-end forces).
- Apply boundary conditions: delete rows and columns of restrained DOFs (or use a large number on the diagonal).
- Solve .
- Member forces: (fixed-end forces added back).
- Reactions from the restrained rows.