# math

posted by .

what is the factorial of a negative number?

The factorial function has singularities at the negative integers.
You can see this as follows. For integers we define:

(n+1)! = (n+1)n!

and we put 0! = 1

So, from 0! you can compute 1! and from that you can compute 2! etc. etc. So, the factorial function is now defined for all positive integers.

Using the same recursive equation you get:

n! = (n+1)!/(n+1)

And you see that substituting -1 for n is problematic :)

Now, you can define the factorial functon for all numbers, except the negative integers as follows.

n! = Integral from zero to infinity of

x^n Exp(-x)

This integral is well defined for all positive n. It satisfies the recursion equation. n doesn't have to be an integer. E.g.:

(1/2)! = 1/2 sqrt(pi)

You can now use the recursion equation to extend the definition of the factorial function to negative numbers. E.g.:

(-1/2)! = (1/2)!/(1/2) = sqrt(pi)

The factorial for a positive integer is as you understand it, ie, 4!= 1*2*3*4

0! is defined as 1

For positive numbers (not integers), we use the gamma function to extend the idea of factorials to all those numbers.

For negative numbers, whole or not, factorial, and gamma functions are undefined.

The factorial for a positive integer is as you understand it, ie, 4!= 1*2*3*4

0! is defined as 1

For positive numbers (not integers), we use the gamma function to extend the idea of factorials to all those numbers.

For negative numbers, whole or not, factorial, and gamma functions are undefined.

I need to add, using recursion, one can find factorials for negative NON Whole numbers, the result will be finite. For Negative whole numbers, ie, -4, it will yield a undefined term (divide by zero is not allowed).

I need to add, using recursion, one can find factorials for negative NON Whole numbers, the result will be finite. For Negative whole numbers, ie, -4, it will yield a undefined term (divide by zero is not allowed).

I disagree with Bob here. The gamma function is only undefined at zero and the negative numbers. It's an analytical function with singularities (poles) at the negative integers.

The integral Exp(-x)x^(n)dx from zero to infinity which defines the factorial function for positive n, is, of course, not defined for negative n. However, one can analytically continue this function to the entire complex plane.

All one needs to do is to repeatedly use the recursion relation:

(x-1)! = x!/x

If x! has been defined as an analytical function between x = 0 and x = 1, then the above recursion defines a function between -1 and 0.

Hi: Factorials are dedfined for non-integer negatives via the gamma function -- a topic beyond the scope of this post. Check out mathworld for a reasonably straight forward read on the topic. The gamma function accomodates for all complex factorials, i.e., z!, where z = a+bi for a,b in R ... excepting the negative integers whose factorials are at complex infinity.

Regards,

Rich B.

## Similar Questions

1. ### Math: Integers

Hey guys! I need help with this problem..it tells me to write a number line to tell the answer..the question is : What is the smallest integer greater than -2.1?
2. ### Math 115 #20

Label each statement as true or false a. All integers are real numbers. b. All negative integers are whole numbers. c. Zero is neither positive nor negative. d. All integers are whole numbers. I think all answera are TRUE am I correct
3. ### Number Line

If an integer a is pictured on the number line then the distance from the point on the number line that represents the integer to the origin is ƒaƒ. Using this idea answer the following. a. Explain why ƒa 2 bƒ is the distance between …
4. ### maths

Find the number of positive integers <1000 that can be expressed as 2^k−2^m, where k and m are non-negative integers.
5. ### Maths

Find the number of positive integers <1000 that can be expressed as 2^k−2^m, where k and m are non-negative integers.
6. ### Algebra (factorial)

Evaluate gcd(19!+19,20!+19). Details and assumptions The number n!, read as n factorial, is equal to the product of all positive integers less than or equal to n. For example, 7!=7×6×5×4×3×2×1.
7. ### math

Find the sum of all positive integers m such that 2^m can be expressed as sums of four factorials (of positive integers). Details and assumptions The number n!, read as n factorial, is equal to the product of all positive integers …
8. ### math

Which statement is true? A.The sum of two positive integers is sometimes positive, sometimes negative. B.The sum of two negative integers is always negative. C.The sum of a positive integer and a negative integer is always positive.
9. ### Math

-5,-3,-1,1,3,5 If a and b are different integers chosen from the list above, how many possible values are there of the product ab?
10. ### math

97 is the largest prime less than 100. What is the largest prime factor of 97! (97 factorial)?

More Similar Questions