Structural Engineering / Structural Analysis / Part 11 of 13

Matrix Method of Analysis

Converted from handwritten notes — STRANLY 11.pdf, pages 1–29 (partitioned from Structure analysis.pdf, pages 237–265)

Doc No.STRANLY-11
StatusDraft — Awaiting Review
Converted22-08-2026
Approved—

Two Methods of Analysis

  1. Flexibility matrix method
  2. Stiffness matrix method

Flexibility Matrix Method — Steps

P1 w 1 2 3

Propped continuous beam with real loads P1, w, P2 and three redundant support reactions.

  1. Calculate Ds of the structure and choose the redundant forces.
  2. Assign co-ordinates to each of the redundant directions.
  3. Remove the redundant and calculate deflections at the location of each co-ordinate, in its direction, due to external loads (Δ1, Δ2, Δ3).
  4. Apply redundant forces (R1, R2, R3, each in turn = 1) and calculate the deflection in every co-ordinate direction. fij → deflection in the direction of i due to unit load applied in direction j — the element of the ith row, jth column of the flexibility matrix.
δ1=f11R1+f12R2+f13R3 δ2=f21R1+f22R2+f23R3 δ3=f31R1+f32R2+f33R3

The final deflections at co-ordinate locations are D1, D2, D3:

D=Δ+FR R=F−1D−Δ

[F] → flexibility matrix.

Determination of the Flexibility Matrix

  1. Order of the matrix = number of co-ordinates chosen for analysis = Ds.
  2. fij = fji — from Maxwell's reciprocal theorem. The flexibility matrix is a square, symmetrical matrix.
  3. Main diagonal elements are always positive.
  4. The flexibility matrix can be obtained only for stable structures.
  5. All elements of the flexibility matrix are displacements.

To obtain the jth column of the flexibility matrix, apply a unit load in the jth co-ordinate direction and find the deflections in all co-ordinate directions.

Worked Example 1 — Cantilever Flexibility Matrix

1 2 3 l, A, E, I

Cantilever length l, A, E, I; tip co-ordinates: 1 = axial, 2 = moment, 3 = transverse force. Find the flexibility matrix.

Matrix is 3×3. 1st column (unit axial load): f11 = PL/AE = L/AE, f21 = 0, f31 = 0. 2nd column (unit moment): f12 = 0, f22 = L/EI, f32 = −L²/2EI. 3rd column (unit transverse force): f13 = 0, f23 = −L²/2EI, f33 = L³/3EI.

L/AE00
0L/EI−L²/2EI
0−L²/2EIL³/3EI

Worked Example 2 — Propped Beam Flexibility Matrix

1 2 3 l/3 l/3 l/3

Cantilever length l, EI constant, three co-ordinates spaced at l/3 along the span. Find the flexibility matrix.

f11=1×l333EI=l381EI f21=1×l333EI+1×l322EI×l3=5l3162EI f31=1×l323EI+1×l322EI×2l3=4l381EI f22=1×2l333EI=8l381EI,f32=14l381EI,f33=l33EI
l³/81EI7l³/162EI4l³/81EI
5l³/162EI8l³/81EI14l³/81EI
4l³/81EI14l³/81EIl³/3EI

Second beam — cantilever with a mid-span propped joint

1 2 3 l/2 l/2

EI constant, three co-ordinates: rotation at A (1), transverse reaction at mid-span roller B (2), rotation at C (3).

l/3EI−l²/16EIl²/6EI
−l²/16EIl³/48EI−l²/16EI
l²/6EI−l²/16EIl/3EI

Stiffness Matrix Method

P=P′+KΔ

[P′] → fixed-end moments. [K] → stiffness matrix. [Δ] → unknown joint displacements.

MAB=MFAB+4EIθAl+2EIθBl−6EIδl2
MABMBA=MFABMFBA+4EIl2EIl−6EIl22EIl4EIl−6EIl2θAθBδ

Properties of the Stiffness Matrix

All properties are the same as the flexibility matrix, except that its elements are forces, not displacements. Kij → force developed in co-ordinate direction i due to unit displacement given in co-ordinate direction j, without giving displacement in any other co-ordinate direction — the element of the ith row, jth column of the stiffness matrix.

To obtain the jth column of the stiffness matrix, give a unit displacement in the jth co-ordinate direction without giving displacement in any other co-ordinate direction, and find the forces developed in all co-ordinate directions. Order of the stiffness matrix = Dk = number of elements chosen for analysis.

Worked Example 3 — Cantilever Stiffness Matrix

1 2 3

Same cantilever as Worked Example 1, but co-ordinate 2 is now the transverse force and co-ordinate 3 the moment. Find the stiffness matrix (3×3).

1st column (unit axial displacement): K11 = AE/l, K21 = 0, K31 = 0. 2nd column (unit rotation at tip): K12 = 0, K22 = 4EI/l, K32 = 6EI/l². 3rd column (unit transverse displacement): K13 = 0, K23 = 6EI/l², K33 = 12EI/l³.

AE/l00
04EI/l6EI/l²
06EI/l²12EI/l³

Worked Example 4 — Two-Span Beam Stiffness Matrix

1 2 2I, l I, l 2I, l

Fixed at both outer ends, roller supports at the two interior joints — co-ordinates 1, 2 are the rotations there. EI as marked. Find the stiffness matrix.

K11=4E(2I)l+4EIl=12EIl,K12=2EIl K22=12EIl,K21=2EIl
12EI/l2EI/l
2EI/l12EI/l

Two-storey frame with EI → ∞ beams

1 2 I, l I, l I, l I, l

Both beams EI → ∞ (rigid) — columns fixed at base. Co-ordinates 1, 2 are the storey sways. Find the stiffness matrix for this global system.

A unit sway at level 1 (both columns of that storey deflect 12EI/l³ each, summing at the joint): K11 = 24EI/l³, K21 = −24EI/l³. A unit sway at level 2: K12 = −24EI/l³, K22 = 48EI/l³ (top storey plus the reaction transmitted from the storey below).

24EI/l³−24EI/l³
−24EI/l³48EI/l³

Worked Example 5 — Portal Frame Stiffness Matrix (Dk = 3)

1 2 3

Simple portal — co-ordinate 1 is sway, 2 and 3 are the joint rotations at the beam-column corners. Find the stiffness matrix.

24EI/l³−6EI/l²−6EI/l²
−6EI/l²8EI/l2EI/l
−6EI/l²2EI/l8EI/l

Portal with a pinned column base

1 2

By the conjugate-beam approach, an applied moment M at the pinned base with M/EI · L span gives θ = ML/3EI + ML/6EI = ML/EI, so M = EIθ/L for the pinned column.

12EI/l³6EI/l²0
6EI/l²5EI/l−EI/l
0−EI/lEI/l

Analysis of a Truss by the Stiffness Method

40 kN 60 kN A (30°) B (45°) C (90°) D (60°) O

Four members OA, OB, OC, OD converge at joint O, all other ends fixed. A = 1000 mm², E = 200 kN/mm² for all members. OC = 2.5 m (vertical). Loads at O: 40 kN horizontal, 60 kN vertical (downward). Dk = 2 — assume Δx, Δy at O as the unknown displacements.

For member OD (l = 2.5/sin60°, inclined at 60° to the horizontal), the elongation from the joint displacements resolved along the member axis:

ΔlOD=Δysin60−Δxcos60=3Δy−Δx2 POD=AElODΔlOD=AE103Δy−3Δx

Similarly for OC (vertical, 90°), OB (45°) and OA (30°):

POC=AE2.5Δy POB=AE5Δx+Δy POA=AE103Δx+Δy

Joint equilibrium at O (∑Fx = 0, ∑Fy = 0), resolving each member force along the horizontal and vertical:

PODcos60−POBcos45−POAcos30+40=0 PODsin60+POC+POBsin45+POAsin30−60=0
Δx=0.465 mm,Δy=0.310 mm
MemberForce (kN, all tensile)
OD22.498
OC24.80
OB31.00
OA22.30

Same Truss — by the Stiffness Matrix Method

θOD = 60°, θOC = 90°, θOB = 135°, θOA = 150° (all measured from the positive x-axis at O). Two co-ordinates (Δx, Δy) ⇒ stiffness matrix is 2×2.

1 · cosθi 1 · sinθi θi (1)

Unit displacement resolved along member i, giving elongation Δl = cosθi (1st column) and sinθi (2nd column).

K11=∑i=1nAiEilicos2θi,K21=∑AiEilicosθisinθi K22=∑AiEilisin2θi
K11=AEcos2602.5sin30+cos2902.5+cos21352.5sin45+cos21502.5sin30=75.60 kN/mm K21=K12=−15.604 kN/mm,K22=170.24 kN/mm
75.6−15.604−15.604170.24Δ1Δ2=40−60
Δ1=0.465 mm,Δ2=−0.309 mm

−60 is taken negative because it is in the direction opposite to the chosen co-ordinate direction. Matches the equilibrium-method result closely.

Member forces from the general elongation formula

Δl (elongation)=(Δ1α−Δ2β)cosθi+(Δ2α−Δ2β)sinθi

α, β are the two ends of the member — this generalizes to any relative displacement between the ends, not just one end fixed.

MemberForce from stiffness method
OB30.96 kN (tension)
OA22.31 kN
OC24.80 kN
OD2.431 kN (see note below)
Flagged for Kishan — source discrepancy The source computes POD via −Δ1cos60° − Δ2sin60° and reports 2.431 kN, but the equilibrium-method result for the same member two pages earlier is 22.498 kN, and OA/OB/OC agree closely between both methods (22.31≈22.30, 30.96≈31.00, 24.80=24.80). This looks like an arithmetic or unit slip specific to POD in the source notes — reproduced here faithfully as written, but flagged rather than silently corrected.

General Truss-Member Stiffness Coefficients

1 · cosθ 1 · sinθ θ (1)

Derivation of the fundamental member stiffness terms for a single truss member at angle θ to co-ordinate 1 (horizontal), used to build up Kij by summing over all members meeting at a joint.

Δl=1⋅cosθ,P=AElΔl=AElcosθ
K11=AElcos2θ,K21=−AElsinθcosθ

Each member contributes AE cos²θ/l (or the sin/cos cross term) to the corresponding joint stiffness coefficient; summing over every member meeting at the joint builds the full [K] used above.