The Squared Circle

Determinants of random binary matrices

April 7, 2009 · 1 Comment

I ran across The determinant game on Alex Gittens’ blog ChapterZero where there was a comment pointing out that the problem is similar to problem A4 on Putnam competition.

The version of the determinant game in the Putnam problem is to start with an empty square matrix. Player 1 puts down a 1 somewhere, then player 0 puts down a 0 in an empty space and the two players then alternate turns. When there are no empty entries left, the determinant of the matrix is computed and if it is 0, then player 0 wins otherwise player 1 wins.

Since an optimal game of putting down 0 and 1 can be thought of as a particular subspace of a randomly constructed matrix composed of exactly \lfloor \frac{n^2}{2}\rfloor entries equal to 0 and the rest equal to 1, this got me thinking about random matrices.

Problem: Let A_{n,k} be an n \times n matrix with exactly k entries equal to 1 and the other entries 0. If the location of the entries 0,1 is uniformly chosen in the matrix A, what is the probability P_{n,k} that the determinant det(A_{n,k}) \neq 0.

You can think of the problem as two dumb machines playing the above Determinant game, what is the probability that one will win?

I don’t have the solution, and I suspect it is not a trivial problem. Please let me know your thoughts, comments, solutions etc. Here are some easy calculations

P_{n,k} = 0 for k < n and for k \geq n^2 - n +2.
In the first case there aren’t enough 1s (at least one 1 in each column) and in the second case again by pigeonhole principle there will be at least two columns composed of all 1s and therefore won’t be linearly independent.

\displaystyle P_{n,n}=\prod_{k=1}^{n-1}\frac{(n-k)^2}{n^2-k}
Once the first 1 is put down anywhere, that column and row is scratched out and the next 1 must be put in the reduced (n-1)^2 matrix for linear independence.

\displaystyle P_{n,n^2-n+1}=\prod_{k=1}^{n-2}\frac{(n-k)^2}{n^2-k}
This is similar to the previous calculation except with zeros. Notice that the product goes only up to n-2.

Now only the interesting cases remain :-)

Categories: math · probability
Tagged: , , , , , , ,

1 response so far ↓

  • Badal // April 14, 2009 at 2:08 pm | Reply

    I know the problem is too general, but as a start suggestions on a good strategy to figure out P_{n,n+1} are welcome.

    It goes without saying that complete solutions are also welcome !

Leave a Comment