Matrices — Operations and Determinants

A matrix is a rectangular array of numbers; matrix operations (addition, scalar multiplication, multiplication, transposition, inversion) combine matrices, and the determinant is a single scalar computed from a square matrix that measures invertibility and signed volume scaling. Key result: a square matrix is invertible if and only if its determinant is nonzero. Applies to: solving linear systems, transformations of the plane and space, computer graphics, statistics. Who/when: developed by Cayley, Sylvester, Cramer, Leibniz, and Laplace from the 17th to 19th centuries.

A matrix is a rectangular arrangement of numbers in rows and columns, written , where is the entry in row , column . Matrices encode linear systems, geometric transformations, and tables of data, and the algebra of matrices (how to add, scale, and multiply them) mirrors the composition of those transformations. The determinant, defined only for square matrices, collapses all entries into one number that tells you whether the matrix can be "undone" (inverted) and, geometrically, by what factor it scales areas or volumes. A surprising fact: matrix multiplication is not commutative — and are usually different, and may not even have the same size — which makes matrices behave very differently from ordinary numbers.

The Core Insight

A matrix is a linear transformation in disguise. Every operation on matrices corresponds to an operation on transformations: addition combines transformations, multiplication composes them (do one, then the other), and the determinant measures how much the transformation stretches or flips space. When the determinant is zero, the transformation crushes space into a lower dimension and cannot be reversed — that single number captures the entire question of solvability.

Formal Statement

Matrix and Basic Notation

An matrix over the real numbers is an array of entries arranged in rows and columns:

1
⟳this is a definition; denotes the entry in row () and column ().

A matrix with is square. The main diagonal consists of entries . The identity matrix has and for .

Addition and Scalar Multiplication

For two matrices and of the same size , and a scalar :

2
⟳addition and scaling act entrywise; the sizes must match for addition.

Matrix Multiplication

If is and is (the inner dimensions must agree), the product is the matrix with entries:

3
⟳entry is the dot product of row of with column of .

Transpose

The transpose of an matrix is the matrix obtained by swapping rows and columns:

4
⟳reflect entries across the main diagonal; row becomes column .

Determinant

The determinant of a square matrix is a scalar. For and matrices:

5
⟳signed area of the parallelogram spanned by the rows and .
6
⟳cofactor (Laplace) expansion along the first row; alternating signs .

In general, the cofactor expansion along row is:

7
⟳ is the
minor — the determinant of the matrix formed by deleting row and column .

Invertibility Criterion

A square matrix has an inverse satisfying if and only if . When it exists, for the case:

8
⟳swap diagonal entries, negate off-diagonal entries, divide by the determinant; verify by direct multiplication that .

Key Determinant Properties

For square matrices , :

9
⟳multiplicativity follows from the volume-scaling interpretation — composing transformations multiplies their scaling factors.

Why It Holds / Derivation

The 2×2 Inverse Formula

We verify equation [8] directly by multiplication.

  1. Let with .
  1. Define the candidate .
  1. Compute using equation [3]:
  1. Simplify: the off-diagonal terms vanish, the diagonal terms equal :
  1. A symmetric computation gives . Hence .
  1. If , division is impossible and no inverse exists — confirming the criterion.

Multiplicativity Sketch: det(AB) = det(A)det(B)

  1. Interpret a matrix as a linear transformation of ; is the signed factor by which it scales -dimensional volume.
  1. The product represents applying first, then (composition).
  1. Volume scaling under composition multiplies: scale by , then by .
  1. Therefore the total scaling is , giving .

Arthur Cayley | 1821–1895

The English mathematician Arthur Cayley is credited with founding the systematic theory of matrices in his 1858 Memoir on the Theory of Matrices. He introduced matrix multiplication as we use it today, defined the identity and inverse, and recognized matrices as objects with their own algebra — not merely shorthand for systems of equations. He stated (and verified in low dimensions) what is now the Cayley–Hamilton theorem: every square matrix satisfies its own characteristic equation. Working closely with his friend James Joseph Sylvester (who coined the word "matrix" in 1850), Cayley transformed scattered computational tricks into a unified abstract subject.

Building Intuition

Think of a matrix as a machine that bends the plane. The columns of tell you where the basis arrows and land after the transformation. The determinant is the area of the parallelogram those two landing-arrows span — and its sign tells you whether orientation was preserved (positive) or flipped like a mirror (negative). If the two columns point along the same line, the parallelogram collapses to a sliver of zero area: the determinant is , the plane is squashed onto a line, and information is lost forever — that is exactly why you cannot invert. Multiplication composes machines: means "first run , then run ," which is why order matters and why scaling factors multiply.

