A determinant built from two-by-two pieces
Worth reading first: The only function that behaves like a volume · The same sum without its minus signs.
The determinant of a 2 × 2 array is , the factor by which the array’s map stretches area, and everybody can compute it. The determinant of a larger array is usually computed by elimination: subtract multiples of rows until the array is triangular, then multiply the diagonal. In 1866 Charles Dodgson — an Oxford mathematics lecturer, and the author of Alice’s Adventures in Wonderland the year before — published a third way, which uses only the 2 × 2 rule and division, applied over and over to smaller and smaller arrays.
The opening figure runs it on a 4 × 4 array of whole numbers. Replace each 2 × 2 block of neighbouring entries by its determinant, giving a 3 × 3 array. Do the same to that, but divide each new number by the entry of the original array that sat at the centre of its block. Do it once more, dividing by the centres of the 3 × 3 array. One number is left, 188, and it is the determinant. Dodgson called the method condensation.
Three things about it are surprising, and they are the subject of this essay. The divisions always come out whole, although nothing in the recipe makes them divide. The method can break down when an entry it must divide by is nought, though the determinant exists perfectly well. And if one minus sign in the 2 × 2 rule is changed to a plus, the method computes something new, which turns out to be a sum over a family of matrices nobody had counted — the alternating sign matrices, whose number was guessed in 1983 and proved in 1996.
A determinant from two-by-two pieces
The first step of the opening figure is pure 2 × 2 determinants: the top-left block gives , the next , and so on across the array. The second step takes the 2 × 2 determinants of that 3 × 3 array and divides each by the original entry its block was centred on: the top-left one is . The third does the same once more and leaves 188.
Each number in each layer has a meaning. The entries of the first condensed array are the connected 2 × 2 minors of the original — determinants of blocks of neighbouring rows and columns. The entries of the second are its connected 3 × 3 minors, and the single entry of the last is the 4 × 4 minor, the whole determinant. Condensation computes every connected minor of every size, each from four of the next size down and one of the size below that.
Counted as arithmetic, the method is as cheap as elimination: about multiplications for an array, against the terms of the expansion that defines the determinant as the function that behaves like a volume. What it offers over elimination is uniformity. Every step does the same thing to every entry, with no choice of pivot and no row swaps, which is why Dodgson liked it for hand computation and why it has since been studied as a parallel algorithm.
The identity condensation rests on
The method works because of an identity found by Pierre Desnanot in 1819 for small sizes and proved in general by Carl Jacobi. Take an array . Delete its first row and column to get the bottom-right minor, its last row and column for the top-left, and so on, and delete both the first and last rows and columns to get the centre. Then
It is the 2 × 2 rule again, with the four corner minors in place of the four entries, corrected by the centre. The figure draws the six arrays involved and checks the identity exactly, in whole-number arithmetic, on 2,000 random arrays of sizes 3 to 7. Solving it for is exactly one step of condensation: the new number is the 2 × 2 determinant of four minors one size down, divided by a minor two sizes down.
The identity also explains why the divisions are exact. Each number in each layer is itself a determinant of whole numbers, hence a whole number; the identity says that the quotient equals one, so the division must come out even. The recipe does not know this — it divides one integer by another and gets lucky every time — but the minors do. In the same way that a determinant of a graph’s Laplacian counts trees, the numbers here are always counting something whole, even when the formula producing them has a fraction in it.
A nought in the centre
The weakness is visible in the formula. Every step divides by interior entries of the layer two back, and if any of them is nought the step is undefined. The figure’s array has determinant 50, but one of its centre entries is 0, so the second step cannot be carried out. Nothing is wrong with the array; the method has simply asked a question — what is this minor divided by nought? — that has no answer.
Dodgson’s remedy was to rearrange the array. Moving the top row to the bottom is three swaps of adjacent rows, which multiplies the determinant by , and it moves different entries into the interior. In the figure the rearranged array condenses without trouble to , so the original determinant is 50. Any reordering of rows and columns can be tried in the same way, and some always works — unless the array is singular in a way that forces zeros into every interior position, as an array with a row of zeros does, though then the determinant is nought anyway. Zeros in awkward places are not rare in practice: a table of random signs is singular far more often than intuition suggests, and an array of small whole numbers has many vanishing minors.
A cleaner remedy, discovered much later, is to perturb. Replace every entry by an indeterminate, condense symbolically, and set the indeterminates back to their values at the end. Each condensed entry is a determinant, a polynomial in the entries, so the intermediate divisions never fail as formal operations; only evaluating at a bad point does. That is the starting point for the rest of the story.
A pyramid of numbers
The layers of a condensation stack naturally into a pyramid. Put the array on the floor, the layer above it with each entry over the centre of the four it came from, and so on up to the single number at the apex. The array of 1s that the recipe imagines below the floor — the divisors for the very first step — makes a further layer underneath. Every entry of the pyramid is then computed from five others: four neighbours on the layer below, at the corners of a square, and one on the layer below that, directly beneath its centre. Those five points, with the new entry on top, are the six vertices of an octahedron, and the rule
is known, in the form that dropped the reference to matrices, as the octahedron recurrence.
Seen this way condensation is a local rule on a three-dimensional lattice, and the determinant is what the rule produces at the apex when the floor is an array and the basement is all 1s. Other initial data give other functions, and the recurrence turns up in places that have nothing to do with determinants: in the theory of integrable systems, where it is a discrete form of the Hirota equation, and in the counting of tilings, where each entry counts the domino tilings of a region whose shape is the cone below it. The Laurent phenomenon below is a statement about this pyramid — that whatever numbers are placed on the floor and basement, every entry above is a polynomial in them and their reciprocals.
The pyramid also explains why condensation is a natural parallel algorithm. Every entry of a layer can be computed at once from the two layers below, and the depth of the computation is , not ; a grid of processors, each holding one entry and talking only to its neighbours, computes the determinant in rounds. Dodgson had hand computation in mind — a clerk could condense an array without ever choosing a pivot — and the property that made it easy for a clerk is the one that makes it easy for a grid.
Dodgson’s interest in procedures of this kind was not confined to determinants. A decade later he wrote pamphlets on elections, proposing to choose the candidate who needs the fewest swaps of adjacent preferences to beat every rival head to head — another rule built from small local exchanges, and one that has since proved, unlike condensation, computationally hard.
Seven alternating sign matrices of size three
Run condensation symbolically on a 3 × 3 array with entries . The first layer is four 2 × 2 minors. The second step multiplies two of them, subtracts the product of the other two, and divides by . Expanding before dividing, the numerator has eight terms. Six of them contain and, divided by it, become the six terms of the determinant. The other two are both , one with a plus sign and one with a minus, and they cancel — but only because the 2 × 2 rule has a minus sign in it. With any other sign they would survive as a term , with an entry in the denominator.
Record a term’s exponents in a 3 × 3 array and that term is the matrix with a in the centre and 1s on either side of it, drawn last in the figure. The six permutation matrices, whose entries are the exponents of the determinant’s six terms, have one 1 in each row and column. The seventh has two 1s in its middle row and column, separated by a , so every row and column still sums to 1. Arrays of 0s, 1s and −1s in which every row and column sums to 1 and the nonzero entries alternate in sign along each are called alternating sign matrices. For size 3 there are exactly seven.
Each one carries an inversion number — for a permutation matrix the number of pairs out of order, the statistic whose parity is the sign of a shuffle — extended by David Robbins and Howard Rumsey to count, with signs, pairs of nonzero entries one above and to the right of the other. The figure lists them. The seventh matrix has two inversions and one , and those two numbers turn out to control everything.
Alternating sign matrices against permutations
How many alternating sign matrices are there? The figure enumerates them for sizes up to 6, row by row, keeping track of each column’s running total: 1, 2, 7, 42, 429, 7,436. The permutation matrices among them, , are a vanishing fraction — 720 of 7,436 at size 6.
William Mills, David Robbins and Howard Rumsey computed these numbers around 1982 and noticed that they factor into small primes, which counts of combinatorial objects rarely do. They conjectured the formula
and the figure checks it at every size it enumerates. A proof took more than a decade. Doron Zeilberger published one in 1996, a long paper checked by dozens of volunteer referees, and Greg Kuperberg gave a much shorter one the same year by recognising alternating sign matrices as the states of a model of square ice, with two arrows in and two out at every vertex, whose partition function physicists had already computed.
The figure’s third curve is easier and was proved at once. Weight each matrix by 2 for each of its entries and add: the total is exactly — 8, 64, 1,024, 32,768. That number counts the domino tilings of the Aztec diamond, and the connection is one of the routes by which the tilings were first counted. Condensation produces the weights directly, as the next figure shows.
The λ-determinant
Robbins and Rumsey asked in 1986 what condensation computes if the 2 × 2 rule is replaced by , with any number, keeping the divisions. The answer is a function of the array they called the λ-determinant, and they proved that it is a sum over alternating sign matrices:
where counts the entries of . A in puts an entry of the array in the denominator, which is why condensation must divide.
The figure computes both sides for one 3 × 3 array at 121 values of and they agree to the last digit. At the factor kills every matrix with a , the permutation matrices survive with sign , and the λ-determinant is the ordinary determinant, . At only the identity matrix survives and the value is the diagonal product, 24. At every matrix with negative entries is weighted by : set all the entries of the array to 1 and the sum becomes the 2-enumeration of the last figure. The permanent, which drops the determinant’s signs, is not a value of this function — at the extra matrices are weighted in, rather than cancelled out.
Robbins and Rumsey found something else on the way, and it has outgrown the context it came from. Run condensation on indeterminates, with any , and every entry of every layer is a Laurent polynomial: a polynomial in the entries and their reciprocals, never a quotient of polynomials, although every step divides. The divisions always cancel into monomials. Sergey Fomin and Andrei Zelevinsky made this “Laurent phenomenon” the central property of cluster algebras in 2002, and Dodgson’s recurrence — under the name of the octahedron recurrence — is one of its first examples.
What the arrays leave out
The figures compute everything exactly on small arrays: condensation on 4 × 4, the identity on arrays up to 7 × 7, alternating sign matrices up to size 6. None of that is a proof. The Desnanot–Jacobi identity has a short proof by block matrices; Robbins and Rumsey’s expansion has a proof by induction on the condensation; the product formula for has only long proofs, and the enumeration in the figure merely agrees with it six times. Agreement at six sizes is how the formula was found, not how it is known.
The pictures also say nothing about why the product formula should hold. Kuperberg’s proof works through a determinant of Izergin and Korepin, which counts square-ice states with a boundary of a special kind, and specialises it to the alternating sign matrices; the counting is exact but the reason the answer factors so well is not something any figure can show. Several other families of objects — plane partitions with certain symmetries, and the totally symmetric self-complementary ones in particular — are counted by the same numbers , and the reason for that coincidence is the open part.
Still open: the bijections
The numbers count alternating sign matrices of size and also descending plane partitions with parts at most , and also totally symmetric self-complementary plane partitions in a box of side . These three families were proved equinumerous by computing all three counts. No bijection — no explicit rule turning one kind of object into another — is known between alternating sign matrices and either kind of plane partition, despite decades of attempts and several partial results for refined statistics. It is one of the best-known open problems in enumerative combinatorics, and it is the kind of problem a picture might eventually solve, since a bijection is exactly a way of drawing one object as another.
On the algebraic side, the Laurent phenomenon raises its own questions: which recurrences have it, and why the coefficients of the Laurent polynomials it produces are so often positive integers counting something, as Dodgson’s are counting alternating sign matrices. For cluster algebras the positivity was proved for a large class in 2015 and in general in 2018, after more than a decade as a conjecture. What a given cluster variable’s terms count, in general, is still worked out case by case.
The quotient that knew more than the recipe
Condensation looks like a computational trick: a determinant from 2 × 2 determinants, with divisions that happen to come out whole. The divisions come out whole because every number in every layer is a minor, and the Desnanot–Jacobi identity makes the quotient exact. The method fails at a nought for the same reason, since it divides by minors that happen to vanish.
Change the minus sign and the trick becomes a theorem. The terms that condensation briefly creates and cancels — monomials with an entry in the denominator — are indexed by matrices of 0s, 1s and −1s that alternate in sign, and with a weight they no longer cancel. Counting those matrices took thirteen years and connected Dodgson’s recipe to square ice, domino tilings and cluster algebras. Lewis Carroll’s 2 × 2 determinants turned out to be hiding a family of objects larger than the permutations — 7,436 against 720 at size 6 — which the ordinary determinant, at , cancels down to the familiar sum.
Shares its objects with
Essays that name at least two of the same things, and that neither author linked.
- A hundred prisoners and one shuffle — both name exhaustive search, permutation
- A number that counts what it cannot see — both name determinant, exhaustive search
- A prime leaves no room for a comb — both name determinant, exhaustive search
- A ring that no pairing can break — both name exhaustive search, permutation
- A second empty square — both name exhaustive search, permutation
- A sort that never looks at the answers — both name exhaustive search, permutation
Named objects
A dashed tag is an object no other essay names yet.
Alternating sign matrixDeterminantExhaustive searchLaurent seriesPermanentPermutation