Electromagnetism

A steady battery pushes current in a loop of copper, while a radio wave flies across empty space. How does moving charge inside wire turn into oscillating electric and magnetic fields in the air?

Helps to know first:Electricity Basics

The intuition

A steady current is never alone: the moment charge moves through a copper wire, rings of magnetic field wrap around it. Bend that wire into a circle and wind it into a coil, and those weak rings stack up through the middle like a bar magnet.

Hold that current steady (DC) and the magnetic field stays frozen — nothing happens in a neighbouring coil. Flip to alternating current (AC), and the rising and falling magnetic field reaches straight across the gap to push current in the second coil with no wires touching.

Next, pair a capacitor (which holds energy in an electric field between two plates) with a coil (which holds energy in a magnetic field). Charge the capacitor and let go: energy sloshes back and forth between the two fields like a pendulum — an oscillator, the heartbeat of every radio circuit.

Spin a copper loop between magnets and that motion turns directly into a smooth AC sine wave. Push that AC up to radio frequencies, and changing magnetic fields inside the copper squeeze the current out of the wire’s center into a paper-thin outer skin. At that point, electric and magnetic fields are already pushing each other hard enough to break free from a well-shaped antenna as a radio wave.

Try it

Explore all four 3D labs in order: morph the straight wire into a coil and test DC vs AC with a secondary coil; watch energy slosh inside the LC tank; spin the generator to trace a sine wave; and sweep frequency from 50 Hz to 10 GHz to watch current crowd into the copper skin.

Loading 3D electromagnetism lab…

The maths

Magnetic field of a wire and a solenoid coil

B_wire = μ₀ I / (2π r), B_coil ≈ μ₀ (N / L) I

Around one straight wire the magnetic field spreads thin as 1/r. Winding N turns into length L stacks every loop together inside the core. Only a changing current induces voltage in a second coil: ε₂ = −M dI₁/dt.

Where:

B=Magnetic flux density(T (tesla))
μ₀=Permeability of free space (4π × 10⁻⁷)(H/m)
I=Current(A)
N / L=Turns per metre of coil(m⁻¹)

LC tank resonant frequency

f₀ = 1 / (2π √(LC))

Smaller coils or smaller capacitors slosh faster. Adding resistance R damps the swing into heat until Q = (1/R)√(L/C) drops below ½ and oscillation stops.

Where:

f₀=Natural oscillation frequency(Hz)
L=Inductance(H (henries))
C=Capacitance(F (farads))

Spinning generator (Faraday’s law)

ε(t) = N B A ω sin(ωt), ω = 2π f

Peak voltage depends on how fast the magnetic flux changes, not just how strong the magnet is — so spinning faster raises both frequency and peak voltage together.

Where:

ε(t)=Induced voltage (EMF)(V)
N, A=Coil turns and loop area(turns, m²)
ω=Angular rotation speed(rad/s)

Skin depth in a conductor

δ = √(2ρ / (ω μ))

About 63% of the alternating current flows within one skin depth δ of the outer surface, and 99% within 4.6δ. As frequency climbs, δ shrinks as 1/√f and AC resistance climbs.

Where:

δ=Skin depth(m)
ρ=Copper resistivity (1.68 × 10⁻⁸ at 20 °C)(Ω·m)
μ=Magnetic permeability (μ₀ for copper)(H/m)

What this assumes

  • The straight-wire and solenoid formulas assume clean geometry in free space with no iron core saturating.
  • The LC tank uses ideal lumped L and C with a single series resistor R representing all coil, capacitor, and wire loss.
  • The generator assumes a uniform vertical magnetic field between the North and South poles and zero load current.
  • Skin depth uses pure solid copper at 20 °C; plating, roughness, or Litz braiding changes real RF losses.

Predict

Predict first

You double the speed of the spinning generator (from 60 RPM to 120 RPM). What happens to the sine wave it produces?

The takeaway

Moving charge creates magnetic fields, changing fields create electric fields, and pairing a coil with a capacitor lets energy bounce back and forth at a natural radio frequency. High-frequency current crowds onto the surface skin — and once an antenna lets those oscillating fields leave the copper, you have a radio wave.

Go deeper

Why winding a coil multiplies the field

A single wire carrying 5 A produces only 33.3 µT at 3 cm away — weaker than Earth’s magnetic field. Wind that same 5 A into a tight 6-turn coil of 3 cm radius and 9.6 cm length, and the loops reinforce one another to reach 333 µT down the center — 9.99× stronger without changing the current.

Tuning an LC tank

Our lab’s default 25 µH coil and 250 pF capacitor resonate at 2.01 MHz. With 10 µH and 100 pF you get 5.03 MHz; double both parts to 20 µH and 200 pF, and f₀ drops cleanly in half to 2.52 MHz. Radio tuners use variable capacitors or inductors to slide this natural pendulum onto the station you want.

How thin is the copper skin?

In a 2 mm solid copper wire, alternating current fills the metal at mains power but retreats to a microscopic film at microwave bands:

FrequencySkin depth δR_AC / R_DC (2 mm wire)
50 Hz (Mains)9.23 mm1×
1 MHz (AM radio)65.2 µm7.92×
10 GHz (Radar)652 nm767×

At 10 GHz, almost all current flows in the outer 652 nm — less than a thousandth of a millimetre. That is why high-power microwave gear uses hollow silver-plated tubes instead of heavy solid copper bars (see Electricity Basics for DC wire resistance, and What Is a Radio Wave? for fields leaving the wire).