Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Matrices with only two different entries and maximal determinant

Combinatorics

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

Define Mn\mathcal M_nMn​ as the set of all n×nn\times nn×n matrices of full rank with each entry either 1 or xxx. I am interested in how big the determinant of such a matrix can be. For this, we define in a straightforward way the following:

For polynomials f(x)=fnxn+⋯+f0f(x)=f_nx^n+\cdots+f_0f(x)=fn​xn+⋯+f0​ and g(x)=gmxm+⋯+g0g(x)=g_mx^m+\cdots+g_0g(x)=gm​xm+⋯+g0​ with fn,gm>0f_n,g_m>0fn​,gm​>0, we say that fff dominates ggg if either n>mn>mn>m or (fn,…,f0)≻(gm,…,g0)(f_n ,\dots,f_0) \succ (g_m, \dots,g_0)(fn​,…,f0​)≻(gm​,…,g0​) in lexical order. Equivalently, f(x)⩾g(x)f(x)\geqslant g(x)f(x)⩾g(x) for large x>x0x>x_0x>x0​.

Then my main question is:

What can be said about the matrices in Mn\mathcal M_nMn​ whose determinant dominates all the others?

We will identify matrices that only differ by a combination of row/column permutations and/or transposition, as the determinant doesn't change up to sign. Moreover, we always assume that the leading coefficient fnf_nfn​ is positive (otherwise just switch two lines).

For x→1x\to1x→1, the matrices of Mn\mathcal M_nMn​ degenerate to the all-1-matrix of rank 111 instead of nnn. From this it is easy to see that for M∈MnM\in\mathcal M_nM∈Mn​, we have det⁡(M)=(x−1)n−1(ax+b).\det(M)=(x-1)^{n-1}(ax+b).det(M)=(x−1)n−1(ax+b). We'll refer to this linear form ax+bax+bax+b (wlog a>0a>0a>0) as the remainder of MMM. For given nnn, denote the dominant remainder by anx+bna_nx+b_nan​x+bn​.

The sequence (an)(a_n)(an​) is well-known (see below).

What can be said about bnb_nbn​ (other than bn≤anb_n\le a_nbn​≤an​)?

For each line or column of a matrix M∈MnM\in\mathcal M_nM∈Mn​, we define its weight as the number of xxx's occurring in it. The signature of MMM is the set of the two vectors of row weights and column weights, wlog both in non-increasing order. (And wlog we'll reorder the rows and columns accordingly.)

Matrices of different signatures can have the same determinant. Intuitively, I would conjecture though that for the extremal ones, the signature is unique and that the matrices can be arranged in a fairly symmetrical way. Signatures can help to identify certain symmetries of such matrices which have been found experimentally.

Extensive (but for n≥7n\ge7n≥7 not exhaustive) computations seem to show that the extremal matrices always can be written (by performing row/column permutations) as symmetric ones, meaning in particular that rows and columns have the same signature. Intuitively, this is no surprise, but:

Can that be proven, maybe by some extremal principle?

Some examples :

n=3n=3n=3: best remainder is 2x+12x+12x+1, e.g. M=(1xxx1xxx1)M=\begin{pmatrix} 1&x&x\\ x&1&x\\ x&x&1\\ \end{pmatrix}M=​1xx​x1x​xx1​​ with signature (222,222)(222,222) (222,222)

n=4n=4n=4: best remainder is 3x+23x+23x+2, e.g. M=(1xxxxx11x1x1x11x)M=\begin{pmatrix} 1&x&x&x\\ x&x&1&1\\ x&1&x&1\\ x&1&1&x\\ \end{pmatrix}M=​1xxx​xx11​x1x1​x11x​​ with signature (3222,3222)(3222,3222) (3222,3222)

n=5n=5n=5: best is 5x+45x+45x+4 for M=(xx11xxx1x111xxx1xx11x1x11)M=\begin{pmatrix} x&x&1&1&x\\ x&x&1&x&1\\ 1&1&x&x&x\\ 1&x&x&1&1\\ x&1&x&1&1\\ \end{pmatrix}M=​xx11x​xx1x1​11xxx​1xx11​x1x11​​ with signature (33322,33322)(33322,33322)(33322,33322)

n=6n=6n=6: best is 9x+99x+99x+9 with M=(x1xx111xxx1111x1xx111xxxxx11x1xx111x)M=\begin{pmatrix} \color{blue}x&\color{blue}1&x&x&1&1\\ \color{blue}1&\color{blue}x&x&x&1&1\\ 1&1&\color{blue}x&\color{blue}1&x&x\\ 1&1&\color{blue}1&\color{blue}x&x&x\\ x&x&1&1&\color{blue}x&\color{blue}1\\ x&x&1&1&\color{blue}1&\color{blue}x\\ \end{pmatrix}M=​x111xx​1x11xx​xxx111​xx1x11​11xxx1​11xx1x​​ and signature (36,36)(3_6,3_6)(36​,36​). Note the circulant block structure of the 2×22\times22×2 blocks, which will be referred to below.

n=7n=7n=7: very probably best is 32x+2432x+2432x+24 with, e.g.,

M=(x11x1xx1x1xx1x11xxxx1xxxx1111xx11xxx1x1x1xxx11xx1)M=\begin{pmatrix} x&1&1&\color{blue}x&1&x&x\\ 1&x&1&\color{blue}x&x&1&x\\ 1&1&x&\color{blue}x&x&x&1\\ \color{blue}x&\color{blue}x&\color{blue}x&\color{blue}x&\color{blue}1&\color{blue}1&\color{blue}1\\ 1&x&x&\color{blue}1&1&x&x\\ x&1&x&\color{blue}1&x&1&x\\ x&x&1&\color{blue}1&x&x&1\\ \end{pmatrix}M=​x11x1xx​1x1xx1x​11xxxx1​xxxx111​1xx11xx​x1x1x1x​xx11xx1​​ or M=(xxx1x111xxx1x111xxx1xx11xxx11x11xxxx1x11xxxx1x11x)M=\begin{pmatrix} x&x&x&1&x&1&1\\ 1&x&x&x&1&x&1\\ 1&1&x&x&x&1&x\\ x&1&1&x&x&x&1\\ 1&x&1&1&x&x&x\\ x&1&x&1&1&x&x\\ x&x&1&x&1&1&x \end{pmatrix}M=​x11x1xx​xx11x1x​xxx11x1​1xxx11x​x1xxx11​1x1xxx1​11x1xxx​​, which both have signature (47,47)(4_7,4_7) (47​,47​). Note the symmetry of the first one and the 3×33\times33×3 blocks in the 4 corners. The second one is not symmetric, but circulant. BTW the question whether both matrices are essentially the same (i.e. obtainable from one another by suitable permutations of rows and columns) has motivated this question.

n=8n=8n=8: best so far is 56x+4056x+4056x+40 with M=(1xxx1x1xx1xxx11xxx1xxx11xxx1xx111xxxx1x1x1xx1xx11111xxxxxx1111xx)M=\begin{pmatrix} 1&x&x&x&1&x&\color{blue}1&\color{blue}x\\ x&1&x&x&x&1&\color{blue}1&\color{blue}x\\ x&x&1&x&x&x&\color{blue}1&\color{blue}1\\ x&x&x&1&x&x&\color{blue}1&\color{blue}1\\ 1&x&x&x&x&1&\color{blue}x&\color{blue}1\\ x&1&x&x&1&x&\color{blue}x&\color{blue}1\\ \color{blue}1&\color{blue}1&\color{blue}1&\color{blue}1&\color{blue}x&\color{blue}x&\color{blue}x&\color{blue}x\\ \color{blue}x&\color{blue}x&\color{blue}1&\color{blue}1&\color{blue}1&\color{blue}1&\color{blue}x&\color{blue}x\\ \end{pmatrix}M=​1xxx1x1x​x1xxx11x​xx1xxx11​xxx1xx11​1xxxx1x1​x1xx1xx1​1111xxxx​xx1111xx​​ and signature (5642,5642)(5_64_2,5_64_2) (56​42​,56​42​). Look again at the 2×22\times22×2 blocks.

The sequence 2,3,5,9,32,56...2,3,5,9,32,56...2,3,5,9,32,56... of the ana_nan​'s is the same as A003432, which is the largest determinant of a {0,1}-matrix of order n. This is clear from the following argument: If M∈MnM\in\mathcal M_nM∈Mn​ with det⁡(M)=f(x)=(x−1)n−1(ax+b)\det(M)=f(x)=(x-1)^{n-1}(ax+b)det(M)=f(x)=(x−1)n−1(ax+b) and M∼M^\simM∼ is defined by swapping the 111's with the xxx's, we have f∼:=det⁡(M∼)=xnf(1x)=(x−1)n−1(bx+a)f^\sim:=\det(M^\sim)=x^nf(\frac1x)=(x-1)^{n-1}(bx+a)f∼:=det(M∼)=xnf(x1​)=(x−1)n−1(bx+a), so by letting x→∞x\to\inftyx→∞ in MMM we get for the leading coefficient fn=f∼(0)=af_n=f^\sim(0)=afn​=f∼(0)=a, while on the other hand putting x=0x=0x=0 in M∼M^\simM∼ yields a {0,1}-matrix with determinant aaa. Further, all these steps can be reversed.

Now I am also wondering what is the link with the "Hadamard maximal determinant problem", which asks when a matrix of a given order with entries -1 and +1 has the largest possible determinant. The relationship between ±1\pm1±1-matrices and 0-1-matrices is vaguely explained on the dedicated site as "a consequence of a mapping between binary and sign matrices" (which is supposedly bijective). But e.g. for n=6n=6n=6 the extremal ±1\pm1±1-matrix \begin{pmatrix} -&+&+&+&+&+\ +&-&+&+&+&+\ +&+&-&+&+&+\ -&-&-&-&+&+\ -&-&-&+&-&+\ -&-&-&+&+&-\ \end{pmatrix} (essentially unique, up to permutations and negations of rows and columns) has obviously symmetries corresponding to 3×33\times33×3 blocks, while the symmetries of the (also essentially unique) extremal 0-x-matrix above correspond to 2×22\times22×2 blocks. The intriguing thing is further that Hadamard matrices only seem to encapsulate the ana_nan​'s of the 1-x-matrices, but not the bnb_nbn​'s. Well, it all may depend on the mapping.

Any insights about a reasonable such mapping?

Statement and context adapted from MathOverflow · Wolfgang

CC BY-SA 3.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Asymptotic behaviour
This studies a quantity as its parameter becomes large. Writing f(n) ∼ g(n) means that their ratio tends to 1, not that the functions are exactly equal.

Topics : co.combinatorics · matrices · determinants · extremal-combinatorics

Authors listed by the source : Wolfgang

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : January 23, 2018

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni