Why is the Gamma function undefined for non-positive integers?

  • Context: High School 
  • Thread starter Thread starter roger
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
23 replies · 6K views
roger
Messages
318
Reaction score
0
what is nCr iff r>n?

what does it mean to choose say 5 objects from 4?

My understanding was that nCr is defined where n>r but I have a question involving this which I don't understand.

thanks
Roger
 
Mathematics news on Phys.org
By the definition of the binomial coefficient "nCr," you'll get a number smaller than one when r > n. It's still "defined," but it doesn't make much sense to say you can choose 5 objects from 4 in 0.2 different ways.

- Warren
 
Actually, mathman, you're right. I forgot that the subtraction on the bottom will result in a negative number... but the factorial of a negative number is undefined, and thus so is nCr where r > n.

- Warren
 
what do you mean warren? mathman didnt say that he said If r>n, the denominator is oo, so nCr=0.
 
so why did he say it is equal to zero? and why did he say the denominator is oo?
 
well it can't be undefined and zero at the same time it must be one or the other and if it is undefined I don't know why it is mentioned in the question I have.
 
chroot said:
The gamma function is also undefined for negative real numbers. No matter how you slice it, "4 C 5" is undefined.

- Warren

Are you sure about that? The graph of the gamma function on wikipedia would suggest otherwise to me. Maybe I am misreading it.
 
chroot said:
The gamma function is also undefined for negative real numbers. No matter how you slice it, "4 C 5" is undefined.

- Warren

Negative inegers, I'm pretty sure the gamma function is defined for other negative numbers, just not the negative integers.
 
According to the wikipedia page on the binomial coefficient, the coefficient is defined to be zero for n < r (or r < 0 - there is a generalization to negative integers, though.).

http://en.wikipedia.org/wiki/Binomial_coefficient#Definition

Since this is just the definition of the binomial coefficient, not necessarily as it applies to combinatorics, one might argue that it doesn't apply to counting problems... However, it makes sense to me that there are zero ways to choose 5 objects from a set of 4, for instance.
 
Last edited:
Mathematica defines nCm as Binomial[n,m] = Γ(n+1)/(Γ(m+1)Γ(n-m+1)), seemingly = 0 when m > n.

If one defines nCm as combination with repetition, then the formula becomes (n+m-1)!/(m!(n-1)!), which does allow m > n.
 
I'm getting varied answers and abit confused at that. What's the bottom line?
 
Look up Gamma function on Wikepedia (Gamma(n+1)=n!). You will see a graph as a function of real x. At 0 and each of the negative integers you will see a vertical line asymptote. On one side of each asymptote, the curve goes to +oo, on the other the curve goes to -oo. In that sense it is undefined (-oo or +oo), but certainly not finite. Therefore nCr for r>n is always 0.
 
roger said:
I'm getting varied answers and abit confused at that. What's the bottom line?
If r > n, nCr = 0 without repetition but nCr > 0 with repetition.
 
mathman said:
Look up Gamma function on Wikepedia (Gamma(n+1)=n!). You will see a graph as a function of real x. At 0 and each of the negative integers you will see a vertical line asymptote. On one side of each asymptote, the curve goes to +oo, on the other the curve goes to -oo. In that sense it is undefined (-oo or +oo), but certainly not finite. Therefore nCr for r>n is always 0.

(1 / undef) is undef. It's certainly not zero.

- Warren
 
chroot said:
(1 / undef) is undef. It's certainly not zero.

- Warren


[tex]x^{-1}[/tex] is undefined at x=0 but [tex]1/x^{-1}[/tex] is well defined and certainly zero. Right ot wrong I'm picturing mathmans argument as something like this. In any case I agree that nCr is zero for r > n.
 
d_leet said:
Negative inegers, I'm pretty sure the gamma function is defined for other negative numbers, just not the negative integers.

Yes, the gamma function is defined on all real numbers except the nonpositive integers:
[tex]\mathbb{R}\setminus\{0,-1,-2,-3,\ldots\}[/tex]
 
Yes we all agree that the Gamma function is undefined for non-positive integers. The reciprocal 1/Gamma however approaches zero from both the left and the right at each non-positive integer.