Civil Engineering‹›⌂ 0:00 studied

Module 6 · 7 min read · Free chapter

Matrix stiffness method and approximate analysis of frames

In short

The stiffness matrix links joint forces to displacements and is the inverse of the flexibility matrix; both are symmetric. A truss member has stiffness AE/L and a beam element uses 12EI/L³, 6EI/L², 4EI/L and 2EI/L. The portal method gives interior columns twice the shear of exterior ones.

What are you preparing for? We show the practice and previous year questions of your exam.

Start from zero: let the computer do the bookkeeping

Slope deflection and moment distribution are fine for a few spans. A real building has hundreds of joints, and nobody distributes moments by hand for it. Engineers needed a method so regular that a computer could follow it without judgement.

The direct stiffness method is that method. Every member is described by a small standard matrix, all the matrices are added into one big matrix, and one set of equations gives every joint displacement. Before computers, engineers relied instead on approximate methods, which guess where moments are zero and then use plain statics.

Why it matters. Questions on stiffness and flexibility matrices, their properties, element stiffness terms, and the portal and cantilever methods appear in AE and GATE papers. BPSC AE Paper 5 lists stiffness and flexibility methods and matrix methods by name. Approximate methods are still used to check software output.

Stiffness and flexibility matrices

For a single spring, force and displacement are linked by F=kuF = ku, or u=aFu = aF with a=1ka = \dfrac{1}{k}. For a structure with many coordinates the same idea becomes matrices:

{P}=[K]{u},{u}=[a]{P},[K]=[a]−1\{P\} = [K]\{u\}, \qquad \{u\} = [a]\{P\}, \qquad [K] = [a]^{-1}

Meaning of the terms.

  • Stiffness coefficient kijk_{ij}: the force at ii when coordinate jj is given a unit displacement and all others are held at zero.
  • Flexibility coefficient aija_{ij}: the displacement at ii due to a unit force at jj.

Properties of the stiffness matrix.

  • It is symmetric, kij=kjik_{ij} = k_{ji}, by Maxwell's reciprocal theorem.
  • Its diagonal terms are always positive: pushing a point makes it resist in the same direction.
  • Before supports are applied it is singular, because the whole structure could move as a rigid body. Applying the boundary conditions removes those rows and columns and makes it solvable.

Why computers prefer stiffness. In the force method you must choose redundants, and many choices exist. In the stiffness method the unknowns are simply the free joint displacements, decided by the model itself. The equations also have a narrow band, which is fast to solve.

Element stiffness matrices

Truss member. A pin-ended bar carries only axial force. Along its own axis, the two end forces relate to the two end displacements by

AEL[1−1−11]\frac{AE}{L}\begin{bmatrix} 1 & -1 \\ -1 & 1 \end{bmatrix}

To place it in a structure, its end displacements are written in global xx and yy directions. With direction cosines l=cos⁡θ=x2−x1Ll = \cos\theta = \dfrac{x_2 - x_1}{L} and m=sin⁡θ=y2−y1Lm = \sin\theta = \dfrac{y_2 - y_1}{L}, the axial displacement is u′=ucos⁡θ+vsin⁡θu' = u\cos\theta + v\sin\theta. The global matrix is AEL\dfrac{AE}{L} times a 4×44 \times 4 matrix built from the block

[l2lmlmm2]\begin{bmatrix} l^2 & lm \\ lm & m^2 \end{bmatrix}

placed on the diagonal and with its sign reversed off the diagonal.

Beam element. With a transverse displacement and a rotation at each end, the stiffness matrix is

[12EIL36EIL2−12EIL36EIL26EIL24EIL−6EIL22EIL−12EIL3−6EIL212EIL3−6EIL26EIL22EIL−6EIL24EIL]\begin{bmatrix} \frac{12EI}{L^3} & \frac{6EI}{L^2} & -\frac{12EI}{L^3} & \frac{6EI}{L^2} \\ \frac{6EI}{L^2} & \frac{4EI}{L} & -\frac{6EI}{L^2} & \frac{2EI}{L} \\ -\frac{12EI}{L^3} & -\frac{6EI}{L^2} & \frac{12EI}{L^3} & -\frac{6EI}{L^2} \\ \frac{6EI}{L^2} & \frac{2EI}{L} & -\frac{6EI}{L^2} & \frac{4EI}{L} \end{bmatrix}

These are exactly the slope deflection numbers: 4EIL\dfrac{4EI}{L} and 2EIL\dfrac{2EI}{L} for rotations, 6EIL2\dfrac{6EI}{L^2} for sway moments, and 12EIL3\dfrac{12EI}{L^3} for the shear needed to push one end sideways.

