Gamma Function Calculator
Result
Γ(x) 24.000000
Note Γ(5) = 4!
The Gamma Function Calculator evaluates Γ(x), the continuous extension of the factorial, using the Lanczos approximation. Enter a value of x.
Formula
Γ(x) = ∫₀^∞ t^(x−1) e^(−t) dt; Γ(n) = (n − 1)! for positive integers
- Computed with the Lanczos approximation for high accuracy.
- Γ(x) is undefined at zero and the negative integers.
x = 5
Inputs
- x: 5
Γ(5) = 4! = 24.
Frequently asked questions
How does the gamma function relate to factorials?
For a positive integer n, Γ(n) = (n − 1)!. It extends the factorial to real and complex numbers.