Visual walkthrough — Finite element method — nodes, elements, stiffness matrix
Everything here assumes only that you know what a length, a force, and a ratio are. Each new idea — stretch, strain, stiffness — is built on the picture before it. If a stretched rubber band and a spring make sense to you, you are ready.
Step 1 — Draw the rod and name its two ends
WHAT. We take one straight rod. We mark its two ends with dots and call them node 1 (left) and node 2 (right). A node is just a tracked point — a place where we agree to measure how far the material has moved.
WHY. We cannot follow every atom in the rod; that is infinitely many numbers. The whole trick of the finite element method is: track only the ends, then fill in the middle with a rule. So the very first act is to pick those two ends.
PICTURE. The rod lies flat. Its natural (unloaded) length is . The left dot is node 1, the right dot is node 2.

Three symbols now have meaning, anchored to the picture:
- — the rod's rest length (the distance between the dots before anything happens).
- — the rod's cross-section area (how thick it is, seen end-on).
- — Young's modulus, a number for how stiff the material is (steel is big, rubber is small). We meet it properly in Step 4; see 3.6.1-Stress-and-strain-in-structural-members.
Step 2 — Describe every inside point with the two end values
WHAT. Pick any point inside the rod, a distance from node 1. Its displacement is a weighted blend of the two end displacements:
Reading it term by term:
- — the left end's movement, the raw quantity we are blending.
- — how much of node 1's movement reaches point . Full () at the left end, fading to at the right.
- — the right end's movement.
- — how much of node 2's movement reaches . Zero at the left, full at the right.
These two weights are the shape functions.
WHY. We need some rule to guess the middle from only the ends. The simplest honest guess is a straight line between the two end movements. A straight line is exactly the linear blend above — and it has the one property we insist on: at each node, the blend gives back that node's own value ( at node 1, and at node 2). Anything fancier is unnecessary for one small rod.
PICTURE. The two shape functions are straight ramps crossing like an X: slides down from to , climbs from to . At every they add to (nothing is lost) — that is called the partition of unity.

Recall Why must
everywhere? If the whole rod slides right by the same amount (so ), no point should move differently: . For this to equal at every , we need . ::: The weights must sum to one so that pure sliding produces pure sliding — no fake stretching.
Step 3 — Measure the stretch: strain
WHAT. Stretch is not "how far did it move" but "how much did it move per length". That per-length stretch is the strain, written . We get it by asking how fast changes as we walk along — the slope of the -versus- line:
Term by term:
- — the derivative: the slope of the displacement line, i.e. change in movement divided by change in position.
- — node 1 moving right un-stretches the rod (pushes the left end toward the right end), hence the minus.
- — node 2 moving right stretches the rod.
- — the gap change spread over the rest length .
WHY the derivative and not something else? Strain answers "how much longer, as a fraction of original length?" That is a rate of change of position along the rod — and the tool that measures rate of change of one quantity against another is the derivative. No other operation gives you "per unit length."
Notice: because is a straight line (Step 2), its slope is the same everywhere. So this element has one constant strain throughout — fine, as long as the element is small.
PICTURE. The straight line has a single slope; that slope is . Stretch (new length old length) old length.

Step 4 — Turn stretch into internal push/pull: Hooke's law
WHAT. A stretched rod pulls back. The internal pull-per-area is the stress , tied to strain by Hooke's law:
- — internal force spread over the cross-section (force ÷ area).
- — Young's modulus: the material's stiffness constant. Bigger ⇒ more stress for the same stretch.
- — the strain from Step 3.
Then the total internal force is stress times how much area is pulling:
- — the cross-section area; a thicker rod carries more total force at the same stress.
- The bundle is the rod's spring constant — stiffness (material stiffness thickness) ÷ length.
WHY. For small stretches, real materials behave like a linear spring: double the stretch, double the pull. Hooke's law is the mathematical statement of that straight-line behaviour, and it is what lets a whole continuous rod be replaced by a single number — a plain spring. Compare with 3.6.1-Stress-and-strain-in-structural-members.
PICTURE. The rod is redrawn as a coil spring of stiffness . Longer rod = softer spring; thicker or stiffer material = stronger spring.

