Whittaker's History (1910), reviewed › The review's files › sim/whittaker/partE/

partE_hertz_waves.py

In the investigation at sim/whittaker/partE/partE_hertz_waves.py · last changed in commit c5090e3, 22 November 2026 · 6,842 bytes


#!/usr/bin/env python3
"""Whittaker review, Part E (chapters X and XI): Hertz's electric waves.

W10.11: Hertz's 1888 measurement of the speed of electric waves in air and
along wires, the ratio 45:28, the sqrt(2) correction of Poincare, Lecher's and
Sarasin-de la Rive's results, and the near-field phase speed of a dipole.

Inputs read at source (Hertz, Electric Waves, English translation 1893, ch. VII,
pp. 108-121, Internet Archive item b2172457x; see
sources/whittaker_originals_E/README.md) are marked [read]. Modern values are
CODATA 2022 [S]. Anything else is marked from memory.

Run:  OMP_NUM_THREADS=1 ~/aspden-review-venv/bin/python3 partE_hertz_waves.py
"""
import subprocess
import numpy as np
from scipy.optimize import brentq

print("git HEAD:", subprocess.run(["git", "rev-parse", "HEAD"], cwd="/home/doug/aetherscience.org",
                                  capture_output=True, text=True).stdout.strip())

c = 299792458.0  # m/s, exact [S]

print("\n=== 1. Hertz's own numbers (1888), read at source ===")
T_half = 1.4e-8          # s: "(half) period ... 1.4 hundred-millionths of a second" [read, p. 109]
lam_half_wire = 2.8      # m: half wave-length in the wire [read, p. 114]
beat = 7.5               # m: "at distances of every 7.5 metres the sign of the interference changes" [read, p. 121]
v_wire = lam_half_wire / T_half
ratio_hertz = beat / (beat - lam_half_wire)      # 75:47 [read, p. 121]
lam_half_air = lam_half_wire * ratio_hertz
v_air = lam_half_air / T_half
print(f"wire speed = {lam_half_wire} m / {T_half:.1e} s = {v_wire:.3e} m/s = {v_wire/c:.3f} c   (Hertz: 200,000 km/s; Whittaker: 2 x 10^10 cm/s)")
print(f"air/wire ratio = 75/47 = {ratio_hertz:.3f}; Hertz's summary 45:28 = {45/28:.3f} (Whittaker quotes 45/28)")
print(f"air half wave-length = {lam_half_air:.2f} m; air speed = {v_air:.3e} m/s = {v_air/c:.3f} c   (Hertz: 320,000 km/s)")

print("\n=== 2. Poincare's correction (Comptes Rendus 111 (1890) 322; not read, from Whittaker p. 360 note) ===")
# Whittaker: 'the period calculated by Hertz was sqrt(2) x the true period'.
T_true = T_half / np.sqrt(2)
v_wire_corr = lam_half_wire / T_true
v_air_corr = lam_half_air / T_true
print(f"corrected half-period = {T_true:.3e} s")
print(f"corrected wire speed  = {v_wire_corr:.3e} m/s = {v_wire_corr/c:.3f} c")
print(f"corrected air speed   = {v_air_corr:.3e} m/s = {v_air_corr/c:.3f} c; Whittaker's 'c x sqrt(2)' = {np.sqrt(2):.3f} c (differs by {100*(v_air_corr/c/np.sqrt(2)-1):.1f}%)")
print("Reading: after the correction the WIRE speed is within 6% of c, and the apparent AIR speed is 1.5 c;")
print("the anomaly was in the ratio, not in the wire speed.")

print("\n=== 3. Later measurements ===")
print("Lecher 1890 (Whittaker p. 360 note, not read): wire speed within 2% of c  ->  |v - c|/c <= 0.02")
print("Sarasin & de la Rive 1893 (Whittaker p. 360 note; Hertz's introduction pp. 12-17 [read]): air and wire speeds equal.")
print("Modern [S]: a TEM wave on a wire pair, and the Sommerfeld-Goubau surface wave on a single thin wire, travel at c to")
print("  within the small loss correction; in air the speed is c/n with n - 1 = 2.7e-4 at radio frequencies (from memory).")
print(f"  Speed in air relative to Hertz's wire figure: c/(1.00027) = {c/1.00027:.4e} m/s.")

