1. Home
  2. Explore
  3. Mathematics
  4. History of Linear Algebra

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

History of Linear Algebra

Matrices, Determinants, and the Birth of Linear Algebra

Historical Origins

The study of linear algebra traces back to antiquity. The Nine Chapters of the Mathematical Art ( Chiu Chang Suan Shu ), written between 300 BC and 179 AD, is an anonymous Chinese work that describes how to solve systems of linear equations. It introduced basic ideas of matrices and Gaussian elimination — long before European developments.

In the modern era, the Japanese mathematician Seki Kowa (c. 1683) and the German mathematician Gottfried Leibniz (c. 1678) independently advanced the subject. They considered the fundamental problem that lies at the heart of linear algebra:

Fundamental Problem: Given a system of nnn equations in nnn unknowns,

xi=∑k=1naikyk(i=1,…,n)x_i = \sum_{k=1}^{n} a_{ik} y_k \quad (i=1,\dots,n)xi​=∑k=1n​aik​yk​(i=1,…,n)

solve for the yyy's in terms of the xxx's and the coefficients aika_{ik}aik​.

The 2×2 System

For two equations in two unknowns, the system is:

a11y1+a12y2=x1a21y1+a22y2=x2\begin{aligned} a_{11} y_1 + a_{12} y_2 &= x_1 \\ a_{21} y_1 + a_{22} y_2 &= x_2 \end{aligned}a11​y1​+a12​y2​a21​y1​+a22​y2​​=x1​=x2​​

This can be written in matrix form:

(a11a12a21a22)(y1y2)=(x1x2)\begin{pmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{pmatrix} \begin{pmatrix} y_1 \\ y_2 \end{pmatrix} = \begin{pmatrix} x_1 \\ x_2 \end{pmatrix}(a11​a21​​a12​a22​​)(y1​y2​​)=(x1​x2​​)

The existence of a unique solution depends on a crucial number, the determinant:

2×2 Determinant:

Δ=det⁡(a11a12a21a22)=a11a22−a12a21\Delta = \det\begin{pmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{pmatrix} = a_{11}a_{22} - a_{12}a_{21}Δ=det(a11​a21​​a12​a22​​)=a11​a22​−a12​a21​

If Δ≠0\Delta \neq 0Δ=0, the matrix is invertible and the solution exists. The solution is given by:

(y1y2)=1Δ(a22−a12−a21a11)(x1x2)\begin{pmatrix} y_1 \\ y_2 \end{pmatrix} = \frac{1}{\Delta} \begin{pmatrix} a_{22} & -a_{12} \\ -a_{21} & a_{11} \end{pmatrix} \begin{pmatrix} x_1 \\ x_2 \end{pmatrix}(y1​y2​​)=Δ1​(a22​−a21​​−a12​a11​​)(x1​x2​​)

Cramer’s Rule

Around 1750, Gabriel Cramer discovered an alternative way to express the solution using ratios of determinants:

y1=det⁡(x1a12x2a22)Δ,y2=det⁡(a11x1a21x2)Δy_1 = \frac{ \det\begin{pmatrix} x_1 & a_{12} \\ x_2 & a_{22} \end{pmatrix} }{ \Delta }, \quad y_2 = \frac{ \det\begin{pmatrix} a_{11} & x_1 \\ a_{21} & x_2 \end{pmatrix} }{ \Delta }y1​=Δdet(x1​x2​​a12​a22​​)​,y2​=Δdet(a11​a21​​x1​x2​​)​

This is Cramer’s Rule: replace the iiith column of the coefficient matrix with the right-hand side vector, take the determinant, and divide by the determinant of the original matrix. The rule generalizes to nnn equations in nnn unknowns.

Motivation: A Conic Through Five Points

Cramer was motivated by a classic problem in geometry: given five points in the plane, find the unique conic (ellipse, hyperbola, etc.) that passes through them. A general conic has equation:

ax2+bxy+cy2+dx+ey+f=0ax^2 + bxy + cy^2 + dx + ey + f = 0ax2+bxy+cy2+dx+ey+f=0

There are six coefficients, but scaling does not matter, so only five degrees of freedom exist. Substituting each point gives an equation, yielding a system of five equations in five unknowns. Cramer’s Rule offered a closed-form solution.

A more elegant geometric approach uses a pencil of conics: any four points determine a one-parameter family of conics. Within this family, two degenerate conics (products of pairs of lines) provide a basis. The fifth point then yields a single linear equation for the parameter λ\lambdaλ, giving the desired conic.

Determinants in Higher Dimensions

For a 3×33 \times 33×3 matrix

(abcdefghi)\begin{pmatrix} a & b & c \\ d & e & f \\ g & h & i \end{pmatrix}​adg​beh​cfi​​

the determinant is defined as the sum of six terms, each a product of three entries, one from each row and each column:

det⁡=aei+bfg+cdh−afh−bdi−ceg\det = aei + bfg + cdh - afh - bdi - cegdet=aei+bfg+cdh−afh−bdi−ceg

The six terms correspond to the six ways of placing three non-attacking rooks on a 3×33 \times 33×3 chessboard. For an n×nn \times nn×n matrix, there are n!n!n! such placements.

The Parity Theorem

The signs of the terms are determined by the parity (evenness or oddness) of the permutation of column indices. Augustin-Louis Cauchy formalized this using the parity theorem:

Parity Theorem: The number of transpositions (swaps) required to go from one permutation to another is either always even or always odd — it never depends on the sequence of swaps chosen.

The sign of a term is (−1)p(-1)^p(−1)p, where ppp is the number of transpositions needed to obtain that permutation from the identity.

Vandermonde’s Expansion (Cofactor Expansion)

In the 1700s, Alexandre-Théophile Vandermonde showed that a 3×33 \times 33×3 determinant can be expressed in terms of 2×22 \times 22×2 determinants:

det⁡=a⋅det⁡(efhi)−b⋅det⁡(dfgi)+c⋅det⁡(degh)\det = a \cdot \det\begin{pmatrix} e & f \\ h & i \end{pmatrix} - b \cdot \det\begin{pmatrix} d & f \\ g & i \end{pmatrix} + c \cdot \det\begin{pmatrix} d & e \\ g & h \end{pmatrix}det=a⋅det(eh​fi​)−b⋅det(dg​fi​)+c⋅det(dg​eh​)

This is a recursive or inductive definition: an n×nn \times nn×n determinant reduces to a weighted combination of (n−1)×(n−1)(n-1) \times (n-1)(n−1)×(n−1) determinants. This method, now called cofactor expansion (or Laplace expansion along a row), is a core algorithm for computing determinants.

Laplace Expansion

Pierre-Simon Laplace introduced an alternative recursive scheme that decomposes a determinant into products of smaller determinants. For a 4×44 \times 44×4 matrix, one can choose, say, the top two rows and form all possible 2×22 \times 22×2 determinants from those rows. Each such determinant is multiplied by the determinant of the complementary 2×22 \times 22×2 block in the remaining rows and columns, with an appropriate sign. The sum of these products equals the full 4×44 \times 44×4 determinant.

For example, with the top two rows, one considers pairs of columns like (1,2), (1,3), (1,4), (2,3), (2,4), (3,4). This yields six terms, each a product of two 2×22 \times 22×2 determinants. The sign alternates based on the parity of the column selections. This approach generalizes to any n×nn \times nn×n determinant, decomposing it into products of k×kk \times kk×k and (n−k)×(n−k)(n-k) \times (n-k)(n−k)×(n−k) determinants.

The 19th century saw an explosion of determinant identities, culminating in Thomas Muir’s A Treatise on the Theory of Determinants (late 1800s/early 1900s), a comprehensive encyclopedic work.

Cauchy and Sylvester: Architects of the Theory

Augustin-Louis Cauchy (1789–1857) is the central figure in the modern theory of determinants. He:

  • Introduced systematic notation such as aija_{ij}aij​ for matrix entries.

  • Coined the term determinant.

  • Proved the fundamental product rule:

Product Rule: For matrices AAA and BBB,

det⁡(AB)=det⁡(A)⋅det⁡(B)\det(AB) = \det(A) \cdot \det(B)det(AB)=det(A)⋅det(B)

This rule, linking matrix multiplication and determinants, is arguably the most important fact about determinants.

James Joseph Sylvester (1814–1897) was a British mathematician who later taught at Johns Hopkins University and founded the American Journal of Mathematics. He contributed significantly to determinant theory and introduced the term matrix. His most notable work involved the theory of resultants.

The Theory of Resultants

A resultant is a polynomial condition on the coefficients of two polynomials that determines whether they share a common root. This was a key problem in 18th- and 19th-century algebra.

Given two degree-nnn polynomials

f(x)=anxn+an−1xn−1+⋯+a0g(x)=bnxn+bn−1xn−1+⋯+b0\begin{aligned} f(x) &= a_n x^n + a_{n-1} x^{n-1} + \cdots + a_0 \\ g(x) &= b_n x^n + b_{n-1} x^{n-1} + \cdots + b_0 \end{aligned}f(x)g(x)​=an​xn+an−1​xn−1+⋯+a0​=bn​xn+bn−1​xn−1+⋯+b0​​

the goal is to find a condition for a common zero without solving the equations. The classical method (Euler, Bézout) proceeds by:

  1. Multiplying fff by bnb_nbn​ and ggg by ana_nan​, then subtracting — the xnx^nxn terms cancel, yielding a degree n−1n-1n−1 equation.

  2. Multiplying fff by (bnx+bn−1)(b_n x + b_{n-1})(bn​x+bn−1​) and ggg by (anx+an−1)(a_n x + a_{n-1})(an​x+an−1​) and subtracting — again the high-degree terms cancel, giving another degree n−1n-1n−1 equation.

  3. Repeating this process nnn times produces nnn equations of degree n−1n-1n−1 in the variables 1,x,x2,…,xn−11, x, x^2, \dots, x^{n-1}1,x,x2,…,xn−1, each equal to zero.

If a common root exists, this homogeneous linear system has a nonzero solution, so the determinant of its coefficient matrix must be zero. This determinant, expressed in the coefficients ai,bia_i, b_iai​,bi​, is called the resultant.

Example: Two Quadratics

Let f(x)=a1x2+b1x+c1f(x) = a_1 x^2 + b_1 x + c_1f(x)=a1​x2+b1​x+c1​ and g(x)=a2x2+b2x+c2g(x) = a_2 x^2 + b_2 x + c_2g(x)=a2​x2+b2​x+c2​. Following the process:

  • Multiply fff by a2a_2a2​, ggg by a1a_1a1​, subtract:

    (a2b1−a1b2)x+(a2c1−a1c2)=0(a_2 b_1 - a_1 b_2) x + (a_2 c_1 - a_1 c_2) = 0(a2​b1​−a1​b2​)x+(a2​c1​−a1​c2​)=0
  • Multiply fff by (a2x+b2)(a_2 x + b_2)(a2​x+b2​), ggg by (a1x+b1)(a_1 x + b_1)(a1​x+b1​), subtract:

    (a2c1−a1c2)x+(b2c1−b1c2)=0(a_2 c_1 - a_1 c_2) x + (b_2 c_1 - b_1 c_2) = 0(a2​c1​−a1​c2​)x+(b2​c1​−b1​c2​)=0

The system in 111 and xxx has a solution iff its determinant vanishes:

det⁡(a2b1−a1b2a2c1−a1c2a2c1−a1c2b2c1−b1c2)=0\det\begin{pmatrix} a_2 b_1 - a_1 b_2 & a_2 c_1 - a_1 c_2 \\ a_2 c_1 - a_1 c_2 & b_2 c_1 - b_1 c_2 \end{pmatrix} = 0det(a2​b1​−a1​b2​a2​c1​−a1​c2​​a2​c1​−a1​c2​b2​c1​−b1​c2​​)=0

or equivalently

(a1b2−a2b1)(b1c2−b2c1)=(a1c2−a2c1)2(a_1 b_2 - a_2 b_1)(b_1 c_2 - b_2 c_1) = (a_1 c_2 - a_2 c_1)^2(a1​b2​−a2​b1​)(b1​c2​−b2​c1​)=(a1​c2​−a2​c1​)2

Once satisfied, the common root xxx is given by

x=a1c2−a2c1a1b2−a2b1x = \frac{ a_1 c_2 - a_2 c_1 }{ a_1 b_2 - a_2 b_1 }x=a1​b2​−a2​b1​a1​c2​−a2​c1​​

Sylvester’s Matrix

Sylvester discovered a more compact way to encode the resultant as the determinant of a single (m+n)×(m+n)(m+n) \times (m+n)(m+n)×(m+n) matrix formed directly from the coefficients. For two quadratics (m=n=2), the 4×44 \times 44×4 Sylvester matrix is:

(a1b1c100a1b1c1a2b2c200a2b2c2)\begin{pmatrix} a_1 & b_1 & c_1 & 0 \\ 0 & a_1 & b_1 & c_1 \\ a_2 & b_2 & c_2 & 0 \\ 0 & a_2 & b_2 & c_2 \end{pmatrix}​a1​0a2​0​b1​a1​b2​a2​​c1​b1​c2​b2​​0c1​0c2​​​

The condition det⁡=0\det = 0det=0 is the same resultant relation. Using Laplace expansion on this matrix with the top two rows, one recovers the earlier formula. This construction extends to polynomials of any degrees and is fundamental in computational algebraic geometry.

Further Developments

Beyond resultants, determinants found wide application:

  • Volumes of parallelepipeds in higher dimensions: the absolute value of the determinant of vectors forming the edges equals the volume.

  • The Cayley–Hamilton theorem, which states that every square matrix satisfies its own characteristic polynomial, leading to the theory of eigenvalues and eigenvectors.

In the 20th century, the focus of linear algebra shifted from an almost exclusive concern with determinants to a broader framework centered on vectors, vector spaces, linear transformations, and abstract algebra. The 19th-century perspective — where linear algebra was essentially the theory of determinants — gave way to a more structural approach. Vectors, originally motivated by Hamilton’s quaternions, emerged as a powerful language for engineering and physics, and the study of matrices and determinants became one chapter within the vast subject of linear algebra.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent