Maximizing Determinant in 3x3 Matrix with 0/1 Entries

  • Context: Undergrad 
  • Thread starter Thread starter neden
  • Start date Start date
  • Tags Tags
    Matrix Puzzle
Click For Summary

Discussion Overview

The discussion revolves around determining the maximum possible value of the determinant for a 3x3 matrix with entries restricted to 0 or 1. Participants explore various matrices, methods of calculation, and related theoretical concepts.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant proposes a specific 3x3 matrix and claims its determinant is 2, asking if a higher value can be achieved or if there is an algebraic algorithm to determine the maximum.
  • Another participant agrees with the first, stating that through brute force, they also found the maximum determinant to be 2, listing three matrices that achieve this value.
  • A participant mentions results for 2x2 and 4x4 matrices, noting that the maximum determinant for 4x4 matrices is 3, but only 5 non-similar matrices exist.
  • Discussion includes a general construction method for NxN matrices that yields a determinant of N-1 for the proposed matrix form.
  • One participant introduces Hadamard's Maximum Determinant Problem, providing a formula that confirms the maximum determinant for a 3x3 matrix is 2.
  • A later reply references the difficulty of proving the (0,1)-matrix formula and inquires about existing references for further exploration.

Areas of Agreement / Disagreement

Participants generally agree that the maximum determinant for 3x3 matrices with 0/1 entries is 2, but there is no consensus on the existence of a more efficient proof or method for determining this maximum.

Contextual Notes

Participants mention various methods and results related to determinants of matrices, but the discussion does not resolve the complexity of proving the maximum determinant for (0,1)-matrices.

Who May Find This Useful

Readers interested in linear algebra, matrix theory, or combinatorial optimization may find this discussion relevant.

neden
Messages
18
Reaction score
0
I was wondering what would be the largest possible value for a determinant, for a 3 by 3 matrix whose entries can only be 0 or 1.
My solution is the following:

1 0 1
1 1 0
0 1 1

With a determinant of 2. Can anyone go any higher, or better yet is there an algebraic algorithm to determine that?
 
Physics news on Phys.org
I think that you're right. By brute force, I found that the max determinant of 3x3 matrices with elements in {0,1} is 2. There are three matrices with the max determinant
\left\{\left(<br /> \begin{array}{ccc}<br /> 0 &amp; 1 &amp; 1 \\<br /> 1 &amp; 0 &amp; 1 \\<br /> 1 &amp; 1 &amp; 0<br /> \end{array}<br /> \right),\left(<br /> \begin{array}{ccc}<br /> 1 &amp; 0 &amp; 1 \\<br /> 1 &amp; 1 &amp; 0 \\<br /> 0 &amp; 1 &amp; 1<br /> \end{array}<br /> \right),\left(<br /> \begin{array}{ccc}<br /> 1 &amp; 1 &amp; 0 \\<br /> 0 &amp; 1 &amp; 1 \\<br /> 1 &amp; 0 &amp; 1<br /> \end{array}<br /> \right)\right\}
The last two are just transpositions of each other.

There are similar results with 2x2 matrices which have max determinant = 1:
\left\{\left(<br /> \begin{array}{cc}<br /> 1 &amp; 0 \\<br /> 0 &amp; 1<br /> \end{array}<br /> \right),\left(<br /> \begin{array}{cc}<br /> 1 &amp; 0 \\<br /> 1 &amp; 1<br /> \end{array}<br /> \right),\left(<br /> \begin{array}{cc}<br /> 1 &amp; 1 \\<br /> 0 &amp; 1<br /> \end{array}<br /> \right)\right\}

For 4x4 matrices there are 60 matrices with the max determinant of 3. But only 5 non-similar matrices.
For higher dimensions, the brute force approach is not so good!

In arbitrary dimensions you can always construct the NxN matrix with elements
A_{ij} = 1 - \delta_{i,j-1} where the indices are evaluated mod N. For the N=3 case, this yields the matrix you considered and for arbitrary N, this matrix has determinant det(A) = N-1.

You could also construct the matrix B_{ij} = 1 - \delta_{i,j}. This has determinant det(B) = -(-1)N(N-1). Which is positive for odd dimensions.

These matrices can be thought of as the adjacency matrices of (non-weighted) directional graphs with self-loops.
I attached a picture of the graphs for the matrices A for N=3,4,5,6.
The matrix B corresponds to the http://en.wikipedia.org/wiki/Complete_graph" (undirected) graphs.

Anyway...
the case of 3x3 matrices that you were interested in is amenable to brute force and can be completely solved. The easiest way to generate all such matrices is to use the binary representation of all numbers from 0 to 2^{n^2}-1.
Sorry I couldn't think of a decent proof - these types of problems are not my forte.
 

Attachments

  • graphs.png
    graphs.png
    9.5 KB · Views: 582
Last edited by a moderator:
Thank you for the brief explanation, kind sir.

I also found this formula called Hadamard's Maximum Determinant Problem.
|detA|<=((n+1)^((n+1)/2))/(2^n)

where n is the matrix length, in this case 3.
The answer comes up to 2.
 
http://mathworld.wolfram.com/HadamardsMaximumDeterminantProblem.html" -- I'll have to try to remember that. Have you looked at any of the references for the (0,1)-matrix formula and its proof? Is it a difficult thing to prove?
 
Last edited by a moderator:

Similar threads

  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
15
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K