Matrices and Determinants
A matrix is a rectangular array of numbers; a determinant is a single scalar computed from a square matrix that encodes whether the matrix is invertible and how it scales area/volume. Key result: a square matrix has an inverse if and only if its determinant is nonzero, and systems of linear equations can be solved using matrices. Used everywhere: solving linear systems, computer graphics, physics, statistics, cryptography. Foundations laid by Leibniz, Cramer, Cayley, and Sylvester (17th–19th centuries).
A matrix is best understood not as a static grid of numbers but as a linear transformation — a rule that takes input vectors to output vectors while preserving lines and the origin. The determinant then answers one question with a single number: by what signed factor does this transformation stretch area or volume? If that factor is zero, the transformation squashes space into a lower dimension and cannot be undone — hence the matrix is non-invertible precisely when its determinant is zero.
Formal Statement
An matrix is a rectangular array of numbers with rows and columns:
Derivation hint: This is a definition; denotes the entry in row , column . The pair is the order or dimension of the matrix. Here (or ). If the matrix is square. A matrix with one column () is a column vector; with one row (), a row vector.
For matrices of compatible sizes, define:
Addition (entrywise, same order):
Derivation hint: Add corresponding entries; requires and to have identical order .
Scalar multiplication:
Derivation hint: Multiply every entry by the scalar .
Matrix multiplication (for of order and of order ):
Derivation hint: The entry is the dot product of row of with column of ; the inner dimensions must match. The result is .
The identity matrix has s on the main diagonal and s elsewhere; it satisfies . The transpose swaps rows and columns: . The zero matrix has all entries zero. A matrix is symmetric if .
The determinant (also written ) is a scalar defined for square matrices. For a matrix:
Derivation hint: Product of the main diagonal minus product of the anti-diagonal. For a matrix, by cofactor expansion along the first row:
Derivation hint: Each term is an entry times its minor (the determinant of the matrix left after deleting that entry's row and column), with alternating signs from the cofactor pattern .
A square matrix is invertible (has a matrix with ) if and only if
Derivation hint: If the transformation collapses dimension and cannot be reversed; if an explicit inverse exists (see below). When invertible, the inverse of a matrix is:
Derivation hint: Swap the diagonal entries, negate the off-diagonal entries, and divide by . Verify by checking .
For square matrices , of the same order:
Derivation hint: The multiplicative property follows because applying two transformations multiplies their area-scaling factors. Transposing reflects entries across the diagonal without changing the signed volume.
Why It Holds / Derivation
We verify equation [8]. Let with . 1. Propose the candidate inverse . 2. Compute :
Derivation hint: Apply the row-times-column rule [4] entry by entry. 3. Simplify the entries:
Derivation hint: Off-diagonal terms cancel; diagonal terms both equal , which divides out. 4. Conclude: since (and symmetrically ), . This is impossible if because we cannot divide by zero — confirming the invertibility criterion [7].
∎Consider the system where . 1. Multiply both sides on the left by (valid when ):
Derivation hint: on the left; substitute formula [8]. 2. Extract each component:
Derivation hint: Each numerator is the determinant of with the relevant column replaced by — this is Cramer's Rule.
∎The English mathematician Arthur Cayley founded the theory of matrices as abstract objects in his 1858 "A Memoir on the Theory of Matrices," where he treated matrices as entities with their own algebra — defining addition, multiplication, and the inverse, and stating what we now call the Cayley–Hamilton theorem. Cayley realized that a matrix could be manipulated as a single symbol obeying consistent laws, decoupling the concept from the systems of equations that motivated it. Remarkably, he developed much of this while working as a lawyer for fourteen years, publishing hundreds of mathematical papers in his spare time before becoming a professor at Cambridge.
Building Intuition
Picture a matrix as a machine that grabs the entire 2D plane and stretches, rotates, or shears it — but keeps the origin pinned and keeps straight lines straight. The two columns of the matrix tell you exactly where the basis vectors and land. The determinant is then the (signed) area of the parallelogram those two transformed vectors span. If , areas triple; if , areas are preserved; if , areas double and the plane is flipped (orientation reversed). If , the two columns are parallel — they squash the whole plane onto a single line, destroying all area, and that information loss is exactly why you cannot invert.
Worked Examples
Given: and . Find , then find .
Step 1 — Compute using equation [4]. Each entry is row of dotted with column of :
Derivation hint: Inner dimensions match (both ); apply the dot-product rule four times.
Step 2 — Compute using equation [5]: . Since , is invertible.
Step 3 — Apply the inverse formula [8]: swap diagonal entries, negate off-diagonals, divide by :
Derivation hint: Use with .
(dimensionless — these are pure numerical matrices)
Given: the system
Solve using determinants.
Step 1 — Write the coefficient matrix and constant vector .
Step 2 — Compute . Nonzero, so a unique solution exists.
Step 3 — Replace column 1 with for (equation [13]):
Derivation hint: Numerator is of with its first column replaced by .
Step 4 — Replace column 2 with for :
Derivation hint: Numerator is of with its second column replaced by .
Check: ✓ and ✓.
Common Misconceptions
Matrix multiplication is not commutative. In general . Using the matrices from Example 1, , which differs from . Also beware: — the determinant is not additive, only multiplicative (). And the inverse of a product reverses order: , not .
One might guess that if (the zero matrix), then or — true for ordinary numbers, false for matrices. Take
Derivation hint: Both and are nonzero, yet their product is zero — possible because both are non-invertible (). Such matrices are called zero divisors.
Connections
Matrices and determinants sit at the heart of Linear Algebra and connect outward in many directions. A matrix is a Linear Transformation expressed in coordinates, so its columns are images of basis vectors. The determinant generalizes the Cross Product and vector area formulas — indeed the determinant [6] reproduces the scalar triple product giving the volume of a parallelepiped. Solving links matrices to Systems of Linear Equations and the method of Gaussian Elimination. The condition defines Eigenvalues and Eigenvectors, the gateway to diagonalization and to applications in differential equations, quantum mechanics, and data science via Principal Component Analysis.
Real-World Applications
Historical Development
Subtleties & Limits
At the introductory level, the deep subtleties involve computation and generalization. Computing a determinant by cofactor expansion [6] requires roughly multiplications — astronomically slow for large — so practical algorithms use LU-decomposition (Gaussian elimination), reducing cost to about operations; the optimal exponent for matrix multiplication itself remains an open research question (currently around , conjectured to approach ). Numerically, near-singular matrices (tiny but nonzero determinant) cause catastrophic round-off errors, quantified by the condition number — a matrix can be invertible in theory yet useless in practice. Finally, the determinant generalizes beyond numbers: over abstract rings and in infinite dimensions (functional analysis) the notion fragments into regularized determinants, and even the seemingly simple question of whether a large integer matrix is invertible touches on hard problems in computational complexity.
See Also
Linear Algebra · Systems of Linear Equations · Eigenvalues and Eigenvectors · Linear Transformations · Vectors · Cross Product · Gaussian Elimination · Cramer's Rule · Vector Spaces