Sources of Magnetic Fields - Complete Interactive Lesson
Part 1: Magnetic Force on Charges
🧲 Magnetic Force on Moving Charges
Part 1 of 7 — The Lorentz Force
Magnetic Force
Magnitude:
| Fact | Detail |
|---|---|
| Direction | Right-hand rule (cross product) |
| Perpendicular | Force ⊥ velocity AND ⊥ B |
| No work | Magnetic force does NO work () |
Circular Motion in B Field
(cyclotron frequency)
🔑 A charged particle in a uniform moves in a circle (or helix). The magnetic force provides centripetal acceleration.
Helical Motion and Crossed Fields
Why a helix? Split the velocity into components parallel and perpendicular to . The perpendicular part feels the force and circles with radius ; the parallel part feels no force () and drifts at constant speed. Together they trace a helix whose pitch (advance per turn) is .
The velocity selector. Cross an electric field with a magnetic field so their forces oppose. A charge goes straight only when they cancel:
This selects a single speed regardless of charge or mass — the front end of a mass spectrometer.
Speed never changes. Because , the magnetic force does zero work, so is constant; only the direction turns. Kinetic energy is conserved in any purely magnetic field.
Worked Example — Radius and Period of Circular Motion
A proton (, ) enters a uniform field perpendicular to its velocity . Find (a) the radius of its path and (b) the period of revolution.
Step 1 — Force provides centripetal acceleration. The magnetic force is the only force, so .
Step 2 — Solve for radius. Cancel one : . Numerator ; denominator . So .
Step 3 — Period. The cyclotron period is . Note that cancels:
Key insight: the cyclotron period (and frequency ) is independent of speed and radius — faster particles trace bigger circles in exactly the same time. This is the principle that makes the cyclotron work.
Concept Check 🎯
Part 2: Force on Current-Carrying Wires
🔌 Force on Current-Carrying Wires
Part 2 of 7 — Wires in Magnetic Fields
Force on a Wire
Magnitude:
where is the length of wire in the field.
Torque on a Current Loop
where is the magnetic dipole moment.
🔑 This is the principle behind electric motors — a current loop in a magnetic field experiences a torque.
Force on a Bent Wire, and the Motor Principle
For a wire of arbitrary shape, sum the force on each element: . In a uniform field, factors out and the integral reduces to the straight-line displacement between endpoints:
where points from start to finish. A semicircle of radius therefore feels the same force as a straight wire of length joining its ends.
Closed loop ⇒ zero net force. For any closed loop , so the net force vanishes in a uniform field — yet the loop still feels a torque that twists it to align with .
The motor. A DC motor uses a commutator to flip the current direction every half-turn, so the torque always pushes the loop the same way around. The magnetic potential energy is lowest when aligned — the loop "wants" to rotate toward that configuration.
Worked Example — Torque on a Loop and Integrating Force
A rectangular coil of turns, width and height , carries in a uniform field . The coil's normal makes with . Find the torque.
Step 1 — Magnetic moment. .
Step 2 — Apply the torque law. .
Why the cross product? (calculus view). For a curved or angled wire, the total force is the line integral . In a uniform field can come outside the integral: . For a closed loop, , so the net force is zero — but the torque is generally nonzero, which is exactly what spins a motor. The two horizontal sides of our coil carry opposite-direction currents, producing forces that form a couple of magnitude .
Concept Check 🎯
Part 3: Biot-Savart Law
🔬 Biot-Savart Law
Part 3 of 7 — Magnetic Field from Current
The Biot-Savart Law
Common Results
| Configuration | at Center/Point |
|---|---|
| Long straight wire | |
| Center of circular loop | |
| On axis of loop |
T·m/A
🔑 Right-hand rule: curl fingers in direction of current → thumb points in direction of .
How to Attack a Biot-Savart Integral
The law is the magnetic analog of Coulomb's law for fields. A reliable recipe:
- Pick the field point and draw from a typical current element to it.
- Evaluate the cross product — its magnitude is , and its direction (right-hand rule) tells you which way points.
- Exploit symmetry to cancel components before integrating. (On a loop's axis, only the axial component survives.)
- Integrate what is left, pulling constants outside.
Finite straight wire. Integrating for a straight segment subtending angles and at perpendicular distance gives
For an infinite wire both angles approach , so and — recovering the familiar result.
Use Biot-Savart when symmetry is too low for Ampère's law (finite segments, arcs, off-axis points). Use Ampère when symmetry is high.
Worked Example — Integrating Biot-Savart for a Loop's Axis
Find the on-axis field of a circular loop of radius carrying current , at distance from the center, by integrating the Biot-Savart law. Then evaluate the center.
Step 1 — Set up . Each element is perpendicular to (the vector to the axial point), so and , where .
Step 2 — Symmetry kills the perpendicular components. Components transverse to the axis cancel in pairs; only the axial part survives, scaled by :
Step 3 — Integrate around the loop. Everything except is constant, and :
Step 4 — At the center (). , recovering the standard center-of-loop result.
Concept Check 🎯
Part 4: Ampere's Law
🔁 Ampere’s Law
Part 4 of 7 — Symmetry and Magnetic Fields
Ampere’s Law
When to Use Ampere’s Law
Use when there is sufficient symmetry to simplify :
| Configuration | Amperian Loop | Result |
|---|---|---|
| Long straight wire | Circular loop (radius ) | |
| Solenoid | Rectangle (length ) | |
| Toroid | Circular loop inside |
🔑 Ampere's law is the magnetic analog of Gauss's law — use symmetry!
Choosing the Amperian Loop
Ampère's law is always true, but it only solves for when you can pull out of the integral. That requires picking a loop along which is either constant-and-parallel or perpendicular-to- (contributing nothing):
| Symmetry | Good Amperian loop |
|---|---|
| Long straight wire (cylindrical) | Circle centered on the wire |
| Solenoid / infinite sheet (planar) | Rectangle |
| Toroid | Circle threading the windings |
The full field of a thick wire (radius , uniform current) has two regimes:
- Inside (): — grows linearly with .
- Outside (): — falls as .
The two pieces match at the surface (), where the field peaks at . Plotting vs. gives a triangle-then-tail shape — a classic free-response figure.
Worked Example — Field Inside a Thick Wire
A long cylindrical wire of radius carries a total current distributed uniformly over its cross-section. Find at (inside the wire).
Step 1 — Choose an Amperian loop. By cylindrical symmetry, is tangential with constant magnitude on a circle of radius , so .
Step 2 — Enclosed current. The current density is . The loop of radius encloses
Step 3 — Apply Ampère's law. , giving
Inside the wire grows linearly with (unlike the falloff outside).
Step 4 — Plug in.
Concept Check 🎯
Part 5: Magnetic Flux
🌀 Magnetic Flux
Part 5 of 7 — Flux Through Surfaces
Magnetic Flux
For uniform through flat surface:
Units: Weber (Wb) =
Gauss’s Law for Magnetism
🔑 No magnetic monopoles — field lines have no beginning or end. Total flux through any closed surface is zero.
Uniform vs. Non-Uniform Flux
When is uniform over a flat surface, the integral collapses: , where is the angle between and the surface normal . Flux is maximal when the normal lies along and zero when the surface is edge-on to the field.
When varies across the surface (for example, near a current-carrying wire where ), you must actually integrate: slice the area into strips on which is nearly constant, then . Integrating a field across a strip produces the logarithm you will see in the worked example.
Why This Matters for Induction
Flux is the bridge to Faraday's law: an EMF appears only when changes in time. Gauss's law for magnetism, , guarantees the field lines you count entering a closed surface exactly equal those leaving — there are no magnetic charges to act as sources or sinks. This is one of the four Maxwell equations.
Worked Example — Flux from a Wire Through a Loop (Integration)
A long straight wire carries current . A rectangular loop of height lies in the same plane, with its near side a distance from the wire and its far side at . Find the total flux through the loop.
Step 1 — The field varies across the loop. At distance from the wire, , pointing perpendicular to the loop's plane. Because depends on , we must integrate rather than use .
Step 2 — Set up the strip. Take a thin strip of width at distance , with area . The flux through it is
Step 3 — Integrate from to .
Numbers. With , , , : . The logarithm is the signature of a field integrated over distance.
Concept Check 🎯
Part 6: Problem-Solving Workshop
🛠️ Magnetic Fields Workshop
Part 6 of 7 — Strategies
Choosing the Right Law
| Situation | Use |
|---|---|
| Field from a short wire segment | Biot-Savart |
| Field with high symmetry | Ampere’s law |
| Force on a moving charge | |
| Force on a current-carrying wire | |
| Torque on a loop |
Field vs. Force — Don't Mix Them Up
Magnetic problems split into two families. Identify which you are in first:
Family A — Find the FIELD a current creates.
- High symmetry (infinite wire, solenoid, toroid, thick wire) → Ampère's law.
- Low symmetry (finite segment, arc, off-axis point) → Biot-Savart integral.
Family B — Find the FORCE/TORQUE on something in a known field.
- Point charge → .
- Current-carrying wire → .
- Current loop → torque , with .
Two-step problems (like parallel wires) chain them: use Family A to get one wire's field, then Family B to get the force on the other. The force per length between long parallel wires, , is the canonical example — same direction currents attract, opposite repel.
Worked Example — Choosing and Combining Tools
A long straight wire carries . A second long parallel wire, a distance away, carries in the same direction over a length . Find the force between them and its direction.
Step 1 — Field of wire 1 at wire 2 (Ampère / standard result). .
Step 2 — Force on wire 2 (force-on-current law). .
Step 3 — Direction (right-hand rules). at wire 2 points into the page (say), and points toward wire 1: parallel currents attract.
Takeaway — the decision tree: use Ampère's law (or a memorized symmetric result) to get the field, then for the force. Reserve the Biot-Savart integral for fields of finite or curved segments lacking symmetry.
Concept Check 🎯
Part 7: Review & Applications
📋 Magnetic Fields Review
Part 7 of 7 — Summary
Key Formulas
| Formula | Use |
|---|---|
| Force on charge | |
| Cyclotron radius | |
| Long wire | |
| Solenoid | |
| Ampere’s law | |
| Flux |
The Big Picture of Magnetostatics
Currents make fields; fields push currents. Those are the two halves of the unit.
Making fields. All field results trace back to Biot-Savart, . When symmetry is high, Ampère's law shortcuts the integral. Standard answers to memorize: long wire , loop center , solenoid .
Feeling forces. A field exerts on a charge and on a wire. Because these are cross products, the force is perpendicular to the motion, so magnetic forces do no work — they bend paths into circles and helices but never change speed.
Two field laws you can quote.
- (Gauss for magnetism — no monopoles).
- (Ampère, magnetostatic form).
Together with the two electric Maxwell equations and Faraday's law from the induction unit, these complete the electromagnetic picture.
Worked Example — Velocity Selector and Mass Spectrometer
A velocity selector has perpendicular fields and . Ions then enter a region of field . (a) Find the selected speed. (b) A singly-charged ion () then bends in a circle of radius ; find its mass.
Part (a) — Balance electric and magnetic forces. An ion passes straight through only if , so the speed is independent of charge:
Part (b) — Circular motion in . From , solve for mass:
This pair of ideas — a velocity selector feeding a momentum analyzer — is exactly how a mass spectrometer separates isotopes: equal-speed ions of different mass trace circles of different radius via .
Concept Check 🎯