Largest edges of cubes contained in unit cubes

edit · history · discussion · files · short url · algebraic discrete geometry elementary geometry
Numbers
$m$
$n$ 
$f(m,n)$
1
2:
1.414213562373095048801688724209698078569671875376948073176679737990732478462107038850387534327641573
1
3:
1.732050807568877293527446341505872366942805253810380628055806979451933016908800037081146186757248576
1
4:
2
1
5:
2.236067977499789696409173668731276235440618359611525724270897245410520925637804899414414408378782275
1
6:
2.449489742783178098197284074705891391965947480656670128432692567250960377457315026539859433104640235
1
7:
2.645751311064590590501615753639260425710259183082450180368334459201068823230283627760392886474543611
1
8:
2.828427124746190097603377448419396157139343750753896146353359475981464956924214077700775068655283145
1
9:
3
1
10:
3.162277660168379331998893544432718533719555139325216826857504852792594438639238221344248108379300295
1
11:
3.316624790355399849114932736670686683927088545589353597058682146116484642609043846708843399128290651
1
12:
3.464101615137754587054892683011744733885610507620761256111613958903866033817600074162292373514497151
1
13:
3.605551275463989293119221267470495946251296573845246212710453056227166948293010445204619082018490718
1
14:
3.741657386773941385583748732316549301756019807778726946303745467320035156306939027976809895194379572
1
15:
3.872983346207416885179265399782399610832921705291590826587573766113483091936979033519287376858673518
1
16:
4
2
3:
1.060660171779821286601266543157273558927253906532711054882509803493049358846580279137790650745731180
2
4:
1.414213562373095048801688724209698078569671875376948073176679737990732478462107038850387534327641573
2
5:
1.457737973711325117718538219386395769130349583721492988612501686216952515499178156916310081613258850
2
6:
1.732050807568877293527446341505872366942805253810380628055806979451933016908800037081146186757248576
2
7:
1.767766952966368811002110905262122598212089844221185091470849672488415598077633798562984417909551966
2
8:
2
2
9:
2.031009601158990090114970892066510087126051021681328206912893898633229200710168173749789400736984219
2
10:
2.236067977499789696409173668731276235440618359611525724270897245410520925637804899414414408378782275
2
11:
2.263846284534354156643452041746016603263031116024235069145435307504664495191514808346240169647747732
2
12:
2.449489742783178098197284074705891391965947480656670128432692567250960377457315026539859433104640235
2
13:
2.474873734152916335402955267366971637496925781909659128059189541483781837308687317988178185073372752
2
14:
2.645751311064590590501615753639260425710259183082450180368334459201068823230283627760392886474543611
2
15:
2.669269563007827802702880991398927656570571942365145028494526510712252245912852004260162108989445936
2
16:
2.828427124746190097603377448419396157139343750753896146353359475981464956924214077700775068655283145
3
6:
1.414213562373095048801688724209698078569671875376948073176679737990732478462107038850387534327641573
3
9:
1.732050807568877293527446341505872366942805253810380628055806979451933016908800037081146186757248576
3
12:
2
3
15:
2.236067977499789696409173668731276235440618359611525724270897245410520925637804899414414408378782275
4
8:
1.414213562373095048801688724209698078569671875376948073176679737990732478462107038850387534327641573
4
12:
1.732050807568877293527446341505872366942805253810380628055806979451933016908800037081146186757248576
4
16:
2
5
10:
1.414213562373095048801688724209698078569671875376948073176679737990732478462107038850387534327641573
5
15:
1.732050807568877293527446341505872366942805253810380628055806979451933016908800037081146186757248576
6
12:
1.414213562373095048801688724209698078569671875376948073176679737990732478462107038850387534327641573
7
14:
1.414213562373095048801688724209698078569671875376948073176679737990732478462107038850387534327641573
8
16:
1.414213562373095048801688724209698078569671875376948073176679737990732478462107038850387534327641573
Definition
For integers $1\le m\le n$, let $f(m,n)$ be the largest edge length of a Euclidean $m$-dimensional cube that admits an isometric placement in the closed unit cube $[0,1]^n$. Translations and boundary contact are allowed.
Parameters
$m$
—   Dimension of the contained cube ($1\le m\le n$)
$n$
—   Dimension of the containing unit cube ($n\ge m$)
Formulas
(1)
$f(m,n)=\sqrt{n/m}$ when $m\mid n$. In particular, $f(1,n)=\sqrt n$ and $f(n,n)=1$. [1], printed pp. 5–7.
(2)
$f(2,n)=\sqrt{(4n-3)/8}$ for odd $n\ge3$. For even $n$, the divisible-dimension formula gives $f(2,n)=\sqrt{n/2}$. [1], printed pp. 18–26.
(3)
$f(m,n)\le\sqrt{n/m}$ for $1\le m\le n$, since a diagonal of the contained cube has length $\sqrt m\,f(m,n)$ and the unit $n$-cube has diameter $\sqrt n$. [1], printed pp. 5–6.
Comments
(4)
The values are edge lengths. If the rows of a real $m\times n$ matrix $V$ are mutually orthogonal and have the same length $a$, they are edge vectors of an $m$-cube of edge $a$. Such a cube fits after translation into $[0,1]^n$ if and only if $\sum_{i=1}^{m}|V_{ij}|\le1$ for every column $j$. [1], printed pp. 3–5.
(5)
The exceptional value $f(3,4)$ is known as DeVicci's tesseract constant. It lies outside the two formula classes tabulated here. [1].
(6)
Cube containment is distinct from the Rupert or Nieuwland problem of passing a congruent full-dimensional cube through a tunnel.
Programs
(P1)
Sage
# Positive edge length in the two proved formula classes.
def cube_edge(m, n, bits=397):
    if not (m in ZZ and n in ZZ and 1 <= m <= n):
        raise ValueError("Require integer dimensions 1 <= m <= n")
    m, n = ZZ(m), ZZ(n)
    if n % m == 0:
        q = QQ(n) / m
    elif m == 2 and n % 2 == 1:
        q = QQ(4*n-3) / 8
    else:
        raise ValueError("No implemented proved optimum for these dimensions")
    return q.sqrt() if q.is_square() else RealBallField(bits)(q).sqrt()
cube_edge(2, 5)
References
[1]
K. R. Pechenick DeVicci Shultz, Largest m-Cube in an n-Cube: Partial Solution. Notes obtained by 1996, assembled in 2013 with a preface by Greg Huber, KITP preprint NSF-ITP-13-142. The divisible-dimension proof is on printed pp. 5–7; the odd-dimensional square proof is on printed pp. 18–26. https://web.archive.org/web/20231019095801id_/https://www.kitp.ucsb.edu/sites/default/files/preprints/2013/13-142.pdf
Links
Similar tables
Algebraic numbers of degree 2 —   The irrational values here are positive roots of quadratic polynomials with rational coefficients. T35 identifies quadratic algebraic numbers in a different context; it is not a source of geometric optimality.
Covering radii and covering densities of the classical lattices —   That table measures normalized covering radii and covering densities of Euclidean lattices. Repeated square-root values here describe a distinct geometric quantity, the largest edge of a cube contained in a unit cube.
Global dimensions of SU(N) fusion categories —   That table records global dimensions and total quantum dimensions of fusion categories. Shared algebraic values here arise as extremal Euclidean edge lengths.
DeVicci's tesseract constant —   The named constant is f(3,4), the largest edge of a three-dimensional cube contained in a unit tesseract. This exceptional optimum lies outside the divisible-dimension and square formula classes tabulated here.
Data properties
Entries are of type: real number
Table is complete: no (it contains every pair $1\le m<n\le16$ with $m\mid n$ or $m=2$, covering both proved formula classes throughout this small-dimension reference extent; the cutoff 16 is a practical, noncanonical choice, and diagonal values and all remaining pairs, including $(3,4)$, are omitted)
How they were obtained:

The optimality formulas are mathematical inputs from Shultz, printed pp. 5–7 and 18–26. Exact rational radicands are evaluated first. Rational square roots are stored exactly; the other positive square roots are enclosed with Arb ball arithmetic at 397 bits and serialized to 100 significant decimal digits with uncertainty of one unit in the last place.

more

Every stored enclosure is checked using positive rational endpoints whose squares bracket the exact squared edge. Exact fitting matrices are also checked for equal row lengths, orthogonality and absolute column sums equal to one. For divisible dimensions, this construction attains the diagonal upper bound. For odd-dimensional squares, the construction verifies attainment; the global upper bound remains the cited theorem. The attached check program includes known exact and deliberately incorrect controls.