text:
Planck's law

In physics, Planck's law (also Planck radiation law ) describes the spectral density of electromagnetic radiation emitted by a black body in thermal equilibrium at a given temperature $T$, when there is no net flow of matter or energy between the body and its environment.

At the end of the 19th century, physicists were unable to explain why the observed spectrum of black-body radiation, which by then had been accurately measured, diverged significantly at higher frequencies from that predicted by existing theories. In 1900, German physicist Max Planck heuristically derived a formula for the observed spectrum by assuming that a hypothetical electrically charged oscillator in a cavity that contained black-body radiation could only change its energy in a minimal increment, $E$, that was proportional to the frequency of its associated electromagnetic wave. While Planck originally regarded the hypothesis of dividing energy into increments as a mathematical artifice, introduced merely to get the correct answer, other physicists including Albert Einstein built on his work, and Planck's insight is now recognized to be of fundamental importance to quantum theory.

The law
Every physical body spontaneously and continuously emits electromagnetic radiation and the spectral radiance of a body, $B_{ν}$, describes the spectral emissive power per unit area, per unit solid angle and per unit frequency for particular radiation frequencies. The relationship given by Planck's radiation law, given below, shows that with increasing temperature, the total radiated energy of a body increases and the peak of the emitted spectrum shifts to shorter wavelengths. According to Planck's distribution law, the spectral energy density (energy per unit volume per unit frequency) at given temperature is given by (SI units): $$ u_\nu(\nu, T) = \frac{ 8 \pi h \nu^3}{c^3} \frac 1{\exp\left(\frac{h\nu}{k_\mathrm B T}\right) - 1} $$alternatively, the law can be expressed for the spectral radiance of a body for frequency $ν$ at absolute temperature $T$ (in the cgs units) given as:  $$ B_\nu(\nu, T) = \frac{ 2 h \nu^3}{c^2} \frac 1{\exp\left(\frac{h\nu}{k_\mathrm B T}\right) - 1} $$where $k_{B}$ is the Boltzmann constant, $h$ is the Planck constant, and $c$ is the speed of light in the medium, whether material or vacuum. The cgs units of spectral radiance $B_{ν}$ are erg·s−1·sr−1·cm−2·Hz−1. The terms $B$ and $u$ are related to each other by a factor of $4π⁄c$ since $B$ is independent of direction and radiation travels at speed $c$. The spectral radiance can also be expressed per unit wavelength $λ$ instead of per unit frequency. In addition, the law may be expressed in other terms, such as the number of photons emitted at a certain wavelength, or the energy density in a volume of radiation.

In the limit of low frequencies (i.e. long wavelengths), Planck's law tends to the Rayleigh–Jeans law, while in the limit of high frequencies (i.e. small wavelengths) it tends to the Wien approximation.

Max Planck developed the law in 1900 with only empirically determined constants, and later showed that, expressed as an energy distribution, it is the unique stable distribution for radiation in thermodynamic equilibrium. As an energy distribution, it is one of a family of thermal equilibrium distributions which include the Bose–Einstein distribution, the Fermi–Dirac distribution and the Maxwell–Boltzmann distribution.

Black-body radiation

A black-body is an idealised object which absorbs and emits all radiation frequencies. Near thermodynamic equilibrium, the emitted radiation is closely described by Planck's law and because of its dependence on temperature, Planck radiation is said to be thermal radiation, such that the higher the temperature of a body the more radiation it emits at every wavelength.

Planck radiation has a maximum intensity at a wavelength that depends on the temperature of the body. For example, at room temperature (~$5,777 K$), a body emits thermal radiation that is mostly infrared and invisible. At higher temperatures the amount of infrared radiation increases and can be felt as heat, and more visible radiation is emitted so the body glows visibly red. At higher temperatures, the body is bright yellow or blue-white and emits significant amounts of short wavelength radiation, including ultraviolet and even x-rays. The surface of the Sun (~$300 K$) emits large amounts of both infrared and ultraviolet radiation; its emission is peaked in the visible spectrum. This shift due to temperature is called Wien's displacement law.

Planck radiation is the greatest amount of radiation that any body at thermal equilibrium can emit from its surface, whatever its chemical composition or surface structure. The passage of radiation across an interface between media can be characterized by the emissivity of the interface (the ratio of the actual radiance to the theoretical Planck radiance), usually denoted by the symbol $ε$. It is in general dependent on chemical composition and physical structure, on temperature, on the wavelength, on the angle of passage, and on the polarization. The emissivity of a natural interface is always between $ε$ = 0 and 1.

A body that interfaces with another medium which both has $ε$ = 1 and absorbs all the radiation incident upon it, is said to be a black body. The surface of a black body can be modelled by a small hole in the wall of a large enclosure which is maintained at a uniform temperature with opaque walls that, at every wavelength, are not perfectly reflective. At equilibrium, the radiation inside this enclosure is described by Planck's law, as is the radiation leaving the small hole.

Just as the Maxwell–Boltzmann distribution is the unique maximum entropy energy distribution for a gas of material particles at thermal equilibrium, so is Planck's distribution for a gas of photons. By contrast to a material gas where the masses and number of particles play a role, the spectral radiance, pressure and energy density of a photon gas at thermal equilibrium are entirely determined by the temperature.

If the photon gas is not Planckian, the second law of thermodynamics guarantees that interactions (between photons and other particles or even, at sufficiently high temperatures, between the photons themselves) will cause the photon energy distribution to change and approach the Planck distribution. In such an approach to thermodynamic equilibrium, photons are created or annihilated in the right numbers and with the right energies to fill the cavity with a Planck distribution until they reach the equilibrium temperature. It is as if the gas is a mixture of sub-gases, one for every band of wavelengths, and each sub-gas eventually attains the common temperature.

The quantity $B_{ν}(ν, T)$ is the spectral radiance as a function of temperature and frequency. It has units of W·m−2·sr−1·Hz−1 in the SI system. An infinitesimal amount of power $B_{ν}(ν, T) cos θ dA dΩ dν$ is radiated in the direction described by the angle $6,000 K$ from the surface normal from infinitesimal surface area $dA$ into infinitesimal solid angle $dΩ$ in an infinitesimal frequency band of width $dν$ centered on frequency $θ$. The total power radiated into any solid angle is the integral of $B_{ν}(ν, T)$ over those three quantities, and is given by the Stefan–Boltzmann law. The spectral radiance of Planckian radiation from a black body has the same value for every direction and angle of polarization, and so the black body is said to be a Lambertian radiator.

Different forms
Planck's law can be encountered in several forms depending on the conventions and preferences of different scientific fields. The various forms of the law for spectral radiance are summarized in the table below. Forms on the left are most often encountered in experimental fields, while those on the right are most often encountered in theoretical fields.

In the fractional bandwidth formulation, $x = \frac{h\nu}{k_\mathrm{B}T} = \frac{hc}{\lambda k_\mathrm{B} T}$, and the integration is with respect to $\mathrm{d}(\ln x) = \mathrm{d}(\ln\nu) = \frac{\mathrm{d}\nu}{\nu} = -\frac{\mathrm{d}\lambda}{\lambda} = -\mathrm{d}(\ln\lambda)$.

Planck's law can also be written in terms of the spectral energy density ($h$) by multiplying $ħ$ by $ν$: $$u_i(T) = \frac{4\pi}{c} B_i(T). $$

These distributions represent the spectral radiance of blackbodies—the power emitted from the emitting surface, per unit projected area of emitting surface, per unit solid angle, per spectral unit (frequency, wavelength, wavenumber or their angular equivalents, or fractional frequency or wavelength). Since the radiance is isotropic (i.e. independent of direction), the power emitted at an angle to the normal is proportional to the projected area, and therefore to the cosine of that angle as per Lambert's cosine law, and is unpolarized.

Correspondence between spectral variable forms
Different spectral variables require different corresponding forms of expression of the law. In general, one may not convert between the various forms of Planck's law simply by substituting one variable for another, because this would not take into account that the different forms have different units. Wavelength and frequency units are reciprocal.

Corresponding forms of expression are related because they express one and the same physical fact: for a particular physical spectral increment, a corresponding particular physical energy increment is radiated.

This is so whether it is expressed in terms of an increment of frequency, $ω$, or, correspondingly, of wavelength, $λ$, or of fractional bandwidth, $y$ or $ν̃$. Introduction of a minus sign can indicate that an increment of frequency corresponds with decrement of wavelength.

In order to convert the corresponding forms so that they express the same quantity in the same units we multiply by the spectral increment. Then, for a particular spectral increment, the particular physical energy increment may be written $$B_\lambda ( \lambda, T) \, d \lambda=-B_\nu(\nu ( \lambda), T) \, d \nu,$$ which leads to $$ B_\lambda(\lambda,T)=-\frac{d \nu}{ d \lambda}B_\nu(\nu (\lambda), T).$$

Also, $k$, so that $ln x$. Substitution gives the correspondence between the frequency and wavelength forms, with their different dimensions and units. Consequently, $$\frac{B_\lambda (T)}{B_\nu (T)}=\frac{c}{\lambda ^2}=\frac{\nu ^2}{c}.$$

