We have defined (Set Theory, III, p. 179) the function n! for every integer n≥0, as equal to the product ∏0≤k<n(n−k); so 0!=1 and (n+1)!=(n+1)n! for n≥0.
We set Γ(n)=(n−1)! for each integer n≥1; we propose to define, on the set of real numbers x>0, a continuous function Γ(x) extending the function Γ defined on the set of integers ≥1.
It is clear that there are infinitely many such functions; since Γ(n+1)=nΓ(n) for every integer n≥1 we shall restrict ourselves to considering, among the continuous functions that extend Γ, those which satisfy the equation
f(x+1)=xf(x)
for every x>0.
For a solution of this equation to be an extension of Γ(n) it is necessary and sufficient that it also satisfies f(1)=1.
If f satisfies (1) then, by recursion on n,
f(x+n)=x(x+1)(x+2)…(x+n−1)f(x)
for every integer n>1 and for all x>0. This relation shows, in particular, that the values of f on an interval ]n,n+1] (n an integer ≥1) are determined by its values on the interval ]0,1]. Conversely, let φ be a continuous function on ]0,1] satisfying only the conditions φ(1)=1, limx→0xφ(x)=1; for every integer n≥1 let us define f on the interval ]n,n+1] by the relation
f(x)=(x−1)(x−2)…(x−n)φ(x−n);
it is clear that f is continuous on ]0,+∞[, satisfies the equation (1), and extends Γ(n).
If f is a continuous solution of (1) and takes values >0 on ]0,1] it takes values >0 on ]0,+∞[, by (2); the function g(x)=logf(x) is then defined and continuous on ]0, +∞[ and satisfies the equation
g(x+1)−g(x)=logx
(3)
on this interval.
If g1 is a second continuous solution of (3) on ]0, +∞[, and if h=g1−g, then one has h(x+1)−h(x)=0 for every x>0; in other words, h is a continuous periodic function of period 1, defined on ]0, +∞[; conversely, for every h of this nature, g+h is a continuous solution of (3).
Proposition 1
There exists one and only one convex function* gdefined on ]0, +∞[ that satisfies the equation (3) and takes the value 0 forx=1.
First we show that if there is a function g satisfying the conditions stated then it is well-determined on the interval ]0, 1], and consequently on the interval ]0, +∞[. Indeed, for every integer n>1 the gradient of the line joining the point (n,g(n)) to the point (x,g(x)) is an increasing function of x, since g is convex (I, p. 27, prop. 5); one thus must have, for 0<x≤1,
Since logn−1n tends to 0 as n tends to +∞ one deduces from (6) that if a solution g exists then it is necessarily equal, on ]0,1], to the limit of the gn(x).
Now one deduces immediately from (5) that for x fixed and >0 one has
as n tends to +∞, which proves that the series with general term un(x) converges for every x>0. Each of the functions un(x) being convex on ]0,+∞[, as is −logx, the function g(x)=−logx+∑n=2∞un(x) is convex on this interval (I, p. 27, prop. 2 and prop. 4); finally, one has un(1)=0, whence g(1)=0, and
un(x+1)=un+1(x)+x(logn−1n−lognn+1)
whence
g(x+1)=−log(x+1)+xlog2+n=3∑∞un(x)=logx+g(x);
in other words, g satisfies equation (3) of VII, p. 306.
Definition 1
We denote by* Γ(x)the function>0which is defined on the interval]0,+∞[, that satisfies the equation
Γ(x+1)=xΓ(x),
(7)and is such thatΓ(1)=1and thatlogΓ(x)is convex on]0,+∞[.
2. Properties of the gamma function
Proposition 2
For every* x>0one has
Γ(x)=n→∞limx(x+1)…(x+n)nxn!
(Gauss' formula), and
Γ(x)=e−γxx1n=1∏∞1+nxex/n
(9) where γ denotes Euler’s constant, and the infinite product on the right hand side of (9) is absolutely and uniformly convergent on every compact interval of R not containing any integer <0 (Weierstrass’ formula).
The function Γ(x) is indefinitely differentiable on ]0,+∞[ and one has
Γ(x)Γ′(x)=−γ−x1+n=1∑∞(n1−x+n1)
and
Dk(logΓ(x))=n=0∑∞(x+n)k(−1)k(k−1)!fork≥2,
the series on the right-hand sides of (10) and (11) being absolutely and uniformly convergent on every compact interval not containing any integer ≤0.
Indeed, the proof of prop. 1 of VII, p. 306, shows that
Γ(x)=n→∞limx(x+1)…(x+n−1)nx(n−1)!
whence Gauss’ formula, since x+nn tends to 1 as n tends to +∞. One can also write
logn−1n=n−11+(logn−1n−n−11).
so (in the notation of prop. 1)
exp(un(x))=e(logn−1n−n−11)1+n−1xex/(n−1)
and the series with general term logn−1n−n−11 is absolutely convergent and has sum −γ, where γ denotes Euler’s constant (V, p. 242), whence we obtain Weierstrass’ formula.
For ∣x∣≤a one has ∣1/(x+n)k∣≤1/(n−a)k once n>a, so the series on the right-hand side in formula (11) is absolutely and uniformly convergent on every compact interval of R not containing any integer ≤0, for any integer k≥2; the same argument applies to the right-hand side of (10), since n1−x+n1≤n(n−a)a for ∣x∣≤a and n>a. Since these series are obtained by differentiating the series
logΓ(x)=−γx−logx+n=1∑∞(nx−log(1+nx))
term-by-term, and this converges for every x>0, the series with general term nx−log(1+nx) is absolutely and uniformly convergent on every compact interval contained in [0, +∞[, and one has the relations (10) and (11) of VII, p. 308, for every x > 0 (II, p. 52, th. 1). Moreover, for every x ∈ R, the expression nx−log(1+nx) is defined once n is large enough, so th. 1 of II, p. 52, again shows that the infinite product in the right-hand side of (9) (VII, p. 307) is absolutely and uniformly convergent on every compact interval containing no integer ≤0.
The function Γ(x), defined for x>0, can be extended to the whole set of points x different from the integers ≤0 so as to satisfy equation (7) of VII, p. 307, on this set: it suffices, for −(n+1)<x<−n, to put
Γ(x)=x(x+1)…(x+n)1Γ(x+n+1).
By prop. 2 of VII, p. 307, the formulae (8), (9), (10) and (11) of VII, p. 307 and 308, with Dk(log∣Γ(x)∣) replacing Dk(logΓ(x)) in (11), remain valid on this set. Formula (9) (VII, p. 307) shows that Γ(x)∼1/x as x tends to 0, whence, by (7) of VII, p. 307,
Γ(x)∼n!(x+n)(−1)n
as x tends to −n (n an integer ≥0). The function 1/Γ(x) can then be extended by continuity to all of R, assigning it the value 0 at integers ≤0; then, for all x∈R
Γ(x)1=n→∞limnnn!x(x+1)…(x+n)
and
Γ(x)1=ey1xxn=1∏∞(1+nx)e−y1/n
and one shows as in prop. 2 of VII, p. 307, that the infinite product on the right of (13) is absolutely and uniformly convergent on every compact interval of R.
Since Γ(x)>0 for x>0, equation (7) of VII, p. 307, shows that Γ(x)<0 for −(2n−1)<x<−(2n−2) and Γ(x)>0 for
−2n<x<−(2n−1)
(n an integer ≥1); also Γ(x) has right limit +∞ at the points −2n and −∞ at the points −(2n+1), and has left limit −∞ at the points −2n and +∞ at the points −(2n+1) (for all n∈N). Formula (11) of VII, p. 308, shows that, for k=2, the right-hand side is always ≥0 when it is defined, so
Γ′′(x)Γ(x)−(Γ′(x))2≥0,
and consequently Γ′′(x) has the same sign as Γ(x); thus Γ is convex for x>0 and for −(2n+2)<x<−(2n+1), and concave for −(2n+1)<x−2n(n∈N); one deduces from this that, on the intervals where Γ is convex, Γ′(x) increases from −∞ to +∞, and on the intervals where Γ is concave, Γ′(x) decreases from +∞ to −∞. Whence the graph of Γ (fig. 1).
Fig. 1
3. The Euler integrals
For brevity we shall say that a function f defined on an interval I⊂R, and >0 on this interval, is logarithmically convex on I if logf is convex on I. The definition of Γ(x) shows that this function is logarithmically convex on ]0,+∞[.
It is clear that the product of two logarithmically convex functions on I is also logarithmically convex on I. Further:
Lemma 1
Let f and g be two functions >0 and twice differentiable on an open interval I. If f and g are logarithmically convex functions on I, then f+g is logarithmically convex on I.
The relation D2(logf(x))≥0 can be written f(x)f′′(x)−(f′(x))2≥0. We are reduced to showing that the relations a>0,a′>0,ac−b2≥0,a′c′−b′2≥0 imply (a+a′)(c+c′)−(b+b′)2≥0; now, when a>0, the relation ac−b2≥0 is equivalent to the fact that the quadratic form ax2+2bxy+cy2 is ≥0 on R2, and it is clear that if
ax2+2bxy+cy2≥0anda′x2+2b′xy+c′y2≥0
on R2 then also (a+a′)x2+2(b+b′)xy+(c+c′)y2≥0 on R2.
Lemma 2
Let f be a finite real function, >0, defined and continuous on the product I×J of two open intervals of R, and such that, for every t∈J the function x↦f(x,t) is logarithmically convex and twice differentiable on I. Under these hypotheses, if the integral g(x)=∫Jf(x,t)dt converges for every x∈I, then g is logarithmically convex on I.
First we show that for every compact interval K⊂J the function gK(x)=∫Kf(x,t)dt is logarithmically convex. Indeed, if K=[a,b], the sequence of functions
gn(x)=nb−ak=0∑n−1f(x,a+knb−a)
converges simply to gK(x) on I (II, p. 57, prop. 5) hence loggn converges simply to loggK; by lemma 1 of VII, p. 310, loggn is convex on I, so (I, p. 27, prop. 4) it is the same for loggK.
On the other hand, g is the pointwise limit of the gK along the directed set of compact subintervals of I (II, p. 64), so logg is the pointwise limit of the loggK; these last functions being convex on I, so is logg (I, p. 27, prop. 4).
One can show easily that lemmas 1 and 2 remain valid even when one does not assume that the functions are twice differentiable (VII, p. 327, exerc. 5).
Lemma 3
Let φ be a continuous function and >0 on an open interval J contained in [0,+∞[. If I is an open interval such that the integral g(x)=∫Jtx−1φ(t)dt converges for all x∈I, then g is logarithmically convex on I.
Indeed, logtx−1=(x−1)logt is a function of x which is convex and twice differentiable for all t>0, so lemma 2 applies.
Proposition 3
For all x>0
Γ(x)=∫0∞e−ttx−1dt
(second Euler integral).
Now the function g(x)=∫0∞e−ttx−1dt is defined for all x>0 (V, p. 229); lemma 3 of VII, p. 311, then shows that it is logarithmically convex on ]0,+∞[. Moreover, on integrating by parts, one has
Other words, g is a solution of equation (1) of VII, p. 305; finally,
g(1)=∫0∞e−tdt=1;
proposition therefore follows from prop. 1 of VII, p. 306.
By the change of variable e−t=u one deduces from (14) (VII, p. 311) the formula
Γ(x)=∫01(logt1)x−1dt.
Similarly, from the change of variable u=t1/x we obtain
xΓ(x)=∫0∞e−t1/xdt
again, taking account of (7) (VII, p. 3),
Γ(1+x1)=∫0∞e−txdt
In particular, for x=2
Γ(23)=21Γ(21)=∫0∞e−t2dt.
Proposition 4
For x>0 and y>0 the integral
B(x,y)=∫01tx−1(1−y)y−1dt
(rst Euler integral) has the value
B(x,y)=Γ(x+y)Γ(x)Γ(y).
Indeed this integral converges for x>0 and y>0 (V, p. 229). By lemma 3 of I, p. 311, the function x↦B(x,y) is logarithmically convex for x>0. Moreover,
It follows that f(x)=B(x,y)Γ(x+y) satisfies the identity (1) of VII, p. 305 Moreover, this function is logarithmically convex, being the product of two logarithmically convex functions. Finally, one has f(1)=B(1,y)Γ(y+1), and B(1,y)=∫01(1−t)y−1dt=1/y, whence f(1)=y1Γ(y+1)=Γ(y). The function f(x)/Γ(y) is thus equal to Γ(x) by prop. 1 of VII, p. 306, which proves (18).
By the change of variable t=u+1u the formula (18) becomes
∫0∞(1+t)x+ytx−1dt=Γ(x+y)Γ(x)Γ(y)
(19)
and by the change of variable t=sin2φ
∫0π/2sin2x−1φcos2y−1φdφ=21Γ(x+y)Γ(x)Γ(y).
(20)
If one puts x=y=21 in this last formula it follows that
Γ(21)=π
(21)
whence, by (17),
∫0∞e−t2dt=21π.
(22)
From the relation (7) of VII, p. 307, one has the asymptotic expansion