For a continuous beam on unyielding supports, only rotations are free, so the matrix reduces to

[4EIL2EIL2EIL4EIL]\begin{bmatrix} \frac{4EI}{L} & \frac{2EI}{L} \\ \frac{2EI}{L} & \frac{4EI}{L} \end{bmatrix}

Assembly and solution

Steps of the direct stiffness method.

  1. Number the joints and the degrees of freedom.
  2. Write each member's stiffness matrix in global coordinates.
  3. Add each term into the structure matrix at the position of its degree of freedom.
  4. Form the load vector: joint loads, minus the fixed-end actions of member loads.
  5. Apply the support conditions, solve [K]{u}={P}[K]\{u\} = \{P\}, and find member end forces.

Example. Take again the beam ABC with two 4 m spans, A and C fixed, and 12 kN/m on AB. The only free displacement is the rotation at B. Each span adds its 4EIL=EI\dfrac{4EI}{L} = EI, so

KBB=EI+EI=2EIK_{BB} = EI + EI = 2EI

The fixed-end moment at B from span AB is −16-16 kN·m; the equivalent joint load is its negative, +16+16 kN·m. So

2EIθB=16⇒EIθB=82EI\theta_B = 16 \quad \Rightarrow \quad EI\theta_B = 8

the same result as by slope deflection. Member end moments then follow, such as MAB=16+2EI4θB=20M_{AB} = 16 + \dfrac{2EI}{4}\theta_B = 20 kN·m.

Settlement and temperature. These enter as extra fixed-end actions in the load vector, exactly as in moment distribution. In trusses, a temperature change or a fabrication error gives an initial member force that is turned into joint loads.

Approximate methods for frames and trusses

An approximate method makes one sensible assumption for each redundant. The structure then becomes determinate and statics finishes the job. The results are good enough for preliminary design and for checking computer output.

Vertical loads on building frames. A simply supported beam has zero moment at its ends, and a fixed beam under UDL has zero moment at about 0.21L0.21L from each end. A beam in a frame lies between, so inflexion points are assumed at about 0.1L0.1L from each column. With beam axial force also taken as zero, each beam needs three assumptions.

Horizontal loads. Under wind or earthquake, columns and beams bend in double curvature. Both common methods assume inflexion points (hinges) at mid-height of every column and mid-span of every beam.

  • Portal method: each bay acts like a separate portal, so an interior column takes twice the shear of an exterior column. It suits low, wide frames.
  • Cantilever method: the frame acts like a vertical cantilever, so the axial stress in each column is proportional to its distance from the centroid of the columns in that storey. It suits tall, slender frames.

Example by the portal method. A two-bay, single-storey frame of height 3 m carries a horizontal load of 20 kN at the roof. Column shears are VV, 2V2V and VV, so 4V=204V = 20 and V=5V = 5 kN. Outer columns have end moments 5×1.5=7.55 \times 1.5 = 7.5 kN·m and the middle column 10×1.5=1510 \times 1.5 = 15 kN·m.

Trusses with two diagonals per panel. If both diagonals can carry tension and compression, the panel shear is shared equally. If they are slender bars that buckle easily, the compression diagonal is ignored and the tension diagonal carries all the shear.

Descriptive lens: how this topic is asked in written papers

Written papers test this topic in four ways:

  1. Compare: force and displacement methods, and why the stiffness method suits computers.
  2. State and explain: properties of stiffness and flexibility matrices.
  3. Derive: the stiffness matrix of a truss or beam element and assemble it for a small structure.
  4. Analyse approximately: a multi-bay frame under lateral load by the portal or cantilever method.

Practice questions (our own, not previous-year questions).

  1. Compare the flexibility and stiffness methods of analysis. Why is the stiffness method used in almost all structural software? (10 marks)
  2. Derive the 4×44 \times 4 stiffness matrix of a prismatic beam element and state its properties. (10 marks)
  3. State the assumptions of the portal and cantilever methods. Analyse a two-bay, single-storey frame 3 m high with a 20 kN roof load by the portal method. (15 marks)

Answer plan for question 3.

  • List the hinge assumptions and the shear-sharing rule; mention the cantilever method's axial stress rule.
  • Shears 5, 10 and 5 kN; column moments 7.5, 15 and 7.5 kN·m.
  • Beam moments from joint equilibrium; beam shears from moment about the beam hinge.
  • Column axial forces from beam shears.
  • Sketch the deflected shape with hinges.