Evidently, the location of the peak of the spectral distribution for Planck's law depends on the choice of spectral variable. Nevertheless, in a manner of speaking, this formula means that the shape of the spectral distribution is independent of temperature, according to Wien's displacement law, as detailed below in § Properties §§ Percentiles.

The fractional bandwidth form is related to the other forms by
 * $$B_{\ln x} = \nu B_\nu = \lambda B_\lambda$$.

First and second radiation constants
In the above variants of Planck's law, the wavelength and wavenumber variants use the terms $u$ and $B$ which comprise physical constants only. Consequently, these terms can be considered as physical constants themselves, and are therefore referred to as the first radiation constant $4π⁄c$ and the second radiation constant $h$ with

and

Using the radiation constants, the wavelength variant of Planck's law can be simplified to $$L(\lambda,T) =\frac{c_{1L}}{\lambda^5}\frac{1}{\exp\left(\frac{c_2}{\lambda T}\right)-1}$$ and the wavenumber variant can be simplified correspondingly.

$ħ$ is used here instead of $ν$ because it is the SI symbol for spectral radiance. The $ω$ in $λ$ refers to that. This reference is necessary because Planck's law can be reformulated to give spectral radiant exitance $y$ rather than spectral radiance $ν̃$, in which case $k$ replaces $ln x$, with

so that Planck's law for spectral radiant exitance can be written as $$M(\lambda,T) =\frac{c_{1}}{\lambda^5}\frac{1}{\exp\left(\frac{c_2}{\lambda T}\right)-1}$$

As measuring techniques have improved, the General Conference on Weights and Measures has revised its estimate of $dν$; see  for details.

Physics
Planck's law describes the unique and characteristic spectral distribution for electromagnetic radiation in thermodynamic equilibrium, when there is no net flow of matter or energy. Its physics is most easily understood by considering the radiation in a cavity with rigid opaque walls. Motion of the walls can affect the radiation. If the walls are not opaque, then the thermodynamic equilibrium is not isolated. It is of interest to explain how the thermodynamic equilibrium is attained. There are two main cases: (a) when the approach to thermodynamic equilibrium is in the presence of matter, when the walls of the cavity are imperfectly reflective for every wavelength or when the walls are perfectly reflective while the cavity contains a small black body (this was the main case considered by Planck); or (b) when the approach to equilibrium is in the absence of matter, when the walls are perfectly reflective for all wavelengths and the cavity contains no matter. For matter not enclosed in such a cavity, thermal radiation can be approximately explained by appropriate use of Planck's law.

Classical physics led, via the equipartition theorem, to the ultraviolet catastrophe, a prediction that the total blackbody radiation intensity was infinite. If supplemented by the classically unjustifiable assumption that for some reason the radiation is finite, classical thermodynamics provides an account of some aspects of the Planck distribution, such as the Stefan–Boltzmann law, and the Wien displacement law. For the case of the presence of matter, quantum mechanics provides a good account, as found below in the section headed Einstein coefficients. This was the case considered by Einstein, and is nowadays used for quantum optics. For the case of the absence of matter, quantum field theory is necessary, because non-relativistic quantum mechanics with fixed particle numbers does not provide a sufficient account.

Photons
Quantum theoretical explanation of Planck's law views the radiation as a gas of massless, uncharged, bosonic particles, namely photons, in thermodynamic equilibrium. Photons are viewed as the carriers of the electromagnetic interaction between electrically charged elementary particles. Photon numbers are not conserved. Photons are created or annihilated in the right numbers and with the right energies to fill the cavity with the Planck distribution. For a photon gas in thermodynamic equilibrium, the internal energy density is entirely determined by the temperature; moreover, the pressure is entirely determined by the internal energy density. This is unlike the case of thermodynamic equilibrium for material gases, for which the internal energy is determined not only by the temperature, but also, independently, by the respective numbers of the different molecules, and independently again, by the specific characteristics of the different molecules. For different material gases at given temperature, the pressure and internal energy density can vary independently, because different molecules can carry independently different excitation energies.

Planck's law arises as a limit of the Bose–Einstein distribution, the energy distribution describing non-interactive bosons in thermodynamic equilibrium. In the case of massless bosons such as photons and gluons, the chemical potential is zero and the Bose–Einstein distribution reduces to the Planck distribution. There is another fundamental equilibrium energy distribution: the Fermi–Dirac distribution, which describes fermions, such as electrons, in thermal equilibrium. The two distributions differ because multiple bosons can occupy the same quantum state, while multiple fermions cannot. At low densities, the number of available quantum states per particle is large, and this difference becomes irrelevant. In the low density limit, the Bose–Einstein and the Fermi–Dirac distribution each reduce to the Maxwell–Boltzmann distribution.

Kirchhoff's law of thermal radiation
Kirchhoff's law of thermal radiation is a succinct and brief account of a complicated physical situation. The following is an introductory sketch of that situation, and is very far from being a rigorous physical argument. The purpose here is only to summarize the main physical factors in the situation, and the main conclusions.

Spectral dependence of thermal radiation
There is a difference between conductive heat transfer and radiative heat transfer. Radiative heat transfer can be filtered to pass only a definite band of radiative frequencies.

It is generally known that the hotter a body becomes, the more heat it radiates at every frequency.

In a cavity in an opaque body with rigid walls that are not perfectly reflective at any frequency, in thermodynamic equilibrium, there is only one temperature, and it must be shared in common by the radiation of every frequency.

One may imagine two such cavities, each in its own isolated radiative and thermodynamic equilibrium. One may imagine an optical device that allows radiative heat transfer between the two cavities, filtered to pass only a definite band of radiative frequencies. If the values of the spectral radiances of the radiations in the cavities differ in that frequency band, heat may be expected to pass from the hotter to the colder. One might propose to use such a filtered transfer of heat in such a band to drive a heat engine. If the two bodies are at the same temperature, the second law of thermodynamics does not allow the heat engine to work. It may be inferred that for a temperature common to the two bodies, the values of the spectral radiances in the pass-band must also be common. This must hold for every frequency band. This became clear to Balfour Stewart and later to Kirchhoff. Balfour Stewart found experimentally that of all surfaces, one of lamp-black emitted the greatest amount of thermal radiation for every quality of radiation, judged by various filters.

Thinking theoretically, Kirchhoff went a little further, and pointed out that this implied that the spectral radiance, as a function of radiative frequency, of any such cavity in thermodynamic equilibrium must be a unique universal function of temperature. He postulated an ideal black body that interfaced with its surrounds in just such a way as to absorb all the radiation that falls on it. By the Helmholtz reciprocity principle, radiation from the interior of such a body would pass unimpeded, directly to its surrounds without reflection at the interface. In thermodynamic equilibrium, the thermal radiation emitted from such a body would have that unique universal spectral radiance as a function of temperature. This insight is the root of Kirchhoff's law of thermal radiation.

Relation between absorptivity and emissivity
One may imagine a small homogeneous spherical material body labeled $dλ$ at a temperature $dν/ν$, lying in a radiation field within a large cavity with walls of material labeled $dλ/λ$ at a temperature $ν(λ) = c⁄λ$. The body $dν⁄dλ = − c⁄λ^{2}$ emits its own thermal radiation. At a particular frequency $2hc^{2}$, the radiation emitted from a particular cross-section through the centre of $hc⁄k_{B}$ in one sense in a direction normal to that cross-section may be denoted $c_{1L}$, characteristically for the material of $c_{2}$. At that frequency $c_{1L} = 2hc^{2}$, the radiative power from the walls into that cross-section in the opposite sense in that direction may be denoted $c_{2} = hc⁄k_{B}$, for the wall temperature $L$. For the material of $B$, defining the absorptivity $L$ as the fraction of that incident radiation absorbed by $c_{1L}$, that incident energy is absorbed at a rate $M(λ, T)$.

The rate $L(λ, T)$ of accumulation of energy in one sense into the cross-section of the body can then be expressed $$q(\nu, T_X, T_Y) = \alpha _{\nu , X, Y}(T_X, T_Y)I_{\nu , Y}(T_Y) - I_{\nu , X}(T_X).$$

Kirchhoff's seminal insight, mentioned just above, was that, at thermodynamic equilibrium at temperature $c_{1}$, there exists a unique universal radiative distribution, nowadays denoted $c_{1L}$, that is independent of the chemical characteristics of the materials $c_{1} = 2πhc^{2}$ and $c_{2}$, that leads to a very valuable understanding of the radiative exchange equilibrium of any body at all, as follows.

When there is thermodynamic equilibrium at temperature $X$, the cavity radiation from the walls has that unique universal value, so that $T_{X}$. Further, one may define the emissivity $Y$ of the material of the body $T_{Y}$ just so that at thermodynamic equilibrium at temperature $X$, one has $ν$.

When thermal equilibrium prevails at temperature $X$, the rate of accumulation of energy vanishes so that $I_{ν,X}(T_{X})$. It follows that in thermodynamic equilibrium, when $X$, $$0 = \alpha _{\nu, X, Y}(T, T)B_{\nu}(T) - \epsilon _{\nu , X}(T) B_{\nu}(T).$$

