Engineering/Mathematics/Preliminaries
Linear Algebra Theorem Map — Applications, Practice and Reference
Linear algebra is not a list of tricks but a directed graph: every major theorem is proved from a small number of earlier ones, and almost every path in that graph passes through the pivot count . This page charts the graph layer by layer, naming what each theorem establishes and what it rests on.
- Core level
- Stream: reference
- Reading time 18 min
- Ref KVS-ENG-MATH-0123
- Taxonomy
- Engineering / Mathematics
- Root results
- Existence and uniqueness of reduced row-echelon form
- Central invariant
- The pivot count , which becomes the rank
- Structure
- Six dependency layers, matrices at the base, transformations at the top
- Hub theorems
- Rank plus nullity, the Goldilocks theorem, the fundamental theorem of matrix representation
- Standing hypotheses
- Complex scalars and finite dimension above layer two
Applications & Industry Use
Library architecture mirrors the layers
The public interface of a dense linear algebra library is stratified in the same way as the dependency chart. Factorisation routines answer layer-one and layer-three questions, rank-revealing decompositions answer dimension questions, and a separate eigensolver family answers layer-four questions at higher cost and with different convergence guarantees. Choosing the correct routine for a problem is exactly the act of locating the problem on the chart.
Machine-checked dependency graphs
Proof-assistant mathematics libraries maintain the dependency graph explicitly: each lemma records the lemmas it invokes, and the build system enforces acyclicity. Refactoring such a library — for instance, deriving the spectral theory without the determinant — is a graph-rewriting exercise whose feasibility is settled by exactly the dependency questions this chart answers.
Rank tests versus spectral tests
Controllability and observability are decided by the rank of a block matrix — a layer-three question settled by one factorisation, with no eigenvalues involved. Stability, modal decomposition and pole placement are layer-four questions requiring the spectrum. Recognising which of the two a design review is asking prevents both unnecessary eigensolves and misplaced confidence in a rank test that says nothing about dynamics.
One stiffness matrix, two different layers
The degree of static indeterminacy of a frame is a rank question about the equilibrium matrix, answered by elimination. Buckling loads and vibration modes of the same structure are eigenvalue questions about the stiffness and mass matrices. The two analyses share input data but occupy different layers, with different costs, different solvers and different sensitivity to modelling error.
Collinearity diagnostics at the right depth
Exact redundancy among predictors is a rank-layer property, detected by a pivoted factorisation that also names which columns are redundant. Near-redundancy and its effect on estimator variance are spectral properties, described by singular values and the condition number. Reporting a rank when the question was about conditioning — or the reverse — is a layer confusion that produces confidently wrong model diagnostics.
Sequencing a curriculum along the graph
A topological ordering of the dependency graph is a valid teaching order, and the edges are the genuine prerequisites. Competency frameworks built on the graph can state precisely which earlier results a learner must hold before a given result is meaningful, and assessment items can be traced to the specific edges they exercise rather than to a chapter number.
Design Considerations
Answer at the lowest layer that settles the question
Lower layers have weaker hypotheses, lower cost and better numerical behaviour. Deciding whether a square system has a unique solution needs one elimination; it does not need a determinant, an inverse or a spectrum. Every layer climbed adds hypotheses that must be checked and arithmetic that can go wrong.
The determinant is a certificate, not a method
In the dependency chart the determinant sits between the rank layer and the eigenvalue layer, and its role is to connect them: it turns a singularity question into a polynomial root question. It is not a competitive computational tool. Cofactor expansion costs , and even computed by factorisation the determinant overflows or underflows for moderate and carries no information about conditioning.
The scalar field is load-bearing above layer three
Layers zero to three are valid over any field: row reduction, rank, dimension and the four subspaces do not care whether the scalars are rational, real, complex or drawn from a finite field. Layer four does care. The guarantee that every square matrix has an eigenvalue is a consequence of algebraic closure, and over it fails — a plane rotation has no real eigenvalue at all. State the field before quoting any spectral result.
Square and finite-dimensional are hypotheses, not decoration
Determinants, eigenvalues, similarity, diagonalisation and invertibility are defined only for square matrices; rank, the four subspaces and rank-nullity apply to any shape. Above layer two, finite dimension is a standing assumption: the Goldilocks theorem, rank plus nullity for transformations and the characterisation of vector spaces by dimension all fail without it.
Watch for circularity when extending an equivalence list
The running list of conditions equivalent to nonsingularity grows by one statement per layer, each added by a bridging theorem. A bridging theorem proved using the list it is about would make the whole structure vacuous. When adding a new equivalence, check that its proof reaches back only to results strictly below it in the chart.
The chart is exact arithmetic; floating point blurs the layers
In exact arithmetic a pivot is zero or it is not, and the layer boundaries are sharp. In floating point, rank becomes a threshold decision, a determinant near zero means almost nothing, and eigenvalues of a defective matrix are computed with error proportional to a fractional power of the machine epsilon. Production code should replace the exact statements with their tolerance-bearing numerical analogues rather than pretend the distinction is absent.
Standards & Codes
Notation, interchange and numerical standards that govern how this material is written down, stored and computed in production systems.
| Reference | Title | Relevance to this topic |
|---|---|---|
ISO 80000-2 | Quantities and units — Part 2: Mathematics | Fixes the typography this chart depends on for legibility across many named objects: upright operators such as and , italic scalars, arrow or bold vectors, and the distinction between a set and its cardinality. |
ISO/IEC 40314 | Mathematical Markup Language (MathML) Version 3.0 | Encodes every statement on this page as structured mathematics rather than images, so a theorem statement remains searchable, quotable and machine-comparable when the chart is consumed programmatically. |
W3C SKOS | Simple Knowledge Organization System Reference | Provides the vocabulary for expressing a dependency chart as data: skos:broader and skos:related map naturally onto prerequisite and cross-reference edges, which is how a theorem map is published as a navigable concept scheme rather than prose. |
IEEE 754-2019 | IEEE Standard for Floating-Point Arithmetic | Defines the arithmetic in which every layer of the chart is actually executed, and therefore why the sharp exact-arithmetic boundaries between layers become tolerance decisions in any implementation. |
LAPACK / BLAS reference | Linear Algebra PACKage reference implementation | The de facto catalogue of which computations are considered routine at each layer: driver routines exist for factorisation, least squares, singular values and eigenvalues, and their documented cost and accuracy bounds are the practical cost model for the chart. |
Material Selection
For a mathematical topic, "material" is the numeric representation: the scalar field, storage format and precision the computation is built from.
| Representation | Select when | Trade-off |
|---|---|---|
| Complex scalars, | Whenever eigenvalues, diagonalisation or any existence guarantee about the spectrum is required. | Algebraic closure makes layer four complete — every square matrix has eigenvalues counted with multiplicity. The cost is doubled storage, roughly four times the arithmetic per multiplication, and results that may be complex even for real input. |
| Real scalars, | Physical models where the data and the answer are both real and only layers zero to three are needed. | Everything up to and including rank-nullity is intact and cheaper. Layer four is incomplete: existence of an eigenvalue fails, and real algorithms must fall back to a real Schur form with blocks representing complex conjugate pairs. |
| Exact rationals, | Structural determinations — rank, pivot pattern, basis extraction, symbolic null spaces — where a wrong answer is worse than a slow one. | Removes every tolerance decision from layers zero to three. Intermediate coefficients can grow explosively, and eigenvalues are generally irrational, so layer four escapes the field entirely. |
| Finite field, | Coding theory, cryptography, and probabilistic certification of rank by reduction modulo a random prime. | Layers zero to three transfer without change and run in fixed-width arithmetic with no growth. Layer four requires an extension field, and an unlucky prime can lower the observed rank relative to the rational answer. |
| IEEE 754 binary64 | Numerical solution of engineering problems where inputs already carry measurement uncertainty. | Fast and memory-efficient with about sixteen significant decimal digits. Rank becomes a tolerance decision, determinants scale as the -th power and lose meaning, and defective eigenvalues lose accuracy at a fractional-power rate. |
| Symbolic entries in a polynomial ring | Parametric studies where a design variable appears in the matrix and the question is how the structure changes with it. | Reveals the parameter values at which rank drops or eigenvalues collide, which no numerical sweep can locate exactly. Expression growth is severe, and the ring is not a field, so several layer-two and layer-three theorems require restatement. |
Manufacturing Notes
Implementation notes — how the result is actually produced by hand, by algorithm and by library, including cost and numerical behaviour.
Cost rises sharply with layer
Row reduction of an matrix costs about operations, and a factorisation with back-substitution about . A determinant obtained from that factorisation is essentially free; obtained by cofactor expansion it costs and is unusable beyond about . Eigenvalues have no finite algorithm at all — they are roots of a degree- polynomial — so every eigensolver is iterative, typically running at to operations with convergence that depends on the matrix.
Mapping library calls to layers
Layer one and three: LU and QR factorisations, numpy.linalg.solve, scipy.linalg.lu, xGETRF. Layer three dimensions: numpy.linalg.matrix_rank, pivoted QR (xGEQP3), the singular value decomposition. Layer four: numpy.linalg.eig, xGEEV, xSYEVR for the symmetric case. Layers zero and two, being about exact structure, appear only in symbolic systems such as SymPy, Maxima or Sage.
Verification technique differs by layer
A layer-one answer is verified by substituting a solution into the original equations. A layer-three answer is verified by a dimension count: the extracted bases must have sizes summing correctly under rank plus nullity, and each basis vector must satisfy its defining equation. A layer-four answer is verified by residual: small relative to . Never verify a computation using the reduced object that the computation produced.
Tracing a proof's real dependencies by hand
Take the statement, list every named result its proof cites, then recurse until only definitions remain. Two things emerge. First, the effective depth is usually small — four or five levels — because a few hub theorems absorb the complexity. Second, some cited results turn out to be conveniences rather than necessities, and removing them shows the theorem holds under weaker hypotheses than stated.
Numerical stability is not uniform across the chart
Solving a well-conditioned system is backward stable and loses digits in proportion to the condition number. Determining rank is discontinuous in the entries and requires an explicit tolerance. Computing eigenvalues of a symmetric matrix is well conditioned, while eigenvalues of a highly non-normal matrix can move by or worse under perturbations of size . Cost and stability are separate axes and both degrade upward.
Failure Modes & Common Mistakes
| Failure mode / mistake | Impact | Root cause | Prevention & detection |
|---|---|---|---|
| Applying a square-matrix theorem to a rectangular matrix | high | Quoting determinant, eigenvalue, invertibility or similarity results for a matrix that is not , usually after a shape change went unnoticed in code. | Treat squareness as a precondition to assert, not to assume. Rank, nullity and the four subspaces are the shape-agnostic tools; everything in layer four is not. |
| Assuming eigenvalues exist over the reals | high | Carrying the existence guarantee across from to , where it is false: a planar rotation matrix has no real eigenvalue. | State the field. Use the real Schur form with blocks when a real answer is required, or accept complex conjugate pairs. |
| Circular citation in an equivalence chain | high | Proving a new equivalent condition using a consequence of the very list being extended, which makes the addition vacuous. | Before adding a statement to an equivalence theorem, expand its proof's dependency list and confirm every entry sits strictly lower in the chart. |
| Using as a numerical singularity test | high | Transferring an exact-arithmetic equivalence into floating point, where the determinant scales as and can be enormous or vanishing for a perfectly well-conditioned matrix. | Use a reciprocal condition number estimate or the smallest singular value. Reserve the determinant for exact and symbolic work. |
| Cofactor expansion on a matrix of moderate size | medium | Implementing the recursive definition literally, which costs multiplications. | Compute the determinant as the product of the pivots of an LU factorisation, adjusted for the sign of the row interchanges — and numerically far better behaved. |
| Dropping the finite-dimension hypothesis | medium | Applying the Goldilocks theorem, rank plus nullity for transformations, or the characterisation of spaces by dimension to a space with no finite basis, such as all polynomials or all continuous functions. | Establish a finite basis first. Where none exists, the counting arguments of layers two and three simply do not apply and different machinery is required. |
| Confusing algebraic and geometric multiplicity | medium | Assuming a repeated root of the characteristic polynomial supplies that many independent eigenvectors, which is the diagonalisable case only. | Compute explicitly and compare with . Equality for every eigenvalue is exactly the condition for diagonalisability. |
| Treating spanning and independence as interchangeable | medium | Half-remembering the Goldilocks theorem and applying its third or fourth part without checking that the set has exactly members. | Count first. The equivalence of independence and spanning holds only at the exact size ; at any other size one property can hold while the other fails. |
| Reaching for a spectral tool to answer a rank question | low | Habitually computing a full eigendecomposition or singular value decomposition when a pivoted factorisation would settle the structural question at a fraction of the cost. | Locate the question on the chart before choosing a routine. If the answer is an integer and a set of column indices, stay at layer three. |
FAQs
Is there a single theorem that everything else depends on?
Uniqueness of the reduced row-echelon form comes closest. It is what makes the pivot count, the pivot column set and therefore the rank well-defined properties of a matrix rather than artefacts of a particular elimination order. Almost every structural theorem in the first four layers begins by fixing the reduced form of a matrix, and each of those silently invokes uniqueness.
Why does the abstraction to general vector spaces earn its keep?
Because two theorems become provable that resist direct attack on entries. That row rank equals column rank is nearly opaque as a statement about arrays, and falls out of dimension counting. That a set of the right size need only be independent or spanning to be a basis halves the work in every later basis verification. Both results reach back through dimension to a single counting theorem about spanning sets.
Can eigenvalue theory be developed without determinants?
Yes. The existence proof used here shows that some polynomial in annihilates a chosen non-zero vector, factors it over , and extracts an eigenvalue — no determinant appears. The determinant enters afterwards as a computational device, turning eigenvalue-finding into root-finding for the characteristic polynomial. On the chart this is an alternative edge set reaching the same vertex.
Where exactly does the complex field become necessary?
At the existence of eigenvalues, and nowhere below it. Row reduction, rank, the four subspaces, dimension, bases, rank-nullity and the entire theory of linear transformations are valid over any field. Algebraic closure is what guarantees that the characteristic polynomial has a root, and it is the only place where the fundamental theorem of algebra is imported from outside the subject.
Why does the same rank-nullity statement appear twice?
Once for matrices, as rank plus nullity equals the number of columns, and once for transformations, as rank plus nullity equals the dimension of the domain. They are not coincidentally similar: the kernel of a transformation is isomorphic to the null space of any matrix representation, and the range is isomorphic to its column space, so choosing bases converts either statement into the other.
How deep is the graph in practice?
Shallow relative to its size. Expanding the dependencies of a typical upper-layer theorem reaches definitions in four or five steps, because a small number of hub results — uniqueness of the reduced form, solutions as linear combinations, the counting theorem behind dimension, rank plus nullity and the fundamental theorem of matrix representation — absorb most of the paths.
Does the chart change if invertibility is taken as the definition of nonsingular?
The vertex set is unchanged and the edges are rerouted. Taking a two-sided inverse as primitive makes the trivial null space a theorem instead of a definition, and moves several proofs earlier or later. What no reordering can change is which results genuinely need which hypotheses — squareness, finite dimension and algebraic closure remain exactly where they are.
References
- Beezer, R. A. A First Course in Linear Algebra, Version 0.70. University of Puget Sound, 2006. Sections SSLE, RREF, LI, D, PD, DM, EE, PEE, SD, LT, IVLT, VR and MR. Licensed under the GNU Free Documentation License v1.2.
- Strang, G. Linear Algebra and Its Applications, 4th edition. Cengage Learning, 2006.
- Axler, S. Linear Algebra Done Right, 3rd edition. Springer, 2015. The determinant-free development of eigenvalue existence.
- Golub, G. H. and Van Loan, C. F. Matrix Computations, 4th edition. Johns Hopkins University Press, 2013. Cost and stability figures for each computational layer.
- ISO 80000-2:2019, Quantities and units — Part 2: Mathematics. International Organization for Standardization.
- W3C. SKOS Simple Knowledge Organization System Reference, W3C Recommendation, 2009.
AI Suggested Questions
- Expand the full dependency tree of the statement that row rank equals column rank, stopping at definitions, and tell me how many distinct theorems it uses.
- Which theorems in this chart remain true over a finite field, and which ones fail or need restatement?
- Give me a topological ordering of the subject that introduces linear transformations before matrices, and say which proofs would have to change.
- For a 2000x2000 sparse matrix, compare the cost of answering a rank question, a determinant question and an eigenvalue question, and say which are practical.
- Show me a concrete matrix where the geometric multiplicity of an eigenvalue is strictly less than the algebraic multiplicity, and trace which layer-four theorems then fail to apply.
- If I take invertibility as the definition of nonsingular instead of a trivial null space, which theorems swap places in the dependency order?
Related Calculators
Reduce any matrix to reduced row-echelon form and read off the pivot set, rank and free columns.
Matrix Rank & Nullity CalculatorCompute rank and nullity with a selectable tolerance, and verify rank plus nullity against the column count.
Four Fundamental Subspaces CalculatorExtract bases for the null space, column space, row space and left null space from a single extended reduction.
Eigenvalue & Eigenvector CalculatorCompute the characteristic polynomial, eigenvalues, eigenspaces and both multiplicities, and test for diagonalisability.
