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

Variations on Gauss' trick

Probability & statistical mechanicsConvex & metric geometry

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

Cross-posted from MSE. This question is inspired by these two:

  • Non-trivial values of error function erf(x)?

  • Where is the mass of a hypercube?

Upon reading these two, I realized there might be a geometric way to compute the error function, by a variation on Gauss' famous integral trick for evaluating ∫−∞∞e−x2dx\int_{-\infty}^{\infty} e^{-x^2} dx∫−∞∞​e−x2dx. Here's the idea:

For convenience, define E(t)=∫0te−y2dyE(t) = \int_0^t e^{-y^2} dyE(t)=∫0t​e−y2dy. This is a rescaled erf\text{erf}erf, which is helpful to eliminate some obnoxious constants in what follows. We have E(t)n=(∫0te−y2dy)n=(t∫01e−t2y2dy)n=tn∫[0,1]ne−t2∣∣y⃗∣∣2dnyE(t)^n = \left(\int_0^t e^{-y^2} dy\right)^n = \left(t\int_0^1 e^{-t^2 y^2} dy\right)^n = t^n \int_{[0,1]^n} e^{-t^2 ||\vec{y}||^2} d^n yE(t)n=(∫0t​e−y2dy)n=(t∫01​e−t2y2dy)n=tn∫[0,1]n​e−t2∣∣y​∣∣2dny where the last expression is an integral over the n-dimensional unit hypercube. As with the usual Gauss trick, we will change variables to spherical coordinates, so the last integral becomes tn∫0ne−t2r2An(r)drt^n \int_0^{\sqrt{n}} e^{-t^2 r^2} A_n(r) drtn∫0n​​e−t2r2An​(r)dr where An(r)A_n(r)An​(r) is the measure of a sphere of radius rrr intersected with the unit hypercube, i.e. An(r):=∣Sn−1∩[0,1]n∣A_n(r) := \left| S^{n-1} \cap [0,1]^n\right|An​(r):=​Sn−1∩[0,1]n​. So we have this interesting expression for the (rescaled) error function, \boxed{E(t) = t\left(\int_0^{\sqrt{n}} e^{-t^2 r^2} A_n(r) dr\right)^{1/n}}\tag{1}

Now here's where the third link above comes in: The radial mass distribution of an n-cube is approximately Gaussian, due to a miracle of the central limit theorem. In particular, A_n \xrightarrow{d} \sqrt{\frac{2\sqrt{\mu}}{\pi \sigma^2}} \exp\left( -\frac{\left(r-\sqrt{n\mu}\right)^2}{\sigma^2/2\sqrt{\mu}} \right)\tag{2} where μ=1/3\mu=1/3μ=1/3 and σ=4/45\sigma = 4/45σ=4/45 (these are the mean and variance of X2X^2X2, where XXX is uniform on [0,1][0,1][0,1], as explained in the link), and where →d\xrightarrow{d}d​ denotes weak convergence. If you naively just plug in this expression in place of AnA_nAn​ above, you can evaluate the resulting integral in terms of E(x)E(x)E(x) and elementary functions. In the limit n→∞n\rightarrow \inftyn→∞ the right hand side of (1) would then simplify down to something like texp⁡(−μt21+t2σ2/2μ)t\exp\left(\frac{-\mu t^2}{1+t^2\sigma^2/2\mu}\right)texp(1+t2σ2/2μ−μt2​), which is of course nonsense.

The problem is of course that weak convergence is not good enough to evaluate this integral. (By the Berry-Esseen theorem, we expect the deviation of AnA_nAn​ from a Gaussian to be O(n−1/2)\mathcal{O}(n^{-1/2})O(n−1/2) uniformly across its domain, whereas the integral coming from (2) vanishes exponentially with nnn, so it gets swamped by the error terms as n→∞n\rightarrow \inftyn→∞.) So the next thing I tried was an Edgeworth expansion. This allows us to add corrections to the central limit theorem, and also to control the error in the convergence. Unfortunately, as with the naive version above, the error terms in an Edgeworth expansion are always polynomial, whereas the integrals vanish exponentially. So this is also insufficient.

So after realizing this, I decided to back up and try something different. Both the central limit theorem and Edgeworth expansions ultimately come from manipulating the characteristic function (Fourier transform of the distribution function), so perhaps analyzing (1) in Fourier space is the way to go? Note that (1) has the form of an inner product between e−t2r2e^{-t^2 r^2}e−t2r2 and the radial mass distribution of a cube An(r)A_n(r)An​(r). So by Parseval, we can evaluate it as an inner product of their Fourier transforms.

Some observations in this direction:

  • Let Vn(r):=∣Br∩[0,1]n∣V_n(r) := \left| B_r \cap [0,1]^n\right|Vn​(r):=∣Br​∩[0,1]n∣ be the volume of the intersection of a ball BrB_rBr​ of radius rrr centered at the origin and the unit hypercube. Then Vn(r)V_n(r)Vn​(r) is the (cumulative) distribution function corresponding to the density An(r)A_n(r)An​(r), and An(r)=ddrVn(r)A_n(r) = \frac{d}{dr} V_n(r)An​(r)=drd​Vn​(r).

  • Vn(r)V_n(r)Vn​(r) has the probabilistic interpretation P(∑i=1nXi2≤r2)\mathbb{P}\left(\sum_{i=1}^n X_i^2 \leq r^2\right)P(∑i=1n​Xi2​≤r2), where XiX_iXi​ are i.i.d. uniform on [0,1][0,1][0,1].

  • Xi2X_i^2Xi2​ as above has density ρ(x)=12x\rho(x) = \frac{1}{2\sqrt{x}}ρ(x)=2x​1​ on the unit interval and ρ(x)=0\rho(x) = 0ρ(x)=0 elsewhere.

  • Vn(s)=P(∑i=1nXi2≤s)V_n(\sqrt{s}) = \mathbb{P}\left(\sum_{i=1}^n X_i^2 \leq s\right)Vn​(s​)=P(∑i=1n​Xi2​≤s), which is the distribution function of ∑i=1nXi2\sum_{i=1}^n X_i^2∑i=1n​Xi2​. The density for this random variable is ρ∗n\rho^{*n}ρ∗n, the convolution of ρ\rhoρ with itself nnn times. Hence ρ∗n(s)=ddsVn(s)=An(s)12s\rho^{*n}(s) = \frac{d}{ds} V_n(\sqrt{s}) = A_n(\sqrt{s}) \frac{1}{2\sqrt{s}}ρ∗n(s)=dsd​Vn​(s​)=An​(s​)2s​1​.

