Defining the Gamma Function at z=0

In summary, the conversation discusses the issue of calculating the Gamma function at z=0 in a specific case where the argument of the Gamma function equals zero. It is suggested to redo the integral for the case where u = v, as the solution of the integral is only valid for u > v. Other suggestions include using L'Hopital's rule or finding the Laurent series of the Gamma function at 0. However, it is also mentioned that the integral may just diverge for \mu \leq v and no solution is needed.
  • #1
EngWiPy
1,368
61
Hello all,

Is there any way to make the Gamma function [tex]\Gamma[z][/tex] defined at z=0? Because in my calculations, I have a single case among many other cases where the argument of the gamma function equals zero.

Regards
 
Mathematics news on Phys.org
  • #2
How did you arrive at Gamma(0) in your calculations?
 
  • #3
*-<|:-D=<-< said:
How did you arrive at Gamma(0) in your calculations?

I used table of integrals for a specific form where it has the condidtion [tex]\mu>v[/tex], but I have a case when [tex]\mu=v[/tex], so I guess because of this I got Gamma[0].
 
  • #4
[tex]\Gamma[/tex] has a pole at [tex]0[/tex]. So maybe you need to do some residue calculation taking into account a zero in some other factor?
 
  • #5
g_edgar said:
[tex]\Gamma[/tex] has a pole at [tex]0[/tex]. So maybe you need to do some residue calculation taking into account a zero in some other factor?

How? Give me a simple example, if possible, please?
 
  • #6
It would probably be easier if you posted the integral. From what you've posted so far it's not clear if

a) the gamma function appears in the integrand or

b) as part of the solution of the integral.

I would guess it's case b), in which case since the solution of the integral is only valid for u > v, you would need to redo the integral for the case u = v - if the integral is even finite, that is. It could also be the case that the integral diverges for u = v, in which case Gamma(0) diverging gives the correct result.

If case a), then either you need something else in the integrand that can kill the divergence of the Gamma function a la L'Hopital's rule, or the derivation of the integral itself needs to be redone as you might get a different integral to evaluate if u = v.
 
  • #7
Mute said:
It would probably be easier if you posted the integral. From what you've posted so far it's not clear if

a) the gamma function appears in the integrand or

b) as part of the solution of the integral.

I would guess it's case b), in which case since the solution of the integral is only valid for u > v, you would need to redo the integral for the case u = v - if the integral is even finite, that is. It could also be the case that the integral diverges for u = v, in which case Gamma(0) diverging gives the correct result.

If case a), then either you need something else in the integrand that can kill the divergence of the Gamma function a la L'Hopital's rule, or the derivation of the integral itself needs to be redone as you might get a different integral to evaluate if u = v.

Your guess was right, the Gamma function appears as a part of the solution of the integral. I used this integral from the table of integrals:

[tex]\int_0^{\infty}x^{\mu-1}\text{e}^{-\alpha\,x}K_v\left(\beta\,x\right)\,dx=\frac{\sqrt{\pi}(2\beta)^v}{(\alpha+\beta)^{\mu+v}}\frac{\Gamma(\mu+v)\Gamma(\mu-v)}{\Gamma(\mu+0.5)}F\left(\mu+v,v+0.5;\mu+0.5;\frac{\alpha-\beta}{\alpha+\beta}\right)[/tex]

The conditions are: [tex]\text{Re}\{\mu\}>\text{Re}\{v\}\text{ and }\text{Re}\{\alpha+\beta\}>0[/tex]

where [tex]K_v(.)[/tex] is the modified Bessel function of the second kind and [tex]v^{th}[/tex] order, and [tex]F(,;;) [/tex] is the Gauss hypergeometric function. But in my case, I have a situation where [tex]\mu=v[/tex]. Can anything be done to overcome this problem?

Regards
 
  • #8
S_David said:
How? Give me a simple example, if possible, please?

Say you want [tex]z\Gamma(z)[/tex] at [tex]z=0[/tex] ... In this case you could use L'Hopital's rule, but let me do it another way to illustrate what I was talking about.
The Laurent series of [tex]\Gamma(z)[/tex] at [tex]0[/tex] is:
[tex]\Gamma(z) = \frac{1}{z}-\gamma+ \left( 1/12\,{\pi }^{2}+1/2\,{\gamma}^{2} \right) z+\dots [/tex]
where [tex]\gamma[/tex] is Euler's constant. The first numerator [tex]1[/tex] is the residue calculation that is important here. Therefore [tex]z\Gamma(z)[/tex] looks like [tex]1 - \gamma z + \dots[/tex], so you know how it behaves at [tex]0[/tex].
 
  • #9
g_edgar said:
Say you want [tex]z\Gamma(z)[/tex] at [tex]z=0[/tex] ... In this case you could use L'Hopital's rule, but let me do it another way to illustrate what I was talking about.
The Laurent series of [tex]\Gamma(z)[/tex] at [tex]0[/tex] is:
[tex]\Gamma(z) = \frac{1}{z}-\gamma+ \left( 1/12\,{\pi }^{2}+1/2\,{\gamma}^{2} \right) z+\dots [/tex]
where [tex]\gamma[/tex] is Euler's constant. The first numerator [tex]1[/tex] is the residue calculation that is important here. Therefore [tex]z\Gamma(z)[/tex] looks like [tex]1 - \gamma z + \dots[/tex], so you know how it behaves at [tex]0[/tex].

But, how can I do that in my case? I mean I have [tex]\Gamma[z][/tex] which can be re-written as: [tex]z\Gamma[z-1][/tex] , so the pole is now at z=1. How to solve this?

Regards
 
  • #10
S_David said:
But, how can I do that in my case? I mean I have [tex]\Gamma[z][/tex] which can be re-written as: [tex]z\Gamma[z-1][/tex] , so the pole is now at z=1. How to solve this?
Regards

[tex]\Gamma(z-1)[/tex] has a simple pole at [tex]1[/tex] with residue [tex]1[/tex], and [tex]z[/tex] has value [tex]1[/tex] at [tex]z=1[/tex], so [tex]z\Gamma(z-1)[/tex] has a pole at [tex]z=1[/tex] with residue [tex]1[/tex].

But you are wrong ... [tex]\Gamma(z) \ne z\Gamma(z-1)[/tex]. If you want [tex]\Gamma(z) = (z-1)\Gamma(z-1)[/tex], note that [tex]z-1[/tex] has a zero at [tex]z=1[/tex] so do what I did before to conclude that [tex]\Gamma(z)[/tex] is regular at [tex]z=1[/tex] with value [tex]1[/tex]
 
  • #11
g_edgar said:
[tex]\Gamma(z-1)[/tex] has a simple pole at [tex]1[/tex] with residue [tex]1[/tex], and [tex]z[/tex] has value [tex]1[/tex] at [tex]z=1[/tex], so [tex]z\Gamma(z-1)[/tex] has a pole at [tex]z=1[/tex] with residue [tex]1[/tex].

But you are wrong ... [tex]\Gamma(z) \ne z\Gamma(z-1)[/tex]. If you want [tex]\Gamma(z) = (z-1)\Gamma(z-1)[/tex], note that [tex]z-1[/tex] has a zero at [tex]z=1[/tex] so do what I did before to conclude that [tex]\Gamma(z)[/tex] is regular at [tex]z=1[/tex] with value [tex]1[/tex]

Yes you are right, [tex]\Gamma[z]=(z-1)!=(z-1)\Gamma[z-1][/tex]. So, if we re-write [tex]\Gamma[z][/tex] as [tex](z-1)\Gamma[z-1][/tex], then we eliminate the problem mathematically, don't we?

Regards
 
  • #12
David I think the integral just diverges for [itex]\mu \leq v[/itex] and that's it.

The convergence problems all happen as x goes to zero (the "x goes to infinity" end is no problem for this integrand). I'm pretty sure that if you look at the limiting behaviour of [itex]K_v(x)[/itex] as x goes to zero you'll find it approaches [itex]{\rm const} / x^v[/itex]. So the part that's causing the problem basically reduces to something like,

[tex]{\rm const} \, \int_{x=0}^{+\epsilon} x^{(u-v)-1} \, dx[/tex].

It just diverges for [itex]\mu \leq v[/itex].
 
  • #13
Thanks all for replying.

I am not deeply involved in mathematics, but what if I write [tex]\Gamma[0][/tex] as [tex]\Gamma[0^+][/tex], where [tex]0<0^+<10^{-12}[/tex]? Is this a valid step?

Regards
 
  • #14
As uart said, the integral appears to diverge as x -> 0 if [itex]\mu \leq \nu[/itex], so no amount of playing tricks like replacing 0 with [itex]0^+[/itex] is going to save it from diverging. "[itex]\Gamma(0^+)[/itex]" is still arbitrarily large.

If you were actually deriving something that led to the integral

[tex]\int_0^\infty dx~x^{-\mu-1}e^{-\alpha x}K_\mu(\beta x)[/tex]

then it looks like either you need to doublecheck the derivation that lead to that integral to make sure you didn't make any mistakes which gave you a divergent integral, or there needs to be some sort of cutoff imposed at the lower end of the integral to keep it finite (but taking that cutoff to zero after doing the integral would again lead to an infinite result).
 
  • #15
Mute said:
As uart said, the integral appears to diverge as x -> 0 if [itex]\mu \leq \nu[/itex], so no amount of playing tricks like replacing 0 with [itex]0^+[/itex] is going to save it from diverging. "[itex]\Gamma(0^+)[/itex]" is still arbitrarily large.

If you were actually deriving something that led to the integral

[tex]\int_0^\infty dx~x^{-\mu-1}e^{-\alpha x}K_\mu(\beta x)[/tex]

then it looks like either you need to doublecheck the derivation that lead to that integral to make sure you didn't make any mistakes which gave you a divergent integral, or there needs to be some sort of cutoff imposed at the lower end of the integral to keep it finite (but taking that cutoff to zero after doing the integral would again lead to an infinite result).

I am almost sure about the derivation 98%, but I will check again later to make it 100%. But can you explain to me what do you mean by "cutoff"? and can not we simply discard the case when the integral diverges? Since I have multiple sums inside each others, whose indices are involved in the integral, and just one case of all possible combinations is not satisfied.

Regards
 
  • #16
S_David said:
I am almost sure about the derivation 98%, but I will check again later to make it 100%. But can you explain to me what do you mean by "cutoff"? and can not we simply discard the case when the integral diverges? Since I have multiple sums inside each others, whose indices are involved in the integral, and just one case of all possible combinations is not satisfied.

Regards

By cutoff I meant replacing the lower limit of integration with a finite lower bound, which would prevent the integral from diverging but gives you this odd cutoff there that you don't really want in your calculations.

Now, since you say that the integral in question occurs inside a multiple sum where the indices, this raises some other possibilities. I suppose for some reason the divergent case could be thrown out, but it can't legitimately be thrown out on the basis of it diverging. You could leave it out and see if the results you get match what you should be getting.

Some questions to consider when thinking about this:

i) You're absolutely sure you should be getting a finite result?

ii) Is there anything in your derivation that should have restricted [itex]\mu > \nu[/itex], thus preventing the problem entirely?

iii) At any point in your derivation, did you interchange the order of integration and summation?

This last point could be very important, as it is not always valid to do so! If you did that, then you may need to carefully check whether or not that was a valid move. Typically in many physical problems there's no trouble doing that, but in principle such a move could potentially be the source of the diverging term.
 
  • #17
Dear Mute,

I have the following integral:

[tex]\int_0^{\infty}\gamma^{N_A+k-1}\,\text{e}^{-\gamma(\sigma_{A,j}-s)}
\,K_{(n+1)}\left(2\,\alpha_{j}\,\gamma\right)\,d\gamma[/tex]
Based on the table of integrals
[tex]N_A+k\text{ must be greater than }n+1[/tex]
where
[tex]n=0,1,\ldots,N_A+k-1[/tex]
So, in all cases, except for max of n, the condition is satisfied.

By the way, I tried to include the divergence case by replacing the 0 in the Gamma function by [tex]0^+[/tex], and I compared it with the result when I completely excluded the divergence case, they were the same, at least for the first 6-7 digits (the default precision in Mathematica).

The results are as expected, decaying smoothely, and between 0 and 1.

Based on these information, is it valid to exclude the divergence case?

Best regards
 
  • #18
What exactly is the sum you're trying to compute? And not just the sum - any terms multiplying the sum if you used those in the computation you did on mathematica. It's hard to tell what could be causing your problems if we don't have enough information. Given only the divergent integral we can only really say the integral diverges.

You say you have a sum over this general integral and it looks like one of the terms diverges, but yet when you compute it numerically the divergent term doesn't seem to matter? That seems odd, and I'd be hesitant to just toss the term out and continue without being fairly sure of why I'm getting the results I'm getting.
 
  • #19
Mute said:
What exactly is the sum you're trying to compute? And not just the sum - any terms multiplying the sum if you used those in the computation you did on mathematica. It's hard to tell what could be causing your problems if we don't have enough information. Given only the divergent integral we can only really say the integral diverges.

You say you have a sum over this general integral and it looks like one of the terms diverges, but yet when you compute it numerically the divergent term doesn't seem to matter? That seems odd, and I'd be hesitant to just toss the term out and continue without being fairly sure of why I'm getting the results I'm getting.

Actually, all the sums appear are from binomial and multinomial expansions.
 

1. What is the gamma function at z=0?

The gamma function, denoted by the symbol Γ(z), is a mathematical function that extends the concept of factorial to complex numbers. At z=0, the gamma function is not defined as it results in a division by zero.

2. Why is it important to define the gamma function at z=0?

The gamma function has many applications in mathematics and physics, such as in the calculation of probabilities, areas under curves, and solutions to differential equations. Defining the gamma function at z=0 allows for its use in a wider range of mathematical problems.

3. How is the gamma function defined at z=0?

The gamma function at z=0 is defined using the limit of the gamma function as z approaches 0. This limit, denoted by Γ(0), is equal to infinity. Therefore, the gamma function at z=0 is not a finite value, but rather an infinite one.

4. Can the gamma function at z=0 be evaluated using a calculator?

No, the gamma function at z=0 cannot be evaluated using a calculator as it results in an infinite value. Some advanced mathematical software programs may be able to compute the limit of the gamma function at z=0, but it cannot be accurately calculated using a standard calculator.

5. Are there any alternative ways to define the gamma function at z=0?

There are alternative ways to define the gamma function at z=0, such as using analytic continuation, which involves extending the gamma function to complex values outside of its original domain. However, these alternative definitions are more complex and not commonly used in mathematical applications.

Similar threads

Replies
6
Views
2K
Replies
1
Views
1K
Replies
7
Views
1K
Replies
4
Views
404
Replies
6
Views
1K
  • General Math
Replies
8
Views
2K
  • General Math
Replies
9
Views
2K
Replies
17
Views
3K
Replies
1
Views
554
Replies
7
Views
1K
Back
Top