What is "number degrees of freedom for frequency ν". Frequency is 1D right? The book QM Demystified states this about black body radiation spectrum:

An attempt to explain these results using classical theory was codified in the Rayleigh-Jeans formula, which is an expression that attempts to give us the energy density u(ν,T) of radiation in the cavity, where ν is frequency and T is the temperature. Qualitatively, it is formed as a product of two quantities:
u = number degrees of freedom for frequency ν * average energy per degree of freedom"

The * means multiplication here. What does degree of freedom of frequency mean here?
 A: I'm assuming that this section of the book is talking about the ultraviolet catastrophe, where an ideal black body in thermal equilibrium will emit an infinite amount of power through radiative means. The source goes on to say:

The ultraviolet catastrophe results from the equipartition theorem of classical statistical mechanics which states that all harmonic oscillator modes (degrees of freedom) of a system at equilibrium have an average energy of kT.

Following that:

According to classical electromagnetism, the number of electromagnetic modes in a 3-dimensional cavity, per unit frequency, is proportional to the square of the frequency. This therefore implies that the radiated power per unit frequency should follow the Rayleigh–Jeans law, and be proportional to frequency squared. Thus, both the power at a given frequency and the total radiated power is unlimited as higher and higher frequencies are considered: this is clearly unphysical as the total radiated power of a cavity is not observed to be infinite, a point that was made independently by Einstein and by Lord Rayleigh and Sir James Jeans in the year 1905.

Essentially, if in a cavity there are an infinite number of electromagnetic modes possible (think standing waves), the Equipartition Theorem says that a system in equilibrium has an average of $k_{b}T$ worth of energy per mode. This is not what's actually observed, since we don't see an infinite amount of power radiated. How was this solved:

Max Planck solved the problem by postulating that electromagnetic energy did not follow the classical description, but could only be emitted in discrete packets of energy proportional to the frequency, as given by Planck's law. The radiated power eventually goes to zero at infinite frequencies, and the total predicted power is finite.(1) The formula for the radiated power for the idealized system (black body) was in line with known experiments, and came to be called Planck's law of black body radiation. Based on past experiments, Planck was also able to determine the value of its parameter, now called Planck's constant. The packets of energy later came to be called photons, and played a key role in the quantum description of electromagnetism.(1)