Putting this all together, the original integral of (1) can be written

∫0ne−t2r2An(r)dr=∫0n1/4e−t2sAn(s)12sds=∫0n1/4e−t2sρ∗n(s)ds=⟨e−t2s,ρ∗n(s)⟩L2=⟨F[e−t2sΘ(s)],F[ρ(s)]n⟩L2\begin{align*} \int_0^{\sqrt{n}} e^{-t^2 r^2} A_n(r) dr & = \int_0^{n^{1/4}} e^{-t^2 s} A_n(\sqrt{s}) \frac{1}{2\sqrt{s}} ds \\ & = \int_0^{n^{1/4}} e^{-t^2 s} \rho^{*n}(s) ds \\ & = \langle e^{-t^2 s} , \rho^{*n}(s)\rangle_{L^2} \\ & = \langle \mathcal{F}[e^{-t^2 s}\Theta(s)] , \mathcal{F}[\rho(s)]^n\rangle_{L^2} \\ \end{align*}∫0n​​e−t2r2An​(r)dr​=∫0n1/4​e−t2sAn​(s​)2s​1​ds=∫0n1/4​e−t2sρ∗n(s)ds=⟨e−t2s,ρ∗n(s)⟩L2​=⟨F[e−t2sΘ(s)],F[ρ(s)]n⟩L2​​

where Θ(s)\Theta(s)Θ(s) is a Heaviside step function.

The Fourier transform of e−t2sΘ(s)e^{-t^2 s}\Theta(s)e−t2sΘ(s) is ∫0∞e−t2s−2πiksds=−i2π1k−it2/2π,\int_0^{\infty} e^{-t^2 s - 2\pi i k s} ds = \frac{-i}{2\pi}\frac{1}{k-it^2/2\pi},∫0∞​e−t2s−2πiksds=2π−i​k−it2/2π1​, and the Fourier transform of ρ(s)\rho(s)ρ(s) is ∫01e−2πiks12sds=∫01e−2πiky2dy=E(2πik)2πik\int_0^1 e^{-2\pi i k s} \frac{1}{2\sqrt{s}} ds = \int_0^1 e^{-2\pi i k y^2}dy = \frac{E(\sqrt{2\pi ik})}{\sqrt{2\pi ik}}∫01​e−2πiks2s​1​ds=∫01​e−2πiky2dy=2πik​E(2πik​)​ by analytic continuation, if you like. So by Parseval we have

∫0ne−t2r2An(r)dr=∫−∞∞i2π1k−−it22π(E(2πik)2πik)n\int_0^{\sqrt{n}} e^{-t^2 r^2} A_n(r) dr = \int_{-\infty}^{\infty} \frac{i}{2\pi} \frac{1}{k-\frac{-it^2}{2\pi}} \left(\frac{E(\sqrt{2\pi ik})}{\sqrt{2\pi ik}}\right)^n∫0n​​e−t2r2An​(r)dr=∫−∞∞​2πi​k−2π−it2​1​(2πik​E(2πik​)​)n

Closing the contour in the lower half plane, we have a pole at k=−it2/2πk=-it^2/2\pik=−it2/2π, and so we can evaluate the integral and find

E(t)=t(−2πii2π(E(t)t)n)1/n=E(t)E(t) = t\left( -2\pi i \frac{i}{2\pi} \left(\frac{E(t)}{t}\right)^n \right)^{1/n} = E(t)E(t)=t(−2πi2πi​(tE(t)​)n)1/n=E(t)

So it's trivial.

So in the end, it seems I just found a very complicated way of proving that erf(t)=erf(t)\text{erf}(t)=\text{erf}(t)erf(t)=erf(t). This is kind of disappointing, given that we seemed to have used several non-trivial facts in the process. My questions are:

I want to throw this idea to the wind and see if anyone else can find a better use for it. Is there any way to patch up the above analysis so as to learn something non-trivial about e.g. the error function or the mass distribution of a hypercube?

If not, is there an intuitive way of seeing why the above analysis is bound to give a trivial answer?

(Also, in case it's not clear, what I might have hoped for in the above analysis was e.g. a non-trivial relationship between E(t)E(t)E(t) and EEE evaluated at some other value--so a functional equation or something. And why it's not immediately clear that this circle of ideas must be trivial is that there is one case in which something analogous works: The usual Gauss' trick for evaluating ∫−∞∞e−x2dx\int_{-\infty}^{\infty} e^{-x^2}dx∫−∞∞​e−x2dx.)

Statement and context adapted from MathOverflow · Yly

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

Topics : pr.probability · mg.metric-geometry · special-functions

Authors listed by the source : Yly

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : November 10, 2020

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