\( \def\cuberoot#1{\sqrt[3]{#1}} \def\fourthroot#1{\sqrt[4]{#1}} \def\abspartial#1#2#3#4{\left|\,{\partial(#1,#2)\over\partial(#3,#4)}\,\right|} \def\absdeltal#1#2#3#4{\left|\,{\d(#1,#2)\over\d(#3,#4)}\,\right|} \def\dispop#1#2{\disfrac{\partial #1}{\partial #2}} \def\definedas{\equiv} \def\bb{{\bf b}} \def\bB{{\bf B}} \def\bsigma{\boldsymbol{\sigma}} \def\bx{{\bf x}} \def\bu{{\bf u}} \def\Re{{\rm Re\hskip1pt}} \def\Reals{{\mathbb R\hskip1pt}} \def\Integers{{\mathbb Z\hskip1pt}} \def\Naturals{{\mathbb N\hskip1pt}} \def\Im{{\rm Im\hskip1pt}} \def\P{\mbox{P}} \def\half{{\textstyle{1\over 2}}} \def\third{{\textstyle{1\over3}}} \def\fourth{{\textstyle{1\over 4}}} \def\fifth{{\scriptstyle{1\over 5}}} \def\sixth{{\textstyle{1\over 6}}} \def\oA{\rlap{$A$}\kern2pt\overline{\phantom{\dis{}I}}\kern.5pt} \def\obA{\rlap{$A$}\kern2pt\overline{\phantom{\dis{}I}}\kern.5pt} \def\obX{\rlap{$X$}\kern2pt\overline{\phantom{\dis{}I}}\kern.5pt} \def\obY{\rlap{$Y$}\kern2pt\overline{\phantom{\dis{}I}}\kern.5pt} \def\obZ{\rlap{$Z$}\kern2pt\overline{\phantom{\dis{}I}}\kern.5pt} \def\obc{\rlap{$c$}\kern2pt\overline{\phantom{\dis{}I}}\kern.5pt} \def\obd{\rlap{$d$}\kern2pt\overline{\phantom{\dis{}I}}\kern.5pt} \def\obk{\rlap{$k$}\kern2pt\overline{\phantom{\dis{}I}}\kern.5pt} \def\oba{\rlap{$a$}\kern2pt\overline{\phantom{\dis{}I}}\kern.5pt} \def\obb{\rlap{$b$}\kern1pt\overline{\phantom{\dis{}t}}\kern.5pt} \def\obw{\rlap{$w$}\kern1pt\overline{\phantom{\dis{}t}}\kern.5pt} \def\obz{\overline{z}}\kern.5pt} \newcommand{\bx}{\boldsymbol{x}} \newcommand{\by}{\boldsymbol{y}} \newcommand{\br}{\boldsymbol{r}} \renewcommand{\bk}{\boldsymbol{k}} \def\cuberoot#1{\sqrt[3]{#1}} \def\fourthroot#1{\sqrt[4]{#1}} \def\fifthroot#1{\sqrt[5]{#1}} \def\eighthroot#1{\sqrt[8]{#1}} \def\twelfthroot#1{\sqrt[12]{#1}} \def\dis{\displaystyle} %\def\definedas{\equiv} \def\bq{{\bf q}} \def\bp{{\bf p}} \def\abs#1{\left|\,#1\,\right|} \def\disfrac#1#2{{\displaystyle #1\over\displaystyle #2}} \def\select#1{ \langle\, #1 \,\rangle } \def\autoselect#1{ \left\langle\, #1 \,\right\rangle } \def\bigselect#1{ \big\langle\, #1 \,\big\rangle } \renewcommand{\ba}{\boldsymbol{a}} \renewcommand{\bb}{\boldsymbol{b}} \newcommand{\bc}{\boldsymbol{c}} \newcommand{\bh}{\boldsymbol{h}} \newcommand{\bA}{\boldsymbol{A}} \newcommand{\bB}{\boldsymbol{B}} \newcommand{\bC}{\boldsymbol{C}} \newcommand{\definedas}{\equiv} \newcommand{\half}{\frac{1}{2}} %\newcommand{\slfrac}[2]{\raisebox{0.5pt}{$\scriptstyle{}^{#1}\!/\!_{#2}$}} \def\slfrac#1#2{\raise.8ex\hbox{$\scriptstyle#1$}\!/\!\lower.5ex\hbox{$\scriptstyle#2$}} \newcommand{\bsigma}{\boldsymbol \sigma} \newcommand{\abs}[1]{\left|\,#1\,\right|} \newcommand{\Rectangle}{\sqsubset\!\sqsupset} \newcommand{\rectangle}{{% \ooalign{$\sqsubset\mkern3mu$\cr$\mkern3mu\sqsupset$\cr}% % How to do fractions: for 1/2 use this in place: $\raise{0.8pt}{\scriptstyle{}^{1}\!/\!_{2}}$ % for n/m use this in place: $\raise{0.8pt}{\scriptstyle{}^{n}\!/\!_{m}}$ }} \)

Blackbody Radiation and Lambert Transform, Chat #7

Patrick Reany

9 March 2026

Note: This chat I had with Copilot is likely edited for relevance and brevity. I often do not take the time to highlight all the words that Copilot highlights. Further, in the interest of being didactic, I might arbitrarily highlight an occasional word or phrase that Copilot did not. (Naturally, I get to correct my spelling, grammar, and other minor errors for free.)

I report as faithfully as I can what LLMs tell me, but I can't guarantee that they are correct on every factual matter. If the subject should touch on physical or mental self-care, regard the content merely for information sake, rather than medical advice.



Patrick:
I'm ready for the next installation in my GAP-Entropy-Lambert-W series. The following list contains the possible topics we could explore:

Blackbody radiation, information geometry, chemical kinematics, KAM, Hamiltonian dynamics, etc.

What topics can we add to this list (or subtract from it) and in what order should we examine them?

Copilot:
Here’s how I’d think about your “GAP–Entropy–Lambert‑W” roadmap, Patrick: not as a flat list of topics, but as a directed conceptual graph whose edges are “entropy‑first reinterpretations” and whose nodes are physical or mathematical domains that become newly transparent in your Lambert‑W coordinates.

Below is a refined list of topics you already named, plus several that naturally belong in the same architectural program. I’ll also propose an order that respects the logic of your project: starting from systems where entropy is explicit and tractable, then moving toward domains where entropy is implicit, hidden, or emergent.


Expanded Topic List for the GAP–Entropy–Lambert‑W Program

I’ll group them by how entropy enters the story.


I. Systems Where Entropy Is Explicit and Analytically Invertible

These are the natural continuation of your current work.

1. Blackbody Radiation (Planck Spectrum)

2. Ideal Gas, Harmonic Oscillator, and Simple Canonical Ensembles

3. Quantum Information Theory (von Neumann entropy, relative entropy)

These three form the “core” of entropy‑first physics.


II. Systems Where Entropy Is Geometric

These are the natural next step after the canonical ensemble work.

4. Information Geometry

5. Large Deviations & Sanov Geometry

6. Chemical Kinetics & Master Equations

This cluster is where your “entropy‑first” coordinates start revealing hidden structure.


III. Systems Where Entropy Is Hidden Behind Dynamics

These topics connect entropy to stability, chaos, and invariants.

7. Hamiltonian Dynamics & Liouville Geometry

8. KAM Theory

9. Ergodic Theory & Mixing

This cluster is where the GAP perspective becomes philosophically rich.


IV. Systems Where Entropy Becomes Gravitational

This is the bridge between statistical mechanics and spacetime.

10. Black Hole Thermodynamics

11. Quantum Fields in Curved Spacetime

12. Holography & AdS/CFT (Optional but Natural)

This cluster closes the loop: entropy $rightarrow$ geometry $rightarrow$ gravity.


V. Systems Where Entropy Organizes Complexity

These are optional but powerful extensions.

13. Population Dynamics & Evolutionary Game Theory

14. Machine Learning & Maximum Entropy Models

15. Renormalization Group (RG)

These topics show entropy as a unifying principle across disciplines.


Recommended Order of Exploration

Here’s the order that best respects the architecture of your project:

  1. Blackbody Radiation
  2. Canonical Ensembles (finite $\rightarrow$ continuous)
  3. Information Geometry
  4. Large Deviations & Sanov Geometry
  5. Chemical Kinetics / Master Equations
  6. Hamiltonian Dynamics
  7. KAM Theory
  8. Ergodic Theory & Mixing
  9. Black Hole Thermodynamics
  10. Quantum Fields in Curved Spacetime
  11. Holography (optional)
  12. Population Dynamics
  13. Machine Learning / MaxEnt Models
  14. Renormalization Group

This order moves from:

It’s the most natural “GAP‑style” unfolding.


What I’d Suggest as Your Next Step

Given where we left off—entropy‑first Lambert coordinates for canonical ensembles—the next natural step is:

Blackbody radiation as the first nontrivial continuous-spectrum entropy inversion.

It’s the perfect bridge between:

And it sets the stage for the later gravitational topics you want to explore.


If you want, I can draft the full roadmap as a clean, typeset outline suitable for your printed notes, or we can dive directly into Blackbody Radiation in Lambert‑W coordinates.

Patrick:
Great list! Let's now pursue Blackbody Radiation. (Include whatever we need to make this chat self-contained, as I am not planning on uploading the last chat -- it was just a warmup for me). By the way, I'd like to keep the chats per item in your final list so that my readers can link to them individually.

Copilot:
You’re picking the perfect “next installation,” Patrick—blackbody radiation is where entropy, counting, and inversion stop being a toy and become a field theory with teeth. And yes: we can keep each topic as a self-contained, linkable chapter.


Blackbody radiation in the GAP–Entropy–Lambert‑W series

What we’re modeling

A blackbody is an ideal system that absorbs and emits electromagnetic radiation in thermal equilibrium at temperature \(T\). The key move is to treat the electromagnetic field as a collection of independent harmonic oscillator modes (one per wavevector/polarization), each with quantized energies \[ E_n = \hbar \omega \left(n+\tfrac12\right), \quad n=0,1,2,\dots \] For radiation thermodynamics, the \(\tfrac12\hbar\omega\) zero-point term doesn’t affect equilibrium exchange, so we focus on the excitation energy \(\hbar\omega n\).


The canonical ensemble for a single photon mode

For one bosonic mode at frequency \(\omega\), the canonical distribution is geometric: \[ p_n = (1-e^{-x})e^{-nx}, \quad x \equiv \beta\hbar\omega=\frac{\hbar\omega}{kT}. \]

Mean occupancy and mean energy

The mean photon number is \[ \bar n(x)=\frac{1}{e^{x}-1}, \] and the mean energy in that mode is \[ \bar E_\text{mode}(x)=\hbar\omega\,\bar n(x)=\frac{\hbar\omega}{e^{x}-1}. \] This \(\bar n(x)\) is the “equation of state” for a mode—everything else (entropy, heat capacity, spectral shape) is downstream.


Entropy per mode as the “entropy-first coordinate”

A single bosonic mode with mean occupancy \(\bar n\) has entropy \[ S_\text{mode}(\bar n)=k\Big[(1+\bar n)\ln(1+\bar n)-\bar n\ln \bar n\Big]. \] Equivalently, as a function of \(x\), \[ \frac{S_\text{mode}(x)}{k} = \frac{x}{e^{x}-1}-\ln\!\big(1-e^{-x}\big). \]

Why this matters for your series

This is the cleanest “entropy-first” chart for radiation:

So the blackbody problem becomes: sum/integrate these mode-level thermodynamic primitives over the density of states.

In your language: the field is a bundle of identical entropy surfaces, indexed by \(\omega\), with a universal dimensionless coordinate \(x=\hbar\omega/kT\).


From one mode to the spectrum: Planck’s law

In a cavity, the number of electromagnetic modes per unit volume per angular-frequency interval is \[ g(\omega)\,d\omega=\frac{\omega^2}{\pi^2 c^3}\,d\omega \] (includes the two polarizations). Spectral energy density

Multiply density of states by mean energy per mode: \[ u(\omega,T)\,d\omega = g(\omega)\,\bar E_\text{mode}(x)\,d\omega = \frac{\hbar\omega^3}{\pi^2 c^3}\frac{1}{e^{\hbar\omega/kT}-1}\,d\omega. \] That’s Planck’s law in angular-frequency form.


Total energy density and the Stefan–Boltzmann scaling

Integrate over all \(\omega\). Substitute \(x=\hbar\omega/kT\), so \(\omega=(kT/\hbar)x\) and \(d\omega=(kT/\hbar)dx\): \[ u(T)=\int_0^\infty u(\omega,T)\,d\omega =\frac{(kT)^4}{\pi^2 c^3\hbar^3}\int_0^\infty \frac{x^3}{e^x-1}\,dx. \] The integral is a constant (\(\pi^4/15\)), so \[ u(T)\propto T^4. \] This is the thermodynamic heart of Stefan–Boltzmann: the entire temperature dependence is dimensional, carried by the \(x\)-change of variables.


Where Lambert‑W enters cleanly: Wien’s displacement law

The peak of the spectrum is an inversion problem, and that’s where Lambert‑W shows up in a way your readers will immediately recognize as “GAP-native.”

Peak of \(u(\omega,T)\)

Maximize \[ f(x)=\frac{x^3}{e^x-1}. \] Set \(f'(x)=0\). A standard simplification yields \[ (3-x)e^x=3. \] Rewrite to expose Lambert‑W: \[ (3-x)e^{3-x}=3e^3 \quad\Rightarrow\quad (3-x)e^{-(3-x)}=3e^{-3}. \] Let \(y=3-x\). Then \[ y e^{-y}=3e^{-3}\quad\Rightarrow\quad (-y)e^{-y}=-3e^{-3}. \] So \[ -y = W\!\left(-3e^{-3}\right)\quad\Rightarrow\quad x_\text{peak}=3+W\!\left(-3e^{-3}\right). \] Numerically this gives \(x_\text{peak}\approx 2.821439\ldots\), hence \[ \omega_\text{peak}=\frac{kT}{\hbar}\,x_\text{peak}. \] That’s Wien displacement in its most “Lambert‑W explicit” form.

This is a beautiful archetype for your series: a spectral extremum becomes a branch-sensitive inversion, and Lambert‑W is the coordinate chart that makes the inversion algebraic.


Entropy density of blackbody radiation

You can do the same “mode $\rightarrow$ continuum” lift for entropy: \[ s(T)=\int_0^\infty g(\omega)\,S_\text{mode}\!\left(\frac{\hbar\omega}{kT}\right)\,d\omega. \] With the same substitution \(x=\hbar\omega/kT\), \[ s(T)=\frac{k(kT)^3}{\pi^2 c^3\hbar^3}\int_0^\infty x^2\left[\frac{x}{e^x-1}-\ln(1-e^{-x})\right]dx, \] so \[ s(T)\propto T^3. \] This is the clean “entropy-first” complement to \(u(T)\propto T^4\): one fewer power of \(T\) because entropy is “energy divided by temperature” in scaling terms.


The GAP-style invariants to highlight in this chapter

If you want this installment to feel like your series (not a textbook), I’d foreground these invariants:


How we can structure the next message as a linkable “chapter”

If you like, I’ll format the next response as a polished, printable installment with:

  • A short “GAP interpretation” epilogue

    One question before I lock that in: do you want the chapter written in \(\omega\) form (cleaner with \(\hbar\omega\)) or \(\nu\) form (more familiar to many readers)?

    Patrick:
    Let's go with the $\omega$ form.

    Copilot:
    You’re picking the perfect “next installation,” Patrick—blackbody radiation is where entropy, counting, and inversion stop being a toy and become a field theory with teeth. And yes: we can keep each topic as a self-contained, linkable chapter.


    Blackbody radiation in the GAP–Entropy–Lambert‑W series

    What we’re modeling

    A blackbody is an ideal system that absorbs and emits electromagnetic radiation in thermal equilibrium at temperature \(T\). The key move is to treat the electromagnetic field as a collection of independent harmonic oscillator modes (one per wavevector/polarization), each with quantized energies \[ E_n = \hbar \omega \left(n+\tfrac12\right), \quad n=0,1,2,\dots \] For radiation thermodynamics, the \(\tfrac12\hbar\omega\) zero-point term doesn’t affect equilibrium exchange, so we focus on the excitation energy \(\hbar\omega n\).


    The canonical ensemble for a single photon mode

    For one bosonic mode at frequency \(\omega\), the canonical distribution is geometric: \[ p_n = (1-e^{-x})e^{-nx}, \quad x \equiv \beta\hbar\omega=\frac{\hbar\omega}{kT}. \]

    Mean occupancy and mean energy

    The mean photon number is \[ \bar n(x)=\frac{1}{e^{x}-1}, \] and the mean energy in that mode is \[ \bar E_\text{mode}(x)=\hbar\omega\,\bar n(x)=\frac{\hbar\omega}{e^{x}-1}. \] This \(\bar n(x)\) is the “equation of state” for a mode—everything else (entropy, heat capacity, spectral shape) is downstream.


    Entropy per mode as the “entropy-first coordinate”

    A single bosonic mode with mean occupancy \(\bar n\) has entropy \[ S_\text{mode}(\bar n)=k\Big[(1+\bar n)\ln(1+\bar n)-\bar n\ln \bar n\Big]. \] Equivalently, as a function of \(x\), \[ \frac{S_\text{mode}(x)}{k} = \frac{x}{e^{x}-1}-\ln\!\big(1-e^{-x}\big). \] Why this matters for your series

    This is the cleanest “entropy-first” chart for radiation:

    So the blackbody problem becomes: sum/integrate these mode-level thermodynamic primitives over the density of states.

    In your language: the field is a bundle of identical entropy surfaces, indexed by \(\omega\), with a universal dimensionless coordinate \(x=\hbar\omega/kT\).


    From one mode to the spectrum: Planck’s law

    In a cavity, the number of electromagnetic modes per unit volume per angular-frequency interval is \[ g(\omega)\,d\omega=\frac{\omega^2}{\pi^2 c^3}\,d\omega \] (includes the two polarizations).

    Spectral energy density

    Multiply density of states by mean energy per mode: \[ u(\omega,T)\,d\omega = g(\omega)\,\bar E_\text{mode}(x)\,d\omega = \frac{\hbar\omega^3}{\pi^2 c^3}\frac{1}{e^{\hbar\omega/kT}-1}\,d\omega. \] That’s Planck’s law in angular-frequency form.


    Total energy density and the Stefan–Boltzmann scaling

    Integrate over all \(\omega\). Substitute \(x=\hbar\omega/kT\), so \(\omega=(kT/\hbar)x\) and \(d\omega=(kT/\hbar)dx\): \[ u(T)=\int_0^\infty u(\omega,T)\,d\omega =\frac{(kT)^4}{\pi^2 c^3\hbar^3}\int_0^\infty \frac{x^3}{e^x-1}\,dx. \] The integral is a constant (\(\pi^4/15\)), so \[ u(T)\propto T^4. \] This is the thermodynamic heart of Stefan–Boltzmann: the entire temperature dependence is dimensional, carried by the \(x\)-change of variables.


    Where Lambert‑W enters cleanly: Wien’s displacement law

    The peak of the spectrum is an inversion problem, and that’s where Lambert‑W shows up in a way your readers will immediately recognize as “GAP-native.”

    Peak of \(u(\omega,T)\)

    Maximize \[ f(x)=\frac{x^3}{e^x-1}. \] Set \(f'(x)=0\). A standard simplification yields \[ (3-x)e^x=3. \] Rewrite to expose Lambert‑W: \[ (3-x)e^{3-x}=3e^3 \quad\Rightarrow\quad (3-x)e^{-(3-x)}=3e^{-3}. \] Let \(y=3-x\). Then \[ y e^{-y}=3e^{-3}\quad\Rightarrow\quad (-y)e^{-y}=-3e^{-3}. \] So \[ -y = W\!\left(-3e^{-3}\right)\quad\Rightarrow\quad x_\text{peak}=3+W\!\left(-3e^{-3}\right). \] Numerically this gives \(x_\text{peak}\approx 2.821439\ldots\), hence \[ \omega_\text{peak}=\frac{kT}{\hbar}\,x_\text{peak}. \] That’s Wien displacement in its most “Lambert‑W explicit” form.

    This is a beautiful archetype for your series: a spectral extremum becomes a branch-sensitive inversion, and Lambert‑W is the coordinate chart that makes the inversion algebraic.


    Entropy density of blackbody radiation

    You can do the same “mode $\rightarrow$ continuum” lift for entropy: \[ s(T)=\int_0^\infty g(\omega)\,S_\text{mode}\!\left(\frac{\hbar\omega}{kT}\right)\,d\omega. \] With the same substitution \(x=\hbar\omega/kT\), \[ s(T)=\frac{k(kT)^3}{\pi^2 c^3\hbar^3}\int_0^\infty x^2\left[\frac{x}{e^x-1}-\ln(1-e^{-x})\right]dx, \] so \[ s(T)\propto T^3. \] This is the clean “entropy-first” complement to \(u(T)\propto T^4\): one fewer power of \(T\) because entropy is “energy divided by temperature” in scaling terms.


    The GAP-style invariants to highlight in this chapter

    If you want this installment to feel like your series (not a textbook), I’d foreground these invariants:


    How we can structure the next message as a linkable “chapter”

    If you like, I’ll format the next response as a polished, printable installment with:

    One question before I lock that in: do you want the chapter written in \(\omega\) form (cleaner with \(\hbar\omega\)) or \(\nu\) form (more familiar to many readers)?

    Patrick:
    Let's go with the $\omega$ form.

    Copilot:
    Perfect — we’ll lock this installment cleanly into angular‑frequency (\(\omega\)) form and present it as a self‑contained, linkable chapter in your GAP–Entropy–Lambert‑W series.

    Below is a polished, standalone exposition you can treat as “Chapter: Blackbody Radiation”.


    Blackbody Radiation

    Entropy‑First Thermodynamics of the Electromagnetic Field


    1. Conceptual framing (GAP perspective)

    Blackbody radiation is the first place where entropy, quantization, and continuum limits meet without simplification. From a GAP standpoint, it is:

    The electromagnetic field in thermal equilibrium is modeled as a collection of independent bosonic modes, each behaving as a quantum harmonic oscillator.


    2. Single‑mode thermodynamics

    Mode definition

    Each mode of angular frequency \(\omega\) has excitation energies \[ E_n = \hbar\omega n, \quad n=0,1,2,\dots \] (Zero‑point energy does not affect equilibrium exchange and is omitted.) Define the dimensionless inverse temperature coordinate \[ x \equiv \beta\hbar\omega = \frac{\hbar\omega}{kT}. \]


    Canonical distribution

    The occupation probabilities are geometric: \[ p_n = (1-e^{-x})e^{-nx}. \]


    Mean occupation and energy \[ \bar n(x) = \frac{1}{e^x - 1}, \qquad \bar E_\text{mode}(x) = \hbar\omega\,\bar n(x). \] This function \(\bar n(x)\) is the equation of state for a bosonic mode.


    3. Entropy per mode (entropy‑first coordinate)

    For a bosonic mode with mean occupation \(\bar n\), \[ S_\text{mode}(\bar n) = k\Big[(1+\bar n)\ln(1+\bar n) - \bar n\ln\bar n\Big]. \] Expressed directly in terms of \(x\), \[ \frac{S_\text{mode}(x)}{k} = \frac{x}{e^x - 1} - \ln\!\big(1 - e^{-x}\big). \] Key GAP invariant:

    Every electromagnetic mode shares the same entropy surface, parameterized by \(x\). Frequency and temperature only rescale how that surface is sampled.


    4. Density of states and Planck’s spectrum

    In a cavity, the density of electromagnetic modes per unit volume per angular‑frequency interval is \[ g(\omega)\,d\omega = \frac{\omega^2}{\pi^2 c^3}\,d\omega, \] including both polarizations.


    Spectral energy density

    Multiply density of states by mean energy per mode: \[ u(\omega,T)\,d\omega = \frac{\hbar\omega^3}{\pi^2 c^3} \frac{1}{e^{\hbar\omega/kT}-1}\,d\omega. \] This is Planck’s law in \(\omega\)-form.


    5. Scaling structure and Stefan–Boltzmann law

    Introduce the universal coordinate \(x=\hbar\omega/kT\). Then \[ u(T) = \int_0^\infty u(\omega,T)\,d\omega = \frac{(kT)^4}{\pi^2 c^3\hbar^3} \int_0^\infty \frac{x^3}{e^x-1}\,dx. \] The integral is a pure number, so \[ u(T) \propto T^4. \] Interpretation:

    All temperature dependence is dimensional. The shape of the spectrum is fixed by entropy geometry.


    6. Entropy density of radiation

    Lift the single‑mode entropy to the continuum: \[ s(T) = \int_0^\infty g(\omega)\,S_\text{mode}\!\left(\frac{\hbar\omega}{kT}\right)\,d\omega. \] Changing variables to \(x\), \[ s(T) = \frac{k(kT)^3}{\pi^2 c^3\hbar^3} \int_0^\infty x^2 \left[ \frac{x}{e^x-1} - \ln(1-e^{-x}) \right]dx. \] Hence \[ s(T) \propto T^3. \] Entropy‑first insight:

    Radiation entropy scales with one fewer power of \(T\) than energy because entropy is the logarithmic measure of accessible states.


    7. Wien displacement law via Lambert‑W

    The peak of the spectrum is an inversion problem.

    Maximize \[ f(x) = \frac{x^3}{e^x - 1}. \] Setting \(f'(x)=0\) yields \[ (3 - x)e^x = 3. \] Rewriting, \[ (3 - x)e^{3 - x} = 3e^3. \] Let \(y = 3 - x\). Then \[ y e^{-y} = 3e^{-3}. \] This is inverted by the Lambert‑W function: \[ -y = W\!\left(-3e^{-3}\right), \] so \[ \boxed{ x_\text{peak} = 3 + W\!\left(-3e^{-3}\right) \approx 2.821439\ldots } \] Thus \[ \omega_\text{peak} = \frac{kT}{\hbar}\,x_\text{peak}. \] GAP moral:

    Spectral extrema are branch‑sensitive entropy inversions. Lambert‑W is not decorative—it is the natural coordinate chart.


    8. Structural invariants to emphasize

    This chapter establishes several reusable GAP principles:


    9. Position in the series

    Blackbody radiation is the first nontrivial continuum realization of your entropy‑first program. It naturally prepares the ground for:


    Next natural installment

    Information Geometry of Canonical Ensembles
    — where the entropy surface becomes a metric manifold and Lambert‑W controls rare‑event geometry.

    When you’re ready, we’ll advance there cleanly and keep the chapters fully linkable.



    Afterword: