Preprint
Article

This version is not peer-reviewed.

Why the Inverse-Square Law Is Dimensional: A Discrete-Medium Illustration from One to Three Dimensions

Submitted:

27 October 2026

Posted:

28 October 2026

You are already at the latest version

Abstract
Students meet the fact that gravity and the electrostatic force both fall off as 1/r² while the strong nuclear force is short-ranged, but the reason is usually asserted rather than shown. This article turns a simple discrete "toy universe" into a teaching device that makes the reason explicit and that students can run for themselves. In one dimension a single exponential force law between localized "disturbances" cannot reproduce an inverse-square law, and the attempt fails for reasons that are themselves the lesson: exponentials are not power laws, the relevant error is relative rather than absolute, and a power law is the unique scale-invariant function, impossible on a lattice that carries a built-in length. Restoring three dimensions makes the inverse-square law appear on its own, from the geometry of flux through a sphere, realized as the lattice Green’s function of a screened Poisson equation; the same single force then behaves like electromagnetism, gravity, or a short-range Yukawa force according to what it couples to and whether its mediator is massive. Finally, the lattice spacing is shown to play two separable roles — a regulator that removes infinities and a putative physics with short-range, anisotropic fingerprints that vanish in the continuum. Accompanying Python scripts reproduce every figure.
Keywords: 
;  ;  ;  ;  ;  
Subject: 
Physical Sciences  -   Other
Educational level and value. The article is aimed at advanced undergraduate and beginning graduate students and their instructors. It assumes only vector calculus (Gauss’s law), elementary series, and introductory programming, and it can be used in courses on electromagnetism, mathematical methods, or computational physics. Its value is conceptual: it shows, with quantities students compute themselves, that the distance dependence of a force is set by the dimensionality of space, the symmetry of the law, and the mass of its mediator — not by the identity of the force. The accompanying scripts support short student projects and the exercises in Section 8.

1. Introduction

Two of the fundamental interactions we teach share a distance law: the gravitational and electrostatic forces both diminish as 1/r², whereas the strong nuclear force is negligible beyond about a femtometre. Why do two forces share an exponent that a third does not? The standard answers — that space has three dimensions and that the mediators of gravity and electromagnetism are massless — are correct, but they are often delivered as facts to memorize rather than conclusions to see.
This article makes them visible through a model students can manipulate. The contribution is pedagogical framing, not new physics: the mechanisms invoked (Gauss’s law, the Yukawa potential, the lattice Green’s function) are standard, but the route is not. A deliberately simple discrete universe governed by a single force fails, in one dimension, to produce an inverse-square law — and the failure teaches the difference between exponential and power-law behaviour, the right notion of error, and the role of scale symmetry. Restoring three dimensions then makes the inverse-square law emerge on its own from flux geometry, and lets the one force display electromagnetic-, gravitational-, and nuclear-like behaviour. Throughout, the lattice spacing D is treated as a feature with two separable roles — a regulator and a putative physics — rather than a quantity to be discarded. The one-dimensional construction is adapted from an earlier toy model; here it is corrected and repurposed for this single aim.

2. A One-Dimensional Discrete Universe

Let space be a chain of identical cells of length D; the discreteness makes every quantity a finite sum and, as Section 7 shows, does real work. Picture each cell as a rhombus that an external "hand" can pull flat, upward (positive) or downward (negative). A disturbance — the model’s particle — is an even run of flattened cells (Figure 1); it carries an orientation (a sign) and a size (its span). One force law governs everything: a disturbance of size n exerts, at integer distance r ≤ n from its centre,
Fr = ke b n−r,
with b > 1 and ke constants. The force is maximal at the centre (ke b n) and minimal at the edge (ke), so it has finite reach. The names "electrostatic," "nuclear," and "gravitational" will denote only different regimes of this one law.

3. Overlap and Merging

Because the cells are linked, disturbances can be pushed together. Bringing a disturbance n2 to a distance r12 from n1 (Figure 2) produces an overlap of
d = n1 + n2 − r12,
felt as a contact force Fd = kg b d−r₁₂ = kg b n₁−r₁₂ b n₂−r₁₂ subtracted from the two individual forces. For parallel disturbances,
F↑↑r₁₂ = ke b n₁−r₁₂ + ke b n₂−r₁₂ − kg b n₁−r₁₂ b n₂−r₁₂,
a form Reid (1968) assumed for the nucleon–nucleon potential. For antiparallel disturbances the overlap instead relieves stress, giving a weaker (effectively attractive) force; for equal, opposite disturbances the single terms cancel and a residual kg b 2(n−r₁₂) remains. Larger assemblies are reduced pairwise (full derivation, including three-disturbance combinations and force-free arrangements, in the supplementary material). The point to carry forward is that the overlap contributes a product term — equivalently b raised to a doubled distance exponent — which Section 4 shows cannot be inverse-square and Section 6 identifies with the short-range regime.