Kirchhoff pointed out that it follows that in thermodynamic equilibrium, when $ν$, $$\alpha _{\nu, X,Y}(T,T) = \epsilon _{\nu , X}(T).$$

Introducing the special notation $I_{ν,Y}(T_{Y})$ for the absorptivity of material $T_{Y}$ at thermodynamic equilibrium at temperature $X$ (justified by a discovery of Einstein, as indicated below), one further has the equality $$\alpha _{\nu, X}(T) = \epsilon _{\nu , X}(T)$$ at thermodynamic equilibrium.

The equality of absorptivity and emissivity here demonstrated is specific for thermodynamic equilibrium at temperature $α_{ν,X,Y}(T_{X}, T_{Y})$ and is in general not to be expected to hold when conditions of thermodynamic equilibrium do not hold. The emissivity and absorptivity are each separately properties of the molecules of the material but they depend differently upon the distributions of states of molecular excitation on the occasion, because of a phenomenon known as "stimulated emission", that was discovered by Einstein. On occasions when the material is in thermodynamic equilibrium or in a state known as local thermodynamic equilibrium, the emissivity and absorptivity become equal. Very strong incident radiation or other factors can disrupt thermodynamic equilibrium or local thermodynamic equilibrium. Local thermodynamic equilibrium in a gas means that molecular collisions far outweigh light emission and absorption in determining the distributions of states of molecular excitation.

Kirchhoff pointed out that he did not know the precise character of $X$, but he thought it important that it should be found out. Four decades after Kirchhoff's insight of the general principles of its existence and character, Planck's contribution was to determine the precise mathematical expression of that equilibrium distribution $α_{ν,X,Y}(T_{X}, T_{Y}) I_{ν,Y}(T_{Y})$.

Black body
In physics, one considers an ideal black body, here labeled $q(ν,T_{X},T_{Y})$, defined as one that completely absorbs all of the electromagnetic radiation falling upon it at every frequency $T$ (hence the term "black"). According to Kirchhoff's law of thermal radiation, this entails that, for every frequency $B_{ν}(T)$, at thermodynamic equilibrium at temperature $X$, one has $Y$, so that the thermal radiation from a black body is always equal to the full amount specified by Planck's law. No physical body can emit thermal radiation that exceeds that of a black body, since if it were in equilibrium with a radiation field, it would be emitting more energy than was incident upon it.

Though perfectly black materials do not exist, in practice a black surface can be accurately approximated. As to its material interior, a body of condensed matter, liquid, solid, or plasma, with a definite interface with its surroundings, is completely black to radiation if it is completely opaque. That means that it absorbs all of the radiation that penetrates the interface of the body with its surroundings, and enters the body. This is not too difficult to achieve in practice. On the other hand, a perfectly black interface is not found in nature. A perfectly black interface reflects no radiation, but transmits all that falls on it, from either side. The best practical way to make an effectively black interface is to simulate an 'interface' by a small hole in the wall of a large cavity in a completely opaque rigid body of material that does not reflect perfectly at any frequency, with its walls at a controlled temperature. Beyond these requirements, the component material of the walls is unrestricted. Radiation entering the hole has almost no possibility of escaping the cavity without being absorbed by multiple impacts with its walls.

Lambert's cosine law
As explained by Planck, a radiating body has an interior consisting of matter, and an interface with its contiguous neighbouring material medium, which is usually the medium from within which the radiation from the surface of the body is observed. The interface is not composed of physical matter but is a theoretical conception, a mathematical two-dimensional surface, a joint property of the two contiguous media, strictly speaking belonging to neither separately. Such an interface can neither absorb nor emit, because it is not composed of physical matter; but it is the site of reflection and transmission of radiation, because it is a surface of discontinuity of optical properties. The reflection and transmission of radiation at the interface obey the Stokes–Helmholtz reciprocity principle.

At any point in the interior of a black body located inside a cavity in thermodynamic equilibrium at temperature $T$ the radiation is homogeneous, isotropic and unpolarized. A black body absorbs all and reflects none of the electromagnetic radiation incident upon it. According to the Helmholtz reciprocity principle, radiation from the interior of a black body is not reflected at its surface, but is fully transmitted to its exterior. Because of the isotropy of the radiation in the body's interior, the spectral radiance of radiation transmitted from its interior to its exterior through its surface is independent of direction.

This is expressed by saying that radiation from the surface of a black body in thermodynamic equilibrium obeys Lambert's cosine law. This means that the spectral flux $I_{ν,Y}(T_{Y}) = B_{ν}(T)$ from a given infinitesimal element of area $ε_{ν,X}(T_{X})$ of the actual emitting surface of the black body, detected from a given direction that makes an angle $X$ with the normal to the actual emitting surface at $T_{X} = T$, into an element of solid angle of detection $I_{ν,X}(T_{X}) = I_{ν,X}(T) = ε_{ν,X}(T) B_{ν}(T)$ centred on the direction indicated by $T = T_{X} = T_{Y}$, in an element of frequency bandwidth $q(ν,T_{X},T_{Y}) = 0$, can be represented as $$\frac{d \Phi(dA,\theta,d\Omega,d\nu)}{d\Omega} = L^0(dA,d\nu)\,dA\,d\nu\,\cos \theta$$ where $T = T_{X} = T_{Y}$ denotes the flux, per unit area per unit frequency per unit solid angle, that area $T = T_{X} = T_{Y}$ would show if it were measured in its normal direction $α_{ν,X}(T)$.

The factor $X$ is present because the area to which the spectral radiance refers directly is the projection, of the actual emitting surface area, onto a plane perpendicular to the direction indicated by $T$. This is the reason for the name cosine law.

Taking into account the independence of direction of the spectral radiance of radiation from the surface of a black body in thermodynamic equilibrium, one has $T$ and so $$\frac{d \Phi(dA,\theta,d\Omega,d\nu)}{d\Omega} = B_\nu (T)\,dA\,d\nu\,\cos\theta.$$

Thus Lambert's cosine law expresses the independence of direction of the spectral radiance $B_{ν}(T)$ of the surface of a black body in thermodynamic equilibrium.

Stefan–Boltzmann law
The total power emitted per unit area at the surface of a black body ($B_{ν}(T)$) may be found by integrating the black body spectral flux found from Lambert's law over all frequencies, and over the solid angles corresponding to a hemisphere ($B$) above the surface. $$P=\int_0^\infty d\nu \int_h d\Omega\,B_\nu \cos(\theta)$$

The infinitesimal solid angle can be expressed in spherical polar coordinates: $$d\Omega = \sin(\theta) \, d\theta \, d\phi.$$ So that: $$P = \int_0^\infty d\nu \int_0^{\tfrac{\pi}{2}} d\theta \int_0^{2\pi}d\phi \, B_\nu(T) \cos(\theta)\sin(\theta) = \sigma T^4$$ where $$\sigma = \frac{2k_\mathrm{B}^4\pi^5}{15c^2h^3}\approx 5.670 400 \times 10^{-8}\, \mathrm{J\, s^{-1} m^{-2} K^{-4}}$$ is known as the Stefan–Boltzmann constant.

Radiative transfer
The equation of radiative transfer describes the way in which radiation is affected as it travels through a material medium. For the special case in which the material medium is in thermodynamic equilibrium in the neighborhood of a point in the medium, Planck's law is of special importance.

For simplicity, we can consider the linear steady state, without scattering. The equation of radiative transfer states that for a beam of light going through a small distance $ν$, energy is conserved: The change in the (spectral) radiance of that beam ($ν$) is equal to the amount removed by the material medium plus the amount gained from the material medium. If the radiation field is in equilibrium with the material medium, these two contributions will be equal. The material medium will have a certain emission coefficient and absorption coefficient.

The absorption coefficient $T$ is the fractional change in the intensity of the light beam as it travels the distance $α_{ν,B}(T) = ε_{ν,B}(T) = 1$, and has units of length−1. It is composed of two parts, the decrease due to absorption and the increase due to stimulated emission. Stimulated emission is emission by the material body which is caused by and is proportional to the incoming radiation. It is included in the absorption term because, like absorption, it is proportional to the intensity of the incoming radiation. Since the amount of absorption will generally vary linearly as the density $T$ of the material, we may define a "mass absorption coefficient" $dΦ(dA, θ, dΩ, dν)$ which is a property of the material itself. The change in intensity of a light beam due to absorption as it traverses a small distance $dA$ will then be $$dI_\nu = -\kappa_\nu \rho I_\nu\,ds$$

The "mass emission coefficient" $θ$ is equal to the radiance per unit volume of a small volume element divided by its mass (since, as for the mass absorption coefficient, the emission is proportional to the emitting mass) and has units of power⋅solid angle−1⋅frequency−1⋅density−1. Like the mass absorption coefficient, it too is a property of the material itself. The change in a light beam as it traverses a small distance $dA$ will then be $$dI_\nu = j_\nu \rho\,ds$$

The equation of radiative transfer will then be the sum of these two contributions: $$\frac{dI_\nu}{ds}=j_\nu\rho-\kappa_\nu\rho I_\nu.$$

If the radiation field is in equilibrium with the material medium, then the radiation will be homogeneous (independent of position) so that $dΩ$ and: $$\kappa_\nu B_\nu = j_\nu$$ which is another statement of Kirchhoff's law, relating two material properties of the medium, and which yields the radiative transfer equation at a point around which the medium is in thermodynamic equilibrium: $$\frac{dI_\nu}{ds}=\kappa_\nu\rho(B_\nu-I_\nu).$$

Einstein coefficients
The principle of detailed balance states that, at thermodynamic equilibrium, each elementary process is equilibrated by its reverse process.

In 1916, Albert Einstein applied this principle on an atomic level to the case of an atom radiating and absorbing radiation due to transitions between two particular energy levels, giving a deeper insight into the equation of radiative transfer and Kirchhoff's law for this type of radiation. If level 1 is the lower energy level with energy $θ$, and level 2 is the upper energy level with energy $dν$, then the frequency $L^{0}(dA, dν)$ of the radiation radiated or absorbed will be determined by Bohr's frequency condition: $$E_2 - E_1 = h \nu.$$

If $dA$ and $θ = 0$ are the number densities of the atom in states 1 and 2 respectively, then the rate of change of these densities in time will be due to three processes:
 * Spontaneous emission :
 * $$\left(\frac{dn_1}{dt}\right)_\mathrm{spon}=A_{21} n_2$$

 * Stimulated emission :
 * $$\left(\frac{dn_1}{dt}\right)_\mathrm{stim}=B_{21} n_2 u_\nu$$

 * Photo-absorption :
 * $$\left(\frac{dn_2}{dt}\right)_\mathrm{abs}=B_{12} n_1 u_\nu$$

where $cos θ$ is the spectral energy density of the radiation field. The three parameters $θ$, $L^{0}(dA, dν) = B_{ν}(T)$ and $B_{ν} (T)$, known as the Einstein coefficients, are associated with the photon frequency $P$ produced by the transition between two energy levels (states). As a result, each line in a spectrum has its own set of associated coefficients. When the atoms and the radiation field are in equilibrium, the radiance will be given by Planck's law and, by the principle of detailed balance, the sum of these rates must be zero: $$0 = A_{21}n_2 + B_{21}n_2 \frac{4\pi}{c}B_\nu(T) - B_{12}n_1 \frac{4\pi}{c}B_\nu(T)$$

Since the atoms are also in equilibrium, the populations of the two levels are related by the Boltzmann factor: $$\frac{n_2}{n_1}=\frac{g_2}{g_1} e^{-h\nu/k_\mathrm{B} T}$$ where $h$ and $ds$ are the multiplicities of the respective energy levels. Combining the above two equations with the requirement that they be valid at any temperature yields two relationships between the Einstein coefficients: $$\frac{A_{21}}{B_{21}}=\frac{8\pi h\nu^3}{c^3}$$ $$\frac{B_{21}}{B_{12}}=\frac{g_1}{g_2}$$ so that knowledge of one coefficient will yield the other two.

For the case of isotropic absorption and emission, the emission coefficient ($I_{ν}$) and absorption coefficient ($α$) defined in the radiative transfer section above, can be expressed in terms of the Einstein coefficients. The relationships between the Einstein coefficients will yield the expression of Kirchhoff's law expressed in the Radiative transfer section above, namely that$$j_\nu=\kappa_\nu B_\nu.$$

These coefficients apply to both atoms and molecules.

Peaks
The distributions $ds$, $ρ$, $κ_{ν} = α⁄ρ$ and $ds$ peak at a photon energy of $$E = \left[ 3 + W \left(-3 e^{-3} \right) \right] k_\mathrm{B}T \approx 2.821\ k_\mathrm{B}T,$$where $j_{ν}$ is the Lambert W function and $ds$ is Euler's number.

However, the distribution $dI_{ν} = 0$ peaks at a different energy $$E = \left[ 5 + W \left(-5 e^{-5} \right) \right] k_\mathrm{B}T \approx 4.965\ k_\mathrm{B}T,$$The reason for this is that, as mentioned above, one cannot go from (for example) $E_{1}$ to $E_{2}$ simply by substituting $ν$ by $n_{1}$. In addition, one must also multiply by $\left | {d\nu}/{d\lambda} \right| = c/{\lambda^2}$, which shifts the peak of the distribution to higher energies. These peaks are the mode energy of a photon, when binned using equal-size bins of frequency or wavelength, respectively. Dividing $n_{2}$ ($ν$) by these energy expression gives the wavelength of the peak.

The spectral radiance at these peaks is given by:

\begin {align} B_{\nu,\text{max}}(T) &= \frac{ 2k_\mathrm{B}^3T^3x^3}{h^2c^2} \frac{1}{e^x - 1}\\ &\approx 1.896\times 10^{-19} \frac{\mathrm{W}}{\mathrm{m^2 \cdot Hz \cdot sr}} \times (T/\mathrm{K})^3\\ \end {align}$$ with $$x=3+W(-3e^{-3}),$$ and$$ \begin {align} B_{\lambda,\text{max}}(T) &=\frac{2k_\mathrm{B}^5T^5x^5}{h^4c^3}\frac 1{e^x - 1}\\ &\approx 4.096 \times 10^{-6} \frac{\text{W}}{\text{m}^2 \cdot \text{sr} } \times ~(T/\text{K})^5 \end {align}$$with $$x=5+W(-5e^{-5}).$$

Meanwhile, the average energy of a photon from a blackbody is$$E = \left[\frac{\pi^4}{30\ \zeta(3)}\right] k_\mathrm{B}T \approx 2.701\ k_\mathrm{B}T,$$where $$\zeta$$ is the Riemann zeta function.

Approximations
In the limit of low frequencies (i.e. long wavelengths), Planck's law becomes the Rayleigh–Jeans law $$ B_\nu(T) \approx \frac{2 \nu^2 }{c^2} k_\mathrm{B} T$$ or $$ B_\lambda(T) \approx \frac{2c}{\lambda^4} k_\mathrm{B} T$$

The radiance increases as the square of the frequency, illustrating the ultraviolet catastrophe. In the limit of high frequencies (i.e. small wavelengths) Planck's law tends to the Wien approximation: $$B_\nu(T) \approx \frac{2 h \nu^3}{c^2} e^{-\frac{h \nu}{k_\mathrm{B}T}}$$ or $$B_\lambda(T) \approx \frac{2 h c^2}{\lambda^5} e^{-\frac{hc}{\lambda k_\mathrm{B} T}}.$$

Percentiles
Wien's displacement law in its stronger form states that the shape of Planck's law is independent of temperature. It is therefore possible to list the percentile points of the total radiation as well as the peaks for wavelength and frequency, in a form which gives the wavelength $u_{ν}$ when divided by temperature $A_{21}$. The second column of the following table lists the corresponding values of $B_{21}$, that is, those values of $B_{12}$ for which the wavelength $ν$ is $g_{1}$ micrometers at the radiance percentile point given by the corresponding entry in the first column.

That is, 0.01% of the radiation is at a wavelength below $g_{2}$ μm, 20% below $j_{ν}$, etc. The wavelength and frequency peaks are in bold and occur at 25.0% and 64.6% respectively. The 41.8% point is the wavelength-frequency-neutral peak (i.e. the peak in power per unit change in logarithm of wavelength or frequency). These are the points at which the respective Planck-law functions $κ_{ν}$, $B_{ν}$ and $B_{ω}$, respectively, divided by $B_{ν̃}$ attain their maxima. The much smaller gap in ratio of wavelengths between 0.1% and 0.01% (1110 is 22% more than 910) than between 99.9% and 99.99% (113374 is 120% more than 51613) reflects the exponential decay of energy at short wavelengths (left end) and polynomial decay at long.

Which peak to use depends on the application. The conventional choice is the wavelength peak at 25.0% given by Wien's displacement law in its weak form. For some purposes the median or 50% point dividing the total radiation into two-halves may be more suitable. The latter is closer to the frequency peak than to the wavelength peak because the radiance drops exponentially at short wavelengths and only polynomially at long. The neutral peak occurs at a shorter wavelength than the median for the same reason.

Comparison to solar spectrum
Solar radiation can be compared to black-body radiation at about 5778 K (but see graph). The table on the right shows how the radiation of a black body at this temperature is partitioned, and also how sunlight is partitioned for comparison. Also for comparison a planet modeled as a black body is shown, radiating at a nominal 288 K (15 °C) as a representative value of the Earth's highly variable temperature. Its wavelengths are more than twenty times that of the Sun, tabulated in the third column in micrometers (thousands of nanometers).

That is, only 1% of the Sun's radiation is at wavelengths shorter than 296 nm, and only 1% at longer than 3728 nm. Expressed in micrometers this puts 98% of the Sun's radiation in the range from 0.296 to 3.728 μm. The corresponding 98% of energy radiated from a 288 K planet is from 5.03 to 79.5 μm, well above the range of solar radiation (or below if expressed in terms of frequencies $B_{k}$ instead of wavelengths $W$).

A consequence of this more-than-order-of-magnitude difference in wavelength between solar and planetary radiation is that filters designed to pass one and block the other are easy to construct. For example, windows fabricated of ordinary glass or transparent plastic pass at least 80% of the incoming 5778 K solar radiation, which is below 1.2 μm in wavelength, while blocking over 99% of the outgoing 288 K thermal radiation from 5 μm upwards, wavelengths at which most kinds of glass and plastic of construction-grade thickness are effectively opaque.

The Sun's radiation is that arriving at the top of the atmosphere (TOA). As can be read from the table, radiation below 400 nm, or ultraviolet, is about 8%, while that above 700 nm, or infrared, starts at about the 48% point and so accounts for 52% of the total. Hence only 40% of the TOA insolation is visible to the human eye. The atmosphere shifts these percentages substantially in favor of visible light as it absorbs most of the ultraviolet and significant amounts of infrared.

Photon gas
Consider a cube of side $e$ with conducting walls filled with electromagnetic radiation in thermal equilibrium at temperature $B_{λ}$. If there is a small hole in one of the walls, the radiation emitted from the hole will be characteristic of a perfect black body. We will first calculate the spectral energy density within the cavity and then determine the spectral radiance of the emitted radiation.

At the walls of the cube, the parallel component of the electric field and the orthogonal component of the magnetic field must vanish. Analogous to the wave function of a particle in a box, one finds that the fields are superpositions of periodic functions. The three wavelengths $B_{ν}$, $B_{λ}$, and $ν$, in the three directions orthogonal to the walls can be:$$\lambda_i = \frac{2L}{n_{i}},$$where the $λ$ are positive integers. For each set of integers $hc$ there are two linearly independent solutions (known as modes). The two modes for each set of these $λT$ correspond to the two polarization states of the photon which has a spin of 1. According to quantum theory, the total energy of a mode is given by:

The number $λkBT/hc$ can be interpreted as the number of photons in the mode. For $λ$ the energy of the mode is not zero. This vacuum energy of the electromagnetic field is responsible for the Casimir effect. In the following we will calculate the internal energy of the box at absolute temperature $T$.

According to statistical mechanics, the equilibrium probability distribution over the energy levels of a particular mode is given by:$$P_r =\frac{e^{-\beta E\left(r\right)}}{Z\left(\beta\right)}.$$where we use the reciprocal temperature$$\beta\ \stackrel{\mathrm{def}}{=}\ \frac{1}{k_\mathrm{B}T}.$$The denominator $λT$, is the partition function of a single mode. It makes $x$ properly normalized, and can be evaluated as$$Z\left(\beta\right)=\sum_{r=0}^{\infty} e^{-\beta E\left(r\right)}=\frac{e^{-\beta\varepsilon/2}}{1-e^{-\beta\varepsilon}},$$with

being the energy of a single photon. The average energy in a mode can be obtained from the partition function:$$\left\langle E\right\rangle=-\frac{d\log\left(Z\right)}{d\beta}= \frac{\varepsilon}{2} + \frac{\varepsilon}{e^{\beta\varepsilon}-1}.$$This formula, apart from the first vacuum energy term, is a special case of the general formula for particles obeying Bose–Einstein statistics. Since there is no restriction on the total number of photons, the chemical potential is zero.

If we measure the energy relative to the ground state, the total energy in the box follows by summing $λ$ over all allowed single photon states. This can be done exactly in the thermodynamic limit as $x⁄T$ approaches infinity. In this limit, $910⁄T$ becomes continuous and we can then integrate $2676⁄T μm$ over this parameter. To calculate the energy in the box in this way, we need to evaluate how many photon states there are in a given energy range. If we write the total number of single photon states with energies between $1⁄λ^{5}$ and $ν^{3}$ as $ν^{2}⁄λ^{2}$, where $exp(hν⁄k_{B}T) − 1$ is the density of states (which is evaluated below), then the total energy is given by

To calculate the density of states we rewrite equation ($14,387.77 μm·K$) as follows:$$\varepsilon\ {=}\ \frac{hc}{2L}n,$$where $λ$ is the norm of the vector $λ$.

For every vector $ν = c⁄λ$ with integer components larger than or equal to zero, there are two photon states. This means that the number of photon states in a certain region of $λ$-space is twice the volume of that region. An energy range of $L$ corresponds to shell of thickness $T$ in $λ_{1}$-space. Because the components of $λ_{2}$ have to be positive, this shell spans an octant of a sphere. The number of photon states $λ_{3}$, in an energy range $n_{i}$, is thus given by:$$g(\varepsilon)\,d\varepsilon=2\frac{1}{8}4\pi n^{2}\,dn = \frac{8\pi L^3}{h^3 c^3} \varepsilon^{2} \, d\varepsilon.$$Inserting this in Eq. ($$) and dividing by volume $n_{i}$ gives the total energy density$$\frac{U}{V} = \int_0^\infty u_\nu(T)\, d\nu,$$where the frequency-dependent spectral energy density $n_{i}$ is given by$$u_\nu(T) = {8\pi h\nu^3\over c^3}{1\over e^{h\nu/k_\mathrm{B}T} - 1}.$$Since the radiation is the same in all directions, and propagates at the speed of light, the spectral radiance of radiation exiting the small hole is$$B_\nu(T) = \frac{u_\nu(T) c}{4\pi},$$which yields the Planck's law$$B_\nu(T) = \frac{2 h\nu^3 }{c^2}~\frac{1}{e^{h\nu/k_\mathrm{B}T}-1}.$$Other forms of the law can be obtained by change of variables in the total energy integral. The above derivation is based on.

Dipole approximation and Einstein Coefficients
For the non-degenerate case, A and B coefficients can be calculated using dipole approximation in time dependent perturbation theory in quantum mechanics. Calculation of A also requires second quantization since semi-classical theory cannot explain spontaneous emission which does not go to zero as perturbing field goes to zero. The transition rates hence calculated are (in SI units):
 * $$w_{i \rightarrow f}^{s.emi} = \frac{\omega_{if}^3 e^2}{3 \pi \epsilon_0 \hbar c^3} |\langle f|\vec{r}| i\rangle|^2 = A_{if}$$
 * $$w_{i \rightarrow f}^{abs} = \frac{u(\omega_{fi}) \pi e^2}{3 \epsilon_0 \hbar^2} |\langle f|\vec{r}| i\rangle|^2 = B^{abs}_{if} u(\omega_{fi})$$
 * $$w_{i \rightarrow f}^{emi} = \frac{u(\omega_{if})\pi e^2}{3 \epsilon_0 \hbar^2} |\langle f|\vec{r}| i\rangle|^2 = B^{emi}_{if} u(\omega_{if})$$

Note that the rate of transition formula depends on dipole moment operator. For higher order approximations, it involves quadrupole moment and other similar terms. The A and B coefficients (which correspond to angular frequency energy distribution) are hence:
 * $$A_{ab} = \frac{\omega_{ab}^3 e^2}{3 \pi \epsilon_0 \hbar c^3} |\langle a|\vec{r}| b\rangle|^2$$
 * $$B_{ab}=\frac{\pi e^2}{3 \epsilon_0 \hbar^2} |\langle a|\vec{r}| b\rangle|^2$$

where $$\omega_{ab}=\frac{E_a-E_b}\hbar $$ and A and B coefficients satisfy the given ratios for non degenerate case:
 * $$\frac{B_{12}}{B_{21}}=1$$ and $$\frac{A_{if}}{B}=\frac{\omega_{if}^3\hbar}{\pi^2 c^3}$$.

Another useful ratio is that from maxwell distribution which says that the number of particles in an energy level $$E $$ is proportional to the exponent of $$\beta E $$. Mathematically:
 * $$\frac{N_a}{N_b}= \frac{e^{-E_a\beta}}{e^{-E_b\beta}}=e^{\omega_{ba}\hbar\beta}$$

where $$N_a$$ and $$N_b$$ are number of occupied energy levels of $$E_a$$ and $$E_b$$ respectively, where $$E_b>E_a$$. Then, using: $$\frac{dN_b }{dt } =-A_{ba}N_b -N_bu(\omega_{ba})B_{ba}+N_au(\omega_{ba})B_{ab}= - N_b w_{b \rightarrow a}^{s.emi} -N_b w_{b \rightarrow a}^{emi} + N_a w_{a \rightarrow b}^{abs}$$

Solving for $$u$$ for equilibrium condition $$\frac{dN_b}{dt}= 0$$, and using the derived ratios, we get Planck's Law:
 * $$u_{\omega}(\omega,T)=\frac{\omega^3\hbar}{\pi^2 c^3} \frac{1}{e^{\omega\hbar\beta}-1}$$.

Balfour Stewart
In 1858, Balfour Stewart described his experiments on the thermal radiative emissive and absorptive powers of polished plates of various substances, compared with the powers of lamp-black surfaces, at the same temperature. Stewart chose lamp-black surfaces as his reference because of various previous experimental findings, especially those of Pierre Prevost and of John Leslie. He wrote "Lamp-black, which absorbs all the rays that fall upon it, and therefore possesses the greatest possible absorbing power, will possess also the greatest possible radiating power."

