A Clarification of Fermi’s Formula for the Maximum of Partial Sums

Alessandro Lodi
Independent Researcher · lodialessandro0@gmail.com
11 October 2026
Abstract

In Fermi’s 1926 note, the expression assigned to the probability that all partial sums remain below a threshold is the complementary crossing probability. We obtain the correct probability from the same diffusion equation and locate the inconsistency in the final integration. We then state the limit for independent increments under the Lindeberg condition. A counterexample with smooth densities shows that small individual variances do not suffice to justify this limit. The probabilistic results are classical; the purpose of this note is to reconcile the stated event with the printed calculation and to make the sufficient hypotheses for the discrete limit explicit.

On this page

1. The Event and the Printed Formula

Let Y1,…,YnY_1, \dots, Y_n be independent random variables with mean zero and finite variances σi2\sigma_i^2. Write

S0=0,Sk=∑i=1kYi,Mn=max⁡0≤k≤nSk,Vn=∑i=1nσi2.(1)S_0 = 0, \qquad S_k = \sum_{i=1}^k Y_i, \qquad M_n = \max_{0 \le k \le n} S_k, \qquad V_n = \sum_{i=1}^n \sigma_i^2. \tag{1}

For a threshold a>0a > 0, the problem stated by Fermi [1, p. 314, formula (8)] is to determine

Qn(a)=P(S1≤a,…,Sn≤a)=P(Mn≤a).(2)Q_n(a) = \mathbb{P}(S_1 \le a, \dots, S_n \le a) = \mathbb{P}(M_n \le a). \tag{2}

In the original notation, σi2=Ki2\sigma_i^2 = K_i^2. For Vn>0V_n > 0, formula (9), repeated on p. 318, assigns to this event the expression

2π∫a/2Vn∞e−z2 dz=erfc⁡(a2Vn)=2[1−Φ(aVn)],(3)\frac{2}{\sqrt{\pi}} \int_{a/\sqrt{2V_n}}^{\infty} e^{-z^2}\,dz = \operatorname{erfc}\left(\frac{a}{\sqrt{2V_n}}\right) = 2\left[1 - \Phi\left(\frac{a}{\sqrt{V_n}}\right)\right], \tag{3}

where Φ\Phi denotes the standard normal distribution function.

The event itself provides a first check. Qn(a)Q_n(a) is nondecreasing in aa, whereas (3) is decreasing. At fixed nn, Qn(a)→1Q_n(a) \to 1 as a→∞a \to \infty, whereas (3) tends to zero. These facts do not depend on the diffusion approximation. The printed expression has the behavior of the complementary event.

a = 1.0
t = 1.0
Q(a,t) = 0.6827 · H(a,t) = 0.3173
Crossing point: a/2t≈0.4769a/\sqrt{2t} \approx 0.4769 (Q=H=0.5Q = H = 0.5)
0.000.250.500.751.000.00.51.01.52.02.53.03.54.0 a = 0.67 Threshold a Probability
True Survival Probability Q(a,t)=erf⁡(a/2t)Q(a,t) = \operatorname{erf}(a/\sqrt{2t}) (Eq. 6)
Fermi's Printed Formula H(a,t)=erfc⁡(a/2t)H(a,t) = \operatorname{erfc}(a/\sqrt{2t}) (Eq. 3 & 7)
Figure 1: Monotonicity and limit inversion between the survival event and Fermi's printed formula. As the barrier a→∞a \to \infty, the survival probability Q(a,t)Q(a,t) (blue) increases monotonically to 11, whereas Fermi's printed expression (red dashed) decreases to 00 because it represents the complementary crossing probability H(a,t)=1−Q(a,t)H(a,t) = 1 - Q(a,t). Vary the accumulated variance t=Vnt = V_n and select a barrier aa to read off Q(a,t)Q(a,t) and H(a,t)H(a,t) at the marked points.

The correction follows from Fermi’s construction. The minus sign in his formula (19) is already correct. The printed pages do not establish whether the inconsistency arose in composition or in the calculation. A related modern study of Fermi’s note is due to Flandoli [2]; no claim of priority is made here.

2. The Density with Absorption

Let BtB_t be standard Brownian motion started at zero, and set

τa=inf⁡{t≥0:Bt=a},gt(x)=12πtexp⁡(−x22t).\tau_a = \inf\{t \ge 0 : B_t = a\}, \qquad g_t(x) = \frac{1}{\sqrt{2\pi t}} \exp\left(-\frac{x^2}{2t}\right).

The time tt represents accumulated variance, as in Fermi’s substitution (17). The measure

P(Bt∈dx, τa>t)=qa(t,x) dx,x<a,\mathbb{P}(B_t \in dx,\, \tau_a > t) = q_a(t, x)\,dx, \qquad x < a,

has mass less than one: it retains only paths that have not reached the threshold.

Reflection after the first arrival at aa preserves Brownian law [3]. For x<ax < a, it identifies the density of paths that have reached the threshold and ended at xx with the free density at 2a−x2a - x. Hence

qa(t,x)=gt(x)−gt(2a−x),t>0,x<a.(4)q_a(t, x) = g_t(x) - g_t(2a - x), \qquad t > 0, \quad x < a. \tag{4}

This density is nonnegative, since (2a−x)2−x2=4a(a−x)>0(2a - x)^2 - x^2 = 4a(a - x) > 0. It also satisfies

∂tqa=12∂xxqa,qa(t,a)=0,qa(t,x)⟶0(x→−∞),(5)\partial_t q_a = \frac{1}{2} \partial_{xx} q_a, \qquad q_a(t, a) = 0, \qquad q_a(t, x) \longrightarrow 0 \quad (x \to -\infty), \tag{5}

with initial datum δ0\delta_0, interpreted as weak convergence of measures. These are the equation and boundary conditions in Fermi’s formulas (14)–(18), in modern notation.

Integrating (4) gives

Q(a,t):=P(sup⁡0≤s≤tBs≤a)=∫−∞aqa(t,x) dx=Φ(a/t)−[1−Φ(a/t)]=2Φ(a/t)−1=erf⁡(a2t).(6)\begin{aligned} Q(a, t) := \mathbb{P}\left(\sup_{0 \le s \le t} B_s \le a\right) &= \int_{-\infty}^a q_a(t, x)\,dx \\ &= \Phi(a/\sqrt{t}) - [1 - \Phi(a/\sqrt{t})] \\ &= 2\Phi(a/\sqrt{t}) - 1 = \operatorname{erf}\left(\frac{a}{\sqrt{2t}}\right). \end{aligned} \tag{6}

The distinction between τa>t\tau_a > t and a maximum at most aa does not affect this probability: the Brownian maximum has no atom at a>0a > 0. The crossing probability is therefore

H(a,t)=1−Q(a,t)=erfc⁡(a2t).(7)H(a, t) = 1 - Q(a, t) = \operatorname{erfc}\left(\frac{a}{\sqrt{2t}}\right). \tag{7}
a = 1.0
t = 1.0
Q(a,t) = 0.6827 | H(a,t) = 0.3173
-3-2-101230.00.10.20.30.40.5 Barrier x = a Position x Density
Surviving Density qa(t,x)=gt(x)−gt(2a−x)q_a(t,x) = g_t(x) - g_t(2a-x) (x≤ax \le a)
Free Gaussian gt(x)g_t(x)
Reflected Image gt(2a−x)g_t(2a-x) (Paths that hit aa)
Figure 2: Decomposition of the density with an absorbing barrier at x=ax = a (Equations 4 and 9). The surviving density qa(t,x)q_a(t,x) (solid blue, shaded) vanishes at the absorbing barrier x=ax = a. It is obtained by subtracting the reflected image Gaussian gt(2a−x)g_t(2a-x) (red dashed, equal to the convolution ∫0tua(s)gt−s(x−a) ds\int_0^t u_a(s)g_{t-s}(x-a)\,ds in Fermi's Eq. 19) from the free Gaussian gt(x)g_t(x) (grey). Integrating only the subtracted term over (−∞,a)(-\infty, a) gives half the absorbed mass, 12H(a,t)\frac{1}{2}H(a,t), whereas integrating qa(t,x)q_a(t,x) gives the surviving mass Q(a,t)Q(a,t).

3. Where the Integration Changes the Event

Let ua(s)u_a(s) denote the first-passage density:

ua(s)=a2πs3exp⁡(−a22s),s>0.(8)u_a(s) = \frac{a}{\sqrt{2\pi s^3}} \exp\left(-\frac{a^2}{2s}\right), \qquad s > 0. \tag{8}

Fermi’s formula (19) then becomes

qa(t,x)=gt(x)−∫0tua(s) gt−s(x−a) ds,x<a.(9)q_a(t, x) = g_t(x) - \int_0^t u_a(s)\, g_{t-s}(x - a)\,ds, \qquad x < a. \tag{9}

The second term removes paths that have already reached the threshold. This decomposition follows from the strong Markov property at τa\tau_a.

For every s<ts < t, Gaussian symmetry gives ∫−∞agt−s(x−a) dx=1/2\int_{-\infty}^a g_{t-s}(x - a)\,dx = 1/2. Integrating (9), with Tonelli’s theorem applied to its nonnegative integral term, yields

∫−∞aqa(t,x) dx=Φ(a/t)−12∫0tua(s) ds.(10)\int_{-\infty}^a q_a(t, x)\,dx = \Phi(a/\sqrt{t}) - \frac{1}{2} \int_0^t u_a(s)\,ds. \tag{10}

The substitution z=a/2sz = a/\sqrt{2s} gives

∫0tua(s) ds=2π∫a/2t∞e−z2 dz=erfc⁡(a2t)=2[1−Φ(a/t)].(11)\int_0^t u_a(s)\,ds = \frac{2}{\sqrt{\pi}} \int_{a/\sqrt{2t}}^{\infty} e^{-z^2}\,dz = \operatorname{erfc}\left(\frac{a}{\sqrt{2t}}\right) = 2\left[1 - \Phi(a/\sqrt{t})\right]. \tag{11}

Substituting (11) into (10) recovers (6). On p. 318, immediately after formula (21), Fermi’s printed calculation instead identifies the integral of the surviving density with (11). Formula (19) and that printed integration cannot both be correct.

The same distinction appears in the mass balance:

ddtQ(a,t)=12∂xqa(t,a)=−ua(t),Q(a,0)=1.(12)\frac{d}{dt} Q(a, t) = \frac{1}{2} \partial_x q_a(t, a) = -u_a(t), \qquad Q(a, 0) = 1. \tag{12}

The remaining mass is one minus the absorbed mass.

4. A Precise Limit for Discrete Sums

The Brownian formula is exact for the continuous process. For discrete sums, the limiting procedure must be specified. For each nn, consider independent increments Yn,1,…,Yn,nY_{n,1}, \dots, Y_{n,n} with mean zero, variances σn,k2\sigma_{n,k}^2, and total variance Vn=∑k=1nσn,k2>0V_n = \sum_{k=1}^n \sigma_{n,k}^2 > 0. Define Sn,kS_{n,k} and MnM_n as in (1).

Proposition 1.

Suppose that, for every ε>0\varepsilon > 0, the Lindeberg condition holds: Ln(ε):=1Vn∑k=1nE[Yn,k2 1{∣Yn,k∣>εVn}]⟶0.(13)L_n(\varepsilon) := \frac{1}{V_n} \sum_{k=1}^n \mathbb{E}\left[Y_{n,k}^2\, \mathbf{1}_{\{|Y_{n,k}| > \varepsilon \sqrt{V_n}\}}\right] \longrightarrow 0. \tag{13} If an≥0a_n \ge 0 and an/Vn→b∈[0,∞]a_n / \sqrt{V_n} \to b \in [0, \infty], then P(Mn≤an)⟶2Φ(b)−1.(14)\mathbb{P}(M_n \le a_n) \longrightarrow 2\Phi(b) - 1. \tag{14} Consequently, P(Mn≤an)=erf⁡(an2Vn)+o(1).(15)\mathbb{P}(M_n \le a_n) = \operatorname{erf}\left(\frac{a_n}{\sqrt{2V_n}}\right) + o(1). \tag{15}

Proof. Parametrize the sums by accumulated variance: tn,k=1Vn∑j=1kσn,j2,tn,0=0,tn,n=1.t_{n,k} = \frac{1}{V_n} \sum_{j=1}^k \sigma_{n,j}^2, \qquad t_{n,0} = 0, \quad t_{n,n} = 1. Increments with zero variance may be removed. For every ε>0\varepsilon > 0, max⁡kσn,k2Vn≤ε2+Ln(ε).\max_k \frac{\sigma_{n,k}^2}{V_n} \le \varepsilon^2 + L_n(\varepsilon). Thus the largest gap between consecutive times tends to zero. The functional Lindeberg theorem, on this deterministic variance clock, gives convergence to BB of the process that linearly interpolates the points (tn,k,Sn,k/Vn)(t_{n,k}, S_{n,k}/\sqrt{V_n}); see [4, Section 8.2] for the martingale formulation. Independence makes the conditional variances deterministic and reduces the tail condition to (13).

The maximum of the interpolation is Mn/VnM_n / \sqrt{V_n}. Since the maximum is a continuous functional on continuous paths with the uniform norm, it converges in distribution to sup⁡0≤t≤1Bt\sup_{0 \le t \le 1} B_t. The distribution function of this maximum is continuous, including at zero, and is given by (6) at t=1t = 1, extended to a=0a = 0 (and by Kolmogorov's maximal inequality as b→∞b \to \infty). This proves (14). Continuity of erf⁡\operatorname{erf} then gives (15). □

This result controls absolute error. When an/Vn→0a_n / \sqrt{V_n} \to 0, it does not by itself provide a small relative error or an asymptotic equivalent for the discrete probability.

For independent and identically distributed increments with mean zero and variance σ2∈(0,∞)\sigma^2 \in (0, \infty), the finite second moment implies the Lindeberg condition. At a fixed threshold a>0a > 0, (14) gives

lim⁡n→∞P(Mn≤a)=0,lim⁡n→∞P(Mn>a)=1.(16)\lim_{n \to \infty} \mathbb{P}(M_n \le a) = 0, \qquad \lim_{n \to \infty} \mathbb{P}(M_n > a) = 1. \tag{16}

The limit one at the end of Fermi’s note therefore belongs to the crossing probability.

5. Why Variance Comparisons Alone Do Not Suffice

Fermi assumes that no individual variance is appreciable compared with their sum, and that the threshold is large compared with the standard deviations of the individual increments. His footnote on p. 315 also assumes the conditions needed to justify the diffusion approximation, without stating them. Condition (13) makes one sufficient requirement explicit. The following example shows why variance and threshold comparisons alone cannot replace it.

Let Jn,kJ_{n,k} be independent, with

P(Jn,k=1)=P(Jn,k=−1)=12n,P(Jn,k=0)=1−1n,\mathbb{P}(J_{n,k} = 1) = \mathbb{P}(J_{n,k} = -1) = \frac{1}{2n}, \qquad \mathbb{P}(J_{n,k} = 0) = 1 - \frac{1}{n},

and let Zn,kZ_{n,k} be independent standard normal variables, independent also of the Jn,kJ_{n,k}. Set

Yn,k=Jn,k+Zn,kn.Y_{n,k} = J_{n,k} + \frac{Z_{n,k}}{n}.

Each increment has a smooth density and mean zero. Moreover,

σn,k2=1n+1n2,Vn=1+1n,max⁡kσn,k2Vn=1n.(17)\sigma_{n,k}^2 = \frac{1}{n} + \frac{1}{n^2}, \qquad V_n = 1 + \frac{1}{n}, \qquad \frac{\max_k \sigma_{n,k}^2}{V_n} = \frac{1}{n}. \tag{17}

For a=1/4a = 1/4, we also have a/max⁡kσn,k→∞a / \max_k \sigma_{n,k} \to \infty. Yet with probability (1−1/n)n→e−1(1 - 1/n)^n \to e^{-1}, all the Jn,kJ_{n,k} vanish. On this event only the Gaussian noise remains, with total variance 1/n1/n. Kolmogorov’s maximal inequality gives

P(max⁡k≤n∣∑j=1kZn,j/n∣>a)≤1na2⟶0.\mathbb{P}\left(\max_{k \le n} \left|\sum_{j=1}^k Z_{n,j}/n\right| > a\right) \le \frac{1}{n a^2} \longrightarrow 0.

By independence,

lim inf⁡n→∞P(Mn≤1/4)≥e−1=0.367879⋯>2Φ(1/4)−1=0.197413…(18)\liminf_{n \to \infty} \mathbb{P}(M_n \le 1/4) \ge e^{-1} = 0.367879\dots > 2\Phi(1/4) - 1 = 0.197413\dots \tag{18}

The Brownian limit fails. Rare jumps of unit size survive normalization, and the Lindeberg condition is not satisfied.

0.000.100.200.300.40501002505001000 Jump-free limit: 0.3679 Brownian prediction: 0.1974 Number of increments n (log scale) Probability P(M_n ≤ 1/4)
Asymptotic Jump-Free Limit e−1≈0.3679e^{-1} \approx 0.3679
Rigorous Finite-nn Lower Bound (1−1/n)n(1−1na2)(1 - 1/n)^n (1 - \frac{1}{n a^2})
Brownian Prediction erf⁡(a/2)=2Φ(1/4)−1≈0.1974\operatorname{erf}(a/\sqrt{2}) = 2\Phi(1/4) - 1 \approx 0.1974
Figure 3: Failure of the Brownian approximation in the smooth jump-diffusion counterexample (a=1/4a = 1/4, Section 5). Even though max⁡kσn,k2/Vn=1/n→0\max_k \sigma_{n,k}^2 / V_n = 1/n \to 0 and a/max⁡kσn,k→∞a / \max_k \sigma_{n,k} \to \infty, the survival probability P(Mn≤1/4)\mathbb{P}(M_n \le 1/4) is bounded below by (1−1/n)n(1−16/n)(1-1/n)^n(1 - 16/n) (solid blue curve), which converges to e−1≈0.3679e^{-1} \approx 0.3679 (green dashed) — nearly double the Brownian diffusion prediction 2Φ(1/4)−1≈0.19742\Phi(1/4)-1 \approx 0.1974 (red dashed).

6. Discrete and Continuous Absorption & Verification

For increments with densities fkf_k, the discrete density of paths still below the threshold obeys the exact recursion

qk(x)=1{x≤a}∫−∞aqk−1(y) fk(x−y) dy,q0=δ0.(19)q_k(x) = \mathbf{1}_{\{x \le a\}} \int_{-\infty}^a q_{k-1}(y)\, f_k(x - y)\,dy, \qquad q_0 = \delta_0. \tag{19}

At the first step this means q1(x)=1{x≤a}f1(x)q_1(x) = \mathbf{1}_{\{x \le a\}} f_1(x), with the initial integral understood against the measure δ0\delta_0. The required probability is ∫−∞aqn(x) dx\int_{-\infty}^a q_n(x)\,dx. This recursion retains the distribution of the increments. At a finite number of steps the density approaching the threshold from below may be positive. The zero boundary value of the continuous model is not an identity for the discrete recursion.

Under (13), on the variance clock, the discrete process converges to Brownian motion and yields (15). Fermi’s formulas (9) and (9) bis must therefore be complemented when assigned to the event (8). The diffusion method retains its meaning once surviving mass, absorbed mass, and the conditions for the limit are distinguished.

Deterministic Numerical Verification

Table 1 summarizes the deterministic quadrature checks from verify.py across (a,t)∈{0.25,1.0,2.0}×{0.2,1.0,5.0}(a, t) \in \{0.25, 1.0, 2.0\} \times \{0.2, 1.0, 5.0\}, confirming the identity between the reflected Gaussian integral (6), the first-passage convolution (9)–(11), and the boundary condition qa(t,a)=0q_a(t, a) = 0 within the script’s asserted absolute-error tolerance of 2×10−82 \times 10^{-8}. The table reports the observed errors from the recorded run; quadrature errors can vary slightly between environments.

Threshold aa Variance tt Surviving Mass Q(a,t)=erf⁡(a/2t)Q(a,t) = \operatorname{erf}(a/\sqrt{2t}) Absorbed Mass H(a,t)=erfc⁡(a/2t)H(a,t) = \operatorname{erfc}(a/\sqrt{2t}) Max Quadrature Error
0.250.20.42384987800.57615012201.60e-14
0.251.00.19741265140.80258734861.75e-13
0.255.00.08902070750.91097929251.40e-14
1.000.20.97465268130.02534731871.59e-14
1.001.00.68268949210.31731050791.75e-13
1.005.00.34527915400.65472084606.12e-15
2.000.20.99999225580.00000774421.11e-16
2.001.00.95449973610.04550026391.75e-13
2.005.00.62890663050.37109336954.44e-16
Use of generative AI. Languange model GPT-6.1 Sol assisted with the drafting and the mathematical reconstruction

References

  1. E. Fermi, Sopra una formula di calcolo delle probabilità, Il Nuovo Cimento 3 (1926), 313–318. doi:10.1007/BF02961077.
  2. F. Flandoli, Un teorema di calcolo delle probabilità di Enrico Fermi, Quaderni di Storia della Fisica 28 (2023), 61–74. doi:10.1393/qsf/i2023-10097-8.
  3. S. P. Lalley, Lecture 5: Brownian Motion, lecture notes, University of Chicago, Section 7.
  4. R. Durrett, Probability: Theory and Examples, 5th edition, Cambridge University Press, 2019, Sections 3.4 and 8.1–8.2.