Skip to content

Spitzer's Formula

Recover an i.i.d. random walk's running-maximum laws from positive-part partial-sum laws through Spitzer's time-generating-function identity.

Version
v2 · 2026-11-14 · History
Domain-specific #
14023
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomain
Random Walk Fluctuation Theory → Mathematics
Aliases
Spitzer's identity

Core Idea

Spitzer's formula describes the running maximum of a random walk through the distributions of its partial sums. For independent, identically distributed increments, write \(S_n=X_1+\cdots+X_n\), \(M_n=\max(0,S_1,\ldots,S_n)\), and \(S_\ell^+=\max(0,S_\ell)\). A verified one-sided form says that, for \(|u|<1\) and real \(t\),[1]

\[ \sum_{n=0}^{\infty}u^n\mathbb E[e^{itM_n}] =\exp\!\left(\sum_{\ell=1}^{\infty}\frac{u^\ell}{\ell}\mathbb E[e^{itS_\ell^+}]\right). \]

This is an ordinary generating function in the time index. It connects a path statistic, \(M_n\), to the one-time laws of \(S_\ell^+\). The original 1956 work is the historical source, but its full joint two-sided expression was not directly accessible for this draft, so only the verified one-sided theorem is stated.[1][2]

How would you explain it like I'm…

Farthest-Step Shortcut

Imagine a walker who flips a coin each step to decide whether to step forward or back. You might want to know the chances for the farthest forward spot the walker ever reaches. Spitzer's formula is a clever math shortcut: you can work that out just from the chances of where the walker stands at each single moment.

Highest Point of a Random Walk

Picture a random walk: each step, you move forward or backward by a random amount, with every step following the same chance rules. A natural question is: what's the highest point you've reached after a certain number of steps? That's hard, because it depends on the whole path. Spitzer's formula connects this highest point to a much simpler thing, the chances of where you are at each single moment, counting only the positive part. It packs the answers for every number of steps into one equation.

Random-Walk Maximum Identity

A random walk adds up random steps: S_n is the position after n independent, identically distributed steps, starting at 0. Its running maximum M_n is the highest position reached up to step n, counting the start at 0. Spitzer's formula connects the probability distribution of this maximum, which depends on the whole path, to the distributions of single positions S_ℓ, using only their positive parts (negative values replaced by 0). It does so with a generating function: a power series in a variable u that packs together information for every number of steps. By pulling out individual terms, you can recover the maximum's distribution for any fixed number of steps.

 

Spitzer's formula relates the law of a random walk's running maximum to the laws of its individual partial sums. Let X₁, X₂, … be i.i.d. increments, S_n = X₁ + … + X_n with S₀ = 0, M_n = max(0, S₁, …, S_n), and S_ℓ⁺ = max(0, S_ℓ). For |u| < 1 and real t, the one-sided identity states that Σ_{n≥0} uⁿ E[e^{itM_n}] = exp(Σ_{ℓ≥1} (u^ℓ/ℓ) E[e^{itS_ℓ⁺}]). The left side is an ordinary generating function in time of the characteristic functions of the maximum, while the right side involves only positive parts of single-time partial sums. Expanding and matching coefficients of uⁿ gives the characteristic function of M_n for each finite horizon, from which its distribution can be recovered by inversion. The identity is notable because a path functional (the maximum) is expressed entirely through one-time marginals. More detailed two-sided joint versions exist in the literature but are not asserted by this statement.

Scope of Application

The theorem applies to an i.i.d. partial-sum walk, or to an applied quantity proved equal in distribution to its running maximum. A documented example is waiting time in an initially empty single-server queue with i.i.d. service-minus-interarrival increments. A second example is a stylized discrete insurance reserve with i.i.d. net-loss increments, where finite-horizon ruin can be expressed as a maximum crossing event.[1]

The insurance crossing relation is a model deduction, not a measured result in the paper. The theorem does not by itself give a closed-form ultimate ruin probability.[1]

Clarity

Keep \(S_n\) (terminal sum), \(S_\ell^+\) (positive part at one time), and \(M_n\) (maximum over a path) separate. The theorem uses the positive-part laws to determine maximum transforms; replacing them with signed partial sums changes the equality.[1]

The queue waiting time is a maximum of reversed increments. With i.i.d. increments it has the same distribution as the forward maximum, but is not necessarily equal to that forward maximum on each realized path. The author's later bounded-left integer-step Proposition 2 is also narrower than the stated general Theorem 1.[1]

Manages Complexity

Directly describing a running maximum requires considering whole paths. The identity organizes all finite-horizon maximum transforms from expectations involving individual partial sums. One still needs the model's partial-sum distributions and, to obtain probabilities, suitable coefficient extraction and inversion.[1]

Abstract Reasoning

First state and check the i.i.d. increment assumption. Define \(S_n\), \(S_n^+\) and \(M_n\) with the zero convention. Then prove the applied quantity is the maximum or has its law; only afterward apply the transform at \(|u|<1\). For a threshold event, specify the level and horizon before turning the maximum law into a probability.[1]

A similar-looking maximum with dependent increments needs a separate result. One should not extend a finite-horizon statement to infinite time without an additional limiting argument.[1]

Knowledge Transfer

The formal roles transfer from queue congestion to an insurance capital model. Queue service minus interarrival time supplies net-workload increments, and reversal in distribution supplies the maximum. Insurance claims minus premiums supply net-loss increments, and a reserve threshold turns the maximum into a ruin event. The two models differ, but the same i.i.d. random-walk theorem is used.[1]

The proposed direct parent is live Formal Theorem: this is a proved equality with specific random-walk roles. A generic “highest so far” pattern is not enough to instantiate this formula.

Example

Single-server queue. With i.i.d. \(X_{n+1}=B_n-C_n\), waiting time obeys \(W_{n+1}=(W_n+X_{n+1})^+\). Its reversed-sum maximum is equal in law to forward \(M_n\). Mapped roles: increments → service minus interarrival; sums → cumulative net workload; maximum → waiting-time law; positive parts → \(S_\ell^+\); equality → maximum transform.[1]

Finite-horizon insurance crossing. Let surplus after \(k\) periods be \(U_k=r-S_k\), with i.i.d. claims-minus-premium net-loss increments and \(r\geq0\). If ruin means strictly negative surplus, ruin by \(n\) is exactly \(\{M_n>r\}\). Mapped roles: increments → net losses; sums → cumulative losses; maximum → greatest loss by \(n\); positive parts → positive partial sums; equality → the transform used to recover the crossing probability. A nonpositive-surplus ruin convention changes \(>r\) to \(\geq r\).[1]

Relationships to Other Abstractions

Local relationship map for Spitzer's FormulaParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Spitzer's FormulaDOMAINDomain-specific abstraction: Formal theorem — is a kind ofFormal theoremDOMAIN

Current abstraction Spitzer's Formula Domain-specific

Parents (1) — outgoing typed relations

  • Spitzer's Formula is a kind of Formal theorem Domain-specific

    Spitzer's formula is a proved theorem specialized to an i.i.d. walk maximum and positive-part transform equality.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Spitzer's Formula sits in a sparse region of the domain-specific corpus (65th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Foundations of Probability & Inference (29 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

Not to Be Confused With

A formula for the terminal sum alone; a pathwise equality between forward maximum and queue waiting time; an exponential generating function; a theorem for arbitrary dependent increments; a claim that the narrow discrete Proposition 2 proves every case; the unverified precise two-sided seed formula; or an automatic ultimate-ruin result.[1][2]

References

[1] A. J. E. M. Janssen and J. S. H. van Leeuwaarden, “Spitzer's Identity for Discrete Random Walks”, original author research paper (2017), Introduction and Lindley recursion Eq. (1.1) on PDF pp. 1–2, general Theorem 1 Eq. (1.2) on p. 2, and narrower Proposition 2 Eq. (1.4) on p. 3. Full text inspected. The paper restates the general named identity and proves a narrower integer-valued bounded-left version by a new method; its insurance-capital mention supports model context, while the finite-horizon ruin equivalence above is an explicit derivation. registry ↩a ↩b ↩c ↩d ↩e ↩f ↩g ↩h ↩i ↩j ↩k ↩l ↩m

[2] Frank Spitzer, “A Combinatorial Lemma and Its Application to Probability Theory”, Transactions of the American Mathematical Society 82 (1956): 323–339. Original publisher/NDL bibliographic record verified; its full article was not accessible for direct formula comparison. The precise one-sided theorem statement here is checked in Janssen and van Leeuwaarden's full-text original research paper, which attributes it to Spitzer. registry ↩a ↩b