Stewart measured radiated power with a thermo-pile and sensitive galvanometer read with a microscope. He was concerned with selective thermal radiation, which he investigated with plates of substances that radiated and absorbed selectively for different qualities of radiation rather than maximally for all qualities of radiation. He discussed the experiments in terms of rays which could be reflected and refracted, and which obeyed the Helmholtz reciprocity principle (though he did not use an eponym for it). He did not in this paper mention that the qualities of the rays might be described by their wavelengths, nor did he use spectrally resolving apparatus such as prisms or diffraction gratings. His work was quantitative within these constraints. He made his measurements in a room temperature environment, and quickly so as to catch his bodies in a condition near the thermal equilibrium in which they had been prepared by heating to equilibrium with boiling water. His measurements confirmed that substances that emit and absorb selectively respect the principle of selective equality of emission and absorption at thermal equilibrium.

Stewart offered a theoretical proof that this should be the case separately for every selected quality of thermal radiation, but his mathematics was not rigorously valid. According to historian D. M. Siegel: "He was not a practitioner of the more sophisticated techniques of nineteenth-century mathematical physics; he did not even make use of the functional notation in dealing with spectral distributions." He made no mention of thermodynamics in this paper, though he did refer to conservation of vis viva. He proposed that his measurements implied that radiation was both absorbed and emitted by particles of matter throughout depths of the media in which it propagated. He applied the Helmholtz reciprocity principle to account for the material interface processes as distinct from the processes in the interior material. He concluded that his experiments showed that, in the interior of an enclosure in thermal equilibrium, the radiant heat, reflected and emitted combined, leaving any part of the surface, regardless of its substance, was the same as would have left that same portion of the surface if it had been composed of lamp-black. He did not mention the possibility of ideally perfectly reflective walls; in particular he noted that highly polished real physical metals absorb very slightly.

Gustav Kirchhoff
In 1859, not knowing of Stewart's work, Gustav Robert Kirchhoff reported the coincidence of the wavelengths of spectrally resolved lines of absorption and of emission of visible light. Importantly for thermal physics, he also observed that bright lines or dark lines were apparent depending on the temperature difference between emitter and absorber.

Kirchhoff then went on to consider bodies that emit and absorb heat radiation, in an opaque enclosure or cavity, in equilibrium at temperature $r$.

Here is used a notation different from Kirchhoff's. Here, the emitting power $r = 0$ denotes a dimensioned quantity, the total radiation emitted by a body labeled by index $T$ at temperature $Z(β)$. The total absorption ratio $P_{r}$ of that body is dimensionless, the ratio of absorbed to incident radiation in the cavity at temperature $⟨E⟩ − ε⁄2$. (In contrast with Balfour Stewart's, Kirchhoff's definition of his absorption ratio did not refer in particular to a lamp-black surface as the source of the incident radiation.) Thus the ratio $L$ of emitting power to absorption ratio is a dimensioned quantity, with the dimensions of emitting power, because $ε$ is dimensionless. Also here the wavelength-specific emitting power of the body at temperature $⟨E⟩ − ε⁄2$ is denoted by $ε$ and the wavelength-specific absorption ratio by $ε + dε$. Again, the ratio $g(ε) dε$ of emitting power to absorption ratio is a dimensioned quantity, with the dimensions of emitting power.

In a second report made in 1859, Kirchhoff announced a new general principle or law for which he offered a theoretical and mathematical proof, though he did not offer quantitative measurements of radiation powers. His theoretical proof was and still is considered by some writers to be invalid. His principle, however, has endured: it was that for heat rays of the same wavelength, in equilibrium at a given temperature, the wavelength-specific ratio of emitting power to absorption ratio has one and the same common value for all bodies that emit and absorb at that wavelength. In symbols, the law stated that the wavelength-specific ratio $g(ε)$ has one and the same value for all bodies, that is for all values of index $n$. In this report there was no mention of black bodies.

In 1860, still not knowing of Stewart's measurements for selected qualities of radiation, Kirchhoff pointed out that it was long established experimentally that for total heat radiation, of unselected quality, emitted and absorbed by a body in equilibrium, the dimensioned total radiation ratio $n = (n_{1}, n_{2}, n_{3})$, has one and the same value common to all bodies, that is, for every value of the material index $n$. Again without measurements of radiative powers or other new experimental data, Kirchhoff then offered a fresh theoretical proof of his new principle of the universality of the value of the wavelength-specific ratio $n$ at thermal equilibrium. His fresh theoretical proof was and still is considered by some writers to be invalid.

But more importantly, it relied on a new theoretical postulate of "perfectly black bodies", which is the reason why one speaks of Kirchhoff's law. Such black bodies showed complete absorption in their infinitely thin most superficial surface. They correspond to Balfour Stewart's reference bodies, with internal radiation, coated with lamp-black. They were not the more realistic perfectly black bodies later considered by Planck. Planck's black bodies radiated and absorbed only by the material in their interiors; their interfaces with contiguous media were only mathematical surfaces, capable neither of absorption nor emission, but only of reflecting and transmitting with refraction.

Kirchhoff's proof considered an arbitrary non-ideal body labeled $dε$ as well as various perfect black bodies labeled $dn = 2L⁄hc dε$. It required that the bodies be kept in a cavity in thermal equilibrium at temperature $n$. His proof intended to show that the ratio $n$ was independent of the nature $g(ε) dε$ of the non-ideal body, however partly transparent or partly reflective it was.

His proof first argued that for wavelength $dε$ and at temperature $V = L^{3}$, at thermal equilibrium, all perfectly black bodies of the same size and shape have the one and the same common value of emissive power $u_{ν}(T)$, with the dimensions of power. His proof noted that the dimensionless wavelength-specific absorption ratio $T$ of a perfectly black body is by definition exactly 1. Then for a perfectly black body, the wavelength-specific ratio of emissive power to absorption ratio $E(T, i)$ is again just $i$, with the dimensions of power. Kirchhoff considered, successively, thermal equilibrium with the arbitrary non-ideal body, and with a perfectly black body of the same size and shape, in place in his cavity in equilibrium at temperature $T$. He argued that the flows of heat radiation must be the same in each case. Thus he argued that at thermal equilibrium the ratio $a(T, i)$ was equal to $T$, which may now be denoted $E(T, i)⁄a(T, i)$, a continuous function, dependent only on $a(T, i)$ at fixed temperature $T$, and an increasing function of $E(λ, T, i)$ at fixed wavelength $a(λ, T, i)$, at low temperatures vanishing for visible but not for longer wavelengths, with positive values for visible wavelengths at higher temperatures, which does not depend on the nature $E(λ, T, i)⁄a(λ, T, i)$ of the arbitrary non-ideal body. (Geometrical factors, taken into detailed account by Kirchhoff, have been ignored in the foregoing.)

Thus Kirchhoff's law of thermal radiation can be stated: For any material at all, radiating and absorbing in thermodynamic equilibrium at any given temperature $E(λ, T, i)⁄a(λ, T, i)$, for every wavelength $i$, the ratio of emissive power to absorptive ratio has one universal value, which is characteristic of a perfect black body, and is an emissive power which we here represent by $E(T, i)⁄a(T, i)$. (For our notation $i$, Kirchhoff's original notation was simply $E(λ, T, i)⁄a(λ, T, i)$.)

Kirchhoff announced that the determination of the function $i$ was a problem of the highest importance, though he recognized that there would be experimental difficulties to be overcome. He supposed that like other functions that do not depend on the properties of individual bodies, it would be a simple function. That function $BB$ has occasionally been called 'Kirchhoff's (emission, universal) function',   though its precise mathematical form would not be known for another forty years, till it was discovered by Planck in 1900. The theoretical proof for Kirchhoff's universality principle was worked on and debated by various physicists over the same time, and later. Kirchhoff stated later in 1860 that his theoretical proof was better than Balfour Stewart's, and in some respects it was so. Kirchhoff's 1860 paper did not mention the second law of thermodynamics, and of course did not mention the concept of entropy which had not at that time been established. In a more considered account in a book in 1862, Kirchhoff mentioned the connection of his law with "Carnot's principle", which is a form of the second law.

According to Helge Kragh, "Quantum theory owes its origin to the study of thermal radiation, in particular to the "blackbody" radiation that Robert Kirchhoff had first defined in 1859–1860."

Empirical and theoretical ingredients for the scientific induction of Planck's law
In 1860, Kirchhoff predicted experimental difficulties for the empirical determination of the function that described the dependence of the black-body spectrum as a function only of temperature and wavelength. And so it turned out. It took some forty years of development of improved methods of measurement of electromagnetic radiation to get a reliable result.

In 1865, John Tyndall described radiation from electrically heated filaments and from carbon arcs as visible and invisible. Tyndall spectrally decomposed the radiation by use of a rock salt prism, which passed heat as well as visible rays, and measured the radiation intensity by means of a thermopile.

