Gamma reflection formula (source code)

= Gamma reflection formula

The <gamma reflection formula> is
$$
\Gamma(z)\Gamma(1-z)=\frac\pi{\sin\pi z},\qquad z\notin\mathbb Z.
$$
It is an identity of <meromorphic functions>, interpreted away from poles when written as ordinary values. At $z=1/2$ it gives $\Gamma(1/2)^2=\pi$; positivity of the defining real <integral> selects $\Gamma(1/2)=\sqrt\pi$.

The identity relates values on opposite sides of the unit interval and is useful for simplifying gamma factors in <integral> evaluations and <analytic continuation>. Excluding integers matters because one or both displayed factors have poles there.<NIST Digital Library of Mathematical Functions>[§5.5(ii), equation 5.5.3]{ref}