aidoesscience
aidoessciencefindings › Electromagnetic wave
ValidatingOracle-validated

Light IS an electromagnetic wave

Maxwell's equations describe electricity and magnetism — so why is the speed of a wave they support numerically equal to the speed of light, and what happens to that wave when it enters glass?

Measured by the lab
2.9977e+8
Known value
2.9979e+8

Units: m/s (the wave speed, recovered as 1/√(μ₀ε₀))

▶ Run this simulationRead how it works

The finding

Light IS an electromagnetic wave: the speed of light c = 1/√(μ₀ε₀) = 299,792,458 m/s recovered from a from-scratch Yee-FDTD integration of Maxwell's two curl equations (c never in the solver) across 24 grids and converging 2nd-order to c, and — in a glass slab — the refractive index n = √ε_r = 1.5 (Snell's n) and the Fresnel reflectance R = 4%, with the wave SLOWING to c/n, falsifying Newton's corpuscular theory (Maxwell 1865 / Foucault 1850)

Method

Integrate Maxwell's two 1-D curl equations ∂H_y/∂t = (1/μ)·∂E_z/∂x and ∂E_z/∂t = (1/ε)·∂H_y/∂x with the Yee (1966) finite-difference time-domain leapfrog: H_y[i] += (Δt/μ₀Δx)(E_z[i+1]−E_z[i]); E_z[i] += (Δt/ε[i]Δx)(H_y[i]−H_y[i−1]). The number c appears NOWHERE in the update — the time step Δt = S·Δx·√(μ₀ε₀) is assembled from the two electromagnetic constants alone (Courant number S ≤ 1) — so recovering the speed of light is not circular; it is Maxwell's own 1865 argument (compute 1/√(μ₀ε₀) from electrical constants, find it equals the measured speed of light). Launch a Gaussian pulse and recover the wave speed as the least-squares slope of the electromagnetic-energy CREST position (metres) against time (seconds), over an adaptive window in which the crest is clear of both the launch transient and the far wall. (A) Do this on 24 distinct grids (S ∈ [0.4,0.9], pulse width σ ∈ [24,44] cells, launch position) — the recovered speed must be grid-invariant. (B) Halve Δx at fixed physical pulse width — the c-error must fall ~4× (2nd-order), proving the residual is numerical dispersion and the limit is exactly c. (C) Put the pulse into a dielectric slab of permittivity ε_r and measure the transmitted-pulse speed → n = v_vacuum/v_medium; sweep ε_r over water→crown glass. (D) Measure the reflected-energy fraction at the vacuum→glass interface. (E) Compare the measured medium speed to Newton's corpuscular prediction.

The law it recovers

∂²E_z/∂t² = (1/με)·∂²E_z/∂x² ⇒ v = 1/√(με); vacuum v = 1/√(μ₀ε₀) = c; medium v = c/√ε_r = c/n; Fresnel R = ((1−n)/(1+n))²

Measurements, controls & cross-checks

Recovered rel error mean

6.8000e-5

Recovered rel error worst grid

0.000182

Convergence

C error coarse
0.00147
C error fine
0.000435
Ratio
3.37
Note
halving Δx at fixed physical pulse width cuts the c-error by 3.37× — the 2nd-order signature that the true wave speed is exactly c and the small residual is bounded numerical dispersion (∝ (kΔx)²(1−S²)), not a wrong speed.

Refractive index

Eps r canonical
2.25
N recovered
1.512
N expected
1.5
N rel error
0.0082
V medium over c
0.661
Sweep
Eps rMaterialN recoveredN expectedRel
1.77water1.33651.33040.00455
2light glass1.4231.41420.00621
2.25crown glass (BK7-like)1.51231.50.00821
Note
the refractive index n Snell's law uses is not an input — it emerges as v_vacuum/v_medium from the field dynamics and matches √ε_r to <1% across water and glass. The sweep stops at n≈1.5 because a higher-index medium compresses the transmitted wave more (in-medium resolution σ/n), a disclosed fixed-mesh resolution limit, not a physics limit.

Fresnel

R recovered
0.0398
R expected
0.04
Abs error
0.0002
Note
the reflected-energy fraction at normal incidence matches ((1−n)/(1+n))² = 4% for n=1.5, and the reflection off the denser medium inverts the field's phase (r<0) — a purely wave phenomenon.

Control newton

Name
Newton's corpuscular theory of light (corpuscles attracted into the denser medium → travel FASTER there)
Corpuscular v over c
1.5
Wave v over c
0.661
Note
Newton's emission theory predicts v_glass = n·c = 1.5c > c (faster than light); the wave equation predicts v_glass = c/n = 0.67c < c. The FDTD gives 0.66c — light SLOWS, exactly Foucault's 1850 measurement, which decided the wave-vs-corpuscle debate. Newton's prediction is falsified: wrong in magnitude (2.25×) AND in sign of the effect, and would require light to exceed c.

What it reduces to

Maxwell's 1865 discovery that light is an electromagnetic wave with speed c = 1/√(μ₀ε₀) (J. C. Maxwell, Phil. Trans. R. Soc. 155, 459), together with the wave theory's prediction — confirmed by Foucault's 1850 measurement — that light travels SLOWER in a dense medium (v = c/n), which falsified Newton's corpuscular theory. It VALIDATES, not derives: the lab assumes Maxwell's two curl equations and integrates them numerically (Yee 1966 FDTD) with only μ₀ and ε as coefficients — c is never in the solver — and shows the emergent, measurable pulse speed is 1/√(μ₀ε₀) to ~1e-4 over 24 grids, converging 2nd-order to the independently-known speed of light as the mesh refines. It is non-circular on four fronts: c is assembled into Δt only through μ₀,ε₀ (never as itself) and is loaded only to score; the grid-invariance and 2nd-order convergence rule out a mesh artifact; the refractive index n = √ε_r emerges from the transmitted-pulse speed (not plugged in) and equals the n Snell's law uses; and the Fresnel reflectance R = ((1−n)/(1+n))² emerges from the interface impedance mismatch. The decisive control is the wave SLOWING in glass (v = c/n < c) rather than speeding up (Newton's v = n·c > c) — Foucault's verdict. It does NOT derive Maxwell's equations, quantize the field, or model absorption/dispersion of real glass; it demonstrates that the electromagnetic field equations already contain light and its refraction. The lab's first Maxwell-PDE / wave-propagation world — the capstone bridging the electromagnetism arc (?world=field, faraday, generator) and the optics arc (?world=snell, brewster, rayleigh), which all assume the n and c/n derived here.

Confidence & reproduction

Confidence
high
Validation
derisk-pass
Re-run the check
npm run derisk -- emwave (scripts/emwave-derisk.mjs)
Oracle
scripts/oracles/emwave.reference.json

Sources

J. C. Maxwell, 'A Dynamical Theory of the Electromagnetic Field', Phil. Trans. R. Soc. Lond. 155, 459 (1865). L. Foucault (1850) & A. Fizeau — light travels slower in a dense medium (v=c/n<c), the measurement that killed Newton's corpuscular prediction. K. S. Yee, IEEE Trans. Antennas Propag. 14, 302 (1966) — the FDTD leapfrog. A. Fresnel — normal-incidence reflectance R=((n₁−n₂)/(n₁+n₂))². CODATA 2018: μ₀=1.25663706212×10⁻⁶ H/m, ε₀=8.8541878128×10⁻¹² F/m, c≡299792458 m/s (exact, SI 2019).

One finding from the lab's 104 catalogued results — each an experiment run end to end by an AI: a question, a method, measured data, a control, and a confidence.