Integral definition of factorial

Click For Summary

Discussion Overview

The discussion centers around the integral definition of the factorial, particularly in the context of Stirling's formula as presented in a lecture. Participants explore the notation used in writing integrals, specifically the placement of the differential element (dx) in relation to the function being integrated.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions the notation used in the integral definition of factorial, noting a difference in presentation between their understanding and that of the lecturer.
  • Another participant asserts that the placement of dx is merely a notational issue, stating that both forms of writing the integral are equivalent.
  • A later reply suggests that writing dx first is a common practice among physicists, but it is not universally accepted.
  • Some participants express confusion regarding the implications of using the same variable name in different contexts within integrals, raising concerns about clarity and correctness.
  • There is a discussion about the historical preference for different notational styles in mathematics and physics, with a request for more context on this topic.
  • One participant highlights the potential for confusion in notation, providing examples to illustrate their point about the use of dummy variables versus actual variables.
  • Another participant emphasizes that the notation should not lead to misunderstandings, particularly in the context of indefinite integrals.

Areas of Agreement / Disagreement

Participants express differing views on the appropriateness of the notation used in integral definitions. While some agree that the notation is a matter of style, others find it potentially misleading. The discussion remains unresolved regarding the best practices for notation in this context.

Contextual Notes

There are limitations in the discussion regarding the clarity of notation, the definition of dummy variables, and the implications of different integral forms. These aspects remain open to interpretation and debate among participants.

Runei
Messages
193
Reaction score
17
I'm watching V. Balakrishnan's video lectures on Classical Physics, and right now he's going through statistical mechanics.

In that regards he's talking about Stirlings formula, and at one point, he wrote an integral definition of the factorial like the following

n! = \int_{0}^{\infty}dx\hspace{0.1cm}e^{-x}\hspace{0.1cm}x^n\hspace{0.1cm},\hspace{2cm} \text{where}\hspace{1cm} n={1,2,3 ...}

Why is he writing the integral in that way? With the dx first and the exponentials afterwards?

I thought the definition was

n! = \int_{0}^{\infty}e^{-x}x^ndx

Can anybody explain this?

Many thanks in advance :)
 
Physics news on Phys.org
It's the same thing. But physicists tend to use the notation of writing ##dx## first for some reason. It's just a notational issue. For all intents and purposes, we have

\int f(x)dx = \int dx f(x)
 
  • Like
Likes   Reactions: 1 person
Ah, I was wondering that that might be the case :)

Many thanks Micromass!
 
We can't really expect physicists to write mathematics correctly, can we?:devil:
 
Multiplication is associative! :P
 
1MileCrash said:
Multiplication is associative! :P

But it's commutative we want! :-p
 
If you think of ##\displaystyle\int_0^\infty \cdots \,dx## as an operator, writing ##\displaystyle\int_0^\infty\!\! dx\,f(x)## is just as sensible as something like ##\displaystyle\frac{d^n}{dx^n}f(x)## - or even ##\displaystyle\left(\frac 1 r \frac{d}{dr}\right)^nf(r)##.
 
Does anyone have any historical perspective on why some people prefer ##\int f(x)dx## and some people prefer ##\int dxf(x)##?
 
While I perfectly understand the idea of the notation, i think its confusing in the way where the following two ways are different:

\int(dx x) = \int x dx = 1/2 x^2

And

\int(dx) x = x^2

(Mind the constants not shows)
 
  • #10
Runei said:
\int(dx) x = x^2

OK, but this is bad notation. The ##x## in the ##dx## is the dummy variable. The other ##x## is an actual variable. You shouldn't use the same name for them.
And indefinite integrals are tricky things so I'm not sure if the thing above is well-defined. See https://www.physicsforums.com/blog.php?b=4566
 
Last edited by a moderator:
  • #11
micromass said:
But it's commutative we want! :-p

I fail
 
  • #12
Runei said:
While I perfectly understand the idea of the notation, i think its confusing in the way where the following two ways are different:

\int(dx x) = \int x dx = 1/2 x^2

And

\int(dx) x = x^2

(Mind the constants not shows)
No this is wrong. The second form should be \left(\int dx\right)x= x^2.
 
  • #13
micromass said:
It's the same thing. But physicists tend to use the notation of writing ##dx## first for some reason. It's just a notational issue. For all intents and purposes, we have

\int f(x)dx = \int dx f(x)

HallsofIvy said:
We can't really expect physicists to write mathematics correctly, can we?:devil:

It's worth pointing out that mathematicians do this as well, specifically in papers dealing with n-fold integration. Cauchy's formula for repeated integration is very often written
##\int_{a}^{x} dt_n \int_{a}^{t_n} dt_{n-1} \ldots \int_{a}^{t_2} f(t_1) \, dt_1 = \frac{1}{(n-1)!}\int_a^x (x-t)^{n-1}\,f(t)\,dt##
Observe this uses both notations mixed!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K