Gamma Function:
From: | To: |
The Gamma function (Γ) is a generalization of the factorial function to complex and real number arguments. For positive integers, Γ(n) = (n-1)!. It's widely used in mathematics, physics, and engineering.
The calculator uses the Lanczos approximation to compute the Gamma function:
Where:
Explanation: The Lanczos approximation provides accurate results across the complex plane (except for non-positive integers).
Details: The Gamma function appears in probability distributions (Gamma, Chi-squared, Student's t), fractional calculus, analytic number theory, and quantum physics.
Tips: Enter any positive real number. The calculator will compute Γ(x). For x ≤ 0, the function has poles at negative integers.
Q1: What's the relationship between Gamma and factorial?
A: For positive integers n, Γ(n) = (n-1)!. For example, Γ(5) = 4! = 24.
Q2: What is Γ(1/2)?
A: Γ(1/2) = √π ≈ 1.77245385091. This is important in normal distribution calculations.
Q3: Can Gamma handle non-integer values?
A: Yes, Γ(x) is defined for all complex numbers except non-positive integers.
Q4: What's the difference between Gamma and incomplete Gamma?
A: The incomplete Gamma function γ(s,x) is Γ(s) with upper limit x instead of ∞.
Q5: How accurate is this calculator?
A: The Lanczos approximation provides about 15 digits of accuracy for real x > 0.