alphaFeedback

WorksMathematics

Balance in Inequality: Testing the Physical Equilibrium, Precession, and Structural Stability of Magic Gems

AI contributions
  • ChatGPT
  • Claude
  • Gemini · multiple versions
View details

Abstract

A magic square exemplifies balance in inequality: its n2n^2 entries {1,…,n2}\{1,\dots,n^2\} are distinct, yet every row, column, and main diagonal sums to μn=n(n2+1)/2μ_n=n(n^2+1)/2. Lifting centred grid cells into R3\mathbb{R}^3 as radial vectors pij(λ)=(xj,yi,λzij)\mathbf{p}_{ij}(λ)=(x_j,y_i,λz_{ij}) and taking their convex hull—the Magic Gem Gλ(S)\mathcal{G}_λ(S)—asks: when does line-sum equality suffice for equilibrium in 3D, and when a nonlinear realization breaks balance, how can an opposing inequality restore it? We test this across all 880880 order-44 magic squares in four regimes. For radial spokes from OO, natural lengths balance identically, while unit spokes break equilibrium on all 832832 non-associative squares in 3D and on all squares in 2D, where the ring-radius ratio r2/r1=5r_2/r_1=\sqrt{5} bounds the resultant below by the Pell convergent 9/4≈59/4\approx\sqrt{5}. By length–weight duality, balance is restored via tip weights w∗>0\mathbf{w}^*>\mathbf{0} on S2S^2 or power-law spoke scaling (rα∗r^{α^*} in 2D and (V3)z=0(\mathbf{V}_3)_z=0 in 3D). In 3D rotation, equal point masses make every semi-magic square an axisymmetric top with spherical-top transition λiso=(n2+1)−1/2λ_{\mathrm{iso}}=(n^2+1)^{-1/2}, whereas entry masses mij=sijm_{ij}=s_{ij} expose the quadrupole Qxy=∑zijxjyiQ_{xy}=\sum z_{ij}x_jy_i, triggering 180∘180^\circ Dzhanibekov flips on 824824 squares. Passing to the uniform solid hull G0(S)\mathcal{G}_0(S) shifts the centroid off OO on 829829 squares; re-engaging the opposing core G1(S)\mathcal{G}_1(S) restores balance via two-density inclusions, nested wireframes, or the Kn2K_{n^2} strut network, while all 880880 hulls unfold into non-overlapping nets with f0−1f_0-1 glue tabs. Finally, λ=1/5λ=1/5 stabilizes 74.5%74.5\% of facets on a table, and alternating Gλ(S)\mathcal{G}_λ(S) with its mirror twin Gλ(r2S‾)=−Gλ(S)\mathcal{G}_λ(r^2\overline{S})=-\mathcal{G}_λ(S) locks chiral blocks into a vertical tower.

Introduction: Balance in Inequality

Over five centuries ago, Albrecht Dürer contributed two enduring landmarks at the intersection of mathematics and the visual arts: the order-four magic square in his 1514 engraving Melencolia I (square #175 in Frénicle’s 1693 census of the 880 order-four magic squares [8, 6, 1]) and the first printed polyhedral net unfoldings in his 1525 treatise Underweysung der Messung [7, 18, 5, 9]. A magic square is a quintessential study in balance in inequality: an arrangement S=(sij)0≤i,j<nS=(s_{ij})_{0\le i,j<n} of the first N=n2N=n^2 positive integers {1,…,N}\{1,\ldots,N\} in which no two cells are equal, yet every row, column, and main diagonal sums to the exact same magic constant μn=n(N+1)/2\mu_n=n(N+1)/2 (a semi-magic square if the row and column sums equal μn\mu_n). Measuring coordinates from the board centre and the mean entry sˉ=(N+1)/2\bar{s}=(N+1)/2,

xj=j−n−12,yi=n−12−i,zij=sij−N+12,(1)x_j=j-\frac{n-1}{2},\qquad y_i=\frac{n-1}{2}-i,\qquad z_{ij}=s_{ij}-\frac{N+1}{2}, \tag*{(1)}

lifts each cell (i,j)(i,j) into a three-dimensional point and radial vector from the origin O=(0,0,0)O=(0,0,0):

pij(λ)=(xj,yi,λzij)∈R3,PS(λ)={pij(λ):0≤i,j<n},\mathbf{p}_{ij}(\lambda)=(x_j,y_i,\lambda z_{ij})\in\mathbb{R}^3,\qquad P_S(\lambda)=\{\mathbf{p}_{ij}(\lambda):0\le i,j<n\},

where λ>0\lambda>0 is the vertical lift scale (Figure 3(a)). The convex hull

Three-dimensional radial spoke sculptures from the origin under variable length and tip weight

Figure 3. Three-dimensional radial spoke sculptures from the origin O=(0,0,0)O=(0,0,0) under variable length and tip weight. (a) Natural 16-spoke sculpture pij\mathbf{p}_{ij} (β=1\beta=1, orange zij>0z_{ij}>0, blue zij<0z_{ij}<0) of non-associative square #70, balancing identically at OO. (b) Trimming all spokes to the unit sphere S2S^2 (β=0\beta=0, equal weights) leaves a non-zero resultant V0=(0,0.773,0)\mathbf{V}_0=(0,0.773,0) (magenta arrow) on #70, whereas antipodal pairs cancel on Dürer #175. (c) Minimum-variance positive tip weights wij∗∈[0.72,1.19]w^*_{ij}\in[0.72,1.19] (gold-rimmed for wij∗>1w^*_{ij}>1) restore exact unit-sphere balance ∑wij∗p^ij=0\sum w^*_{ij}\hat{\mathbf{p}}_{ij}=\mathbf{0}. (d) Normalized resultant ∥Vβ(S;1)∥2/Rˉβ−1\|\mathbf{V}_{\beta}(S;1)\|_2/\bar{R}^{\beta-1} versus exponent β\beta, showing universal balance at β=1\beta=1, second roots β∗≠1\beta^*\ne1 on Group VI squares (#70, #45, #376), and universal vertical vanishing (V3)z=0(V_3)_z=0 at β=3\beta=3 (gold dashed curve).

Gλ(S):=conv⁡PS(λ)⊂R3(G(S):=G1(S))\mathcal{G}_{\lambda}(S):=\operatorname{conv}P_S(\lambda)\subset\mathbb{R}^3\qquad(\mathcal{G}(S):=\mathcal{G}_1(S))

is a three-dimensional convex polyhedron that we call the Magic Gem of SS, reuniting Dürer’s magic squares with his polyhedral geometry.

In the flat grid plane, Loly [11] and Rogers and Loly [16, 17] showed that interpreting the unequal entries sijs_{ij} as point masses at rij=(xj,yi)r_{ij}=(x_j,y_i) places the planar centre of mass at the origin OO (∑i,jzijrij=0\sum_{i,j}z_{ij}r_{ij}=0) and makes the polar moment of inertia ∑i,jsij(xj2+yi2)=n2(n4−1)/12\sum_{i,j}s_{ij}(x_j^2+y_i^2)=n^2(n^4-1)/12 invariant across all semi-magic squares of order nn. When a lifted magic square is fabricated as a three-dimensional physical object—whether as a radial spoke star, a planar balance wheel, a spinning top on a pivot, a cast solid, a 3D-printed wireframe, a folded papercraft shell, or a freestanding tower of blocks [12]—its unequal entries are subjected to progressively nonlinear geometric transformations. This motivates our central hypothesis: combinatorial line-sum equality guarantees physical equilibrium whenever a mechanical observable is linear or symmetric-quadratic in the grid coordinates, neutralizing entry inequality universally across all 880 order-four magic squares; when a nonlinear geometric constraint breaks that equilibrium, balance can be restored by pairing two opposing inequalities that cancel each other.

We test this hypothesis across four progressive mechanical regimes, illustrated on six recurring flagship squares (Figure 1). In § 2, we examine one-dimensional radial spoke sculptures radiating from the origin OO. At natural spoke lengths, every magic square balances at OO because unequal lengths compensate unequal directions. Trimming all sixteen spokes to equal unit length breaks equilibrium on all 832 non-associative squares in 3D and on every square in 2D, where the middle grid ring sits at an irrational radius ratio r2/r1=5r_2/r_1=\sqrt{5} relative to the inner and outer rings (r3/r1=3r_3/r_1=3) and prevents exact cancellation beyond the Pell convergent 9/4≈59/4\approx\sqrt{5} (square #70, Figure 1(b), Theorem 2.3). By length–weight duality (Proposition 2.2), equilibrium is restored either by playing aligned inner and outer ring dipoles against the middle ring via a power-law length profile rα∗r^{\alpha*} (such as α∗=−1\alpha^*=-1 on #45, Figure 1(c), Corollary 2.4), or by assigning positive unequal tip weights w∗>0\mathbf{w}^*>0 on the unit sphere S2S^2 and cubic spoke lengths (β=3\beta=3, where the vertical resultant vanishes universally, Theorem 2.5).

Visual anatomy of the six flagship order-four magic squares

Figure 1. Visual anatomy of the six flagship order-four magic squares examined across § 2–§ 5. (a) Dürer’s associative square #175 (1514, Group III), whose antipodal pairs sum to 17 across OO, partitioning into 12 outer hull vertices V0V_0 and 4 inner core vertices V1V_1. (b) Square #70 (Group VI), coloured by concentric rings Rin,Rmid,RoutR_{\mathrm{in}},R_{\mathrm{mid}},R_{\mathrm{out}}, where parallel ring dipoles dout=5dind_{\mathrm{out}}=5d_{\mathrm{in}} achieve the Pell ratio 9/4≈59/4 \approx\sqrt{5}, and (c) square #45 (κ=+9\kappa=+9, α∗=−1\alpha^*=-1), whose single border swap (8, 9) ↔ (15, 2) flips a heavy-core gem into hollow-cavity sibling #54. (d) Square #46 (Group VI), shaded by quadrant quadrupole zijxjyiz_{ij}x_jy_i, attaining the maximum ∣Qxy∣=60|Q_{xy}|=60 and fastest 180∘180^\circ Dzhanibekov flip about y=−xy=-x. (e) Square #673 (Group VI), whose 8-vertex U-cradle V0V_0 encloses an 8-vertex inverted-T core V1V_1 (Δρ1/ρ0=5/4\Delta\rho_1/\rho_0=5/4), and (f) square #763 (Group VI), whose centred knight’s-move facets {13,14,15,16}\{13,14,15,16\} and {1,2,3,4}\{1,2,3,4\} lock into an area-5 mirror-twin tower.

In § 3, we set balanced sculptures into three-dimensional rotation on a central pivot under gravity. When the sixteen unequal vertices pij(λ)\mathbf{p}_{ij}(\lambda) carry equal masses, line-sum equality eliminates all off-diagonal products of inertia, turning every semi-magic square into a smooth axisymmetric top that passes through an exact spherical-top transition at λiso=(n2+1)−1/2\lambda_{\mathrm{iso}}=(n^2+1)^{-1/2} (1/171/\sqrt{17} at n=4n=4, Theorem 3.1). Replacing equal masses with the unequal magic entries mij=sijm_{ij}=s_{ij} (Theorem 3.2) breaks this rotational symmetry by exposing the planar quadrupole moment Qxy=∑zijxjyiQ_{xy}=\sum z_{ij}x_jy_i and the cubic vector resultant from § 2, splitting the horizontal principal axes by 2∣Qxy∣2|Q_{xy}| and triggering 180° Dzhanibekov flips on 824 of the 880 squares (led by #46 at ∣Qxy∣=60|Q_{xy}|=60, Figure 1(d)).

In § 4, we pass from discrete point clouds to continuous polyhedral hulls G0(S)=conv⁡PS\mathcal{G}_0(S)=\operatorname{conv}P_S. Casting G0(S)\mathcal{G}_0(S) as a uniform solid preserves near-axisymmetric inertia about its own centroid c0(S)\mathbf{c}_0(S), but shifts c0(S)\mathbf{c}_0(S) off the pivot OO on 829 of the 880 squares (51 balance naturally, Proposition 4.1) because interior grid points PS(1)P_S^{(1)} are omitted and boundary facets are weighted by unequal simplex volumes. Because ∑Pij=0\sum P_{ij}=0, the outer hull vertices and the inner core points pull in strictly opposite directions across the origin (V0pouter‾=−V1pinner‾\overline{V_0p_{\mathrm{outer}}}=-\overline{V_1p_{\mathrm{inner}}}, Proposition 4.2). Physically re-engaging the inner core G1(S)=conv⁡PS(1)\mathcal{G}_1(S)=\operatorname{conv}P_S^{(1)} restores c=0\mathbf{c}=0 across composite solids (such as denser-core gem #673 and hollow-cavity gem #54, Figure 1(c,Figure 1e), Theorem 4.3), single-material two-gauge wireframes and complete K16K_{16} strut networks (Theorem 4.4), and unfolded papercraft shells with f0−1f_0-1 glue tabs (Proposition 4.5).

Finally, in § 5, we remove the central pivot and place Magic Gems onto a flat horizontal table under gravity. While tall λ=1\lambda=1 gems topple on more than half of their facets, compressing the vertical lift to the cubic print scale λcube=1/5\lambda_{\mathrm{cube}=1/5} stabilizes 74.5% of all 14,824 facets (Proposition 5.2). When stacking multiple blocks vertically, identical copies of a single gem wedge apart whenever the top and bottom facet normals fail to oppose (n−≠−n+\mathbf{n}_{-}\ne-\mathbf{n}_{+} on 756 gems); alternating Gλ(S)\mathcal{G}_\lambda(S) with its inverted mirror twin Gλ(r2S‾)=−Gλ(S)\mathcal{G}_\lambda(r^2\overline{S})=-\mathcal{G}_\lambda(S) (Theorem 5.3) pairs every slanted facet with an equal and opposite partner, locking chiral knight’s-move blocks (#763, Figure 1(f)) into a straight vertical column (Proposition 5.4).

Across all four regimes, the order-four censuses stratify into three symmetry tiers (§ 6): universal properties governed by linear line sums hold across all 880 squares; unweighted nonlinear cancellations hold on the 48 associative squares of Dudeney’s Group III (r2S=S‾r^2S=\overline{S}, led by Dürer’s #175), where central inversion p−c=−pc\mathbf{p}_{-c}=-\mathbf{p}_c cancels opposite cells pairwise; and one-parameter counterbalancing between opposing rings or hull layers occurs in the 304 self-complementary squares of Dudeney’s Group VI (S‾=hS\overline{S}=hS or νS\nu S), where a 180∘180^\circ half-turn symmetry (C2⊂SO(3)C_2\subset SO(3)) confines residual imbalance vectors to a single coordinate axis. Every theorem and census table is certified in exact rational arithmetic by anc/verify_paper_c.py (Section A) and accompanied by real-time 3D simulations in web/index.html.

References

  1. [1]W. S. Andrews. Magic Squares and Cubes. Dover Publications, 2nd edition, 1960.
  2. [2]Vladimir I. Arnold. Mathematical Methods of Classical Mechanics, volume 60 of Graduate Texts in Mathematics. Springer, New York, 2nd edition, 1989.
  3. [3]Mark S. Ashbaugh, Carmen C. Chicone, and Richard H. Cushman. The twisting tennis racket. Journal of Dynamics and Differential Equations, 3(1):67–85, 1991.DOI
  4. [4]Bernard Chazelle. On the convex layers of a planar set. IEEE Transactions on Information Theory, 31(4):509–517, 1985.DOI
  5. [5]Erik D. Demaine and Joseph O’Rourke. Geometric Folding Algorithms: Linkages, Origami, Polyhedra. Cambridge University Press, Cambridge, 2007.
  6. [6]Henry E. Dudeney. Amusements in Mathematics. Thomas Nelson and Sons, London, 1917.
  7. [7]Albrecht Dürer. Underweysung der Messung, mit dem Zirckel und Richtscheyt, in Linien, Ebenen unnd gantzen Corporen. Hieronymus Andreae, Nuremberg, 1525.
  8. [8]Bernard Frénicle de Bessy. Des quarrez ou tables magiques. In Divers ouvrages de mathématique et de physique, par Messieurs de l’Académie Royale des Sciences. Imprimerie Royale, Paris, 1693.
  9. [9]Mohammad Ghomi. Dürer’s conjecture on unfoldings of convex polyhedra. Proceedings of the American Mathematical Society, 142(11):3975–3985, 2014.
  10. [10]Herbert Goldstein, Charles P. Poole, and John L. Safko. Classical Mechanics. Addison-Wesley, San Francisco, 3rd edition, 2000.
  11. [11]Peter D. Loly. The variance of the moment of inertia of magic squares. The Mathematical Gazette, 88(511):151–153, 2004. Note 88.30.
  12. [12]Kyle Elliott Mathewson. magicGemWeb: Interactive 3D-printable ball-and-rod wireframes, complete K₁₆ strut networks, and unfolded papercraft cutout nets for magic gems. https://kylemath.github.io/magicGem/3dModels/index.html and https://github.com/kylemath/magicGemWeb, 2025.
  13. [13]Kyle Elliott Mathewson. Bivariate polynomial moments and Prouhet–Tarry–Escott identities of semimagic squares, 2026. Companion paper II, arXiv preprint.
  14. [14]Kyle Elliott Mathewson. Magic gems: Convex hulls of lifted magic squares. arXiv preprint arXiv:2512.09170, 2026. Companion paper I.arxiv.org/abs/2512.09170
  15. [15]Louis Poinsot. Théorie nouvelle de la rotation des corps. Bachelier, Paris, 1834.
  16. [16]Adam Rogers and Peter D. Loly. The inertia tensor of a magic cube. American Journal of Physics, 72(6):786–789, 2004.DOI
  17. [17]Adam Rogers and Peter D. Loly. The electric multipole expansion for a magic cube. European Journal of Physics, 26(5):809–813, 2005.DOI
  18. [18]G. C. Shephard. Convex polytopes with convex nets. Mathematical Proceedings of the Cambridge Philosophical Society, 78(3):389–403, 1975.DOI

Paper details

vlnc:W_c5da7wkt
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Mathematics

ChatGPT, Claude, Gemini (multiple versions) · View statement →

Looking for related papers…
Contents