4. Why One Dimension Cannot Give an Inverse-Square Law

To mimic Coulomb or gravity, the force (1) would have to behave like 1/r². The original attempt asserts, for b = 1.44, that at large distance
1/r2 ≈ 1/b r ≈ 1/b 2r,
where 1/b 2r is exactly the overlap term of Section 3. Equation (4) cannot hold, and why is the first lesson. The two exponentials are equal only at r = 0 (their ratio is b r), and the ratio (1/r2)/(1/b r) diverges — 0.38 at r = 10 but ≈ 4800 by r = 44 (Figure 3). No range holds all three within a fixed relative tolerance.
A common objection — "for large r all three agree within, say, 10−6" — fails twice. The agreement is empty (all have collapsed toward zero), and an absolute tolerance is ill-defined for a dimensional quantity (rescale the unit and it flips). The model actually needs to cancel the distance dependence inside an equation, a ratio governed by relative error, which diverges. Matching the error measure to the operation is the second lesson.
The third is structural. A power law is the unique scale-invariant function, f(λr) ∝ f(r), with no preferred length; an exponential carries a length 1/ln b. A lattice with cell D has a preferred length and so cannot host an exact power law — and no reparametrization ρ = b ar repairs it, since it sends 1/b r → ρ−p and 1/b 2r → ρ−2p, a factor-of-two gap invariant under every a. Symmetry, not arithmetic, defeats the one-dimensional attempt.

5. The Geometric Origin of the Inverse-Square Law

In three dimensions the inverse-square law is handed to any force by geometry. A point source emitting a conserved flux Φ spreads it over a sphere of area 4πr2, so the intensity is Φ/(4πr2) ∝ 1/r2 — Gauss’s law (Feynman et al., 1964; Griffiths, 2017), a statement about space, not about the force. This is why gravity and electromagnetism share the exponent; in d dimensions the same argument gives 1/r d−1, and in one dimension a constant (no dilution), which is why Section 4 had to fail.
Discretely, place a scalar field φ on a cubic lattice with nearest-neighbour coupling; its static equilibrium obeys the screened-Poisson equation (−∇2 + m2)φ = source, whose point-source solution is the lattice Green’s function (Figure 4; see Cserti, 2000). Unscreened (m → 0), φ ∝ 1/r and the force ∝ 1/r2 — inverse-square from geometry, no approximation. Screened (m > 0), φ ∝ e−mr/r, the short-range Yukawa form (Yukawa, 1935).
This reveals what the one-dimensional force was: the exponential b −r is exactly the screened case e−mr with mediator mass m = (ln b)/D. The original model was a screened, short-range interaction all along, stripped of the geometric 1/r that only three dimensions supply; the long-range inverse-square regime lives at m → 0 (b → 1) and requires the extra dimensions to exist at all.

6. One Force, Three Behaviours

On the same 3D medium, keep the one force and sort its behaviour by two switches: what a disturbance couples to, and whether the mediator is screened. Give each disturbance an orientation s = ±1 and amplitude a = b n/2. Coupling to orientation (signed source q = s a), unscreened, gives a force ∝ s1s2/r2 — bipolar, the electromagnetic face. Coupling to size (unsigned μ = a2), unscreened, gives a force ∝ a12a22/r2 — the same sign in every configuration, the universal gravitational face.
The gravitational face is automatically weak: size enters as the square of the amplitude (μ = a2 ~ b n), so "mass" is the square of "charge" and the strength ratio is a1a2, small when amplitudes are. Screening (m = ln b) makes any coupling short-ranged — the nuclear face, the home of the Section 3 product term. Measured on the lattice (Figure 5), the two unscreened forces lie parallel to 1/r2 (slope −2.07), separated only by strength, while the screened force plunges; flipping the orientations confirms the split (the electromagnetic force changes sign, the gravitational one does not). Qualitatively this is the real pattern: two long-range 1/r2 forces of very different strength, plus a short-range one, from a single law.
The short-range sector also has a familiar structured shape. Plotting the parallel and antiparallel net forces of Section 3 (Figure 6) shows a repulsive maximum with a short-range attractive turn — competing attraction and repulsion qualitatively reminiscent of nuclear forces, consistent with the difference-of-Yukawas form of Reid (1968). It is not an inverse-square (electromagnetic) force: that appears only in three dimensions (Figure 5).

7. The Discrete Nature of Space: Regulator and Physics

The spacing D does two separable jobs. As a regulator, it removes the r → 0 divergence of an inverse-square force: with r bounded below by D, every force and sum is finite. This is the usual reason to discretize, and it is legitimate — but a convenience, not evidence for a grainy world, since a smooth cutoff would do the same and no physics should depend on the choice.
As physics, if space truly has a smallest length, three consequences follow, all facets of the single scale D and visible in the lattice Green’s function (Figure 7): (i) a shortest distance and hence a finite maximum force, with no r → 0 pole; (ii) short-range corrections and anisotropy — near D the combination F r2 departs from its continuum value and, because a cubic lattice is not rotationally symmetric, differs between the cube axis and the body diagonal by a few percent at r ≈ 3D; (iii) a continuum that emerges only for r ≫ D, the anisotropy falling from ≈ 3% at r ≈ 3D to under 1% by r ≈ 8D. One length is at once the cutoff, the scale of the corrections, and the scale one must exceed for the continuum law to appear.
Two caveats keep this in proportion. The anisotropy is also the toy’s giveaway — real space shows no preferred directions, so a cubic grid is a caricature, and serious discrete-spacetime proposals use random, Lorentz-respecting discreteness (causal sets; Bombelli et al., 1987) to avoid it. And any true minimum length lies far below distances yet probed (Hossenfelder, 2013), so these effects are real in principle but unobserved. The lesson is a stance: discreteness may be a mere regulator or a claim about the world, the two must be argued separately, and even as physics its fingerprints hide at short range beneath the smooth laws we measure.

8. Classroom Use, and Honest Limits

Each step is an experiment students can run with the supplied scripts: vary b and watch a force move between short- and long-range; vary the amplitude and see the gravitational analogue scale as its square; switch a source between signed and unsigned and watch a force turn from bipolar to universal; measure the falloff slope and confirm −2 in three dimensions. Suggested exercises: derive 1/r d−1 from flux in d dimensions; show the exponent-doubling of Section 4 is coordinate-invariant; and estimate how many exponential terms approximate 1/r2 over a decade (a sum-of-exponentials exercise linking screening to power laws; Braess & Hackbusch, 2005).
The limits matter as much as the results. This is a classical, scalar illustration, not a unification: electromagnetism is a spin-1 field coupled to signed charge and gravity a spin-2 field coupled to energy–momentum, and the model mimics the phenomenology (bipolar vs universal, both 1/r2) without that structure; the orientation/size split is imposed, not derived. The idea that gravity is the overlap of two disturbances is untenable as a long-range force — that product term is short-ranged when screened and nearly force-free when unscreened. And the mechanisms used are standard. The worth of the model is that it makes visible, with things a student computes, why the distance laws are what they are.

9. Conclusion

A one-dimensional discrete universe teaches by failing to produce an inverse-square law: the failure exposes exponential-versus-power-law behaviour, the right notion of error, and scale symmetry. Three dimensions make the law emerge from flux geometry, and let one force appear electromagnetic, gravitational, or nuclear according to its coupling and its mediator mass, while the lattice spacing separates cleanly into regulator and putative physics. The durable idea is compact: a force’s distance dependence is set by the dimensionality of space, the symmetry of the law, and the mass of its mediator — not by its name.
Note: apply EJP’s house reference style (numbered or author–date) on submission.

Supplementary Materials

The following supporting information can be downloaded at the website of this paper posted on Preprints.org”; S1, the full merging derivation (three-disturbance combinations, the merged-size relation, and force-free arrangements); and S2–S3, the Python scripts unify3d.py and unify3d_full.py, which reproduce Figure 3, Figure 4, Figure 5, Figure 6 and Figure 7.

