Zulip Chat Archive
Stream: maths
Topic: an optimization problem
Alex Zhang (Oct 20 2021 at 18:02):
Given an arbitrary square matrix with the row sum of each row fixed. Could anyone explain or hint how to rigorous establish that a matrix with pairwisely perpendicular rows (properly ordered) is an optimal solution to the determinant optimization problem?
Yaël Dillies (Oct 20 2021 at 18:36):
It might be related to the Birkhoff-Von Neumann problem? If the determinant is convex in any useful way (not sure convexity even makes sense), then you know it's maximized on doubly stochastic matrices (which what you asked for, unless you're allowed negative coefficients?) by an extreme point, which is a permutation matrix thanks to Birkhoff-Von Neumann.
Yaël Dillies (Oct 20 2021 at 18:37):
I just made all of that up so don't take my word for it.
David Wärn (Oct 20 2021 at 19:09):
I think what you really want is to fix the sum-of-squares in each row? For positive entries you can relate this to the sum via , but otherwise you get very large determinant from for example .
David Wärn (Oct 20 2021 at 19:14):
I guess if you have an inner product space , there's a well-behaved notion of the -volume spanned by vectors (say, pick an orthonormal basis of the subspace spanned by them, and look at the absolute value of the determinant of the corresponding -matrix). For this gives you the determinant. And you should be able to prove a bound by induction on , using a generalization of the "base times height" formula for the area of a parallelogram.
Alex Zhang (Oct 20 2021 at 19:18):
Yes. fix the sum-of-squares
Alex Zhang (Oct 20 2021 at 19:20):
what is the generalization of the "base times height" formula?
David Wärn (Oct 20 2021 at 19:46):
By using Laplace expansion in a suitable basis, you should be able to show that , where is the projection of onto the subspace spanned by
David Wärn (Oct 20 2021 at 19:47):
Btw I have no idea what would be the best way to formalize this result in mathlib
Alex Zhang (Oct 20 2021 at 20:14):
This seems like a reasonable way to formally prove the result, but I feel it can be tedious to encode it.
Kyle Miller (Oct 20 2021 at 20:37):
This seems like a job for Lagrange multipliers and Jacobi's formula. A sketch:
First, consider the submanifold of matrices where row has length , with . This submanifold is a level set of for the codomain point , and let denote a matrix in this submanifold. Let denote the matrix , but setting all but row to . The matrices span the subspace of the tangent bundle that are orthogonal to the submanifold at .
One version of Jacobi's formula is that , where is entry of . A critical point of when restricted to the submanifold corresponds to a matrix where the matrix lies in the subspace spanned by , thus we can say each column of is a scalar multiple of the corresponding row of .
Assuming , then is invertible, so . Since , putting this all together the rows of are pairwise perpendicular. We can ignore as an optimum since the diagonal matrix with on the diagonal gives a lower bound for the maximal determinant.
David Wärn (Oct 20 2021 at 21:42):
You can rephrase my argument above to make it more direct: if is a square matrix, then you should be able to show that there exists a unitary matrix such that is upper triangular. This has the same (absolute value of) determinant as , and the norms of the rows are the same. But now the conclusion is clear, since the determinant is a product of diagonal entries, and the norms are lower bounded by diagonal entries.
Will Sawin (Oct 20 2021 at 21:54):
I think this is called Hadamard's inequality and searching that should give a proof.
Dima Pasechnik (Oct 22 2021 at 10:55):
yes, and in fact a student of mine worked on formalising Hadamard matrices in Liean+mathlib last summer.
Dima Pasechnik (Oct 22 2021 at 11:03):
And this student is @Alex Zhang (hi!) - whom I only recognised from the email :-)
Dima Pasechnik (Oct 22 2021 at 11:07):
Hadamard matrices are ones for which Hadamard inequality turns into equation (one can renormalise the nxn matrix to have its rows and columns to be of squared Euclidean norm n, and entries have norm at most 1 (and thus exactly 1).
Alex Zhang (Oct 23 2021 at 12:25):
Hi, Dima! @Dima Pasechnik
Last updated: Dec 20 2023 at 11:08 UTC