Quick revision

  • {P}=[K]{u}\{P\} = [K]\{u\}, {u}=[a]{P}\{u\} = [a]\{P\}, [K]=[a]−1[K] = [a]^{-1}; both symmetric.
  • Free-free [K][K] is singular; diagonal terms positive; supports make it solvable.
  • Truss element: AEL\dfrac{AE}{L}; global block l2l^2, lmlm, m2m^2 with l=cos⁡θl = \cos\theta, m=sin⁡θm = \sin\theta.
  • Beam element terms: 12EIL3\dfrac{12EI}{L^3}, 6EIL2\dfrac{6EI}{L^2}, 4EIL\dfrac{4EI}{L}, 2EIL\dfrac{2EI}{L}.
  • Joint load vector = applied joint loads minus fixed-end actions.
  • Vertical loads: inflexion at 0.1L0.1L (fixed beam 0.21L0.21L); beam axial force zero.
  • Portal method: interior column shear twice exterior; cantilever method: column axial stress proportional to distance from centroid.

Check yourself

Exam-style questions on this chapter. Pick an answer to see the explanation. 0 of 25 answered

  1. The direct stiffness method is a:

  2. The stiffness method is preferred for computer analysis mainly because:

  3. The general method of analysing indeterminate structures by joint displacements is traced back to:

  4. The relation between the stiffness matrix [K] and flexibility matrix [a] of a structure is:

  5. The stiffness coefficient kijk_{ij} is the:

  6. The stiffness matrix of a linear elastic structure is:

  7. The assembled stiffness matrix of a structure before boundary conditions are applied is:

  8. The diagonal elements of a stiffness matrix are always:

  9. The axial stiffness of a truss member of length L, area A and modulus E is:

  10. A truss member runs from node 1 at (0, 0) to node 2 at (3, 4) m. Its direction cosines l and m are:

  11. The local axial displacement u′ of a truss member end in terms of global displacements u and v is:

  12. For a horizontal truss member (θ=0\theta = 0), the global stiffness term linking vertical displacements is:

  13. In the stiffness matrix of a prismatic beam element, the term relating the end shear to a unit transverse displacement at the same end is:

  14. The reduced (rotation only) stiffness matrix of a beam element on unyielding supports is:

  15. A beam element has 2 degrees of freedom at each end (transverse displacement and rotation). The size of its stiffness matrix is:

  16. For the beam ABC (4 m spans, A and C fixed, 12 kN/m on AB), the structure stiffness for the rotation at B is:

  17. In the stiffness method, the equivalent joint load due to member loads is:

  18. For approximate analysis of building frames under vertical loads, the points of inflexion in beams are assumed at about:

  19. In a fixed-fixed beam under UDL, the points of zero moment are at about:

  20. In approximate analysis of a truss with two slender diagonals in each panel, the panel shear is assumed to be carried by:

  21. In the portal method, the shear in an interior column is taken as:

  22. In both the portal and cantilever methods, points of inflexion are assumed at:

  23. The cantilever method of approximate analysis is best suited to:

  24. A two-bay single-storey frame 3 m high carries 20 kN horizontally at roof level. By the portal method, the end moment in each exterior column is:

  25. In the cantilever method, the axial stress in a column of a storey is assumed proportional to:

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

Frequently asked questions

Why is the unrestrained stiffness matrix singular?

Because without supports the structure can move as a rigid body, so the equations have no unique solution.

When is the cantilever method preferred?

For tall, slender frames, where column axial stresses vary with distance from the centroid of the columns.

More in this module: Mechanics and structural analysis

Official sources

Facts in this chapter were checked against these official sources.

  1. BPSC Assistant Engineer syllabus, Paper 5 Civil Engineering
  2. NPTEL Structural Analysis (IIT Kharagpur, 105105109), Lesson 23: The direct stiffness method, an introduction
  3. NPTEL Structural Analysis (IIT Kharagpur, 105105109), Lesson 24: The direct stiffness method, truss analysis
  4. NPTEL Structural Analysis (IIT Kharagpur, 105105109), Lesson 25: The direct stiffness method, truss analysis (continued)
  5. NPTEL Structural Analysis (IIT Kharagpur, 105105109), Lesson 27: The direct stiffness method, beams
  6. NPTEL Structural Analysis (IIT Kharagpur, 105105109), Lesson 35: Indeterminate trusses and industrial frames, approximate methods
  7. NPTEL Structural Analysis (IIT Kharagpur, 105105109), Lesson 36: Building frames, approximate methods