In 1880, André-Prosper-Paul Crova published a diagram of the three-dimensional appearance of the graph of the strength of thermal radiation as a function of wavelength and temperature. He determined the spectral variable by use of prisms. He analyzed the surface through what he called "isothermal" curves, sections for a single temperature, with a spectral variable on the abscissa and a power variable on the ordinate. He put smooth curves through his experimental data points. They had one peak at a spectral value characteristic for the temperature, and fell either side of it towards the horizontal axis. Such spectral sections are widely shown even today.

In a series of papers from 1881 to 1886, Langley reported measurements of the spectrum of heat radiation, using diffraction gratings and prisms, and the most sensitive detectors that he could make. He reported that there was a peak intensity that increased with temperature, that the shape of the spectrum was not symmetrical about the peak, that there was a strong fall-off of intensity when the wavelength was shorter than an approximate cut-off value for each temperature, that the approximate cut-off wavelength decreased with increasing temperature, and that the wavelength of the peak intensity decreased with temperature, so that the intensity increased strongly with temperature for short wavelengths that were longer than the approximate cut-off for the temperature.

Having read Langley, in 1888, Russian physicist V.A. Michelson published a consideration of the idea that the unknown Kirchhoff radiation function could be explained physically and stated mathematically in terms of "complete irregularity of the vibrations of ... atoms". At this time, Planck was not studying radiation closely, and believed in neither atoms nor statistical physics. Michelson produced a formula for the spectrum for temperature: $$I_\lambda=B_1 \theta^{\frac{3}{2}}\exp \left(-\frac{c}{\lambda^2\theta}\right)\lambda^{-6},$$ where $T$ denotes specific radiative intensity at wavelength $E(λ, T, i)⁄a(λ, T, i)$ and temperature $i$, and where $λ$ and $T$ are empirical constants.

In 1898, Otto Lummer and Ferdinand Kurlbaum published an account of their cavity radiation source. Their design has been used largely unchanged for radiation measurements to the present day. It was a platinum box, divided by diaphragms, with its interior blackened with iron oxide. It was an important ingredient for the progressively improved measurements that led to the discovery of Planck's law. A version described in 1901 had its interior blackened with a mixture of chromium, nickel, and cobalt oxides.

The importance of the Lummer and Kurlbaum cavity radiation source was that it was an experimentally accessible source of black-body radiation, as distinct from radiation from a simply exposed incandescent solid body, which had been the nearest available experimental approximation to black-body radiation over a suitable range of temperatures. The simply exposed incandescent solid bodies, that had been used before, emitted radiation with departures from the black-body spectrum that made it impossible to find the true black-body spectrum from experiments.

Planck's views before the empirical facts led him to find his eventual law
Planck first turned his attention to the problem of black-body radiation in 1897. Theoretical and empirical progress enabled Lummer and Pringsheim to write in 1899 that available experimental evidence was approximately consistent with the specific intensity law $E(λ, T, BB)$ where $a(λ, T, BB)$ and $E(λ, T, BB)⁄a(λ, T, BB)$ denote empirically measurable constants, and where $E(λ, T, BB)$ and $T$ denote wavelength and temperature respectively. For theoretical reasons, Planck at that time accepted this formulation, which has an effective cut-off of short wavelengths.

Gustav Kirchhoff was Max Planck's teacher and surmised that there was a universal law for blackbody radiation and this was called "Kirchhoff's challenge". Planck, a theorist, believed that Wilhelm Wien had discovered this law and Planck expanded on Wien's work presenting it in 1899 to the meeting of the German Physical Society. Experimentalists Otto Lummer, Ferdinand Kurlbaum, Ernst Pringsheim Sr., and Heinrich Rubens did experiments that appeared to support Wien's law especially at higher frequency short wavelengths which Planck so wholly endorsed at the German Physical Society that it began to be called the Wien-Planck Law. However, by September 1900, the experimentalists had proven beyond a doubt that the Wien-Planck law failed at the longer wavelengths. They would present their data on October 19. Planck was informed by his friend Rubens and quickly created a formula within a few days. In June of that same year, Lord Rayleigh had created a formula that would work for short lower frequency wavelengths based on the widely accepted theory of equipartition. So Planck submitted a formula combining both Rayleigh's Law (or a similar equipartition theory) and Wien's law which would be weighted to one or the other law depending on wavelength to match the experimental data. However, although this equation worked, Planck himself said unless he could explain the formula derived from a "lucky intuition" into one of "true meaning" in physics, it did not have true significance. Planck explained that thereafter followed the hardest work of his life. Planck did not believe in atoms, nor did he think the second law of thermodynamics should be statistical because probability does not provide an absolute answer, and Boltzmann's entropy law rested on the hypothesis of atoms and was statistical. But Planck was unable to find a way to reconcile his Blackbody equation with continuous laws such as Maxwell's wave equations. So in what Planck called "an act of desperation", he turned to Boltzmann's atomic law of entropy as it was the only one that made his equation work. Therefore, he used the Boltzmann constant k and his new constant h to explain the blackbody radiation law which became widely known through his published paper.

Finding the empirical law
Max Planck produced his law on 19 October 1900 as an improvement upon the Wien approximation, published in 1896 by Wilhelm Wien, which fit the experimental data at short wavelengths (high frequencies) but deviated from it at long wavelengths (low frequencies). In June 1900, based on heuristic theoretical considerations, Rayleigh had suggested a formula that he proposed might be checked experimentally. The suggestion was that the Stewart–Kirchhoff universal function might be of the form $E(λ, T, i)⁄a(λ, T, i)$. This was not the celebrated Rayleigh–Jeans formula $E(λ, T, BB)$, which did not emerge until 1905, though it did reduce to the latter for long wavelengths, which are the relevant ones here. According to Klein, one may speculate that it is likely that Planck had seen this suggestion though he did not mention it in his papers of 1900 and 1901. Planck would have been aware of various other proposed formulas which had been offered. On 7 October 1900, Rubens told Planck that in the complementary domain (long wavelength, low frequency), and only there, Rayleigh's 1900 formula fitted the observed data well.

For long wavelengths, Rayleigh's 1900 heuristic formula approximately meant that energy was proportional to temperature, $B_{λ} (λ, T)$. It is known that $λ$ and this leads to $T$ and thence to $T$ for long wavelengths. But for short wavelengths, the Wien formula leads to $λ$ and thence to $i$ for short wavelengths. Planck perhaps patched together these two heuristic formulas, for long and for short wavelengths, to produce a formula $$\frac{d^2 S}{dU_{\lambda}^2}=\frac{\alpha}{U_{\lambda}(\beta+U_{\lambda})}.$$

This led Planck to the formula $$B_\lambda(T) =\frac{C\lambda^{-5}}{e^{\frac{c}{\lambda T}} - 1},$$ where Planck used the symbols $T$ and $λ$ to denote empirical fitting constants.

Planck sent this result to Rubens, who compared it with his and Kurlbaum's observational data and found that it fitted for all wavelengths remarkably well. On 19 October 1900, Rubens and Kurlbaum briefly reported the fit to the data, and Planck added a short presentation to give a theoretical sketch to account for his formula. Within a week, Rubens and Kurlbaum gave a fuller report of their measurements confirming Planck's law. Their technique for spectral resolution of the longer wavelength radiation was called the residual ray method. The rays were repeatedly reflected from polished crystal surfaces, and the rays that made it all the way through the process were 'residual', and were of wavelengths preferentially reflected by crystals of suitably specific materials.

Trying to find a physical explanation of the law
Once Planck had discovered the empirically fitting function, he constructed a physical derivation of this law. His thinking revolved around entropy rather than being directly about temperature. Planck considered a cavity with perfectly reflective walls; inside the cavity, there are finitely many distinct but identically constituted resonant oscillatory bodies of definite magnitude, with several such oscillators at each of finitely many characteristic frequencies. These hypothetical oscillators were for Planck purely imaginary theoretical investigative probes, and he said of them that such oscillators do not need to "really exist somewhere in nature, provided their existence and their properties are consistent with the laws of thermodynamics and electrodynamics.". Planck did not attribute any definite physical significance to his hypothesis of resonant oscillators but rather proposed it as a mathematical device that enabled him to derive a single expression for the black body spectrum that matched the empirical data at all wavelengths. He tentatively mentioned the possible connection of such oscillators with atoms. In a sense, the oscillators corresponded to Planck's speck of carbon; the size of the speck could be small regardless of the size of the cavity, provided the speck effectively transduced energy between radiative wavelength modes.

Partly following a heuristic method of calculation pioneered by Boltzmann for gas molecules, Planck considered the possible ways of distributing electromagnetic energy over the different modes of his hypothetical charged material oscillators. This acceptance of the probabilistic approach, following Boltzmann, for Planck was a radical change from his former position, which till then had deliberately opposed such thinking proposed by Boltzmann. In Planck's words, "I considered the [quantum hypothesis] a purely formal assumption, and I did not give it much thought except for this: that I had obtained a positive result under any circumstances and at whatever cost." Heuristically, Boltzmann had distributed the energy in arbitrary merely mathematical quanta $B_{λ} (λ, T)$, which he had proceeded to make tend to zero in magnitude, because the finite magnitude $B_{λ} (λ, T)$ had served only to allow definite counting for the sake of mathematical calculation of probabilities, and had no physical significance. Referring to a new universal constant of nature, $e$, Planck supposed that, in the several oscillators of each of the finitely many characteristic frequencies, the total energy was distributed to each in an integer multiple of a definite physical unit of energy, $B_{λ} (λ, T)$, characteristic of the respective characteristic frequency. His new universal constant of nature, $B_{λ} (λ, T)$, is now known as the Planck constant.

Planck explained further that the respective definite unit, $I_{λ}$, of energy should be proportional to the respective characteristic oscillation frequency $λ$ of the hypothetical oscillator, and in 1901 he expressed this with the constant of proportionality $θ$: $$\epsilon=h\nu.$$

Planck did not propose that light propagating in free space is quantized. The idea of quantization of the free electromagnetic field was developed later, and eventually incorporated into what we now know as quantum field theory.

In 1906, Planck acknowledged that his imaginary resonators, having linear dynamics, did not provide a physical explanation for energy transduction between frequencies. Present-day physics explains the transduction between frequencies in the presence of atoms by their quantum excitability, following Einstein. Planck believed that in a cavity with perfectly reflecting walls and with no matter present, the electromagnetic field cannot exchange energy between frequency components. This is because of the linearity of Maxwell's equations. Present-day quantum field theory predicts that, in the absence of matter, the electromagnetic field obeys nonlinear equations and in that sense does self-interact. Such interaction in the absence of matter has not yet been directly measured because it would require very high intensities and very sensitive and low-noise detectors, which are still in the process of being constructed. Planck believed that a field with no interactions neither obeys nor violates the classical principle of equipartition of energy, and instead remains exactly as it was when introduced, rather than evolving into a black body field. Thus, the linearity of his mechanical assumptions precluded Planck from having a mechanical explanation of the maximization of the entropy of the thermodynamic equilibrium thermal radiation field. This is why he had to resort to Boltzmann's probabilistic arguments.

Planck's law may be regarded as fulfilling the prediction of Gustav Kirchhoff that his law of thermal radiation was of the highest importance. In his mature presentation of his own law, Planck offered a thorough and detailed theoretical proof for Kirchhoff's law, theoretical proof of which until then had been sometimes debated, partly because it was said to rely on unphysical theoretical objects, such as Kirchhoff's perfectly absorbing infinitely thin black surface.

Subsequent events
It was not until five years after Planck made his heuristic assumption of abstract elements of energy or of action that Albert Einstein conceived of really existing quanta of light in 1905 as a revolutionary explanation of black-body radiation, of photoluminescence, of the photoelectric effect, and of the ionization of gases by ultraviolet light. In 1905, "Einstein believed that Planck's theory could not be made to agree with the idea of light quanta, a mistake he corrected in 1906." Contrary to Planck's beliefs of the time, Einstein proposed a model and formula whereby light was emitted, absorbed, and propagated in free space in energy quanta localized in points of space. As an introduction to his reasoning, Einstein recapitulated Planck's model of hypothetical resonant material electric oscillators as sources and sinks of radiation, but then he offered a new argument, disconnected from that model, but partly based on a thermodynamic argument of Wien, in which Planck's formula $B_{1}$ played no role. Einstein gave the energy content of such quanta in the form $c$. Thus Einstein was contradicting the undulatory theory of light held by Planck. In 1910, criticizing a manuscript sent to him by Planck, knowing that Planck was a steady supporter of Einstein's theory of special relativity, Einstein wrote to Planck: "To me it seems absurd to have energy continuously distributed in space without assuming an aether."

According to Thomas Kuhn, it was not till 1908 that Planck more or less accepted part of Einstein's arguments for physical as distinct from abstract mathematical discreteness in thermal radiation physics. Still in 1908, considering Einstein's proposal of quantal propagation, Planck opined that such a revolutionary step was perhaps unnecessary. Until then, Planck had been consistent in thinking that discreteness of action quanta was to be found neither in his resonant oscillators nor in the propagation of thermal radiation. Kuhn wrote that, in Planck's earlier papers and in his 1906 monograph, there is no "mention of discontinuity, [nor] of talk of a restriction on oscillator energy, [nor of] any formula like $Cλ^{−5}e^$." Kuhn pointed out that his study of Planck's papers of 1900 and 1901, and of his monograph of 1906, had led him to "heretical" conclusions, contrary to the widespread assumptions of others who saw Planck's writing only from the perspective of later, anachronistic, viewpoints. Kuhn's conclusions, finding a period till 1908, when Planck consistently held his 'first theory', have been accepted by other historians.

In the second edition of his monograph, in 1912, Planck sustained his dissent from Einstein's proposal of light quanta. He proposed in some detail that absorption of light by his virtual material resonators might be continuous, occurring at a constant rate in equilibrium, as distinct from quantal absorption. Only emission was quantal. This has at times been called Planck's "second theory".

It was not till 1919 that Planck in the third edition of his monograph more or less accepted his 'third theory', that both emission and absorption of light were quantal.

The colourful term "ultraviolet catastrophe" was given by Paul Ehrenfest in 1911 to the paradoxical result that the total energy in the cavity tends to infinity when the equipartition theorem of classical statistical mechanics is (mistakenly) applied to black-body radiation. But this had not been part of Planck's thinking, because he had not tried to apply the doctrine of equipartition: when he made his discovery in 1900, he had not noticed any sort of "catastrophe". It was first noted by Lord Rayleigh in 1900, and then in 1901 by Sir James Jeans; and later, in 1905, by Einstein when he wanted to support the idea that light propagates as discrete packets, later called 'photons', and by Rayleigh and by Jeans.

In 1913, Bohr gave another formula with a further different physical meaning to the quantity $C$. In contrast to Planck's and Einstein's formulas, Bohr's formula referred explicitly and categorically to energy levels of atoms. Bohr's formula was $c$ where $λ$ and $T$ denote the energy levels of quantum states of an atom, with quantum numbers $c_{1}Tλ^{−4}exp(–c_{2}⁄λT)$ and $8πk_{B}Tλ^{−4}$. The symbol $U_{λ} = const. T$ denotes the frequency of a quantum of radiation that can be emitted or absorbed as the atom passes between those two quantum states. In contrast to Planck's model, the frequency $$\nu$$ has no immediate relation to frequencies that might describe those quantum states themselves.

Later, in 1924, Satyendra Nath Bose developed the theory of the statistical mechanics of photons, which allowed a theoretical derivation of Planck's law. The actual word 'photon' was invented still later, by G.N. Lewis in 1926, who mistakenly believed that photons were conserved, contrary to Bose–Einstein statistics; nevertheless the word 'photon' was adopted to express the Einstein postulate of the packet nature of light propagation. In an electromagnetic field isolated in a vacuum in a vessel with perfectly reflective walls, such as was considered by Planck, indeed the photons would be conserved according to Einstein's 1905 model, but Lewis was referring to a field of photons considered as a system closed with respect to ponderable matter but open to exchange of electromagnetic energy with a surrounding system of ponderable matter, and he mistakenly imagined that still the photons were conserved, being stored inside atoms.

Ultimately, Planck's law of black-body radiation contributed to Einstein's concept of quanta of light carrying linear momentum, which became the fundamental basis for the development of quantum mechanics.

The above-mentioned linearity of Planck's mechanical assumptions, not allowing for energetic interactions between frequency components, was superseded in 1925 by Heisenberg's original quantum mechanics. In his paper submitted on 29 July 1925, Heisenberg's theory accounted for Bohr's above-mentioned formula of 1913. It admitted non-linear oscillators as models of atomic quantum states, allowing energetic interaction between their own multiple internal discrete Fourier frequency components, on the occasions of emission or absorption of quanta of radiation. The frequency of a quantum of radiation was that of a definite coupling between internal atomic meta-stable oscillatory quantum states. At that time, Heisenberg knew nothing of matrix algebra, but Max Born read the manuscript of Heisenberg's paper and recognized the matrix character of Heisenberg's theory. Then Born and Jordan published an explicitly matrix theory of quantum mechanics, based on, but in form distinctly different from, Heisenberg's original quantum mechanics; it is the Born and Jordan matrix theory that is today called matrix mechanics. Heisenberg's explanation of the Planck oscillators, as non-linear effects apparent as Fourier modes of transient processes of emission or absorption of radiation, showed why Planck's oscillators, viewed as enduring physical objects such as might be envisaged by classical physics, did not give an adequate explanation of the phenomena.

Nowadays, as a statement of the energy of a light quantum, often one finds the formula $dS⁄dU_{λ} = 1⁄T$, where $dS⁄dU_{λ} = const.⁄U_{λ}$, and $d^{2}S⁄dU_{λ}^{2} = −const.⁄U_{λ}^{2}$ denotes angular frequency,   and less often the equivalent formula $1⁄T = − const. ln U_{λ} + const.$. This statement about a really existing and propagating light quantum, based on Einstein's, has a physical meaning different from that of Planck's above statement $d^{2}S⁄dU_{λ}^{2} = − const.⁄U_{λ}$ about the abstract energy units to be distributed amongst his hypothetical resonant material oscillators.

An article by Helge Kragh published in Physics World gives an account of this history.

title: Planck's law