Plank's law

Plank obtained a formula to explain how a body emits different lights depending of its temperature.

u(ν,T)=8πhν3c3(1ehνkT1)

In this formula:

To understand, first, the problem solved by Plank: video of the ultraviolet catastrophe
In this video also appears the key steps in the reasoning of Plank:
Energy levels are discrete and can be represented as E=0,ϵ,2ϵ,3ϵ,4ϵ, or E=nϵ where n=1,2,3,
To calculate average energy, replace integrals with sums.
The continuous form for average energy is (taking into account Boltzmann distribution):

E¯=0EeE/kTdE0eE/kTdE

This is transformed into a discrete sum for quantized energy:

E¯=n=0nϵenϵ/kTn=0enϵ/kT

Another derivation of Plank's law, here

Alternative explanation

1. Blackbody radiation

See this video. It can be studied by means of a box with a hole.
boxhole
Inside the box, we have 3-dimensional standing waves at all possible frequencies (well, the corresponding wavelengths must satisfy that an integer number of half-wavelengths fit across each box dimension). In more detail, consider a rectangular box with sides of length Lx, Ly, and Lz. For standing waves, the wavelength λ along each dimension must satisfy boundary conditions that require the electric and magnetic fields to go to zero at the walls. This results in allowed wavelengths of the form:

λx=2Lxnx,λy=2Lyny,λz=2Lznz

where nx, ny, and nz are positive integers (1, 2, 3, ...). This means the possible standing wave modes in the box correspond to different combinations of these integers, each combination yielding a specific wavelength and, therefore, a specific frequency.
Each combination (nx,ny,nz) gives rise to a unique standing wave pattern with its own frequency f determined by:

f=cλ=cλx2+λy2+λz2

where c is the speed of light, and λ is the resultant wavelength from the combination of the three components.

This quantization in wavelengths means only discrete frequencies are allowed, but in a large box (where Lx, Ly, and Lz are significant), the spacing between these frequencies is very small. Thus, when we examine the energy distribution (especially in the thermal range), it can appear almost continuous.

On the other hand, it was observed that each frequency didn't have the same intensity. Something like this:
blackbody|600

These graphs were empirically constructed.

2. Classical explanation using Maxwell equations

See this video

Plank's solution

For every wavelength (or frequency), he assumed that the provided energy is quantized. With a fine quantization, there is no much loss of energy, but for a coarse quantization there is a big loss. So he postulated that the quantization should be proportional to frequency (inverse to wavelength). Graphically: (this video)
Pasted image 20241031133322.png
So for shorter wavelength the big loss of energy compensate to produce the observed curve, not that predicted by classical physics.

This was only a computational tool, which was explained later by Einstein together with the photoelectric effect.