Energy of a photon gas: two ways to get it, two different answers

Click For Summary
SUMMARY

The energy of a photon gas can be calculated using two distinct methods, yielding different expressions. Using the partition function with Hamiltonian H = pc results in E = 3NkT, while calculating the density of states leads to E ∝ VT^4, consistent with the Stefan-Boltzmann law. The discrepancy arises because the number of photons is not fixed, as in an ideal gas, but instead varies with temperature and volume, specifically N ∝ VT^3. This relationship reconciles the two approaches and aligns with statistical mechanics principles.

PREREQUISITES
  • Understanding of statistical mechanics concepts
  • Familiarity with the partition function in thermodynamics
  • Knowledge of the Stefan-Boltzmann law
  • Basic principles of quantum mechanics
NEXT STEPS
  • Study the derivation of the partition function for photon gases
  • Explore the implications of the Stefan-Boltzmann law in thermodynamics
  • Investigate the grand canonical ensemble and its applications
  • Learn about the density of states in statistical mechanics
USEFUL FOR

Students and researchers in physics, particularly those focused on thermodynamics, statistical mechanics, and quantum mechanics, will benefit from this discussion.

Pacopag
Messages
193
Reaction score
4

Homework Statement


I've been asked to calculate the energy of a photon gas in terms of the temperature. Assume non-interacting.
I'll spare the details, unless someone would like to see them, because the calculations can be found in most textbooks. Here's the problem:
When I do it using the partition function with Hamiltonian H = pc, I get
[tex]E = 3NkT[/tex]
where N is the number of photons, k is Boltzmann's constant, and T is temperature.
When I do it by finding the density of states, i get
[tex]E \propto VT^4[/tex]
Both answers are consistent with stuff I already know:
The first expression agrees with the equipartition theorem, but the second expression is the stefan-boltzmann law. So what the heck is going on here?

Homework Equations


The Attempt at a Solution

 
Last edited:
Physics news on Phys.org
I think I found the answer on Wikipedia under "Photon Gas." It seems that the number of photons is not fixed as in an ideal gas, and that
[tex]N \propto VT^3[/tex].
That gives the consistency I'm looking for.
 
Pacopag said:
[tex]E \propto VT^4[/tex]
...
is the stefan-boltzmann law.
Not exactly. Perhaps some integrated version of.

Pacopag said:
I think I found the answer on Wikipedia ...
EXCELLENT!

Pacopag said:
It seems that the number of photons is not fixed as in an ideal gas, ...
Why do you think that the number of photons in an ideal gas is fixed? Grand canonical ensemble.

Pacopag said:
[tex]N \propto VT^3[/tex]. That gives the consistency I'm looking for.
Indeed, you are deriving this from stat mech, relativity, and (a bastardized version of) QM.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 15 ·
Replies
15
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
Replies
1
Views
2K
Replies
1
Views
4K