The partial-fractions method for counting solutions to integral linear systems

Similar documents
Computing the continuous discretely: The magic quest for a volume

Enumerating integer points in polytopes: applications to number theory. Matthias Beck San Francisco State University math.sfsu.

10 Years BADGeometry: Progress and Open Problems in Ehrhart Theory

A Finite Calculus Approach to Ehrhart Polynomials. Kevin Woods, Oberlin College (joint work with Steven Sam, MIT)

Combinatorial Reciprocity Theorems

Chapter 1. Preliminaries

Combinatorial Reciprocity Theorems

Commuting birth-and-death processes

Top Ehrhart coefficients of integer partition problems

Ehrhart polynome: how to compute the highest degree coefficients and the knapsack problem.

Lattice polygons. P : lattice polygon in R 2 (vertices Z 2, no self-intersections)

Weighted Ehrhart polynomials and intermediate sums on polyhedra

Integer Programming Duality

Integer programming, Barvinok s counting algorithm and Gomory relaxations

The Ehrhart polynomial of the Birkhoff polytope 1

arxiv:math/ v2 [math.co] 9 Oct 2008

arxiv: v2 [math.co] 23 Feb 2008

MAXIMAL PERIODS OF (EHRHART) QUASI-POLYNOMIALS

Real-rooted h -polynomials

3. Linear Programming and Polyhedral Combinatorics

Dimension Quasi-polynomials of Inversive Difference Field Extensions with Weighted Translations

Generalized Ehrhart polynomials

Integer Programming, Part 1

Problems on Minkowski sums of convex lattice polytopes

3. Linear Programming and Polyhedral Combinatorics

Optimization WS 13/14:, by Y. Goldstein/K. Reinert, 9. Dezember 2013, 16: Linear programming. Optimization Problems

Binomial Exercises A = 1 1 and 1

TRISTRAM BOGART AND REKHA R. THOMAS

arxiv: v3 [math.co] 1 Oct 2018

A thesis presented to the faculty of San Francisco State University In partial fulfilment of The Requirements for The Degree

Linear Algebra Review: Linear Independence. IE418 Integer Programming. Linear Algebra Review: Subspaces. Linear Algebra Review: Affine Independence

arxiv: v1 [math.co] 30 Sep 2017

Affine Geometry and the Discrete Legendre Transfrom

Cutting Plane Methods I

Toric Varieties in Statistics

3.7 Cutting plane methods

Affine Geometry and Discrete Legendre Transform

Note that a unit is unique: 1 = 11 = 1. Examples: Nonnegative integers under addition; all integers under multiplication.

Toric statistical models: parametric and binomial representations

Lectures 6, 7 and part of 8

Separation of convex polyhedral sets with uncertain data

Today s class. Constrained optimization Linear programming. Prof. Jinbo Bi CSE, UConn. Numerical Methods, Fall 2011 Lecture 12

Counting with rational generating functions

A generating function for all semi-magic squares and the volume of the Birkhoff polytope

and Other Combinatorial Reciprocity Instances

Polytopes and Algebraic Geometry. Jesús A. De Loera University of California, Davis

ON THE RANK OF A TROPICAL MATRIX

Section-A. Short Questions

Sampling Contingency Tables

Nonlinear Discrete Optimization

CSL361 Problem set 4: Basic linear algebra

Ehrhart polynomial for lattice squares, cubes, and hypercubes

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

THE BKK ROOT COUNT IN C n. c e x e,

GALE DUALITY FOR COMPLETE INTERSECTIONS

Tropical Geometry Homework 3

Math 315: Linear Algebra Solutions to Assignment 7

arxiv: v1 [math.co] 19 Nov 2018

Semidefinite and Second Order Cone Programming Seminar Fall 2001 Lecture 5

AN ALTERNATIVE ALGORITHM FOR COUNTING LATTICE POINTS IN A CONVEX POLYTOPE. 1. Introduction. Consider the (not necessarily compact) polyhedron

HILBERT BASIS OF THE LIPMAN SEMIGROUP

arxiv: v1 [math.co] 28 Mar 2016

Dedekind sums: a combinatorial-geometric viewpoint

Harbor Creek School District. Algebra II Advanced. Concepts Timeframe Skills Assessment Standards Linear Equations Inequalities

Contents. 2 Sequences and Series Approximation by Rational Numbers Sequences Basics on Sequences...

