Two metals with the same outer shell, two different colours
Silver and gold sit in the same column of the periodic table. Each has ten d electrons in a filled shell and a single s electron on the outside, and both crystallise in the same face-centred cubic lattice with nearly the same spacing. Silver reflects the whole visible spectrum and looks white. Gold absorbs blue and violet light and looks yellow. Silver does start absorbing too, but only in the ultraviolet, near 3.9 eV. Gold's absorption begins about 1.5 eV lower, inside the visible range.
The difference comes from the 79 protons in gold's nucleus. They accelerate its inner electrons to more than half the speed of light. Once that happens, Schrödinger's equation is no longer accurate enough and Dirac's is required. The rest of this page follows that effect step by step, from the nucleus to the colour on your screen:
The code uses only three facts about gold from outside: the atomic number Z = 79, the lattice constant 4.078 Å, and the room-temperature resistivity. The resistivity sets the tiny Drude damping and barely affects the colour. The reference data further down (NIST atomic tables, published band energies) is used only to check the results. It is never fed into the calculation.
The Dirac equation, reduced to two radial functions
Dirac's relativistic wave equation for an electron in a potential \(V\) is a matrix equation for a four-component spinor:
In a spherical atom the angular part separates exactly. What remains are two coupled radial functions: a large component \(G = r g\) and a small component \(F = r f\). In atomic units (\(\hbar = m = e = 1\)), with energy measured from the rest mass:
The quantum number \(\kappa\) combines orbital and spin angular momentum. Each \(l > 0\) splits into two channels, \(j = l - \tfrac12\) (\(\kappa = l\)) and \(j = l + \tfrac12\) (\(\kappa = -l-1\)). That split is spin–orbit coupling, and nobody puts it in by hand; it falls out of the equation. The same is true of the mass–velocity and Darwin corrections. Near the nucleus the solution behaves as \(G \propto r^{\gamma}\) with \(\gamma = \sqrt{\kappa^{2} - (Z/c)^{2}}\). For gold's 1s electron that gives \(\gamma = 0.817\) instead of Schrödinger's 1.
This page uses one solver for both worlds. Setting \(c \to \infty\) (numerically \(c \times 10^{4}\)) turns the Dirac equation into Schrödinger's. So when the colour changes between the two, the speed of light is the only thing that changed.
Seventy-nine electrons, solved self-consistently
Each electron moves in the field of the nucleus plus the average field of the other 78. That field depends on where the electrons are, and where they are depends on the field. The loop is run until the two agree (Kohn–Sham density-functional theory, with local-density exchange and correlation):
From one atom to a crystal: relativistic LMTO bands
In the solid, each atom sits in a Wigner–Seitz sphere of radius \(S\) (3.01 bohr for gold). Inside the sphere, the Dirac equation is solved at every energy, and the result is summarised by how the wave leaves the sphere, the logarithmic derivative \(D_\kappa(E) = S\,g'(S)/g(S)\). Andersen's linear muffin-tin orbital (LMTO) method turns that into a potential function, and a crystal state exists wherever the potential function matches the lattice's canonical structure constants:
The structure constants \(S(\mathbf k)\) depend only on the geometry of the fcc lattice. All of the chemistry, and all of the relativity, enters through \(C_\kappa\), \(\Delta_\kappa\) and \(\gamma_\kappa\). The valence charge from the filled bands is fed back into the sphere potential and the cycle repeated until it converges.
Potential parameters and self-consistency log
Band energies are not excitation energies
Kohn–Sham eigenvalues describe the ground state. When light knocks a d electron up to the Fermi level, it leaves a hole in a fairly localised d shell, and the surrounding electrons relax around it. Local-density eigenvalues miss that relaxation. They put the gold d bands too close to the Fermi level, a known shortfall of about 1 eV in the 5d–6sp gap (Rangel et al., 2012). With Kohn–Sham bands alone, the computed gold comes out grey.
The fix used here is also computed from scratch. It is Slater's transition-state idea: the excitation energy equals the eigenvalue difference taken halfway through the transition. In a metal the excited electron stays nearby and screens the hole, so the halfway atom is neutral, \(5d^{9.5}6s^{1.5}\). The difference between its potential and the ground-state potential is a self-energy potential, trimmed to the ion core. It is added to the crystal potential:
How the metal answers light: ε(ω) and reflectance
Light at frequency ω can be absorbed when it lifts an electron from a filled band to an empty one. Fermi's golden rule adds up every such transition across the Brillouin zone. The momentum matrix elements come from the same Hamiltonian, as \(\partial H/\partial\mathbf k\) plus on-site dipoles from the radial Dirac functions. The free electrons at the Fermi surface add a Drude term. Its plasma frequency is also computed from the bands, as an average of the squared Fermi velocity.
From a spectrum to a colour you can see
The eye reduces any spectrum to three numbers. The reflectance is multiplied by a daylight illuminant (a 6504 K black body) and weighted with the CIE 1931 colour-matching functions to give tristimulus values X, Y, Z. Those are converted to sRGB and white-balanced, so that a perfect mirror comes out exactly white.
The approximations, and where they show
| Ingredient | Treatment here | Effect |
|---|---|---|
| Exchange–correlation | Local density (Slater exchange + Perdew–Zunger) | Atomic levels agree with NIST to about 0.03 eV |
| Crystal potential | Atomic-sphere approximation, frozen core, point nucleus | sp band near X runs a few tenths of an eV low |
| Excitation energies | Slater transition state, cut-off radius chosen variationally | Opens the d gap by about 0.35 eV; the measured value is still about 0.3 eV further away |
| Lifetime broadening | Gaussian, set with the slider (default 0.30 eV) | Changes the shade, not the answer |
| Drude damping | From the 2.2 µΩ·cm room-temperature resistivity | Negligible in the visible |
Because the computed absorption edge still sits a little too low in energy, the computed gold absorbs slightly into the green, which gives it a warm, rose-gold cast. Real gold's reflectance stays near 90% down to about 550 nm before it falls. The conclusion does not depend on any of these approximations. With the speed of light at its real value, gold's d → Fermi-level gap lands inside the visible spectrum and the metal is yellow. Push c toward infinity with everything else unchanged, and the gap moves into the ultraviolet and gold turns as white as silver. Try it with the speed-of-light control.