Understanding the Derivative of x: A Scientist's Perspective

  • Context: Undergrad 
  • Thread starter Thread starter Emmanuel_Euler
  • Start date Start date
  • Tags Tags
    Derivative
Click For Summary
SUMMARY

The derivative of the factorial function, denoted as x!, does not exist in the traditional sense since it is only defined for natural numbers. However, a continuous extension of the factorial is provided by the Gamma function, where x! = Gamma(x+1). The derivative of the Gamma function, represented as Gamma'(x+1), can be expressed using the digamma function, ψ(x+1), leading to the formula: Gamma'(x+1) = (x!) * ψ(x+1). Additionally, Stirling's Approximation offers a useful method for approximating factorials for large x, given by x! ≈ (x/e)^x * sqrt(2πx).

PREREQUISITES
  • Understanding of the Gamma function and its properties
  • Familiarity with the concept of derivatives in calculus
  • Knowledge of Stirling's Approximation
  • Basic understanding of the digamma function
NEXT STEPS
  • Research the Bohr–Mollerup theorem and its implications for the Gamma function
  • Learn about the properties and applications of the digamma function
  • Explore advanced topics in neutrix calculus and its applications in generalized functions
  • Study the relationship between the Gamma function and other special functions in mathematics
USEFUL FOR

Mathematicians, calculus students, and anyone interested in advanced mathematical concepts related to factorials and their derivatives.

Emmanuel_Euler
Messages
142
Reaction score
11
what is the derivative of x! ??
 
Physics news on Phys.org
Very easy: doesn't exist. Any differentiable function is necessarily continuous, but x! is only defined on the natural numbers, and not continuous.
 
thank you for help.
 
The previous response is quite correct. However, there is a "natural" continuous extension of the factorial function -- a way to "connect the dots", if you like. Look up the "Bohr–Mollerup theorem" and learn about the Gamma function. For integers x we have x! = Gamma(x+1), so perhaps you would like to know about Gamma'(x+1)? That would be equal to (x!) ( 1 + 1/2 + ... + 1/x - gamma ) where gamma=0.577... is Euler's constant.

It's also worth learning Stirling's Approximation: x! is roughly (x/e)^x sqrt(2 pi x ) . That's a formula you can differentiate using calculus-1 tools.
 
pwsnafu said:
but x! is only defined on the natural numbers

daverusin said:
The previous response is quite correct
This is not correct...
The gamma function is defined for all ##x## and values of the function can be found for infinitely many rational arguments by the identity ##\Gamma(\frac{1}{2})=\sqrt{\pi}##
Also note that this means that ##\Big(-\frac{1}{2}\Big)!=\sqrt{\pi}##. Values of the function exist for other rational numbers as well but they are somewhat complicated.
Also the gamma function is continuous in the domain ##\mathbb{R}^+##
See this stackexchange thread......
 
Last edited:
In-fact the value of the gamma function can also be computed for all negative integers....
See this paper by Fischer and Kilicman.......
But I believe it is not continuous in ##\mathbb {R}^-##.
 
certainly said:
In-fact the value of the gamma function can also be computed for all negative integers

The gamma function has poles at the negative integers. It is not defined there. And if it were to be defined, it would be ##\infty## (in the one-point compactification of ##\mathbb{C}##).

But I believe it is not continuous in ##\mathbb {R}^-##.

It is. It is meromorphic, which means that it induces a continuous (even holomorphic) function ##\Gamma:\mathbb{C}\rightarrow \mathbb{C}_\infty##, where ##\mathbb{C}_\infty## is the Riemann sphere.
 
  • Like
Likes   Reactions: Emmanuel_Euler
certainly said:
This is not correct...
The gamma function is defined for all ##x## and values of the function can be found for infinitely many rational arguments by the identity ##\Gamma(\frac{1}{2})=\sqrt{\pi}##
Also note that this means that ##\Big(-\frac{1}{2}\Big)!=\sqrt{\pi}##. Values of the function exist for other rational numbers as well but they are somewhat complicated.
Also the gamma function is continuous in the domain ##\mathbb{R}^+##
See this stackexchange thread......

If you define the factorial as the gamma sure. Most texts don't. They define the factorial as a product, and show that the gamma function is an extension of the factorial.
 
  • Like
