Cramer himself did not claim to have invented the rule: he presented it in an appendix, as a tool, without asserting priority. And indeed the idea of combining the coefficients of a system into a sum of products with alternating signs had appeared before, at least three times, in three places that had no contact with one another.

Seki Takakazu, 1683

In Edo-period Japan, the mathematician Seki Takakazu wrote in 1683 a manuscript entitled Kaifukudai no hō, “method for solving concealed problems”. The problem was to eliminate unknowns from a system of polynomial equations so as to arrive at a single equation. To do so, Seki arranged the coefficients in a table and formed sums of products taken one from each row and each column, with signs fixed by a rule of his own. This is what we now call a determinant, and Seki computed it for tables of order 2, 3, 4 and 5.

Seki’s sign rule worked well for small orders, but historians point out that it fails from order 5 onwards; his disciples corrected and extended the method. The work circulated only among the pupils of Seki’s school, as was the custom in wasan, the Japanese mathematics of the period, and remained unknown in Europe until the 19th century.

Leibniz, 1693

Ten years later, in a letter of 28 April 1693 to the Marquis de L’Hôpital, Leibniz described a trick of notation. Instead of a different letter for each coefficient, he used two-digit numbers: the first digit gives the equation, the second the position. The system of three equations in two unknowns became

$$ \begin{aligned} 10 + 11x + 12y &= 0 \\ 20 + 21x + 22y &= 0 \\ 30 + 31x + 32y &= 0, \end{aligned} $$

in which “$21$” is not the number twenty-one but the coefficient of $x$ in the second equation. Eliminating $x$ and $y$, Leibniz concluded that the three equations are compatible only if

$$1_0 \cdot 2_1 \cdot 3_2 + 1_1 \cdot 2_2 \cdot 3_0 + 1_2 \cdot 2_0 \cdot 3_1 = 1_0 \cdot 2_2 \cdot 3_1 + 1_1 \cdot 2_0 \cdot 3_2 + 1_2 \cdot 2_1 \cdot 3_0,$$

where we write $1_0$ in place of Leibniz’s “$10$” to avoid confusion. This is the condition that the determinant of the coefficients be zero. Leibniz saw that the rule came from a symmetry: in each product the front digits $1, 2, 3$ each appear once, and so do the back digits $0, 1, 2$. But the letter was published only in 1850, and the idea died with it.

Maclaurin, 1748

The closest case is that of the Scot Colin Maclaurin. In his Treatise of Algebra, published in 1748, two years after his death but written around 1730 for his students in Edinburgh, he solves systems in two and three unknowns with formulas that are exactly Cramer’s. For two equations, $ax + by = c$ and $dx + ey = f$, he writes

$$y = \frac{af - dc}{ae - db},$$

and explains that the denominator is formed from the coefficients of $x$ and $y$ “taken in opposite order”. For three unknowns he gives the rule of the six products and says that one can go on to four equations, but he does not give the general rule of signs.

Why “Cramer’s rule”?

What Cramer added was the general rule, for any number of unknowns, with the counting of derangements to decide the signs. Reach mattered too: the Introduction was a reference work read all over Europe, while Leibniz’s letter was unpublished and Seki’s work unknown. In the following decades Bézout, Vandermonde and Laplace studied these expressions for their own sake, and in 1812 Cauchy gave them their definitive name, determinants.

The historian Carl Boyer, who studied the case in 1966, concluded that the rule should perhaps be called “Maclaurin’s rule”. But Cramer’s name stuck, as happens with so many results that are named after whoever made them known rather than whoever found them first.

Exercise: Leibniz's condition

Use Leibniz’s condition to check that the equations $-3 + x + 2y = 0$, $-5 + 2x + 3y = 0$ and $-2 + x + y = 0$ are compatible.

The coefficients are $1_0 = -3,\ 1_1 = 1,\ 1_2 = 2$; $2_0 = -5,\ 2_1 = 2,\ 2_2 = 3$; $3_0 = -2,\ 3_1 = 1,\ 3_2 = 1$. The left-hand side is $(-3)(2)(1) + (1)(3)(-2) + (2)(-5)(1) = -6 - 6 - 10 = -22$; the right-hand side, $(-3)(3)(1) + (1)(-5)(1) + (2)(2)(-2) = -9 - 5 - 8 = -22$. They are equal, and indeed $x = y = 1$ satisfies all three equations.

Exercise: Maclaurin's formula

Using Maclaurin’s formula, solve $2x + 3y = 8$, $5x - y = 3$.

Here $a = 2,\ b = 3,\ c = 8,\ d = 5,\ e = -1,\ f = 3$. Then $y = \frac{af - dc}{ae - db} = \frac{6 - 40}{-2 - 15} = \frac{-34}{-17} = 2$, and from the first equation $2x = 8 - 6$, that is, $x = 1$. Checking in the second: $5 - 2 = 3$.

Sources: Carl B. Boyer, “Colin Maclaurin and Cramer’s Rule”, Scripta Mathematica 27 (1966) · Colin Maclaurin, A Treatise of Algebra (1748) · Thomas Muir, The Theory of Determinants in the Historical Order of Development, vol. 1 (1906) · Yoshio Mikami, The Development of Mathematics in China and Japan (1913) · Eberhard Knobloch, Der Beginn der Determinantentheorie: Leibnizens nachgelassene Studien zum Determinantenkalkül (1980).


All topics on Gabriel Cramer · ← Cramer’s rule · How many points determine a curve →

Image credits.