Mathwords logoMathwords

Barnes G-Function — Definition, Formula & Example

The Barnes G-function is a special function that multiplies factorials together, the way the gamma function multiplies whole numbers together. At positive integers it gives superfactorials, such as G(6)=0!⋅1!⋅2!⋅3!⋅4!=288G(6) = 0!\cdot 1!\cdot 2!\cdot 3!\cdot 4! = 288.

The Barnes G-function is the unique entire function GG on C\mathbb{C} that satisfies three conditions. First, G(1)=1G(1) = 1. Second, G(z+1)=Γ(z) G(z)G(z+1) = \Gamma(z)\,G(z) for all zz. Third, d3dx3log⁡G(x)≥0\frac{d^3}{dx^3}\log G(x) \ge 0 for x>0x > 0. It has the Weierstrass product G(1+z)=(2π)z/2exp⁡ ⁣(−z+z2(1+γ)2)∏k=1∞(1+zk)kexp⁡ ⁣(z22k−z),G(1+z) = (2\pi)^{z/2}\exp\!\left(-\frac{z + z^2(1+\gamma)}{2}\right)\prod_{k=1}^{\infty}\left(1+\frac{z}{k}\right)^{k}\exp\!\left(\frac{z^2}{2k} - z\right), where γ\gamma is the Euler–Mascheroni constant. Its zeros are at z=0,−1,−2,…z = 0, -1, -2, \ldots, and the zero at z=−nz = -n has order n+1n+1.

Key Formula

G(n)=∏k=0n−2k!=0!⋅1!⋅2!⋯(n−2)!(n≥2)G(n) = \prod_{k=0}^{n-2} k! = 0!\cdot 1!\cdot 2!\cdots (n-2)! \quad (n \ge 2)
Where:
  • G(n)G(n) = The value of the Barnes G-function at the whole number n
  • nn = A whole number that is at least 2
  • kk = The product index, which runs from 0 up to n minus 2

Worked Example

Problem: Start from G(1)=1G(1) = 1 and use the rule G(z+1)=Γ(z) G(z)G(z+1) = \Gamma(z)\,G(z) to find G(6)G(6). Then check your result against the superfactorial formula.
Step 1: Recall that Γ(m)=(m−1)!\Gamma(m) = (m-1)! for whole numbers mm. Apply the rule twice. The first two gamma factors equal 1, so the values do not change yet.
G(2)=Γ(1) G(1)=1,G(3)=Γ(2) G(2)=1G(2) = \Gamma(1)\,G(1) = 1, \qquad G(3) = \Gamma(2)\,G(2) = 1
Step 2: Continue the chain. From here, each step multiplies by a larger factorial.
G(4)=Γ(3) G(3)=2⋅1=2,G(5)=Γ(4) G(4)=6⋅2=12G(4) = \Gamma(3)\,G(3) = 2\cdot 1 = 2, \qquad G(5) = \Gamma(4)\,G(4) = 6\cdot 2 = 12
Step 3: Take one more step. Then compare with the product of factorials from 0!0! through 4!4!.
G(6)=Γ(5) G(5)=24⋅12=288,0!⋅1!⋅2!⋅3!⋅4!=1⋅1⋅2⋅6⋅24=288G(6) = \Gamma(5)\,G(5) = 24\cdot 12 = 288, \qquad 0!\cdot 1!\cdot 2!\cdot 3!\cdot 4! = 1\cdot 1\cdot 2\cdot 6\cdot 24 = 288
Answer: G(6)=288G(6) = 288. This equals the superfactorial 0!⋅1!⋅2!⋅3!⋅4!0!\cdot 1!\cdot 2!\cdot 3!\cdot 4!.

Why It Matters

In random matrix theory, the normalizing constants of Gaussian matrix ensembles are products of factorials. Those products are written compactly with GG. The Keating–Snaith conjecture for the moments of the Riemann zeta function contains the factor G(k+1)2/G(2k+1)G(k+1)^2/G(2k+1). Barnes G also appears in determinants of Laplace operators in geometry and physics.

Common Mistakes

Mistake: Assuming G(n)G(n) equals the superfactorial of nn. For example, writing G(4)=0!⋅1!⋅2!⋅3!⋅4!=288G(4) = 0!\cdot 1!\cdot 2!\cdot 3!\cdot 4! = 288.
Correction: The index is shifted by two. G(n)G(n) stops at (n−2)!(n-2)!, so G(4)=0!⋅1!⋅2!=2G(4) = 0!\cdot 1!\cdot 2! = 2, and the value 288 is G(6)G(6). Check your answer with the rule G(n+1)=(n−1)! G(n)G(n+1) = (n-1)!\,G(n).

Related Terms