The sum of all width-one matrices

William Q. Erickson,Jan Kretschmann
DOI: https://doi.org/10.1016/j.ejc.2023.103799
IF: 0.89
2024-01-01
European Journal of Combinatorics
Abstract:A nonnegative integer matrix is said to be width-one if its nonzero entries lie along a path consisting of steps to the south and to the east. These matrices are important in optimal transport theory: the northwest corner algorithm, for example, takes supply and demand vectors and outputs a width-one matrix. The problem in this paper is to write down an explicit formula for the sum of all width-one matrices (with given dimensions n × n and given sum d of the entries). We prove two strikingly different formulas. The first, a 4 F 3 hypergeometric series with unit argument, is obtained by applying the Robinson–Schensted–Knuth correspondence to the width-one matrices; the second is obtained via Stanley–Reisner theory. Computationally, our two formulas are complementary to each other: the first formula outperforms the second if d is fixed and n increases, while the second outperforms the first if n is fixed and d increases. We also show how our result yields a new non-recursive formula for the mean value of the discrete earth mover’s distance (i.e., the solution to the transportation problem), whenever the cost matrix has the Monge property.
mathematics
What problem does this paper attempt to address?