An integral and a deravative of a simple factorial

  • Thread starter Thread starter MathematicalPhysicist
  • Start date Start date
  • Tags Tags
    Factorial Integral
MathematicalPhysicist
Science Advisor
Gold Member
Messages
4,662
Reaction score
372
how can you find the integral and the derevative of a simple factorial f(x)=x! (to find what f'(x) equals and what Sf(x)dx equals)? as i see it you have progressive multiplications, f(x)=x(x-1)(x-2)...*(x-k), which is the product of x-k where k=0 till infinity, should i take logarithms on both sides? if i have asked this before link me to the thread.
thanks in advance.
 
Physics news on Phys.org
Well, you can't integrate or differentiate the traditional factorial function. You would have to take advantage of the fact that n!=\Gamma(n+1) and operate on the gamma function instead.

I can't help you with that though. I don't know a lot about the gamma function.
 
Integration and differentiation require, at least, that the function be defined on some interval of real numbers. The factorial function is only defined for non-negative integers. You can, as master_coda said, use the gamma function instead.
 
you cannot differentiate a factorial...
For a function to be differentiable, it has to be continuous. For discrete functions like x! the derivative does not exist.

As for the integration goes, theoretically, it is possible to integrate x!.
I am not sure though, that the gamma function approach will work. The result of the gamma function integration gamma(x+1) leads to x!. Hence replacing x! by its gamma forms leads to a double integral which will be more difficult to solve.
 
The factorial function is not continuous, so you just use (x-1)!=\Gamma(x). There is no known indefinite integral of the Gamma function. However, it does have a derivative in terms of itself and another function.
\Gamma '(x)=\Gamma(x) \psi(x) where \psi is known as the digamma function.
 
The_Fool said:
That can also be expressed with the polygamma function:

\int log[\Gamma(z)]dx=\psi^{(-2)}(z)+C

Yes, but then the poygamma function of order minus two or smaller is nothing more than the (repeated) integral of Log(Gamma). The properties of these functions are not trivial. Barnes and others investigated the related Barnes G-function, otherwise Barnes would not have been bothered to do that. :smile:
 
Back
Top