How can a summation be accurately transformed into an integral?

  • Context: Graduate 
  • Thread starter Thread starter DrClaude
  • Start date Start date
  • Tags Tags
    Integral Summation
Click For Summary

Discussion Overview

The discussion revolves around the transformation of a summation into an integral, particularly in the context of statistical mechanics and partition functions. Participants explore the mathematical implications and correctness of this transformation, raising questions about definitions and the handling of limits.

Discussion Character

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

Main Points Raised

  • One participant expresses discomfort with the derivation in a textbook that transitions from a discrete sum to an integral, questioning the treatment of the infinitesimal interval ##\Delta q##.
  • Another participant asks for clarification on the definition of an integral, suggesting that Riemann integration is a limit of discrete summations, which may support the transformation.
  • A different participant notes that a Riemann sum includes a factor ##\Delta x## that becomes ##dx## in the integral, raising questions about whether a straightforward replacement of the sum with an integral is sufficient.
  • Concerns are raised about the mathematical interpretation of the energy function ##E(q) = cq^2##, particularly regarding the expected value of ##q## as a function of itself.
  • One participant suggests that if ##\delta q## is very small, the ratio of the summation to the integral approaches 1, indicating that the transformation can be justified under certain conditions.
  • Another participant mentions that the introduction of ##1/\Delta q## and ##\Delta q## needs careful consideration to ensure the summation behaves well as ##\Delta q## approaches zero, and that one can replace the summation with its limit value for growth order analysis.

Areas of Agreement / Disagreement

Participants express differing views on the appropriateness and methodology of transforming a summation into an integral. There is no consensus on the best approach or the implications of the transformation.

Contextual Notes

Participants highlight potential limitations in the derivation, including the treatment of limits, the behavior of the summation with respect to ##\Delta q##, and the mathematical interpretation of the energy function.

DrClaude
Mentor
Messages
8,478
Reaction score
5,697
I'm teaching a course using D. V. Schroeder, An Introduction to Thermal Physics, and there is a "derivation" in the book that is making me cringe a bit. I would like the opinion of mathematicians on the subject.

Take a (continuous) degree of freedom ##q## from which you can get the energy ##E(q) = cq^2##. Then artificially take ##q## to be discrete, with equally-spaced intervals ##\Delta q##. This allows you to write the partition function as the sum
$$
Z = \sum_q e^{-\beta E(q)} = \sum_q e^{-\beta c q^2},
$$
which you multiply by ##\Delta q / \Delta q##,
$$
Z = \frac{1}{\Delta q} \sum_q e^{-\beta c q^2} \Delta q.
$$
Then take ##\Delta q## to be small, such that
$$
Z = \frac{1}{\Delta q} \int_{-\infty}^{\infty} e^{-\beta c q^2} \, dq.
$$

It is this last step that I don't like at all. I don't like how ##\Delta q## is made infinitesimally small at one place but not the other.

Also, since ##q## is continuous, I would have taken directly the partition function as
$$
Z = \int_{-\infty}^{\infty} e^{-\beta c q^2} \, dq,
$$
i.e., without the ##1 / \Delta q##. In the end, that factor cancels out, so the answer is the same.

Any pointers on how to correctly transform a summation into an integral will be appreciated.
 
Physics news on Phys.org
What's your definition of an integral? If you're fine with Riemann integration, then it's already a shorthand for a limit of discrete summations.
 
economicsnerd said:
What's your definition of an integral? If you're fine with Riemann integration, then it's already a shorthand for a limit of discrete summations.

I have no problem with a sum becoming an integral. I am only unsure about the proper way of doing it.

With a Riemann sum, there is already a factor ##\Delta x## that becomes ##dx## when going to the Riemann integral. What we have here is a normal sum, which is taken over a continuous variable. Do you simply replace the sum with an integral and the ##dx## that comes with it, or do you have to introduce it in a contorted way as above?
 
DrClaude said:
Take a (continuous) degree of freedom ##q## from which you can get the energy ##E(q) = cq^2##.

What would that mean, mathematically? If q is a variable then how can the expected value of q be a function of q? If the derivation is to make mathematical sense, shouldn't this be the first thing to straighten out? Or is E(q) =c q^2 intended only as the definition of the function E() ?
 
It is going to be true that if \delta q is very small, then
\frac{1}{\delta q} \sum_{q} e^{-c\ beta q^2} \delta q \approx \frac{1}{\delta q} \int_{-\infty}^{\infty} e^{-c\beta q^2} dq
where the approximation is saying that the relative error is going to zero, i.e. the ratio of the two is going to 1. Since you are dividing/multiplying this by something else that has a \delta q in it, then you are only really interested in the ratio going to 1, not that they are absolutely converging to each other.

Alternatively, you can simply not take the limit until after you have canceled the extra \delta q factors.

Your third choice is to start off by not writing down something which goes to infinity as \delta q goes to zero, but that might be harder to motivate (I don't know too much about the subject).
 
When 1/Δq and Δq are introduced, it is not immediately clear that the summation is well behaved. Soon it is clear that the summation with the Δq factor is approaching a limit, L, (the integral value). Then, if you are only interested in the order of growth of the function as Δq goes to zero, you are free to go ahead and replace the summation with it's limit value, L. So we end up with a good representation of the order of growth of the function when Δq goes to zero. Apparently that is what they need.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
5K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
4K