Synapse

An interconnected graph of micro-tutorials

Magnetic Fields

This is an early draft. Content may change as it gets reviewed.

Magnetic fields are the companion to electric fields — but they play by different rules.

How magnetic fields arise

Every magnetic field traces back to moving charges (electric current):

The rule: currents create loops. The magnetic field wraps around the current in circles, described by the right-hand rule — point your thumb in the direction of current flow, and your fingers curl in the direction of $\mathbf{B}$.

Try It: Magnetic Field Around a Wire

A wire carries current straight toward you (⊙) or away (⊗). The magnetic field forms circles around it. Adjust the current to see the field change.

No magnetic monopoles

Here’s the deepest difference between electric and magnetic fields:

You can have an isolated positive charge (a proton). You cannot have an isolated north pole. Cut a bar magnet in half and you get two smaller bar magnets, each with both a north and south pole.

This is why $\nabla \cdot \mathbf{B} = 0$ — the divergence of the magnetic field is always zero. No sources, no sinks, ever.

Electric vs magnetic: a comparison

Electric field $\mathbf{E}$ Magnetic field $\mathbf{B}$
Source Charges (static or moving) Moving charges (currents) only
Field lines Start on $+$, end on $-$ Always closed loops
Divergence $\nabla \cdot \mathbf{E} = \rho/\varepsilon_0$ $\nabla \cdot \mathbf{B} = 0$
Monopoles? Yes (charges) No
Force on charge $\mathbf{F} = q\mathbf{E}$ $\mathbf{F} = q\mathbf{v} \times \mathbf{B}$

The magnetic force is perpendicular to both the velocity and the field — it deflects moving charges without speeding them up or slowing them down.

Struggling with something?

These optional nodes cover specific concepts in more detail: