Greek letters

Γ(n)=(n−1)!\Gamma(n) = (n - 1)! Gamma (capital)

The gamma function Γ(x), which extends the factorial to real numbers.

In ML papers

Γ(x)\Gamma(x) is the gamma function: for whole numbers Γ(n)=(n−1)!\Gamma(n) = (n-1)!, and it fills in the values between them smoothly. It shows up in the normalizing constants of the Beta, Dirichlet, Gamma and Student-t densities, so you meet it whenever a paper writes one of those out in full. Code works with its logarithm (lgamma) to avoid overflow.

The Gamma distribution Gamma(α,β)\mathrm{Gamma}(\alpha, \beta) is a distribution over positive numbers; it is written with the word, not the bare letter.

Other meanings, by context

How to type it

LaTeXShows
\GammaΓ\Gamma

A worked example

Γ(5)=4!=24,Γ(12)=π\Gamma(5) = 4! = 24, \quad \Gamma\left(\tfrac{1}{2}\right) = \sqrt{\pi}

At whole numbers it is a shifted factorial; at one half it gives π≈1.772\sqrt{\pi} \approx 1.772.

Common confusions

Related

γ\gammaGammaπ∼Dir⁡(α)\boldsymbol{\pi} \sim \operatorname{Dir}(\boldsymbol{\alpha})Dirichlet distributionfψf_\psiPsi

Decode this example →