Ampère’s law · 3D loopStudy questions ↓
Drag the yellow r handle: radius. Drag background: 3D orbit. Arrow keys: camera; +/−: radius.

The drawing is schematic; arrows show direction and their lengths do not share a quantitative field scale. Cyan: E or B; purple: outward normal; yellow: dℓ / radius handle. The camera does not change physical values.

Compute both sides independently

Record values

No records yet.

Study questions

Try

Compare enclosed current and circulation at r<R, r=R and r>R. Reverse I, then reverse only the loop orientation: which operation changes Bφ? Rotate the camera and verify that physical results stay fixed.

Notes stay in this browser. CSV values use SI units and are calculated from the ideal model.

Theory and validity

For steady currents, Ampère’s law fixes circulation around a closed path. Circular B with constant magnitude along the path follows from the infinite uniform wire’s symmetry, not from the integral law alone.

∮CB⋅dℓ=μ0Ienc,Jz=IπR2\oint_C\mathbf B\cdot d\boldsymbol\ell=\mu_0 I_{\rm enc},\qquad J_z=\frac{I}{\pi R^2}
Bϕ(r)={μ0Ir/(2πR2)0≤r≤Rμ0I/(2πr)r>RB_\phi(r)=\begin{cases}\mu_0 I r/(2\pi R^2)&0\le r\le R\\\mu_0 I/(2\pi r)&r>R\end{cases}
s=±1,n^=sz^,Ienc=sImin⁡(r2/R2,1),∮CB⋅dℓ=s 2πrBϕs=\pm1,\quad \hat{\mathbf n}=s\hat{\mathbf z},\quad I_{\rm enc}=sI\min(r^2/R^2,1),\quad \oint_C\mathbf B\cdot d\boldsymbol\ell=s\,2\pi rB_\phi

Assumes an infinite straight wire with steady, uniform J across its section. The finite drawing represents an infinite wire; return wire, end effects and displacement current are excluded. Reversing I reverses B. Reversing path orientation changes signed circulation and enclosed current, but not B. At r=0, B=0; tangent and loop normal are omitted.

Sources

Experiment purpose and introduction

3B / 3D · ∮ B · dℓ

Ampère’s law · 3D loop

Calculate magnetic circulation along a closed circle inside and outside an infinite wire with uniform current density. Compare field, path orientation and enclosed current signs.

Ampère: closed line integral

For steady currents, Ampère’s law fixes circulation around a closed path. Circular B with constant magnitude along the path follows from the infinite uniform wire’s symmetry, not from the integral law alone.