Geometric meaning of the 2×2 determinant: the area of the parallelogram spanned by the matrix's columns

x y col 1 = (a, c) col 2 = (b, d) Area = |det A| = |ad − bc| origin

Worked Examples

Multiplying Two Matrices

Given: (), (). Find . Steps (apply equation [3], dot rows of with columns of ):
Check non-commutativity: .

Determinant and Inverse, with a System Solved by Cramer's Rule

Given: Solve , i.e. with , . Step 1 — Determinant (equation [5]): , so a unique solution exists. Step 2 — Cramer's Rule. Replace column 1 with for , column 2 for :
Step 3 — Verify with the original equations: ✓, ✓.

Common Misconceptions

Matrix multiplication is not commutative. In general , and one product may be defined while the other is not (dimensions). Also: does not imply or — there are nonzero "zero divisors." And there is no "matrix division"; you multiply by the inverse (when it exists), being careful about whether you multiply on the left () or the right (), since these differ.

Let . Then , yet . A nonzero matrix can square to the zero matrix — impossible for ordinary nonzero numbers. Note , so is non-invertible, consistent with Theorem (Invertibility Criterion).

Connections

Matrices are the computational engine behind several neighbouring topics. Solving links directly to Systems of Linear Equations and Gaussian Elimination. The determinant's role as a signed area/volume connects to Vectors and the Cross Product (the determinant formula for the cross product) and to Linear Transformations. Eigenvalues, found by solving , lead into Eigenvalues and Eigenvectors. The transpose and dot product underpin Inner Product Spaces, and matrix powers connect to Markov Chains.

Real-World Applications

  1. Computer graphics & video games — , , and matrices rotate, scale, and translate objects; the determinant's sign detects whether a transformation flips orientation (mirroring).
  2. Cryptography (Hill cipher) — messages are encrypted by multiplying letter-vectors by an invertible matrix mod 26; decryption requires the modular inverse, which exists only when the determinant is coprime to 26.
  3. Engineering & structural analysis — systems of force-balance equations are solved as ; a zero determinant signals a mechanism that is unstable or statically indeterminate.
  4. Google's PageRank — the web is encoded as a giant stochastic matrix; the ranking is its dominant eigenvector.
  5. Economics (Leontief input–output models) — inter-industry dependencies form a matrix; total production solves .
  6. Statistics & machine learning — covariance matrices, least-squares regression , and neural-network layers are all matrix operations.
  7. Robotics — joint rotations compose by matrix multiplication to compute an arm's end-effector position (forward kinematics).

Historical Development

  • c. 200 BCE — The Chinese text Nine Chapters on the Mathematical Art solves systems of linear equations using array (matrix-like) elimination, predating Western methods by centuries.
  • 1683 — Seki Takakazu in Japan and 1693 — Gottfried Leibniz in Europe independently introduce determinants while studying systems of equations.
  • 1750 — Gabriel Cramer publishes Cramer's Rule, expressing solutions of linear systems as ratios of determinants.
  • 1812 — Augustin-Louis Cauchy proves the multiplication theorem and gives the modern definition of determinant.
  • 1850 — James Joseph Sylvester coins the word "matrix" (Latin for "womb"), viewing it as a source from which determinants are born.
  • 1858 — Arthur Cayley's Memoir on the Theory of Matrices establishes matrix algebra, multiplication, inverses, and the identity matrix.
  • 1878 — Ferdinand Georg Frobenius unifies and extends the theory, developing rank, eigenvalues, and the characteristic polynomial.
  • 20th century — Matrices become foundational to quantum mechanics (Heisenberg's 1925 matrix mechanics), numerical computing, and data science.

Subtleties & Limits

While matrix theory is fully understood mathematically, efficient computation remains an active research frontier. Naïve matrix multiplication of two matrices costs operations; Strassen (1969) achieved , and the current record is roughly — but whether multiplication can be done in essentially time (the matrix multiplication exponent question) is unknown. Likewise, computing large determinants is numerically delicate: cofactor expansion is hopelessly slow ( terms), and floating-point cancellation can make near zero indistinguishable from zero, so in practice the determinant is rarely used directly to test invertibility — conditioning and LU decomposition are used instead.

See Also

Systems of Linear Equations · Eigenvalues and Eigenvectors · Linear Transformations · Vectors and the Cross Product · Gaussian Elimination · Cramer's Rule · Cayley–Hamilton Theorem

Before this

Where this leads