"How can I find the derivative of x?

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

Discussion Overview

The discussion revolves around the derivative and antiderivative of the factorial function, particularly focusing on the extension of the factorial to non-integer values through the gamma function. Participants explore the mathematical properties of these functions, their definitions, and their applications.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants note that the factorial is defined only for natural numbers, making it challenging to take derivatives in that context.
  • Others introduce the gamma function as a continuous extension of the factorial that is defined for real numbers and agrees with the factorial at integer values.
  • A participant suggests a discrete-space derivative for the factorial function, presenting a formula involving factorials at consecutive integers.
  • There is a discussion about the numerical values of half-integer factorials and their relation to the gamma function, with some participants confirming the values provided by calculators.
  • One participant questions the limitations of calculators in providing values for half-integer factorials and suggests that the gamma function could be useful in certain mathematical contexts.
  • Concerns are raised about the steps involved in deriving relationships between gamma function values, with requests for clarification on specific mathematical manipulations.
  • Integration by parts is suggested as a method to evaluate certain expressions involving the gamma function.
  • Another participant mentions the digamma function in relation to the derivative of the gamma function.

Areas of Agreement / Disagreement

Participants express various viewpoints regarding the properties and applications of the gamma function and factorials, with no clear consensus on the best approach to take derivatives or the implications of using the gamma function in calculations.

Contextual Notes

Some participants highlight the recursive relationships and definitions of the gamma function, while others point out the limitations of calculators in providing certain factorial values. The discussion includes unresolved mathematical steps and varying interpretations of the gamma function's properties.

climbhi
Is there a way to find the derivative, or antiderivative for that matter, of x!. Or is there a special function for that or something?
 
Physics news on Phys.org
well, the factorial is only defined on the natural numbers, and there is no sensible way to take a derivative of any function on the naturals. in fact, all of calculus rests on certain axioms that only the real numbers satisfy.

however, there is a function defined on the reals that agrees with the factorial at integer values. it is called the gamma function. it is integrable and derivable.
 
Originally posted by lethe
well, the factorial is only defined on the natural numbers, and there is no sensible way to take a derivative of any function on the naturals.

In that case you can take the discrete-space derivative.

d(x!)/dx = [(x+1)! - x!]

If you want to get formal, you can consider the domain of x values the set of all real numbers superimposed with a series of delta functions occurring at every integral step.

eNtRopY
 
There is a continuous extension to x! called the gamma function. Using G for gamma, it has the property that for integers, G(x+1)=x!.

(In order to display the formula for G, I need integral sign, exponent, and integral limits.)
 


&Gamma(n) = &int(0, &infin) xn-1 e-x dx

Hurkyl

 
Last edited:
Just wondering my calculator will give a numerical value for things such as 2.5! and 3.5! For the ! command to work on my calculator you have to use either 1,2,3... or any 1/2 value of those and strangely also -1/2. How is it getting these numbers? Is it perhaps just picking the values off the Gamma function?
 
Originally posted by climbhi
Is it perhaps just picking the values off the Gamma function?

yup. check 1/2! it should be √π
 
Originally posted by lethe
yup. check 1/2! it should be √π


Well actually according to my calculator it is (√π)/2, is this actually what it should be?
 
Originally posted by climbhi
Well actually according to my calculator it is (√π)/2, is this actually what it should be?


umm... yeah, i guess so. oops. i guess i meant to say that Γ(1/2) = √π which implies that (1/2)! = Γ(3/2) = (1/2)Γ(1/2) = 1/2√π. OK


i m always making that mistake. all the time, i forget and say that Γ(n) = n!, when actually, it should be that Γ(n+1) = n!
 
Last edited:
  • #10
So I wonder why my calculator will only give values for half integer factorals and only for one negative number (-.5) would it really have been that hard for them to program in the rest of the gammma function if they were going to include all the half integers? Is there any real common use for half integer factorals that would incline them to include this feature?
 
  • #11
Oh also, Loren, just thinking that for a few of those infinite sums and products you were trying to work out, many of them involved factorals. Could you perhaps use this Gamma function in the place and see if you could get anything to fall out?
 
  • #12
Originally posted by lethe
Γ(3/2) = (1/2)Γ(1/2)


I don't follow this step. By Hurkyl's given definition of what the Gamma function is I don't see how you can take the 1/2 outside. Am I missing something, how does that work?
 
  • #13
Try integration by parts.


The reason your calculator only gives results for positive integers and any half integer is because those are the only values for which an exact solution is known. Well, technically the exact solution is known for nonpositive integers; +/-&infin.

The values for the gamma function can be found from the recursive relationship:

&Gamma(1) = 1
&Gamma(1/2) = sqrt(&pi)
n &Gamma(n) = &Gamma(n+1)

Hurkyl
 
  • #14
Γ(x+1) = x!

Γ(x) = ∫t=0..infinitytx-1e-t dt = (x-1)!

so

x! = ∫t=0..infinitytxe-t dt

so

d/dx(x!) = ∫t=0..infinityln(t)*txe-t dt

good luck evaluating that.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K