I am trying to understand the derivation of the Planck distribution and black body radiation. In the Wikipedia derivation of the Planck distribution, the photons confined within a cubic box, are emitting from and absorbed by, and are in equilibrium with the wall of the cube. I understand the calculation presented. However, I am uncertain about the following points.
Is the temperature here that of the photons alone, of the matter of the wall alone or the ensemble of the photon and the matter? Most likely it is the last case. How is the temperature defined and the Boltzmann distribution derived with the photons under consideration? It is not mentioned at all in the Wikipedia derivation.
I suppose Equation (1) in the aforementioned derivation for photon gas in a box, i.e. $$E_{n_1,n_2,n_3}\left(r\right)=\left(r+\frac{1}{2}\right)\frac{hc}{2L}\sqrt{n_1^2 + n_2^2 + n_3^2} \tag1$$ comes from solving a wave equation with zero boundary condition. I suppose this wave equation comes from the quantum field theory, describing the photons. Is this correct? In classic electrodynamics, Maxwell's equation has a zero boundary condition if the wall is a perfect conductor with zero electric or magnetic field in the interior of the wall so as to perfectly reflect the electromagnetic wave. Are we to impose the same condition here with the purpose to confine the energy of the photo inside of the box?
Edit: The box indeed has perfectly conducting wall whereby the parallel component of the electric field at the boundary indeed vanishes.
- Apparently the size and geometry of the box affect the final distribution. I suppose if we construct an object with many small walled cavities with fractal-like geometry, we will get a different power distribution. Is this correct?
Edit: It turns out point 3. is a complicated question. The leading term of the eigenvalue distribution is proportional to volume, with some caveat on the geometric roughness of the boundary, according to Weyl's law. The proof concerning the geometric roughness of the boundary is complicated.