Intuition The One Core Idea
A big structure is just many small springs glued together at shared points. Assembling the global stiffness matrix means writing one giant "spring law" for the whole structure by adding up each little spring's stiffness wherever two springs share a point. Everything on this page exists to make that one sentence precise.
Before you can read the parent note Assembling Global Stiffness , you must be able to read every squiggle in it without stopping to guess . This page introduces each symbol from absolute zero: what it means in plain words, what picture it stands for, and why the topic cannot do without it. Read top to bottom — each idea leans on the one above it.
Push on a spring, it pushes back. Push twice as hard, it stretches twice as far (for small pushes). That "how hard it pushes back per unit stretch" is stiffness . A whole spacecraft bracket behaves like thousands of tiny springs wired together — that is the entire mental model.
Look at the figure. On the left, a single spring: pull the right end by an amount u (in metres), and it pulls back with a force F (in newtons). The straight line on the graph says F = k u . The slope k is the stiffness. On the right, three springs joined end to end — this is the seed of a finite element mesh .
k
The number that answers: "How much force do I get back per unit of stretch?" Units: newtons per metre (N/m ). A stiff thing (thick steel) has large k ; a floppy thing (thin rubber) has small k .
This is the whole idea behind Element Stiffness Matrices and behind Finite Element Method Overview : replace a continuous solid with a network of these little stiffnesses.
u
How far a point moves from where it started, and in which direction. The letter == u == (from the Latin displacement ) is the standard symbol. If node 2 slides 0.3 mm to the right, we write u = 0.3 mm .
But a point in space can move in more than one way. That is what a degree of freedom captures.
The figure shows the three cases side by side. The little arrows are the DOFs — each arrow is one number the solver must find.
Intuition Why we count DOFs so carefully
Every DOF is one unknown number the computer must solve for. If your mesh has N DOFs total, your final system of equations is N equations in N unknowns. N is literally the size of the matrix K .
The symbol u x means ::: displacement of a node in the x -direction.
The symbol θ z means ::: rotation of a node about the z -axis.
We have many DOFs, so we stack their numbers into lists and grids.
Definition Vector (bold lowercase, e.g.
u )
A vertical list of numbers. u holds all the displacement unknowns of the whole mesh, one slot per DOF. F holds all the applied forces the same way. The bold font signals "this is a stack of numbers, not a single one."
Definition Matrix (bold uppercase, e.g.
K )
A grid of numbers with rows and columns. It is a machine that turns one vector into another. Feeding a displacement vector into K produces the force vector: Ku = F .
Ku = F says
It is the multi-spring version of F = k u . On the left K (the stiffness grid) multiplies u (all the stretches); the result equals F (all the pushes). Solving the structure means running this backwards: given the forces F , find the displacements u .
How matrix × vector works (you must be able to read this): row i of K is multiplied entry-by-entry with u and summed to give entry i of the output:
F i = ∑ j K ij u j
∑ (capital Greek sigma)
"Add up." j ∑ K ij u j means: let j run over every column, multiply K ij by u j , and add all those products. It is just shorthand for a long "+ + +".
K ij
Two labels: i = which row , j = which column . So K 23 is the entry in row 2, column 3. Physically: the force appearing at DOF 2 when DOF 3 is displaced by one unit and everything else is held fixed.
K ij in plain words is ::: the force at DOF i caused by a unit displacement of DOF j .
Each element (each little spring/bar) is easiest to describe along its own axis . But the whole structure lives in one shared frame. Two vocabularies:
Definition Local coordinates
The element's private frame, usually with one axis pointing along the bar. In this frame the bar's stiffness is simple (see the L E A formula in the parent).
Definition Global coordinates
The single shared x –y –z frame of the whole structure. All nodes and all final answers are expressed here.
Definition The superscript
( e ) — as in k ( e )
"Belonging to element number e ." Lowercase k ( e ) = the element's stiffness grid. Uppercase K = the whole structure's stiffness grid. The bracket ( e ) is a label, not a power — you never multiply by it.
k ( e ) is not "k raised to the e "
The parentheses mean "this is element e 's copy." k ( 1 ) and k ( 2 ) are two different elements' matrices, not powers.
The job of translating from a local frame to the global frame is handled by Coordinate Transformations in FEM ; the little numbers E , A , L inside k ( e ) come from Element Stiffness Matrices .
These three letters set how stiff a single bar is.
E — Young's modulus
How hard the material resists stretching. Steel has large E , aluminium smaller, rubber tiny. Units: pascals (Pa = N/m 2 ).
A — cross-sectional area
How thick the bar is (area of its cut face). A fatter bar is stiffer. Units: m 2 .
L — length
How long the bar is. A longer bar stretches more for the same force, so it is less stiff. Units: m .
The figure shows how L E A responds: thicker ⇒ steeper line (stiffer), longer ⇒ flatter line (softer).
Definition Connectivity (topology)
A little table saying "element e joins global node ___ to global node ___." It is how the computer knows where to drop each element's numbers into the big grid.
In the figure, element 1 connects global nodes 1 and 2; element 2 connects nodes 2 and 3. Node 2 is shared . That sharing is the whole reason we add contributions — and why K 22 comes out doubled in the parent's worked example.
Intuition Why connectivity is the key to assembly
Assembly = "each element hands its small stiffness numbers to the big matrix, filed under the global DOF numbers it touches." Without the connectivity table you would not know which rows and columns to file them under. The mapping "local DOF → global DOF" is captured formally by the Boolean localization matrix L ( e ) in the parent note: a grid of 0s and 1s that simply picks out the right slots.
The role of L ( e ) is to ::: select which global DOFs belong to element e (a table of 0s and 1s).
Three final vocabulary items the parent leans on:
The practical assembly move: take each small entry k ij ( e ) and add it onto the big-matrix slot K g i , g j that its global DOFs point to. "Scatter" because the small block's numbers are sprinkled into scattered locations of the big grid; "add" because shared DOFs receive contributions from several elements.
K ij = K j i — the grid is a mirror image across its diagonal. It reflects a physical fact (Maxwell–Betti reciprocity): the force at i from a push at j equals the force at j from a push at i .
Almost all entries of K are exactly zero, because a DOF only "feels" other DOFs in the same element . Storing only the non-zeros is the subject of Sparse Matrix Storage , and it decides whether you use Direct vs Iterative Solvers .
Definition Positive semi-definite
The energy phrase: u T Ku ≥ 0 for every u — you can never store negative strain energy. It equals zero only for rigid-body motions (whole structure drifts without stretching). Pinning down some DOFs — Boundary Conditions in FEM — removes those free drifts and makes K invertible.
"Sparse" means ::: nearly all matrix entries are zero.
A rigid-body mode is ::: a motion that moves the whole structure without stretching any element (zero strain energy).
Assemble global stiffness
Properties symmetric sparse PSD
Each box is one thing this page defined; the arrows show what feeds what. The bottom box is the parent topic.
Test yourself — cover the right side and answer before revealing.
Meaning of stiffness k ::: force returned per unit stretch, units N/m.
Meaning of a DOF ::: one independent way a node can move (or rotate).
How many DOFs a free 3D node has ::: 6 (three translations, three rotations).
What u and F hold ::: stacked displacements and stacked forces for every DOF in the mesh.
What Ku = F says ::: the multi-spring version of F = k u for the whole structure.
What the subscript in K ij means ::: row i , column j — force at DOF i from unit displacement at DOF j .
What the ∑ symbol means ::: add up the listed terms.
What ( e ) in k ( e ) means ::: "belongs to element e ", a label not a power.
Difference between local and global coordinates ::: local = along the element's own axis; global = the one shared frame of the whole structure.
What E , A , L stand for ::: Young's modulus, cross-sectional area, length.
Value of a single bar's stiffness ::: E A / L .
What connectivity tells you ::: which global nodes each element joins.
What scatter-add does ::: adds each element's small entries into the global matrix at the right global DOF slots.
Why K 22 can come out doubled ::: node 2 is shared by two elements, so both contribute and we sum.
What "sparse" means ::: almost every entry is zero.
What positive semi-definite means physically ::: strain energy is never negative; zero only for rigid-body motion.