HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, the upper and lower incomplete gamma functions are types of
special functions Special functions are particular mathematical functions that have more or less established names and notations due to their importance in mathematical analysis, functional analysis, geometry, physics, or other applications. The term is defined by ...
which arise as solutions to various mathematical problems such as certain
integral In mathematics, an integral is the continuous analog of a Summation, sum, which is used to calculate area, areas, volume, volumes, and their generalizations. Integration, the process of computing an integral, is one of the two fundamental oper ...
s. Their respective names stem from their integral definitions, which are defined similarly to the
gamma function In mathematics, the gamma function (represented by Γ, capital Greek alphabet, Greek letter gamma) is the most common extension of the factorial function to complex numbers. Derived by Daniel Bernoulli, the gamma function \Gamma(z) is defined ...
but with different or "incomplete" integral limits. The gamma function is defined as an integral from zero to infinity. This contrasts with the lower incomplete gamma function, which is defined as an integral from zero to a variable upper limit. Similarly, the upper incomplete gamma function is defined as an integral from a variable lower limit to infinity.


Definition

The upper incomplete gamma function is defined as: \Gamma(s,x) = \int_x^ t^\,e^\, dt , whereas the lower incomplete gamma function is defined as: \gamma(s,x) = \int_0^x t^\,e^\, dt . In both cases is a complex parameter, such that the real part of is positive.


Properties

By
integration by parts In calculus, and more generally in mathematical analysis, integration by parts or partial integration is a process that finds the integral of a product of functions in terms of the integral of the product of their derivative and antiderivati ...
we find the
recurrence relations In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
\Gamma(s+1,x) = s\Gamma(s,x) + x^ e^ and \gamma(s+1,x) = s\gamma(s,x) - x^ e^. Since the ordinary gamma function is defined as \Gamma(s) = \int_0^ t^\,e^\, dt we have \Gamma(s) = \Gamma(s,0) = \lim_ \gamma(s,x) and \gamma(s,x) + \Gamma(s,x) = \Gamma(s).


Continuation to complex values

The lower incomplete gamma and the upper incomplete gamma function, as defined above for real positive and , can be developed into
holomorphic function In mathematics, a holomorphic function is a complex-valued function of one or more complex variables that is complex differentiable in a neighbourhood of each point in a domain in complex coordinate space . The existence of a complex de ...
s, with respect both to and , defined for almost all combinations of complex and . Complex analysis shows how properties of the real incomplete gamma functions extend to their holomorphic counterparts.


Lower incomplete gamma function


=Holomorphic extension

= Repeated application of the recurrence relation for the lower incomplete gamma function leads to the
power series In mathematics, a power series (in one variable) is an infinite series of the form \sum_^\infty a_n \left(x - c\right)^n = a_0 + a_1 (x - c) + a_2 (x - c)^2 + \dots where ''a_n'' represents the coefficient of the ''n''th term and ''c'' is a co ...
expansion: \gamma(s, x) = \sum_^\infty \frac = x^s \, \Gamma(s) \, e^ \sum_^\infty\frac. Given the rapid growth in
absolute value In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if x is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), ...
of when , and the fact that the reciprocal of is an
entire function In complex analysis, an entire function, also called an integral function, is a complex-valued function that is holomorphic on the whole complex plane. Typical examples of entire functions are polynomials and the exponential function, and any ...
, the coefficients in the rightmost sum are well-defined, and locally the sum converges uniformly for all complex and . By a theorem of
Weierstrass Karl Theodor Wilhelm Weierstrass (; ; 31 October 1815 – 19 February 1897) was a German mathematician often cited as the " father of modern analysis". Despite leaving university without a degree, he studied mathematics and trained as a school t ...
, the limiting function, sometimes denoted as \gamma^*(s, z) := e^\sum_^\infty\frac is
entire Entire may refer to: * Entire function, a function that is holomorphic on the whole complex plane * Entire (animal), an indication that an animal is not neutered * Entire (botany) This glossary of botanical terms is a list of definitions o ...
with respect to both (for fixed ) and (for fixed ), and, thus, holomorphic on by Hartogs' theorem. Hence, the following ''decomposition'' \gamma(s,z) = z^s \, \Gamma(s) \, \gamma^*(s,z), extends the real lower incomplete gamma function as a
holomorphic function In mathematics, a holomorphic function is a complex-valued function of one or more complex variables that is complex differentiable in a neighbourhood of each point in a domain in complex coordinate space . The existence of a complex de ...
, both jointly and separately in and . It follows from the properties of z^s and the Γ-function, that the first two factors capture the singularities of \gamma(s,z) (at or a non-positive integer), whereas the last factor contributes to its zeros.


=Multi-valuedness

= The
complex logarithm In mathematics, a complex logarithm is a generalization of the natural logarithm to nonzero complex numbers. The term refers to one of the following, which are strongly related: * A complex logarithm of a nonzero complex number z, defined to be ...
is determined up to a multiple of only, which renders it
multi-valued In mathematics, a multivalued function, multiple-valued function, many-valued function, or multifunction, is a function that has two or more values in its range for at least one point in its domain. It is a set-valued function with additional p ...
. Functions involving the complex logarithm typically inherit this property. Among these are the complex power, and, since appears in its decomposition, the -function, too. The indeterminacy of multi-valued functions introduces complications, since it must be stated how to select a value. Strategies to handle this are: * (the most general way) replace the domain of multi-valued functions by a suitable manifold in called
Riemann surface In mathematics, particularly in complex analysis, a Riemann surface is a connected one-dimensional complex manifold. These surfaces were first studied by and are named after Bernhard Riemann. Riemann surfaces can be thought of as deformed vers ...
. While this removes multi-valuedness, one has to know the theory behind it; * restrict the domain such that a multi-valued function decomposes into separate single-valued
branches A branch, also called a ramus in botany, is a stem that grows off from another stem, or when structures like veins in leaves are divided into smaller veins. History and etymology In Old English, there are numerous words for branch, includi ...
, which can be handled individually. The following set of rules can be used to interpret formulas in this section correctly. If not mentioned otherwise, the following is assumed:


Sectors

Sectors in having their vertex at often prove to be appropriate domains for complex expressions. A sector consists of all complex fulfilling and with some and . Often, can be arbitrarily chosen and is not specified then. If is not given, it is assumed to be , and the sector is in fact the whole plane , with the exception of a half-line originating at and pointing into the direction of , usually serving as a
branch cut In the mathematical field of complex analysis, a branch point of a multivalued function is a point such that if the function is n-valued (has n values) at that point, all of its neighborhoods contain a point that has more than n values. Multi-valu ...
. Note: In many applications and texts, is silently taken to be 0, which centers the sector around the positive real axis.


Branches

In particular, a single-valued and holomorphic logarithm exists on any such sector D having its imaginary part bound to the range . Based on such a restricted logarithm, and the incomplete gamma functions in turn collapse to single-valued, holomorphic functions on (or ), called branches of their multi-valued counterparts on D. Adding a multiple of to yields a different set of correlated branches on the same set . However, in any given context here, is assumed fixed and all branches involved are associated to it. If , the branches are called principal, because they equal their real analogues on the positive real axis. Note: In many applications and texts, formulas hold only for principal branches.


Relation between branches

The values of different branches of both the complex power function and the lower incomplete gamma function can be derived from each other by multiplication of e^, for a suitable integer.


=Behavior near branch point

= The decomposition above further shows, that γ behaves near
asymptotic In analytic geometry, an asymptote () of a curve is a line such that the distance between the curve and the line approaches zero as one or both of the ''x'' or ''y'' coordinates Limit of a function#Limits at infinity, tends to infinity. In pro ...
ally like: \gamma(s, z) \asymp z^s \, \Gamma(s) \, \gamma^*(s, 0) = z^s \, \Gamma(s)/\Gamma(s+1) = z^s/s. For positive real , and , , when . This seems to justify setting for real . However, matters are somewhat different in the complex realm. Only if (a) the real part of is positive, and (b) values are taken from just a finite set of branches, they are guaranteed to converge to zero as , and so does . On a single
branch A branch, also called a ramus in botany, is a stem that grows off from another stem, or when structures like veins in leaves are divided into smaller veins. History and etymology In Old English, there are numerous words for branch, includ ...
of is naturally fulfilled, so there for with positive real part is a continuous limit. Also note that such a continuation is by no means an analytic one.


=Algebraic relations

= All algebraic relations and differential equations observed by the real hold for its holomorphic counterpart as well. This is a consequence of the identity theorem, stating that equations between holomorphic functions valid on a real interval, hold everywhere. In particular, the recurrence relation and are preserved on corresponding branches.


=Integral representation

= The last relation tells us, that, for fixed , is a primitive or antiderivative of the holomorphic function . Consequently, for any complex , \int_u^v t^\,e^\, dt = \gamma(s,v) - \gamma(s,u) holds, as long as the path of integration is entirely contained in the domain of a branch of the integrand. If, additionally, the real part of is positive, then the limit for applies, finally arriving at the complex integral definition of \gamma(s, z) = \int_0^z t^\,e^\, dt, \, \Re(s) > 0. Any path of integration containing 0 only at its beginning, otherwise restricted to the domain of a branch of the integrand, is valid here, for example, the straight line connecting and .


=Limit for

=


Real values

Given the integral representation of a principal branch of , the following equation holds for all positive real , : \Gamma(s) = \int_0^\infty t^\,e^\, dt = \lim_ \gamma(s, x)


''s'' complex

This result extends to complex . Assume first and . Then \left, \gamma(s, b) - \gamma(s, a)\ \le \int_a^b \left, t^\ e^\, dt = \int_a^b t^ e^\, dt \le \int_a^b t e^\, dt where \left, z^s\ = \left, z\^ \, e^ has been used in the middle. Since the final integral becomes arbitrarily small if only is large enough, converges uniformly for on the strip towards a holomorphic function, which must be Γ(s) because of the identity theorem. Taking the limit in the recurrence relation and noting, that lim for and all , shows, that converges outside the strip, too, towards a function obeying the recurrence relation of the Γ-function. It follows \Gamma(s) = \lim_ \gamma(s, x) for all complex not a non-positive integer, real and principal.


Sectorwise convergence

Now let be from the sector with some fixed (), be the principal branch on this sector, and look at \Gamma(s) - \gamma(s, u) = \Gamma(s) - \gamma(s, , u, ) + \gamma(s, , u, ) - \gamma(s, u). As shown above, the first difference can be made arbitrarily small, if is sufficiently large. The second difference allows for following estimation: \left, \gamma(s, , u, ) - \gamma(s, u)\ \le \int_u^ \left, z^ e^\ dz = \int_u^ \left, z\^ \, e^ \, e^ \, dz, where we made use of the integral representation of and the formula about above. If we integrate along the arc with radius around 0 connecting and , then the last integral is \le R \left, \arg u\ R^\, e^\,e^ \le \delta\,R^\,e^\,e^ = M\,(R\,\cos\delta)^\,e^ where is a constant independent of or . Again referring to the behavior of for large , we see that the last expression approaches 0 as increases towards . In total we now have: \Gamma(s) = \lim_ \gamma(s, z), \quad \left, \arg z\ < \pi/2 - \epsilon, if is not a non-negative integer, is arbitrarily small, but fixed, and denotes the principal branch on this domain.


=Overview

= \gamma(s, z) is: *
entire Entire may refer to: * Entire function, a function that is holomorphic on the whole complex plane * Entire (animal), an indication that an animal is not neutered * Entire (botany) This glossary of botanical terms is a list of definitions o ...
in for fixed, positive integer ; * multi-valued
holomorphic In mathematics, a holomorphic function is a complex-valued function of one or more complex variables that is complex differentiable in a neighbourhood of each point in a domain in complex coordinate space . The existence of a complex deri ...
in for fixed not an integer, with a
branch point In the mathematical field of complex analysis, a branch point of a multivalued function is a point such that if the function is n-valued (has n values) at that point, all of its neighborhoods contain a point that has more than n values. Multi-valu ...
at ; * on each branch meromorphic in for fixed , with simple poles at non-positive integers s.


Upper incomplete gamma function

As for the upper incomplete gamma function, a
holomorphic In mathematics, a holomorphic function is a complex-valued function of one or more complex variables that is complex differentiable in a neighbourhood of each point in a domain in complex coordinate space . The existence of a complex deri ...
extension, with respect to or , is given by \Gamma(s,z) = \Gamma(s) - \gamma(s, z) at points , where the right hand side exists. Since \gamma is multi-valued, the same holds for \Gamma, but a restriction to principal values only yields the single-valued principal branch of \Gamma. When is a non-positive integer in the above equation, neither part of the difference is defined, and a limiting process, here developed for , fills in the missing values.
Complex analysis Complex analysis, traditionally known as the theory of functions of a complex variable, is the branch of mathematical analysis that investigates functions of complex numbers. It is helpful in many branches of mathematics, including algebraic ...
guarantees holomorphicity, because \Gamma(s,z) proves to be bounded in a
neighbourhood A neighbourhood (Commonwealth English) or neighborhood (American English) is a geographically localized community within a larger town, city, suburb or rural area, sometimes consisting of a single street and the buildings lining it. Neighbourh ...
of that limit for a fixed . To determine the limit, the power series of \gamma^* at is useful. When replacing e^ by its power series in the integral definition of \gamma, one obtains (assume , positive reals for now): \gamma(s, x) = \int_0^x t^ e^ \, dt = \int_0^x \sum_^\infty \left(-1\right)^k \, \frac \, dt = \sum_^\infty \left(-1\right)^k \, \frac = x^s\,\sum_^\infty \frac or \gamma^*(s,x) = \sum_^\infty \frac, which, as a series representation of the entire \gamma^* function, converges for all complex (and all complex not a non-positive integer). With its restriction to real values lifted, the series allows the expansion: \gamma(s, z) - \frac = - \frac + z^s\,\sum_^\infty \frac = \frac + z^s\, \sum_^\infty \frac,\quad \Re(s) > -1, \,s \ne 0. When : \frac \to \ln(z),\quad \Gamma(s) - \frac = \frac - \gamma + O(s) - \frac \to -\gamma, (\gamma is the
Euler–Mascheroni constant Euler's constant (sometimes called the Euler–Mascheroni constant) is a mathematical constant, usually denoted by the lowercase Greek letter gamma (), defined as the limiting difference between the harmonic series and the natural logarith ...
here), hence, \Gamma(0,z) = \lim_\left(\Gamma(s) - \tfrac - (\gamma(s, z) - \tfrac)\right) = -\gamma - \ln(z) - \sum_^\infty \frac is the limiting function to the upper incomplete gamma function as , also known as the
exponential integral In mathematics, the exponential integral Ei is a special function on the complex plane. It is defined as one particular definite integral of the ratio between an exponential function and its argument. Definitions For real non-zero values of&nb ...
By way of the recurrence relation, values of \Gamma(-n, z) for positive integers can be derived from this result, \Gamma(-n, z) = \frac \left(\frac \sum_^ (-1)^k (n - k - 1)! \, z^k + \left(-1\right)^n \Gamma(0, z)\right) so the upper incomplete gamma function proves to exist and be holomorphic, with respect both to and , for all and . \Gamma(s, z) is: *
entire Entire may refer to: * Entire function, a function that is holomorphic on the whole complex plane * Entire (animal), an indication that an animal is not neutered * Entire (botany) This glossary of botanical terms is a list of definitions o ...
in for fixed, positive integral ; * multi-valued
holomorphic In mathematics, a holomorphic function is a complex-valued function of one or more complex variables that is complex differentiable in a neighbourhood of each point in a domain in complex coordinate space . The existence of a complex deri ...
in for fixed non zero and not a positive integer, with a
branch point In the mathematical field of complex analysis, a branch point of a multivalued function is a point such that if the function is n-valued (has n values) at that point, all of its neighborhoods contain a point that has more than n values. Multi-valu ...
at ; * equal to \Gamma(s) for with positive real part and (the limit when (s_i,z_i) \to (s, 0)), but this is a continuous extension, not an analytic one (does not hold for real !); * on each branch
entire Entire may refer to: * Entire function, a function that is holomorphic on the whole complex plane * Entire (animal), an indication that an animal is not neutered * Entire (botany) This glossary of botanical terms is a list of definitions o ...
in for fixed .


Special values

* \Gamma(s+1,1) = \frac if is a positive
integer An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
, * \Gamma(s,x) = (s-1)!\, e^ \sum_^ \frac if is a positive
integer An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
, * \Gamma(s,0) = \Gamma(s), \Re(s) > 0, * \Gamma(1,x) = e^, * \gamma(1,x) = 1 - e^, * \Gamma(0,x) = -\operatorname(-x) for x > 0, * \Gamma(s,x) = x^s \operatorname_(x), * \Gamma\left(\tfrac, x\right) = \sqrt\pi \operatorname\left(\sqrt x\right), * \gamma\left(\tfrac, x\right) = \sqrt\pi \operatorname\left(\sqrt x\right). Here, \operatorname is the
exponential integral In mathematics, the exponential integral Ei is a special function on the complex plane. It is defined as one particular definite integral of the ratio between an exponential function and its argument. Definitions For real non-zero values of&nb ...
, \operatorname_n is the generalized exponential integral, \operatorname is the
error function In mathematics, the error function (also called the Gauss error function), often denoted by , is a function \mathrm: \mathbb \to \mathbb defined as: \operatorname z = \frac\int_0^z e^\,\mathrm dt. The integral here is a complex Contour integrat ...
, and \operatorname is the
complementary error function In mathematics, the error function (also called the Gauss error function), often denoted by , is a function \mathrm: \mathbb \to \mathbb defined as: \operatorname z = \frac\int_0^z e^\,\mathrm dt. The integral here is a complex Contour integrat ...
, \operatorname(x) = 1 - \operatorname(x).


Asymptotic behavior

* \frac \to \frac as x \to 0, * \frac \to -\frac as x \to 0 and \Re (s) < 0 (for real , the error of is on the order of if and if ), * \Gamma(s,x) \sim \Gamma(s) - \sum_^\infty (-1)^n \frac as an
asymptotic series In mathematics, an asymptotic expansion, asymptotic series or Poincaré expansion (after Henri Poincaré) is a formal series of functions which has the property that truncating the series after a finite number of terms provides an approximation t ...
where x\to0^+ and s\neq 0,-1,-2,\dots. * \Gamma(-N,x) \sim C_N + \frac \ln x - \sum_^\infty (-1)^n \frac as an
asymptotic series In mathematics, an asymptotic expansion, asymptotic series or Poincaré expansion (after Henri Poincaré) is a formal series of functions which has the property that truncating the series after a finite number of terms provides an approximation t ...
where x \to 0^+ and N = 1, 2, \dots, where C_N = \frac \left( \gamma - \displaystyle\sum_^N \frac \right), where \gamma is the
Euler-Mascheroni constant Euler's constant (sometimes called the Euler–Mascheroni constant) is a mathematical constant, usually denoted by the lowercase Greek letter gamma (), defined as the limiting difference between the harmonic series and the natural logarith ...
. * \gamma(s,x) \to \Gamma(s) as x \to \infty, * \frac \to 1 as x \to \infty, * \Gamma(s,z) \sim z^ e^ \sum_ \frac z^ as an
asymptotic series In mathematics, an asymptotic expansion, asymptotic series or Poincaré expansion (after Henri Poincaré) is a formal series of functions which has the property that truncating the series after a finite number of terms provides an approximation t ...
where , z, \to \infty and \left, \arg z\ < \tfrac \pi.


Evaluation formulae

The lower gamma function can be evaluated using the power series expansion: \gamma(s, z) = \sum_^\infty \frac=z^s e^\sum_^\infty\dfrac where s^ is the
Pochhammer symbol In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial \begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) . \end ...
. An alternative expansion is \gamma(s,z)= \sum_^\infty \frac \frac= \frac M(s, s+1,-z), where is Kummer's
confluent hypergeometric function In mathematics, a confluent hypergeometric function is a solution of a confluent hypergeometric equation, which is a degenerate form of a hypergeometric differential equation where two of the three regular singularities merge into an irregular s ...
.


Connection with Kummer's confluent hypergeometric function

When the real part of is positive, \gamma(s,z) = s^ z^s e^ M(1,s+1,z) where M(1, s+1, z) = 1 + \frac + \frac + \frac + \cdots has an infinite radius of convergence. Again with
confluent hypergeometric functions In mathematics, a confluent hypergeometric function is a solution of a confluent hypergeometric equation, which is a degenerate form of a hypergeometric differential equation where two of the three regular singularities merge into an irregular s ...
and employing Kummer's identity, \begin \Gamma(s,z) &= e^ U(1-s,1-s,z) = \frac \int_0^\infty \frac du \\ &= e^ z^s U(1,1+s,z) = e^ \int_0^\infty e^ (z+u)^ du = e^ z^s \int_0^\infty e^ (1+u)^ du. \end For the actual computation of numerical values, Gauss's continued fraction provides a useful expansion: \gamma(s, z) = \cfrac. This continued fraction converges for all complex , provided only that is not a negative integer. The upper gamma function has the continued fraction \Gamma(s, z) = \cfrac and \Gamma(s, z)= \cfrac


Multiplication theorem

The following
multiplication theorem In mathematics, the multiplication theorem is a certain type of identity obeyed by many special functions related to the gamma function. For the explicit case of the gamma function, the identity is a product of values; thus the name. The various ...
holds true: \Gamma(s,z) = \frac 1 \sum_^ \frac \Gamma(s+i,t z) = \Gamma(s,t z) -(t z)^s e^ \sum_^ \frac L_^(t z).


Software implementation

The incomplete gamma functions are available in various of the
computer algebra system A computer algebra system (CAS) or symbolic algebra system (SAS) is any mathematical software with the ability to manipulate mathematical expressions in a way similar to the traditional manual computations of mathematicians and scientists. The de ...
s. Even if unavailable directly, however, incomplete function values can be calculated using functions commonly included in
spreadsheet A spreadsheet is a computer application for computation, organization, analysis and storage of data in tabular form. Spreadsheets were developed as computerized analogs of paper accounting worksheets. The program operates on data entered in c ...
s (and computer algebra packages). In Excel, for example, these can be calculated using the
gamma function In mathematics, the gamma function (represented by Γ, capital Greek alphabet, Greek letter gamma) is the most common extension of the factorial function to complex numbers. Derived by Daniel Bernoulli, the gamma function \Gamma(z) is defined ...
combined with the
gamma distribution In probability theory and statistics, the gamma distribution is a versatile two-parameter family of continuous probability distributions. The exponential distribution, Erlang distribution, and chi-squared distribution are special cases of the g ...
function. *The lower incomplete function: \gamma(s, x) = EXP(GAMMALN(s))*GAMMA.DIST(x,s,1,TRUE). *The upper incomplete function: \Gamma(s, x) = EXP(GAMMALN(s))*(1-GAMMA.DIST(x,s,1,TRUE)). These follow from the definition of the gamma distribution's cumulative distribution function. In Python, the Scipy library provides implementations of incomplete gamma functions under , however, it does not support negative values for the first argument. The function from the mpmath library supports all complex arguments.


Regularized gamma functions and Poisson random variables

Two related functions are the regularized gamma functions: \begin P(s,x) &= \frac, \\ exQ(s,x) &= \frac = 1 - P(s,x). \end P(s,x) is the
cumulative distribution function In probability theory and statistics, the cumulative distribution function (CDF) of a real-valued random variable X, or just distribution function of X, evaluated at x, is the probability that X will take a value less than or equal to x. Ever ...
for gamma random variables with
shape parameter In probability theory and statistics, a shape parameter (also known as form parameter) is a kind of numerical parameter of a parametric family of probability distributionsEveritt B.S. (2002) Cambridge Dictionary of Statistics. 2nd Edition. CUP. th ...
s and
scale parameter In probability theory and statistics, a scale parameter is a special kind of numerical parameter of a parametric family of probability distributions. The larger the scale parameter, the more spread out the distribution. Definition If a family ...
1. When s is an integer, Q(s+1, \lambda) is the cumulative distribution function for Poisson random variables: If X is a \mathrm(\lambda) random variable then \Pr(X \leq s) = \sum_ e^ \frac = \frac = Q(s+1,\lambda). This formula can be derived by repeated integration by parts. In the context of the stable count distribution, the s parameter can be regarded as inverse of Lévy's stability parameter \alpha: Q(s,x) = \int_0^\infty e^ \, \mathfrak_\left(\nu\right) \, d\nu , \quad (s > 1) where \mathfrak_(\nu) is a standard stable count distribution of shape \alpha = 1/s < 1. P(s,x) and Q(s, x) are implemented as gammainc and gammaincc in
scipy SciPy (pronounced "sigh pie") is a free and open-source Python library used for scientific computing and technical computing. SciPy contains modules for optimization, linear algebra, integration, interpolation, special functions, fast Fourier ...
.


Derivatives

Using the integral representation above, the derivative of the upper incomplete gamma function \Gamma (s,x) with respect to is \frac = - x^ e^ The derivative with respect to its first argument s is given by \frac = \ln x \Gamma (s,x) + x\,T(3,s,x) and the second derivative by \frac = \ln^2 x \Gamma (s,x) + 2 x \left ln x\,T(3,s,x) + T(4,s,x) \right/math> where the function T(m,s,x) is a special case of the
Meijer G-function In mathematics, the G-function was introduced by as a very general function intended to include most of the known special functions as particular cases. This was not the only attempt of its kind: the generalized hypergeometric function and the ...
T(m,s,x) = G_^ \!\left( \left. \begin 0, 0, \dots, 0 \\ s-1, -1, \dots, -1 \end \; \ \, x \right). This particular special case has internal ''closure'' properties of its own because it can be used to express ''all'' successive derivatives. In general, \frac = \ln^m x \Gamma (s,x) + m x\,\sum_^ P_n^ \ln^ x\,T(3+n,s,x) where P_j^n is the
permutation In mathematics, a permutation of a set can mean one of two different things: * an arrangement of its members in a sequence or linear order, or * the act or process of changing the linear order of an ordered set. An example of the first mean ...
defined by the
Pochhammer symbol In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial \begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) . \end ...
: P_j^n = \binom j! = \frac. All such derivatives can be generated in succession from: \frac = \ln x ~ T(m,s,x) + (m-1) T(m+1,s,x) and \frac = -\frac This function T(m,s,x) can be computed from its series representation valid for , z, < 1 , T(m,s,z) = - \frac \left.\frac \left Gamma (s-t) z^\right_ + \sum_^ \frac with the understanding that is not a negative integer or zero. In such a case, one must use a limit. Results for , z, \ge 1 can be obtained by
analytic continuation In complex analysis, a branch of mathematics, analytic continuation is a technique to extend the domain of definition of a given analytic function. Analytic continuation often succeeds in defining further values of a function, for example in a ne ...
. Some special cases of this function can be simplified. For example, T(2,s,x)=\Gamma(s,x)/x, x\,T(3,1,x) = \mathrm_1(x), where \mathrm_1(x) is the
Exponential integral In mathematics, the exponential integral Ei is a special function on the complex plane. It is defined as one particular definite integral of the ratio between an exponential function and its argument. Definitions For real non-zero values of&nb ...
. These derivatives and the function T(m,s,x) provide exact solutions to a number of integrals by repeated differentiation of the integral definition of the upper incomplete gamma function., App B For example, \int_^ \frac dt= \frac \int_^ \frac dt = \frac \Gamma (s,x) This formula can be further ''inflated'' or generalized to a huge class of
Laplace transform In mathematics, the Laplace transform, named after Pierre-Simon Laplace (), is an integral transform that converts a Function (mathematics), function of a Real number, real Variable (mathematics), variable (usually t, in the ''time domain'') to a f ...
s and
Mellin transform In mathematics, the Mellin transform is an integral transform that may be regarded as the multiplicative version of the two-sided Laplace transform. This integral transform is closely connected to the theory of Dirichlet series, and is often used ...
s. When combined with a
computer algebra system A computer algebra system (CAS) or symbolic algebra system (SAS) is any mathematical software with the ability to manipulate mathematical expressions in a way similar to the traditional manual computations of mathematicians and scientists. The de ...
, the exploitation of special functions provides a powerful method for solving definite integrals, in particular those encountered by practical engineering applications (see
Symbolic integration In calculus, symbolic integration is the problem of finding a formula for the antiderivative, or ''indefinite integral'', of a given function ''f''(''x''), i.e. to find a formula for a differentiable function ''F''(''x'') such that :\frac = f(x ...
for more details).


Indefinite and definite integrals

The following indefinite integrals are readily obtained using
integration by parts In calculus, and more generally in mathematical analysis, integration by parts or partial integration is a process that finds the integral of a product of functions in terms of the integral of the product of their derivative and antiderivati ...
(with the
constant of integration In calculus, the constant of integration, often denoted by C (or c), is a constant term added to an antiderivative of a function f(x) to indicate that the indefinite integral of f(x) (i.e., the set of all antiderivatives of f(x)), on a connecte ...
omitted in both cases): \begin \int x^ \gamma(s,x) \, dx &= \frac \left( x^b \gamma(s,x) - \gamma(s+b,x) \right), \\ ex\int x^ \Gamma(s,x) \, dx &= \frac \left( x^b \Gamma(s,x) - \Gamma(s+b,x) \right). \end The lower and the upper incomplete gamma function are connected via the
Fourier transform In mathematics, the Fourier transform (FT) is an integral transform that takes a function as input then outputs another function that describes the extent to which various frequencies are present in the original function. The output of the tr ...
: \int_^\infty \frac e^ dz = \frac . This follows, for example, by suitable specialization of .


Notes


References

* §6.5. * * * G. Arfken and H. Weber. ''Mathematical Methods for Physicists''. Harcourt/Academic Press, 2000. ''(See Chapter 10.)'' * * * * * ''(See als
www.netlib.org/toms/654
.'' * * * * * * * * * * * * * * * * * * *


External links

* P(a,x)
Regularized Lower Incomplete Gamma Function Calculator
* Q(a,x)
Regularized Upper Incomplete Gamma Function Calculator
* \gamma(a,x)
Lower Incomplete Gamma Function Calculator
* \Gamma(a,x)
Upper Incomplete Gamma Function Calculator

formulas and identities of the Incomplete Gamma Function
functions.wolfram.com {{DEFAULTSORT:Incomplete Gamma Function Gamma and related functions Continued fractions