Moments of the Brownian double meander area (F-Airy distribution)
edit · history · discussion · files · short url · integral probability theory
Numbers
$n$ 
$\mathbb E[A_{\rm dm}^{n}]$
1:
0.7978845608028653558798921198687637369517172623298693153318516593413158517986036770025046678146138729
comment: The mean is $\sqrt{2/\pi}$, the expected maximum of standard Brownian motion on $[0,1]$.
2:
17/24
3:
0.7009985784196602769516195053132709974647230233326708984701268149927274983659160876522005295799821883
4:
2963/3840
5:
0.9390520735273316893450720006339227555961259462931189625520496063122725212986854672580468793758033611
6:
5172905/4128768
7:
1.815433217297413834042601608328584936104092509531952574158178016754891907691980609877827949814645601
8:
5008835/1769472
9:
4.710358112888272506291404102902500737792497431971975313204104043583097251039090167478660703439212541
10:
5021421521635/604583755776
11:
15.42573657959406265311531610224198079020079526237846180668449236166183577933558733690834514479043892
12:
828744195187165/27599459844096
Definition
Let $B$ be standard Brownian motion on $[0,1]$, started at zero, with mean zero and covariance $\min(s,t)$ [1]. The table gives the raw moments $M_n=\mathbb E[A_{\rm dm}^n]$ of the Brownian double meander area $A_{\rm dm}=\int_0^1(B(t)-\min_{0\leq u\leq1}B(u))\,dt$.
Parameters
$n$
—   moment order ($n\geq1$)
Formulas
(1)
The auxiliary coefficients satisfy $K_0=-\tfrac12$ and $K_n=\tfrac{3n-4}{4}K_{n-1}+\sum_{j=1}^{n-1}K_jK_{n-j}$ for $n\geq1$, with an empty sum equal to zero [1], equation (7).
(2)
The auxiliary coefficients satisfy $Q_0=1$ and $Q_n=\tfrac{3n-2}{2}Q_{n-1}+2\sum_{j=1}^{n}K_jQ_{n-j}$ for $n\geq1$, where $K_n$ is defined by (1) [1], equation (199).
(3)
$W_n=\sum_{j=0}^{n}Q_jQ_{n-j}$ for $n\geq0$, where $Q_n$ is defined by (2) [1], equation (232).
(4)
$M_n=\dfrac{2^{-n/2}n!}{\Gamma((3n+2)/2)}W_n$ for $n\geq0$, where $W_n$ is defined by (3) and $\Gamma$ is the Gamma function [1], equation (229).
Comments
(5)
The underlying Brownian motion has variance $t$ and generator $\tfrac12\,d^2/dx^2$. The duration is one, and the minimum in the definition is taken over the whole interval, rather than over $[0,t]$.
(6)
This law is the F-Airy distribution of [2], section IV, equations (73)–(75); the letter F refers to free boundary conditions.
(7)
Every even-order moment is rational, and every odd-order moment is a rational multiple of $\sqrt{2/\pi}$, by (4) and the integer and half-integer values of the Gamma function. The zeroth moment is $M_0=1$.
Programs
(P1)
Python
import numberdb.sage as numberdb
from math import factorial
from functools import lru_cache
from sage.rings.rational_field import QQ
from sage.rings.real_arb import RealBallField

WORKING_GUARD = 180

@lru_cache(maxsize=None)
def coefficients(n):
    k, q = [-QQ(1)/QQ(2)], [QQ(1)]
    for j in range(1, n + 1):
        k.append(QQ(3*j-4)/QQ(4)*k[j-1]
                 + sum((k[i]*k[j-i] for i in range(1,j)), QQ(0)))
        q.append(QQ(3*j-2)/QQ(2)*q[j-1]
                 + 2*sum((k[i]*q[j-i] for i in range(1,j+1)), QQ(0)))
    return tuple(k), tuple(q)

def rational_factor(n):
    """Return M_n for even n, or M_n / sqrt(2/pi) for odd n."""
    _, q = coefficients(n)
    w = sum((q[j]*q[n-j] for j in range(n+1)), QQ(0))
    m = n//2
    if n % 2 == 0:
        return QQ(factorial(n))*w / QQ(2**m*factorial(3*m))
    j = 3*m+2
    return QQ(factorial(n)*4**j*factorial(j))*w / QQ(2**(m+1)*factorial(2*j))

def moment(n, digits=100):
    if not isinstance(n, int) or n < 0:
        raise ValueError('moment order must be a nonnegative Python integer')
    a = rational_factor(n)
    if n % 2 == 0:
        return a
    r = RealBallField(numberdb.bits(digits, losing=WORKING_GUARD))
    return r(a)*(r(2)/r.pi()).sqrt()

# For example, the mean:
print(moment(1))
References
[1]
S. Janson, Brownian excursion area, Wright's constants in graph enumeration, and other Brownian areas, Probability Surveys 4 (2007), 80–145. (arXiv) (doi)
[2]
S. N. Majumdar and A. Comtet, Airy distribution function: from the area under a Brownian excursion to the maximal height of fluctuating interfaces, Journal of Statistical Physics 119 (2005), 777–826. (arXiv) (doi)
Links
Similar tables
Values of the Gamma function at rational numbers —   the Gamma values appearing in the raw-moment formula
Zeros of the Airy function $\operatorname{Ai}$ —   these zeros determine the spectral expansion of the double-meander-area Laplace transform in [1], equation (220)
Data properties
Entries are of type: real number
Table is complete: no (it holds every raw moment of positive integer order $1\leq n\leq12$ of the unit-duration standard Brownian double meander area; moment order indexes the coefficients of its Laplace transform, and twelve is an editorial truncation of this discrete sequence)
How they were obtained:

The recurrences for $K_n$ and $Q_n$, the convolution for $W_n$, and the rational prefactors were evaluated exactly over $\mathbb Q$. Even moments are stored as exact rational numbers. Odd moments use an Arb enclosure of $\sqrt{2/\pi}$ at 513 bits, with a measured minimum relative accuracy of 509 bits, and are written to 100 significant digits. Each decimal denotes the interval within one unit of its last place.

more

All twelve orders were compared with an independent polynomial solution of the killed Brownian Feynman–Kac resolvent equation and with an exact quotient of Airy asymptotic series, using [1], Appendix C.3 and equations (104), (106), (184), (196), and (231). Direct Arb Gamma evaluation at 768 bits checks the half-integer simplification and containment within each written decimal interval. The mean follows independently from the reflection principle. The first four positive moments agree with Table 5 of [1], and the first three agree with equation (74) of [2]. The attached checks also test the arcsine-weighted meander convolution, strict moment log-convexity with $M_0=1$, and the identities on database readback. See checks.py, derivation.md and numerical-evidence.json for methods, controls and measurements.