Magnetic Effects of Electric Current

In 1819, Hans Christian Oersted held a compass near a wire and watched the needle twitch. That one twitch unfolds into everything below: three ways a current builds a magnetic field, two ways a field pushes back on current, and — at the end — the actual meters sitting inside every multimeter. Same idea, seven acts, one thread. Turn the dials.

Act 1 · Field from a straight wire

Every current wraps itself in a magnetic field

Look straight down the wire — it's just a dot. Around that dot, the field curls in perfect circles: tighter and stronger close in, looser and weaker farther out. Point your right thumb along the current and your fingers curl the way the field points.

🧭 wire, seen end-on (right-hand rule sets the swirl) N 0° from north
B = μ₀I / 2πd = 2.00×10⁻⁵ T
Current, I10.0 A
More current, stronger swirl everywhere at once.
Distance, d10.0 cm
Drag the compass out — the field fades fast.

Now bend that same wire into a ring and see what its swirl adds up to.

Act 2 · Field from a circular loop

Curl the wire into a ring, and the swirl becomes a mini bar magnet

Every point on the loop is still just wrapping the field around itself — but now all those little swirls stack through the center and add up into one straight bundle of field lines. One face becomes a north pole, the other a south. Stack N turns and the effect multiplies N times over.

field loops back around the outside, N to S N S loop face-on, field bundling through the center S N side view (edge-on) — the ring collapses to a line, the swirl becomes a bar magnet
B = μ₀NI / 2r = 16.0×10⁻⁵ T
Current, I1.40 A
Turns, N20
Each turn adds its own swirl on top of the rest.
Radius, r11.0 cm
Bigger ring, more spread-out field.

One ring makes a weak little magnet. Line up dozens of rings in a row, and…

Act 3 · Field from a solenoid

A stack of loops in a row behaves like a real bar magnet

Pack the loops close together into a coil (a solenoid) and their individual bundles merge into one strong, uniform field running straight down the middle — exactly like a bar magnet, with a true north and south end. Slide an iron core inside, and that same current suddenly produces a far stronger field: iron doesn't fight the field, it joins in.

S N solenoid, side view
B = μNI / ℓ = 3.52×10⁻³ T
Current, I0.70 A
Turns, N800
Length, ℓ20.0 cm

So far, current has only been making fields. Flip the script: put that current-carrying wire inside someone else's field.

Act 4 · Force on a wire in a field

A field pushes back on any current crossing it

Drop a current-carrying wire into an external magnetic field and it feels a sideways shove — perpendicular to both the current and the field (Fleming's left hand: field on the pointer, current on the middle finger, force on the thumb). Line the wire up parallel to the field and the shove disappears entirely.

B field flows left → right; wire crosses it at angle θ
F = BIℓ sinθ = 6.00 N
Field, B5.00 T
Current, I4.00 A
Length, ℓ30.0 cm
Angle, θ90°
Swing to 0° or 180° — watch the force vanish.

One wire feels the push of an outside field. But every wire makes its own field too — so what happens when two current-carrying wires face each other?

Act 5 · Force between two current-carrying wires

Currents flowing the same way attract; opposite ways repel

Each wire sits inside the other's field from Act 1, and each gets shoved by it exactly as in Act 4. Run the currents the same direction and the wires pull together; reverse one and they push apart. No magnets required — just two currents, doing to each other what Acts 1 and 4 already taught you.

wire 1 wire 2
F/ℓ = μ₀I₁I₂ / 2πd = 5.00×10⁻⁴ N/m
Current I₁5.00 A
Current I₂5.00 A
Separation, d10.0 cm

Straighten that logic back out: instead of two straight wires, bend one wire into a rectangle and drop the whole loop into a field.

Act 6 · Torque on a current-carrying coil

A field doesn't just push a coil — it spins it

The two long sides of a rectangular coil each get shoved by the field (Act 4), in opposite directions — and opposite forces offset from each other is exactly a torque. The coil twists to line its face up with the field. This one idea — current loop + field = torque — is the entire mechanism inside a galvanometer, and every electric motor ever built.

N S top-down view · F⃗ on each side is what actually twists the coil
τ = BIAN sinθ = 0.720 N·m
Field, B0.40 T
Current, I3.00 A
Coil area, A0.0120 m²
Turns, N50
Angle, θ90°
θ = 0° means the moment already lines up with B — torque hits zero, the coil stops turning.

Add a spring that resists that twist, and you can read the twist angle off a dial. That's not a metaphor — that's literally a galvanometer.

Act 7 · From torque to measuring instruments

One coil, four instruments

Everything below is the same coil-in-a-field from Act 6, with a control spring added to balance the torque. What changes at each step is only what's wired around it — and that's the difference between a galvanometer, an ammeter, a voltmeter, and an ohmmeter.

The spring pushes back with a torque proportional to the deflection angle. Balance point: BIAN = kθ — so the pointer's angle is directly proportional to the current. A galvanometer can only ever read up to its coil's own tiny safe current (here, 5 mA).

deflection ∝ current
I = 2.50 mA  →  deflection = 50% of full scale
Current into coil2.50 mA
This galvanometer: Rg = 2 Ω, full-scale at 5 mA.

To read real-world currents (amps, not milliamps), give most of the current an easy detour: a tiny shunt resistor Rs in parallel with the coil. Almost all the current sneaks through the shunt; only the safe sliver reaches the coil.

total current I splits at the junction Rg (coil) Rs (shunt)
Rs = Ig·Rg / (I − Ig) = 0.001 Ω
Desired full-scale range10.0 A
Try 10 A — the book's own example (Rg=2Ω, Ig=5mA) gives Rs ≈ 0.001Ω.

To read a voltage instead, do the opposite: add a big multiplier resistor Rm in series, so the combination draws only a hair of current and barely disturbs the circuit it's measuring.

Rm (multiplier) Rg (coil) V measured across the whole series stack
Rm = (V − Vg) / Ig = 49999.9 Ω
Desired full-scale range50.0 V
Book's example: Rg=0.1Ω, Ig=1mA, 50V range → Rm≈49999.9Ω.

Wire a fixed battery and a fixed internal resistance in series with the unknown resistor Rx, then read the current instead — and calibrate the dial directly in ohms. Short the terminals (Rx=0) and current is maximum: full-scale deflection. The higher Rx climbs, the less current flows, so the scale reads backwards — and, because I = V/(R+Rx) isn't linear in Rx, the tick marks bunch up on one side exactly like the real instrument.

I = 1.5V / (3750Ω + Rx) = 200 µA
Unknown resistor, Rx3750 Ω
Drag to the far right — deflection never quite reaches zero; it just crowds up as Rx→∞.

Wire all four modes behind one selector switch and read a pointer instead of numbers, and you've built the analog multimeter sitting in a drawer somewhere. Swap the pointer for an LCD and you've built the digital one.

In a nutshell
  • Straight wire: B = μ₀I/2πd — circles around the wire, right-hand rule sets direction.
  • Circular loop: B = μ₀NI/2r — acts like a short bar magnet; right-hand screw rule for polarity.
  • Solenoid: B = μNI/ℓ — acts like a real bar magnet; an iron core multiplies B enormously.
  • Force on a wire: F = BIℓsinθ — zero when the wire runs parallel to the field (Fleming's left hand).
  • Wire vs wire: same-direction currents attract, opposite-direction currents repel.
  • Torque on a coil: τ = BIANsinθ — the mechanism behind every galvanometer and motor.
  • Instruments: shunt (parallel, low-R) → ammeter · multiplier (series, high-R) → voltmeter · fixed battery + known R → ohmmeter, with a reversed, nonlinear scale.