print("\n=== 4. Why the near field seems faster than c (a [D] illustration, not Hertz's full explanation) ===")
# Exact field of an oscillating dipole along z, theta-component, Gaussian form (Jackson 9.18) [S]:
#   E_theta = p sin(theta) e^{ikr} (1/r^3 - i k/r^2 - k^2/r).
# The phase of E_theta relative to a wave travelling at c is arg(1/r^3 - i k/r^2 - k^2/r).
# With x = k r the argument is atan2(-x, 1 - x^2). Its derivative is negative, so the local wave number
# d(phase)/dr is LESS than k near the source: the phase runs ahead of a c-wave there.
lam = 2 * lam_half_wire   # take the wire figure, 5.6 m, as the true wavelength (Sarasin & de la Rive)
k = 2 * np.pi / lam
def phase(r):
    x = k * r
    return x + np.arctan2(-x, 1 - x**2)
rs = np.array([0.5, 1.0, 1.5, 2.0, 3.0, 4.0, 6.0, 9.0, 12.0])
print("   r (m)   kr     phase lag behind a c-wave (units of pi)   local k_eff/k   apparent phase speed/c")
for r in rs:
    h = 1e-4
    k_eff = (phase(r + h) - phase(r - h)) / (2 * h)
    lag = -(phase(r) - k * r) / np.pi
    speed = "quasi-static (no travelling phase)" if k_eff <= 0 else f"{k/k_eff:6.3f}"
    print(f"  {r:5.1f}  {k*r:5.2f}        {lag:5.3f}                                 {k_eff/k:6.3f}        {speed}")
print("  Within kr < 1.3 the phase hardly travels (the quasi-static zone); beyond it the apparent phase speed exceeds c")
print("  and falls to c by a few wavelengths, as Hertz himself remarked (p. 118 [read]);")
print("  but the extra phase saturates at -pi, so this cannot produce a sign change every 7.5 m out to 12 m.")
print("  The periodic beat Hertz saw came from the resonator's own period (multiple resonance, Sarasin & de la Rive;")
print("  Poincare and Bjerknes on the damped primary), which Hertz accepted in his 1892 introduction [read, pp. 12-17].")

print("\n=== 5. Hertz's dipole: radiated power and the inverse-fourth-power law in wavelength (W10.11, p. 362) ===")
# Modern [S]: time-averaged power of an electric dipole p0 cos(wt): P = p0^2 w^4 / (3 c^3) (Gaussian).
# Whittaker: 'mean outward flow of energy per unit time ... (1/3) c^3 A^2 (2 pi / lambda)^4' with moment A sin(2 pi c t / lambda).
# With w = 2 pi c / lambda: p0^2 w^4 / (3 c^3) = A^2 (2 pi / lambda)^4 c^4 / (3 c^3) = (1/3) c A^2 (2 pi/lambda)^4.
# Whittaker's expression has c^3, the modern Gaussian one c^1: the difference is his electromagnetic system of units
# (electric energy density E^2 / 8 pi c^2, p. 346), in which A carries a factor c relative to Gaussian. The structure
# (moment squared, lambda^-4) is the modern law.
for lam_m in [1.0, 0.5, 0.25]:
    print(f"  lambda = {lam_m:5.2f} m: relative radiated power (fixed moment) = {(1.0/lam_m)**4:7.1f}")
print("Doubling the frequency gives 16 times the radiated power: Whittaker's 'increases greatly as the wave-length decreases'.")

print("\n=== 6. FitzGerald's magnetic oscillator (W10.6, pp. 346-347): the omega^4 law ===")
# Modern [S] (SI): P = mu0 m0^2 w^4 / (12 pi c^3) for a loop of moment m0 cos(wt).
# Whittaker: energy radiated in unit time = 16 pi^4 A^2 S^2 / (3 c^5 T^4) with current A cos(2 pi t/T) in a loop of area S.
# Both are (moment)^2 x (frequency)^4 x constant. For a numerical example take SI:
mu0 = 1.25663706127e-6
I0, S = 1.0, 1e-2   # 1 A in a loop of 100 cm^2
for f in [1e3, 1e6, 1e8]:
    w = 2 * np.pi * f
    P = mu0 * (I0 * S)**2 * w**4 / (12 * np.pi * c**3)
    print(f"  f = {f:8.0e} Hz: P = {P:9.3e} W")
print("At mains and audio frequencies the radiation is negligible; at 100 MHz it is a watt: Whittaker's 'small, unless the frequency is very high'.")