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

  • Thread starter roger
  • Start date
In summary: So I would think we can define nCr for r>n to be zero.In summary, the binomial coefficient "nCr" is defined as n!/(r!(n-r)!), but if r > n, the denominator becomes undefined and thus nCr is equal to 0. This is because the factorial of a negative number is undefined and the gamma function, which is used to calculate nCr for non-natural numbers, is also undefined for negative real numbers. Therefore, choosing 5 objects from a set of 4 is not possible and thus the answer to this question is 0.
  • #1
roger
318
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
  • #2
By the defintion 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
 
  • #3
nCr=n!/(r!(n-r)!). If r>n, the denominator is oo, so nCr=0.
 
  • #4
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
 
  • #5
what do you mean warren? mathman didnt say that he said If r>n, the denominator is oo, so nCr=0.
 
  • #6
If r > n, then the "(n-r)!" in the denominator is undefined. The factorial of negative numbers is undefined.

- Warren
 
  • #7
so why did he say it is equal to zero? and why did he say the denominator is oo?
 
  • #8
roger said:
so why did he say it is equal to zero? and why did he say the denominator is oo?

I don't know. Maybe you should ask him.

- Warren
 
  • #9
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.
 
  • #11
The gamma function is also undefined for negative real numbers. No matter how you slice it, "4 C 5" is undefined.

- Warren
 
  • #12
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.
 
  • #13
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.
 
  • #14
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:
  • #15
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.
 
  • #16
(-1)!*0=0!=1, therefore (-1)!=1/0. 1/0 is not finite. For other negative integers, you will have a similar result.
 
  • #17
-1! is undefined, not infinite. That's what your equation indicates, too.

- Warren
 
  • #18
I'm getting varied answers and abit confused at that. What's the bottom line?
 
  • #19
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.
 
  • #20
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.
 
  • #21
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
 
  • #22
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.
 
  • #23
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]
 
  • #24
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.
 

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

1. What is the Gamma function?

The Gamma function is a mathematical function that is defined for all complex numbers, except for non-positive integers. It is denoted by the Greek letter "Γ" and is an extension of the factorial function to non-integer values.

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

The Gamma function is defined using an integral that involves the value of the function at the point of integration. This integral is not well-defined for non-positive integer values, as it leads to division by zero.

3. Can the Gamma function be extended to non-positive integers?

No, the Gamma function cannot be extended to non-positive integers as it would result in an undefined or infinite value.

4. What is the significance of the Gamma function?

The Gamma function has many applications in mathematics and physics, such as in the calculation of complex integrals, series expansions, and solutions to differential equations. It is also used in probability and statistics, particularly in the field of gamma distributions.

5. Are there any alternative functions that can be used in place of the Gamma function for non-positive integers?

Yes, the factorial function can be used for non-negative integers, while the Pochhammer symbol and the Barnes G-function can be used for negative integers. However, these alternative functions do not fully capture the properties of the Gamma function and have more limited applications.

Similar threads

Replies
28
Views
4K
Replies
2
Views
1K
Replies
6
Views
1K
Replies
12
Views
2K
Replies
8
Views
2K
Replies
2
Views
3K
Replies
25
Views
6K
Back
Top