Likes   Reactions: hunt_mat
micromass said:
It is. It is meromorphic, which means that it induces a continuous (even holomorphic) function ##\Gamma:\mathbb{C}\rightarrow \mathbb{C}_\infty##, where ##\mathbb{C}_\infty## is the Riemann sphere.
Sorry....that was a silly error on my part.....
micromass said:
The gamma function has poles at the negative integers. It is not defined there. And if it were to be defined, it would be ∞\infty (in the one-point compactification of C\mathbb{C}).
Perhaps I should have been a little more careful.
What you said is perfectly true, in the classical sense the gamma function is not defined for negative integers.....
Please have a look at the link i provided ...
[It's sort of like an extended gamma function, obtained by defining the gamma function in terms of a "neutrix".]
pwsnafu said:
If you define the factorial as the gamma sure. Most texts don't. They define the factorial as a product, and show that the gamma function is an extension of the factorial.
While teaching this approach is more intuitive and often historically accurate, however, in practice, the general version (what maybe called the extended version) is always preferred as a definition. So perhaps my reply should have been something like, now that you know about the gamma function the answer will be the derivative of the gamma function......
 
  • #10
certainly said:
[It's sort of like an extended gamma function, obtained by defining the gamma function in terms of a "neutrix".]

For people who are interested the paper uses neutrix calculus, which concerns taking diverging limits/series/integrals and removing the "infinite part" of it. The idea is that ##G## is a group of functions under addition and define ##N## a subgroup such that the only constant function contained is the zero function. N is the called the "neutrix" and the elements of N are called "negligible". The limits are then calculated modulo N.

Neurtix calculus sees a lot of use in generalized functions (because it was Hadamard's work that started this technique) and you see it when defining intrinsic product of Schwartz distributions. I'm told QFT uses it, but I'm not a physicist so I can't say anything about that.
 
Last edited:
  • #11
Thanks to all who helped me.

but please can you give me the derivative formula??
 
  • #12
Emmanuel_Euler said:
Thanks to all who helped me.

but please can you give me the derivative formula??
do the exponent short cut or you can find the limit of the function as Δx→0.
da/dh=
23b7112ec7aa5d19157cf84bd3b392e8.png
 
  • Like
Likes   Reactions: Emmanuel_Euler
  • #13
certainly said:
This is not correct...
The gamma function is defined for all ##x## .
You can not say that the gamma function and factorial are the same function. They are not defined on the same domain or in the same way. Just because gamma is an extension of factorial does not mean that factorial is more than its original, simple definition.
 
  • Like
Likes   Reactions: pwsnafu and micromass
  • #14
Not continuous
 
  • #15
Emmanuel_Euler said:
what is the derivative of x! ??
Still, think of the differential quotient. If x! is defined only on the integers, what is then ##f(x+h) , h \rightarrow 0## ?
 
  • Like
Likes   Reactions: lonely_nucleus
  • #16
Wolfram Alpha states the derivative of x! is \Gamma (x+1) \psi^{0}(x+1).
 
  • Like
Likes   Reactions: Emmanuel_Euler
  • #17
I'm sorry to hear that! Yes, for n an integer, \Gamma(n)= (n- 1)! but I would NOT agree that the factorial is the gamma function. As FactChecker said, they are different functions that happen to have a simple relationship.
 
  • Like
Likes   Reactions: phion
  • #18
daverusin said:
It's also worth learning Stirling's Approximation: x! is roughly (x/e)^x sqrt(2 pi x ) . That's a formula you can differentiate using calculus-1 tools.

For small x it can be a poor approximation. I never thought about this being differentiable. Cool thought.
 
  • #19
lonely_nucleus said:
do the exponent short cut or you can find the limit of the function as Δx→0.
da/dh=
23b7112ec7aa5d19157cf84bd3b392e8.png
Friend it is not that easy to solve.
But i will try.
 
  • #20
phion said:
Wolfram Alpha states the derivative of x! is \Gamma (x+1) \psi^{0}(x+1).
Does the wolfram alpha show the steps??
It usually does, but i do not think that it will show me the steps only the formula.
Again i want to thank you all.
 
  • #21
Emmanuel_Euler said:
Does the wolfram alpha show the steps??
It usually does, but i do not think that it will show me the steps only the formula.
Again i want to thank you all.
I was hoping it would, but it does not.
 
  • Like
Likes   Reactions: Emmanuel_Euler
  • #22
I think Wolfram is computing the derivative of the Gamma function, not of x!
 
  • #23
WWGD said:
I think Wolfram is computing the derivative of the Gamma function, not of x!
Oh really?
 
  • #24
A pedestrian approach is (x+1)!-x!=x+1, which gives xx! or x!-(x-1)! which gives (x-1)(x-1)!
The truth must be somewhere near the middle.
The derivative grows even faster with x than the original which makes my estimate very unreliable ;-).
 
  • #25
phion said:
Oh really?

Well, if this is the standard derivative of x!, defined for integers, what is then ##f(a+h):=(a+h)!## , for ## 0<h<1 ## ?
 
  • #26
WWGD said:
Well, if this is the standard derivative of x!, defined for integers, what is then ##f(a+h):=(a+h)!## , for ## 0<h<1 ## ?
We're reduced to finding the factorial of a fraction with the gamma function I think.
 
  • #27
phion said:
We're reduced to finding the factorial of a fraction with the gamma function I think.
But then, like it has been posted, it is not the ##x!## function.
 
Last edited:
  • #28
WWGD said:
But then, like it has been posted, it is not the #x!# function.
I still don't see how what Wolfram Alpha stated was actually the derivative of the gamma function.
 
  • #29
phion said:
I still don't see how what Wolfram Alpha stated was actually the derivative of the gamma function.
The digamma is the logarithmic derivative of the gamma. If you multiply by the gamma what do you get?
 
  • #30
pwsnafu said:
The digamma is the logarithmic derivative of the gamma. If you multiply by the gamma what do you get?
Got it.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K