Step 5 — Balance forces at each end (Newton's third law)
WHAT. The element pulls on its nodes; by reaction the nodes feel forces . Write what each end feels:
- — if node 2 is ahead of node 1, the rod is stretched and pulls node 2 back left... wait: here is the force the node must supply to hold that stretched state, so it points outward. Sign convention: a stretched rod needs outward forces at both ends to keep it stretched.
- — equal and opposite. Whatever we push on one end, the other end feels the mirror image.
WHY the opposite signs? Newton's third law. The rod cannot invent force; every pull on node 1 is matched by an equal pull on node 2 in the opposite direction. That is why always, and it is the deep reason the matrix rows will each sum to zero.
PICTURE. Two arrows on the ends of the spring: for a stretched rod they point away from each other; for a squashed rod they point toward each other. Same size, opposite directions.

Step 6 — Pack the two equations into one matrix
WHAT. Expand the two force equations: Stack them and factor out :
Reading the matrix as a grid of influences, = force at node caused by a unit movement of node :
- top-left : move node 1 right by one unit ⇒ force at node 1 (it resists).
- top-right : move node 2 right by one unit ⇒ force at node 1 (it gets pulled along).
- bottom row: the mirror, by Newton's third law.
WHY a matrix? Because two forces depend on two displacements, and every force depends on both displacements. A matrix is exactly the bookkeeping device for "each output built from every input." The clean split into a constant number times a pure pattern shows the geometry of connection (the pattern) separated from the material size (the number).
PICTURE. A 2×2 grid whose cells are coloured by sign — orange for , teal for — with an arrow from each column (a displacement) to each row (the force it produces).

Step 7 — The degenerate case: why cannot be inverted
WHAT. Slide the whole rod right by the same amount: . Plug in: Zero force from a nonzero motion. The determinant is
WHY this matters. A rigid slide stretches nothing, so it stores no energy and needs no force — this is a rigid body mode. Mathematically it means many displacement states give the same (zero) force, so we cannot undo to recover a unique . The cure, applied in the parent note's assembly, is a boundary condition: pin at least one node so sliding is forbidden. Only then does the reduced matrix become invertible.
PICTURE. The rod floating in space with both arrows equal — it drifts, no spring stretch, no restoring force. A ghost copy shows it pinned at node 1, now well-behaved.

The one-picture summary
WHAT. One diagram walks the whole chain: two dots → a straight blend → a slope (strain) → a spring pull (stress×area) → equal-and-opposite end forces → the 2×2 matrix, with the zero-determinant rigid slide hanging off the side.
This same recipe, with fancier shape functions and more DOFs, produces the beam, shell, and solid matrices used in 3.6.12-Modal-analysis-and-natural-frequencies, 3.6.5-Buckling-of-columns-and-shells, and 3.7.4-Thermal-analysis-of-spacecraft-components.
Recall Feynman retelling — say it back in plain words
We had a rod and we refused to track every point, so we tracked only its two ends and their movements . To fill in the middle we drew a straight line between the two end movements — that's the shape-function blend. The slope of that line tells us how much the rod stretched per unit length; that's the strain. Multiply the strain by the material stiffness to get the internal stress, and by the area to get the total pull; that's a plain spring with stiffness . A stretched spring pushes its two ends outward with equal and opposite force, which is just Newton's third law. Writing "force at each end in terms of movement at each end" needs a little 2×2 grid — and out pops . The 's are a node resisting its own motion; the 's are a node being dragged by its neighbour. Finally, if you slide the whole rod without stretching it, you feel no force at all — so the matrix has determinant zero and can't be inverted until you pin the rod down.
Prerequisites revisited: 3.6.1-Stress-and-strain-in-structural-members · 2.4.8-Numerical-methods-for-differential-equations Where this leads: 3.6.12-Modal-analysis-and-natural-frequencies · 3.6.5-Buckling-of-columns-and-shells · 3.7.4-Thermal-analysis-of-spacecraft-components