Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Mathematical Functions > Special Functions > Gamma Functions and Related Functions >

LogGamma

LogGamma[z]
gives the logarithm of the gamma function log Gamma(z).
  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • LogGamma[z] is analytic throughout the complex z plane, except for a single branch cut discontinuity along the negative real axis. Log[Gamma[z]] has a more complex branch cut structure.
  • For certain special arguments, LogGamma automatically evaluates to exact values.
  • LogGamma can be evaluated to arbitrary numerical precision.
  • LogGamma automatically threads over lists.
Evaluate numerically:
Evaluate at large arguments:
Give exact results for integers and half-integers:
Complex arguments:
Evaluate to high precision:
The precision of the output tracks the precision of the input:
Series expansion at the origin:
Series expansion at infinity:
Give the result for an arbitrary symbolic direction z:
TraditionalForm formatting:
Infinite arguments give symbolic results:
LogGamma threads element-wise over lists:
LogGamma can be applied to a power series:
Series expansion at poles of the LogGamma function:
Plot of the imaginary part of LogGamma[z] and Log[Gamma[z]] over the complex z plane:
Calculate ratio of Gamma functions at very large arguments:
Direct calculation fails because intermediate numbers are too large:
Find the first few digits of 10^(100)!:
Use FullSimplify to simplify logarithmic gamma functions:
Use FunctionExpand to express through Gamma:
Numerically find a root of a transcendental equation:
Integrals:
In TraditionalForm, logGamma(z) is automatically interpreted as the gamma function:
For many complex values logGamma(z)!=log(Gamma(z)):
Algorithmically generated results typically contain log(Gamma(z)) instead of logGamma(z):
Plot LogGamma at the Gaussian integers:
Riemann surface of LogGamma:
New in 2
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team