Why does a missing constraint make a matrix singular?
Connect three nodes by 1000 and 2000 N/mm springs. Fix node 1 and apply 100 N at node 3. Solve the two unknown displacements before removing the support conceptually.
Each spring responds to relative displacement. Without a support, translating all nodes equally changes no extension and requires no internal force. The equations then cannot select one absolute position; the missing information is physical, not just a numerical inconvenience.
Connect the physical quantities
Each matrix row is a nodal equilibrium equation; off-diagonal entries connect neighboring degrees of freedom. Before support constraints, a free spring chain can translate without deforming. That rigid motion makes its stiffness singular rather than indicating a numerical malfunction.
The relationship used in this example
A degree of freedom is an independent coordinate used to describe a model. A nodal force vector is work-conjugate to its displacement vector: their dot product has units of work. Matrix assembly sums the force contribution of each connected element at a shared degree of freedom. Before choosing a solver, identify which coordinates are free, prescribed or related by constraints.
Work through the example
Node 3 requires 2000(u3−u2) = 100 N, hence u3−u2 = 0.05 mm.
Node 2 equilibrium then requires 1000u2 = 100 N, so u2 = 0.10 mm.
Add the second extension: u3 = 0.15 mm; energy is ½×100×0.15 = 7.5 N·mm.
Full example conditions and reference values
Connect nodes 1–2 with k1 = 1000 N/mm and nodes 2–3 with k2 = 2000 N/mm. Set u1 = 0 and apply 100 N at node 3. The reduced system is [[3000,−2000],[−2000,2000]] [u2,u3]ᵀ = [0,100]ᵀ. Its solution is u2 = 0.10 mm and u3 = 0.15 mm. Both springs carry 100 N. Substitution into the original system gives a −100 N support reaction and zero free-coordinate residual. Strain energy is 7.5 N·mm; the work of a gradually applied linear load is ½×100×0.15 = 7.5 N·mm.
Compare the numbers before judging the result
| Rigid offset (mm) | u1 (mm) | u2 (mm) | u3 (mm) | Extensions (mm) |
|---|---|---|---|---|
| 0 | 0 | 0.1 | 0.15 | 0.10 / 0.05 |
| 1 | 1 | 1.1 | 1.15 | 0.10 / 0.05 |
The second row changes the prescribed reference position; spring extensions and internal forces remain the same.
What the result means for a model
Constrain only the motions the real support prevents. Arbitrary extra restraints can remove singularity while creating false stiffness. Inspect disconnected components and unit consistency before using numerical stabilization.
Identify the unconstrained motion before adding numerical stiffness. An arbitrary weak spring changes the problem; if used for diagnosis, report its reaction and remove or justify it in the final model.
Another application: Singularity can be a missing restraint
If both springs in the three-node example are left unrestrained, adding the same displacement to every node stretches neither spring. The stiffness matrix therefore has a rigid-translation null mode. No unique absolute displacement exists even if internal extensions can be defined.
Further modeling details
1 · Derive one row from force balance
At node 2 the internal force is k1(u2−u1)+k2(u2−u3). The coefficient of u2 is the sum of connected stiffnesses; the neighboring coefficients are negative. This sign pattern follows the chosen positive coordinate, not a software convention to memorize.
2 · Understand the zero-energy mode
Before fixing a node, equal displacement of all three nodes stretches neither spring. Therefore K[1,1,1]ᵀ = 0 and the full stiffness matrix is singular. A singular stiffness may represent an unconstrained rigid translation or a mechanism; it is not automatically a damaged file.
3 · Impose a nonzero displacement correctly
If u1 = 0.02 mm, preserve the prescribed-displacement contribution on the right-hand side. The solution becomes u2 = 0.12 mm and u3 = 0.17 mm; extensions and reactions are unchanged. Deleting a constrained row and column without modifying the right-hand side only works for zero prescribed displacement.
4 · Interpret the matrix properties
These positive linear springs give a symmetric positive-semidefinite full matrix and a positive-definite constrained matrix. This supports a unique reduced solution. Contact, follower loads, constraints and instability can lead to different algebraic properties. Do not assume every FE matrix is symmetric positive definite.
5 · Engineering interpretation
This chain represents axial load transfer only. It can teach assembly for module joints, but cannot predict pack bending, rotations or the distribution among parallel mounts. Check the physical degrees of freedom before treating a spring analogy as a structural model.
Formula and symbol reference
Open the complete formula reference
| Symbol | Meaning | Unit / convention |
|---|---|---|
| k1, k2 | Two positive spring stiffnesses | N/mm |
| u, f | Nodal displacement and applied force vectors | mm; N |
| f, c (subscripts) | Free and constrained coordinates | index sets |
| rc, U | Support reaction and elastic strain energy | N; N·mm |
When this example stops applying
Two linear, massless, one-dimensional springs with no gaps, friction or preload. Positive stiffness and a fixed reference remove the single rigid translation. This hand calculation is a numerical benchmark, not a calibrated EV assembly.
Check your interpretation
If the end load doubles, how do displacement and elastic energy change?
Show the reasoning
For this linear model displacement doubles: u3 = 0.30 mm. Energy is quadratic and rises fourfold to 30 N·mm. Reactions double. This scaling need not hold after contact or plasticity changes.
Sources and calculation scope
The questions and comparison tables are independently authored teaching examples. Numbers illustrate the stated models; they are not measured cell/pack data or commercial-solver validation.
Comparison calculations (Python)
English / Korean · revised 1 November 2026