6.N.3 Understand the relationship between integers, nonnegative decimals, fractions and percents.

Mixed-integer linear representability, disjunctions, and Chvátal functions modeling implications

Parametric Integer Programming in Fixed Dimension

arxiv: v2 [math.co] 30 Oct 2010

LATTICE PLATONIC SOLIDS AND THEIR EHRHART POLYNOMIAL

Relation of Pure Minimum Cost Flow Model to Linear Programming

PRIMARY DECOMPOSITION FOR THE INTERSECTION AXIOM

Tropical Geometry in Economics

Introduction to Mathematical Programming IE406. Lecture 3. Dr. Ted Ralphs

Markov bases and subbases for bounded contingency tables

On minimal solutions of linear Diophantine equations

Combinatorics for algebraic geometers

Section 5.8. (i) ( 3 + i)(14 2i) = ( 3)(14 2i) + i(14 2i) = {( 3)14 ( 3)(2i)} + i(14) i(2i) = ( i) + (14i + 2) = i.

LP Relaxations of Mixed Integer Programs

correlated to the Washington D.C. Public Schools Learning Standards Algebra II

LEVEL MATRICES G. SEELINGER, P. SISSOKHO, L. SPENCE, AND C. VANDEN EYNDEN

Combinatorics and geometry of E 7

arxiv:math/ v1 [math.oc] 3 Oct 2001

CAYLEY COMPOSITIONS, PARTITIONS, POLYTOPES, AND GEOMETRIC BIJECTIONS

Chapter 1. Functions 1.1. Functions and Their Graphs

Complex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i

Algebra 2A Unit 1 Week 1 Day Activity Unit 1 Week 2 Day Activity Unit 1 Week 3 Day Activity Unit 2 Week 1 Day Activity

Tropical decomposition of symmetric tensors

Renormalization and Euler-Maclaurin Formula on Cones

SYMBOL EXPLANATION EXAMPLE

arxiv:math/ v1 [math.co] 6 Dec 2005

Fast Computation of Clebsch Gordan Coefficients

ALGEBRAIC DEGREE OF POLYNOMIAL OPTIMIZATION. 1. Introduction. f 0 (x)

Diophantine approximations and integer points of cones

Mixed-integer linear representability, disjunctions, and variable elimination

arxiv: v1 [math.co] 10 Aug 2016

Chordal structure in computer algebra: Permanents

Missouri Educator Gateway Assessments DRAFT

arxiv: v1 [math.ac] 6 Jan 2019

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

Transcription:

The partial-fractions method for counting solutions to integral linear systems Matthias Beck, MSRI www.msri.org/people/members/matthias/ arxiv: math.co/0309332

Vector partition functions A an (m d)-integral matrix b Z m Goal: Compute vector partition function φ A (b) := # { x Z d 0 : A x = b} (defined for b in the nonnegative linear span of the columns of A) The partial-fractions method for counting solutions to integral linear systems Matthias Beck 2

Vector partition functions A an (m d)-integral matrix b Z m Goal: Compute vector partition function φ A (b) := # { x Z d 0 : A x = b} (defined for b in the nonnegative linear span of the columns of A) Applications in... Number Theory (partitions) Discrete Geometry (polyhedra) Commutative Algebra (Hilbert series) Algebraic Geometry (toric varieties) Representation Theory (tensor product multiplicities) Optimization (integer programming) Chemistry, Biology, Physics, Computer Science, Economics... The partial-fractions method for counting solutions to integral linear systems Matthias Beck 2

Ehrhart quasi-polynomials Rational (convex) polytope P convex hull of finitely many points in Q d Alternative description: P = { x R d : A x b } For t Z >0, let L P (t) := # ( tp Z d) The partial-fractions method for counting solutions to integral linear systems Matthias Beck 3

Ehrhart quasi-polynomials Rational (convex) polytope P convex hull of finitely many points in Q d Alternative description: P = { x R d : A x b } Translate & introduce slack variables P = { x R d 0 : A x = b} For t Z >0, let L P (t) := # ( tp Z d) The partial-fractions method for counting solutions to integral linear systems Matthias Beck 3

Ehrhart quasi-polynomials Rational (convex) polytope P convex hull of finitely many points in Q d Alternative description: P = { x R d : A x b } Translate & introduce slack variables P = { x R d 0 : A x = b} For t Z >0, let L P (t) := # ( tp Z d) = φ A (tb) (for fixed b) The partial-fractions method for counting solutions to integral linear systems Matthias Beck 3

Ehrhart quasi-polynomials Rational (convex) polytope P convex hull of finitely many points in Q d Alternative description: P = { x R d : A x b } Translate & introduce slack variables P = { x R d 0 : A x = b} For t Z >0, let L P (t) := # ( tp Z d) = φ A (tb) (for fixed b) Quasi-polynomial c d (t) t d + c d (t) t d + + c 0 (t) where c k (t) are periodic Theorem (Ehrhart 967) If P is a rational polytope, then the functions L P (t) and L P (t) are quasi-polynomials in t of degree dim P. If P has integer vertices, then L P and L P are polynomials. Theorem (Ehrhart, Macdonald 970) L P ( t) = ( ) dim P L P (t) The partial-fractions method for counting solutions to integral linear systems Matthias Beck 3

Vector partition theorems φ A (b) := # { x Z d 0 : A x = b} Quasi-polynomial a finite sum n c n(b) b n with coefficients c n that are functions of b which are periodic in every component of b. A matrix is unimodular if every square submatrix has determinant ±. Theorem (Sturmfels 995) φ A (b) is a piecewise-defined quasi-polynomial in b of degree d rank(a). The regions of R m in which φ A (b) is a single quasi-polynomial are polyhedral. If A is unimodular then φ A is a piecewise-defined polynomial. Theorem (MB 2002) Let r k denote the sum of the entries in the k th row of A, and let r = (r,..., r m ). Then φ A (b) = ( ) d rank A φ A ( b r) The partial-fractions method for counting solutions to integral linear systems Matthias Beck 4

Issues... Compute the regions of (quasi-)polynomiality of φ A (b) Given one such region, compute the (quasi-)polynomial φ A (b) Barvinok: t 0 φ A (tb) z t can be computed in polynomial time The partial-fractions method for counting solutions to integral linear systems Matthias Beck 5

Euler s generating function φ A (b) := # { x Z d 0 : A x = b} A = c c 2 c d φ A (b) equals the coefficient of z b := z b zb m m ( z c ) ( z c d ) expanded as a power series centered at z = 0. of the function The partial-fractions method for counting solutions to integral linear systems Matthias Beck 6

Euler s generating function φ A (b) := # { x Z d 0 : A x = b} A = c c 2 c d φ A (b) equals the coefficient of z b := z b zb m m ( z c ) ( z c d ) expanded as a power series centered at z = 0. of the function Proof Expand each factor into a geometric series. The partial-fractions method for counting solutions to integral linear systems Matthias Beck 6

Euler s generating function φ A (b) := # { x Z d 0 : A x = b} A = c c 2 c d φ A (b) equals the coefficient of z b := z b zb m m ( z c ) ( z c d ) expanded as a power series centered at z = 0. of the function Proof Expand each factor into a geometric series. Equivalently, φ A (b) = const ( z c ) ( z c d ) z b The partial-fractions method for counting solutions to integral linear systems Matthias Beck 6

Partial fractions φ A (b) = const ( z c ) ( z c d ) z b Expand into partial fractions in z : ( z c ) ( z c d ) z = b z b 2 2 zb m d k= A k (z, b ) z c k + b j= B j (z) z j Here A k and B j are polynomials in z, rational functions in z 2,..., z m, and exponential in b. The partial-fractions method for counting solutions to integral linear systems Matthias Beck 7

Partial fractions φ A (b) = const ( z c ) ( z c d ) z b Expand into partial fractions in z : ( z c ) ( z c d ) z = b z b 2 2 zb m d k= A k (z, b ) z c k + b j= B j (z) z j Here A k and B j are polynomials in z, rational functions in z 2,..., z m, and exponential in b. φ A (b) = const z2,...,z m z b 2 2 zb m const z d k= A k (z, b ) z c k The partial-fractions method for counting solutions to integral linear systems Matthias Beck 7

Partial fractions φ A (b) = const ( z c ) ( z c d ) z b Expand into partial fractions in z : ( z c ) ( z c d ) z = b z b 2 2 zb m d k= A k (z, b ) z c k + b j= B j (z) z j Here A k and B j are polynomials in z, rational functions in z 2,..., z m, and exponential in b. φ A (b) = const z2,...,z m z b 2 2 zb m = const z b 2 2 zb m d k= const z d k= A k (z, b ) z c k A k (0, z 2,..., z m, b ) (0, z 2,..., z m ) c k The partial-fractions method for counting solutions to integral linear systems Matthias Beck 7

Advantages easy to implement allows symbolic computation constraints which define the regions of (quasi-)polynomiality are obtained automatically The partial-fractions method for counting solutions to integral linear systems Matthias Beck 8

An example x, x 2, x 3, x 4 0 x + 2x 2 + x 3 = a x + x 2 + x 4 = b φ A (a, b) = const ( zw)( z 2 w)( z)( w)z a w b The partial-fractions method for counting solutions to integral linear systems Matthias Beck 9

An example x, x 2, x 3, x 4 0 x + 2x 2 + x 3 = a x + x 2 + x 4 = b φ A (a, b) = const ( zw)( z 2 w)( z)( w)z a w b z b+ ( z) 2 ( zw)( z 2 w)( w)w b = zw + z 2b+3 ( z)( z 2 ) z 2 w + ( z)( z 2 ) w + b k=... w k The partial-fractions method for counting solutions to integral linear systems Matthias Beck 9

An example x, x 2, x 3, x 4 0 x + 2x 2 + x 3 = a x + x 2 + x 4 = b φ A (a, b) = const ( zw)( z 2 w)( w)w b = zw + φ A (a, b) = const = const ( zw)( z 2 w)( z)( w)z a w b z b+ ( z) 2 z 2b+3 ( z)( z 2 ) z 2 w + ( z)( z 2 ) w + b k= ( zb+ ( z) 2 + z 2b+3 ( z)( z 2 ) + ( z)z a ( zb a+ ( z) 3 + z 2b a+3 ( z) 2 ( z 2 ) + ( z) 2 ( z 2 )z a... w k ( z)( z 2 ) ) ) The partial-fractions method for counting solutions to integral linear systems Matthias Beck 9

An example φ A (a, b) = const For the second term... ( zb a+ ( z) 3 + z 2b a+3 ) ( z) 2 ( z 2 ) + ( z) 2 ( z 2 )z a The partial-fractions method for counting solutions to integral linear systems Matthias Beck 0

An example φ A (a, b) = const ( zb a+ ( z) 3 + z 2b a+3 ) ( z) 2 ( z 2 ) + ( z) 2 ( z 2 )z a For the second term, if 2b a + 3 > 0 then const z 2b a+3 ( z) 2 ( z 2 ) = 0 The partial-fractions method for counting solutions to integral linear systems Matthias Beck 0

An example φ A (a, b) = const ( zb a+ ( z) 3 + z 2b a+3 ) ( z) 2 ( z 2 ) + ( z) 2 ( z 2 )z a For the second term, if 2b a + 3 > 0 then const If 2b a + 3 0 we expand into partial fractions again: z 2b a+3 ( z) 2 ( z 2 ) = 0 z 2b a+3 const ( z) 2 ( z 2 ) = const /2 a 2b 3 ( z) 3 + 2 + 4 ( z) 2 + (a 2b 3) 2 4 + a 2b 3 2 + 8 z + ( )a+ /8 + z = (a 2b)2 4 + 2b a 2 + + ( )a+ 8 The partial-fractions method for counting solutions to integral linear systems Matthias Beck 0

An example φ A (a, b) = a 2 4 + a + 7+( )a 8 if a b ab a2 4 b2 2 + a+b 2 + 7+( )a 8 if a > b > a 3 2 b 2 2 + 3b a 3 2 + if b 2 x, x 2, x 3, x 4 0 x + 2x 2 + x 3 = a x + x 2 + x 4 = b b a < b a > b > a 3 b a 3 2 2 a The partial-fractions method for counting solutions to integral linear systems Matthias Beck

Open problems Computational complexity Re-interpret each term as coming from a linear system and simplify The partial-fractions method for counting solutions to integral linear systems Matthias Beck 2

Open problems Computational complexity Re-interpret each term as coming from a linear system and simplify Example: second term above const z 2b a+3 ( z) 2 ( z 2 ) = # { (x, y, z) Z 3 0 : x + y + 2z = a 2b 3 } = # { (x, y) Z 2 0 : x + 2y a 2b 3 } The partial-fractions method for counting solutions to integral linear systems Matthias Beck 2