Annus Mirabilis · Interactive critical edition in preparation

Charge and current density

Boost a current-carrying wire and see a charge density appear.

Special relativity §9

Charge and current density in moving frames

Static worked example

CurrentThese numbers match the current settings.

Model note
  • Primary outputs chargeDensityStationary, chargeDensityMoving, currentDensityStationary, currentDensityMoving: Host calculation (fields.transformChargeCurrent). Owner fields.transformChargeCurrent.
  • Primary outputs fourCurrentInvariant, fourCurrentInvariantNormalized: Host calculation (fields.fourCurrentInvariants). Owner fields.fourCurrentInvariants.
  • Primary output lorentzFactor: Host calculation (kinematics.gamma). Owner kinematics.gamma.
  • Primary outputs continuityResidualStationary, continuityResidualMoving: Host calculation (fields.gaussianPulseContinuity). Owner fields.gaussianPulseContinuity.
  • Primary outputs loopLegChargePositive, loopLegChargeNegative, loopTotalCharge: Host calculation (fields.currentLoopCharges). Owner fields.currentLoopCharges.
  • Primary outputs sphereTotalChargeStationary, sphereTotalChargeMoving: Host calculation (fields.sphereTotalCharge). Owner fields.sphereTotalCharge.
  • Accepted input revision 1.
  • Snapshot version 1.
  • Not modeled: microscopic lattice dynamics and thermal vibrations; self-inductance and transient current startup; radiation reaction from accelerated charges; material resistance and Joule heating; finite wire thickness effects; gravitational fields and general relativistic curvature.

Predict before the numbers

A neutral wire in the laboratory carries a current in the +x direction. Described from a frame moving in the +x direction at 0.6c, is the wire still electrically neutral?

Three relations the model could have

The result appears when you choose, say you have one in mind, or skip.

A neutral wire carrying a current

v = 0.60c, γ = 1.25

Laboratory frame K

ρ = 0 C/m³, Jx = 1 A/m²

electrons drift

Ions and electrons are equally spaced, so the wire is neutral. The electrons drift left, which is a current to the right.

Frame k, moving at v = 0.60c

ρ′ = −2.5017 × 10⁻⁹ C/m³, J′x = 1.25 A/m²

wire moves

Seen from k, the whole wire moves left and both rows close up by γ = 1.25. The electrons close up very slightly more than the ions, so the wire carries a net negative charge. The drawing exaggerates the difference to one electron; at a real drift speed it is far smaller.

Experiment settings the charge density and the current density along x
Set 0 for neutral conductor
Conduction current along x

Changes here apply with Apply parameters.

Worked example: in the laboratory the charge density is 0 C/m³ (neutral); described from the frame moving at 0.6c it is −2.5 × 10⁻⁹ C/m³ (negatively charged).

QuantityStationary frame (K)Moving frame (k)UnitLorentz transformation law
Charge density ρ0−2.5017 × 10⁻⁹C/m³ρ′ = γ(ρ − vJx/c²)
Current density Jx(1, 0, 0)(1.25, 0, 0)A/m²J′x = γ(Jx − vρ)
Lorentz factor γ1.2511 / √(1 − v²/c²)
Four-current invariant (cρ)² − |J|²−1A²/m⁴Exact scalar invariant across all frames

A wire carrying a current, with no net charge for an observer standing beside it, has a net charge for an observer moving along it. Charge and current mix under a change of frame, while the total charge of a body stays the same.

§9 takes the Maxwell–Hertz equations with convection currents, in which ρ is 4π times the density of electricity and (ux, uy, uz) its velocity. For charges bound to small rigid bodies, ions and electrons, these equations are the foundation of Lorentz's electrodynamics of moving bodies. Transforming them by §3 and §6, Einstein finds the same equations in k, provided the velocity of the charges transforms by the addition theorem of §5 and the density by ρ′ = β(1 − v ux/V²)ρ. So Lorentz's foundation agrees with the principle of relativity, and a charged body whose charge does not change in its own frame keeps a constant charge seen from K as well. The lab's default is a neutral conductor carrying 1 A/m² along x, seen from a frame moving at 0.6c along the current. In that frame the current density is 1.25 A/m², and the conductor carries a net charge density of −2.50 × 10−9 C/m³ where the stationary observer found none. For a rectangular loop carrying 1 A, 1 m long, the two legs parallel to the motion pick up ±2.00 × 10−9 C, and the loop's total stays zero. The lab also checks two things the paper does not state in this form: (cρ)² − |J|² is −1 A²/m⁴ in both frames, and charge conservation, ∂ρ/∂t + div J = 0, holds in both.

Not modeled: microscopic lattice dynamics and thermal vibrations, self-inductance and transient current startup, radiation reaction from accelerated charges, material resistance and Joule heating, finite wire thickness effects, gravitational fields and general relativistic curvature.

The explanation

Full explanation

Charge density and current density transform together, as time and position do. A wire that is neutral in its own frame carries a charge density in a frame moving along it, and the lab shows how much.

Show every step of the investigation

Set the charge density, the current density and the boost, and read the transformed pair. Check the combination that every frame agrees on, then try a current whose carriers would need to move at light speed, which the lab refuses.

An explanatory model, not an observation of nature. This embed starts from the laboratory’s worked defaults, not a saved run. Presentation options change the surrounding guide, never the numerical inputs.