References

  1. Beylkin, G.; Monzón, L. On approximation of functions by exponential sums. Appl. Comput. Harmon. Anal. 2005, 19(1), 17–48. [Google Scholar] [CrossRef]
  2. Bombelli, L.; Lee, J.; Meyer, D.; Sorkin, R. D. Space-time as a causal set. Phys. Rev. Lett. 1987, 59(5), 521–524. [Google Scholar] [CrossRef] [PubMed]
  3. Braess, D.; Hackbusch, W. Approximation of 1/x by exponential sums in [1, ∞). IMA J. Numer. Anal. 2005, 25(4), 685–697. [Google Scholar] [CrossRef]
  4. Cserti, J. Application of the lattice Green’s function for calculating the resistance of an infinite network of resistors. Am. J. Phys. 2000, 68(10), 896–906. [Google Scholar] [CrossRef]
  5. Feynman, R. P.; Leighton, R. B.; Sands, M. The Feynman lectures on physics (Vol. II); Addison-Wesley, 1964. [Google Scholar]
  6. Griffiths, D. J. Introduction to electrodynamics, 4th ed.; Cambridge University Press, 2017. [Google Scholar]
  7. Hossenfelder, S. Minimal length scale scenarios for quantum gravity. Living Rev. Relativ. 2013, 16, 2. [Google Scholar] [CrossRef] [PubMed]
  8. Reid, R. V. Local phenomenological nucleon–nucleon potentials. Ann. Phys. 1968, 50(3), 411–448. [Google Scholar] [CrossRef]
  9. Yukawa, H. On the interaction of elementary particles. I. Proc. Phys.-Math. Soc. Jpn. (3rd Series) 1935, 17, 48–57. [Google Scholar]
Figure 1. Disturbances are runs of adjacently flattened cells (the model’s particles); larger disturbances exert proportionally larger forces.
Figure 1. Disturbances are runs of adjacently flattened cells (the model’s particles); larger disturbances exert proportionally larger forces.
Preprints 240696 g001
Figure 2. Forced overlap of two parallel disturbances: the overlap spans d cells and produces a repulsive contact term (green: net force).
Figure 2. Forced overlap of two parallel disturbances: the overlap spans d cells and produces a repulsive contact term (green: net force).
Preprints 240696 g002
Figure 3. (a) 1/r² and the exponentials 1/bʳ, 1/b²ʳ (b = 1.44) never coincide. (b) Their ratio diverges rather than approaching 1.
Figure 3. (a) 1/r² and the exponentials 1/bʳ, 1/b²ʳ (b = 1.44) never coincide. (b) Their ratio diverges rather than approaching 1.
Preprints 240696 g003
Figure 4. Point-source potential on a 3D lattice: unscreened φ ∝ 1/r (dashed 1/r reference), giving a 1/r² force; screened (b = 1.44) φ is the Yukawa form e⁻ᵐʳ/r.
Figure 4. Point-source potential on a 3D lattice: unscreened φ ∝ 1/r (dashed 1/r reference), giving a 1/r² force; screened (b = 1.44) φ is the Yukawa form e⁻ᵐʳ/r.
Preprints 240696 g004
Figure 5. One 3D medium, one law: orientation- and size-coupled unscreened forces are parallel 1/r² lines (slope −2.07); the screened force is short-range. Dashed: 1/r² reference.
Figure 5. One 3D medium, one law: orientation- and size-coupled unscreened forces are parallel 1/r² lines (slope −2.07); the screened force is short-range. Dashed: 1/r² reference.
Preprints 240696 g005
Figure 6. The model’s short-range (screened) sector, from Eqs. (3) and (5) with generic parameters (no tuned regime). The parallel net force has a repulsive maximum and turns attractive at small r; the antiparallel residual is monotonic. This competing attraction and repulsion is qualitatively like nuclear forces (cf. Reid 1968), though the ordering differs from the real nucleon–nucleon force; it is not the inverse-square electromagnetic force, which appears only in 3D (Figure 5).
Figure 6. The model’s short-range (screened) sector, from Eqs. (3) and (5) with generic parameters (no tuned regime). The parallel net force has a repulsive maximum and turns attractive at small r; the antiparallel residual is monotonic. This competing attraction and repulsion is qualitatively like nuclear forces (cf. Reid 1968), though the ordering differs from the real nucleon–nucleon force; it is not the inverse-square electromagnetic force, which appears only in 3D (Figure 5).
Preprints 240696 g006
Figure 7. Discreteness in three facets. F·r² on the lattice along the cube axis and body diagonal: deviation and direction-dependence near D (corrections and anisotropy) that wash out onto the exact 1/r² law for r ≫ D.
Figure 7. Discreteness in three facets. F·r² on the lattice along the cube axis and body diagonal: deviation and direction-dependence near D (corrections and anisotropy) that wash out onto the exact 1/r² law for r ≫ D.
Preprints 240696 g007
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.