Magnetic Fields and Forces - Complete Interactive Lesson
Part 1: Magnetic Fields
🧲 Magnetic Fields — Sources and Properties
Part 1 of 7 — Where Do Magnetic Fields Come From?
Magnetism has been known for millennia — ancient Greeks observed lodestone attracting iron. Today we understand that all magnetic fields originate from moving electric charges. Whether it's a bar magnet, an electromagnet, or Earth itself, the underlying source is always charges in motion.
Sources of Magnetic Fields
1. Permanent Magnets
Bar magnets and horseshoe magnets produce fields due to the aligned spin of electrons within their atoms. In ferromagnetic materials (iron, nickel, cobalt), electron spins in microscopic domains align to create a net magnetic field.
2. Moving Charges
A single charge moving with velocity creates a magnetic field:
where T·m/A is the permeability of free space.
3. Electric Currents
A current-carrying wire produces a magnetic field that circles around the wire. This is the most practical source of controllable magnetic fields — the basis for electromagnets, motors, and MRI machines.
Key Insight
Electricity and magnetism are deeply connected. Moving charges create magnetic fields, and (as we'll see later) changing magnetic fields create electric fields. This unification is one of the great triumphs of physics.
Magnetic Field Lines
Magnetic field lines visualize the field, similar to electric field lines for .
Rules for Magnetic Field Lines
- Outside a magnet: Lines point from North (N) to South (S)
- Inside a magnet: Lines point from South to North (completing closed loops)
- Lines never cross — the field has a unique direction at every point
- Line density indicates field strength — closer lines = stronger
- Magnetic field lines always form closed loops — there are no magnetic monopoles!
Bar Magnet Field Pattern
The field of a bar magnet looks similar to the electric field of a dipole:
- Lines emerge from the North pole
- Arc through space
- Enter the South pole
- Continue through the interior back to North
Critical Difference from Electric Fields
Electric field lines begin on positive charges and end on negative charges. Magnetic field lines have no beginning or end — they always close on themselves. This reflects the fact that magnetic monopoles do not exist (as far as we know).
Earth's Magnetic Field
Earth behaves like a giant bar magnet, but with an important twist:
Geographic vs. Magnetic Poles
- Earth's geographic North Pole is near Earth's magnetic South pole
- A compass needle's north end points toward geographic north because it's attracted to the magnetic south pole located there
- The magnetic axis is tilted about 11° from the rotation axis
Field Strength
Earth's magnetic field strength at the surface:
This is quite weak compared to lab magnets (which can be 1 T or more), but it's strong enough to orient compass needles and protect us from charged particles in the solar wind.
Source
Earth's magnetic field is generated by convection currents of molten iron in the outer core — essentially a natural dynamo. The field slowly changes over time and has even reversed polarity many times throughout geologic history.
Units of Magnetic Field
The SI unit of magnetic field is the Tesla (T):
Conversion
The older CGS unit is the Gauss (G):
Typical Magnetic Field Strengths
| Source | Strength |
|---|---|
| MRI machine | 1.5 – 3 T |
| Strong lab magnet | 1 – 10 T |
| Refrigerator magnet | ~5 mT |
| Earth's surface | ~50 μT |
| Interstellar space | ~0.1 nT |
The Permeability Constant
This constant appears in all formulas for magnetic fields produced by currents, just as appears in electric field formulas.
Magnetic Fields Concept Quiz 🧲
Exit Check — Magnetic Field Basics ✅
Part 2: Force on Moving Charges
⚡ Force on Moving Charges
Part 2 of 7 — The Magnetic Force Law
Electric fields push charges along the field direction. Magnetic fields do something stranger: they push charges perpendicular to both the velocity and the field. This sideways force is the key to everything from particle accelerators to the Northern Lights.
The Magnetic Force on a Moving Charge
A charge moving with velocity in a magnetic field experiences a force:
The magnitude is:
where is the angle between and .
Key Properties
-
The force is perpendicular to both and — it points "out of the plane" formed by the velocity and field vectors
-
No force on stationary charges — if , then
-
No force when — if or , then
-
Maximum force when — when ,
-
The magnetic force does no work — since , the force changes direction but not speed
The Right-Hand Rule
To find the direction of :
For Positive Charges ()
- Point your fingers in the direction of
- Curl them toward
- Your thumb points in the direction of
For Negative Charges ()
Use the right-hand rule as above, then reverse the direction (the force is opposite to what the right-hand rule gives).
Alternatively: use your left hand for negative charges.
Common Directions
| direction | direction | on |
|---|---|---|
| (right) | (up) | (out of page) |
| (right) | (out of page) | (down) |
| (up) | (right) | (into page) |
| (out of page) | (right) | (up) |
Memory Aid
Think: "velocity, field, force" — point, curl, thumb. For a positive charge, this directly gives the force. For an electron, flip it.
Right-Hand Rule Drill 👋
Determine the direction of the magnetic force on a positive charge in each scenario.
Force on Negative Charges
For an electron () or any negative charge:
The negative sign reverses the force direction compared to a positive charge.
Example
An electron moves to the right () in a magnetic field pointing up ():
- Right-hand rule for : → out of page
- Electron (): reverse → force is into the page ()
Practical Importance
In most conductors, the current carriers are electrons (negative charges). When applying the force law to current-carrying wires, we can either:
- Use with and the actual electron velocity
- Or use the conventional current direction (opposite to electron flow) with
Both approaches give the same force direction on the wire.
Electron Force Direction Drill 🔬
Now find the force direction on an electron ().
Exit Quiz — Magnetic Force ✅
Part 3: Circular Motion in B Fields
🌀 Charged Particles in Magnetic Fields
Part 3 of 7 — Circular Motion, Mass Spectrometers, and Velocity Selectors
When a charged particle moves perpendicular to a uniform magnetic field, the magnetic force acts as a centripetal force, causing the particle to travel in a circle. This simple fact underlies some of the most powerful instruments in physics and chemistry.
Circular Motion in a Magnetic Field
A charge moving with speed perpendicular to a uniform field experiences:
This force is always perpendicular to , so it acts as a centripetal force:
Solving for the radius of circular motion:
Key Observations
- Faster particles → larger radius (linear in )
- Heavier particles → larger radius (linear in )
- Stronger field → smaller radius (inverse in )
- More charge → smaller radius (inverse in )
The speed does not change — the magnetic force does no work! The particle moves in a perfect circle at constant speed.
Cyclotron Period and Frequency
The period (time for one full circle) is:
The cyclotron frequency is:
And the angular frequency:
Remarkable Result
The period and frequency are independent of speed and radius! A faster particle travels a bigger circle, but it completes the circle in the same time as a slower particle. This is the principle behind the cyclotron particle accelerator.
What if has a component along ?
- The component (parallel to ) is unaffected — no force
- The component (perpendicular to ) produces circular motion
- The result is a helix (spiral) along the field direction
Mass Spectrometer
A mass spectrometer separates ions by mass using a magnetic field.
How It Works
- Ionize atoms or molecules → they become charged
- Accelerate through a potential difference : kinetic energy , so
- Enter a magnetic field region → travel in semicircles
- Detect where they land on a detector plate
The Separation
The radius of the semicircle is:
Substituting :
Different masses land at different positions (different ), allowing isotope identification and molecular analysis.
Velocity Selector
A velocity selector uses crossed electric and magnetic fields to select particles with a specific speed.
Setup
- and are perpendicular to each other and to the particle's velocity
- Electric force: (in one direction)
- Magnetic force: (in the opposite direction)
Condition for Straight-Line Motion
For the particle to pass through undeflected:
Key Features
- Only particles with speed pass through — all others are deflected
- The selected speed is independent of charge and mass
- This is used as the first stage in many mass spectrometers to ensure all entering particles have the same speed
Circular Motion Calculation Drill 🔢
A proton ( kg, C) moves at m/s perpendicular to a 0.20 T magnetic field.
- Radius of the circular path (in m, to 3 significant figures)
- Cyclotron period (in s, use scientific notation like 3.3e-7)
- Cyclotron frequency (in Hz, use scientific notation like 3.0e6)
Exit Quiz — Particles in Magnetic Fields ✅
Part 4: Force on Current-Carrying Wires
🔌 Force on Current-Carrying Wires
Part 4 of 7 — From Single Charges to Wires
A current is simply a flow of charges. Since each moving charge experiences a magnetic force, a current-carrying wire in a magnetic field experiences a net force. This is the principle behind electric motors, loudspeakers, and galvanometers.
Force on a Straight Current-Carrying Wire
For a straight wire of length carrying current in a uniform magnetic field :
where points in the direction of conventional current flow.
The magnitude is:
where is the angle between the wire (current direction) and .
Special Cases
- Wire perpendicular to (): (maximum force)
- Wire parallel to (): (no force)
Derivation from Charge Force
Current where = charge density, = drift velocity, = cross-section area.
Total force on charges in length :
The macroscopic wire force follows directly from the microscopic charge force.
Direction of Force on a Wire
Use the same right-hand rule as for individual charges:
- Point fingers along (conventional current direction)
- Curl toward
- Thumb points in the direction of
Example
A wire carries current to the right () in a magnetic field pointing into the page ():
The force is upward ().
This is exactly how a loudspeaker works: alternating current in a coil within a magnetic field pushes the speaker cone back and forth, producing sound waves.
Wire Force Direction Drill 🎯
Find the force direction on a current-carrying wire.
Forces Between Parallel Wires
Two parallel wires carrying currents exert magnetic forces on each other.
Same Direction Currents → Attract
Wire 1 creates a field at Wire 2. By the right-hand rule, this field causes a force on Wire 2 toward Wire 1. By Newton's third law, Wire 1 is also pulled toward Wire 2.
Parallel currents attract.
Opposite Direction Currents → Repel
If the currents flow in opposite directions, the force pushes the wires apart.
Antiparallel currents repel.
Force Per Unit Length
The magnetic field from Wire 1 at distance :
Force on a length of Wire 2:
Force per unit length:
Definition of the Ampere
This force is so fundamental that the ampere was historically defined as: the current that, flowing in two parallel wires 1 m apart, produces a force of N per meter of length.
Wire Force Calculation Drill 🔢
Use T·m/A.
-
A 0.50 m wire carrying 8.0 A is perpendicular to a 0.30 T field. What is the force on the wire (in N)?
-
Two parallel wires carry 10 A each in the same direction, separated by 5.0 cm. What is the force per unit length between them (in N/m, use scientific notation like 4.0e-4)?
-
Do the wires in (2) attract or repel? (Type "attract" or "repel")
Round all answers to 3 significant figures.
Exit Quiz — Forces on Wires ✅
Part 5: Ampère's Law & Solenoids
🔄 Magnetic Field from Currents
Part 5 of 7 — Biot-Savart, Ampère's Law, and Solenoids
So far we've studied the force that a magnetic field exerts on charges and wires. Now we turn to the source question: how do currents create magnetic fields? Two powerful laws — the Biot-Savart law and Ampère's law — give the answer.
Magnetic Field of a Long Straight Wire
The most important result: a long straight wire carrying current creates a magnetic field at perpendicular distance :
where T·m/A.
Direction: Right-Hand Rule for Wires
Point your right thumb in the direction of the current. Your fingers curl in the direction of .
- Current flowing up → circles counterclockwise (viewed from above)
- Current flowing toward you → circles counterclockwise
Key Features
- — double the current, double the field
- — field decreases with distance (but only as , not )
- Field lines are concentric circles centered on the wire
- Field is tangent to these circles at every point
Ampère's Law
Ampère's law is the magnetic analog of Gauss's law — it relates the magnetic field around a closed loop to the current passing through the loop:
where is the total current enclosed by the Amperian loop.
When to Use Ampère's Law
Ampère's law is most useful when the geometry has high symmetry:
- Long straight wire — use a circular Amperian loop centered on the wire
- Solenoid — use a rectangular loop
- Toroid — use a circular loop inside the toroid
Deriving the Wire Field
For a long straight wire, choose a circular Amperian loop of radius :
The same result we stated above — Ampère's law confirms it elegantly.
Solenoids
A solenoid is a tightly wound coil of wire. It produces a nearly uniform magnetic field inside and nearly zero field outside.
Field Inside an Ideal Solenoid
where:
- is the number of turns per unit length
- = total number of turns
- = length of the solenoid
- = current
Derivation (Ampère's Law)
Choose a rectangular Amperian loop with one side inside and one outside the solenoid:
- Inside side (length ): (field is uniform and parallel)
- Outside side: 0 (field is negligible)
- Two short sides: 0 (perpendicular to )
Current enclosed: (there are turns through the loop)
Key Properties
- Field inside is uniform (constant everywhere inside)
- Field outside is approximately zero
- Field strength depends on turns per length () and current (), not the total length
- A solenoid is essentially a magnetic dipole — its field pattern outside resembles a bar magnet
Magnetic Field Calculation Drill 🔢
Use T·m/A.
-
A long wire carries 15 A. What is at a distance of 3.0 cm from the wire? (in T, use scientific notation like 1.0e-4)
-
A solenoid is 0.40 m long, has 800 turns, and carries 2.0 A. What is inside? (in T, to 3 significant figures)
-
How far from a 20 A wire is the field equal to T? (in m, to 3 significant figures)
Concept Check — Fields from Currents
Exit Check — Fields from Currents ✅
Part 6: Torque on Current Loops
⚙️ Torque on Current Loops
Part 6 of 7 — Magnetic Dipoles, Motors, and Galvanometers
A current loop in a magnetic field doesn't just experience a net force — it experiences a torque that tends to rotate it. This is the operating principle behind electric motors, galvanometers, and many other devices.
Torque on a Rectangular Current Loop
Consider a rectangular loop (sides and ) carrying current in a uniform field .
Forces on the Sides
- Sides parallel to : No force ()
- Sides perpendicular to : Force on each, but in opposite directions
These opposite forces create a couple — a net torque with zero net force.
The Torque
The perpendicular distance between the two force lines (the lever arm) depends on the angle between the loop's normal and :
where is the area of the loop.
For a coil with turns:
where is the angle between the magnetic dipole moment (normal to the loop) and .
Magnetic Dipole Moment
The magnetic dipole moment of a current loop is:
where:
- = number of turns
- = current
- = area vector (perpendicular to the loop, direction from right-hand rule: curl fingers in direction of current, thumb = )
The magnitude is:
Torque in Terms of
Equilibrium Positions
- : → → stable equilibrium (lowest energy)
- : antiparallel to → → unstable equilibrium (highest energy)
- : maximum torque
Potential Energy
- Minimum energy at :
- Maximum energy at :
Applications
Electric Motor
A motor uses the torque on a current loop to create continuous rotation:
- Current flows through a coil in a magnetic field → torque rotates the coil
- A commutator (split ring) reverses the current direction every half turn
- This ensures the torque always acts in the same rotational direction
- The coil spins continuously!
Without the commutator, the coil would just oscillate back and forth around the equilibrium position ().
Galvanometer
A galvanometer measures small currents:
- Current flows through a coil suspended in a magnetic field
- The magnetic torque is opposed by a spring
- The coil rotates until
- Greater current → greater deflection → read on a scale
The deflection angle is proportional to the current, making it a useful measuring device.
Key Difference
- Motor: commutator allows continuous rotation
- Galvanometer: spring limits rotation to a measurable deflection
Torque Concept Quiz ⚙️
Torque Calculation Drill 🔢
A rectangular coil has 50 turns, dimensions 8.0 cm × 5.0 cm, carries 2.0 A, and sits in a 0.30 T uniform magnetic field.
- Magnetic dipole moment (in A·m²)
- Maximum torque on the coil (in N·m)
- Torque when makes a 30° angle with (in N·m)
Round all answers to 3 significant figures.
Exit Check — Torque and Dipoles ✅
Part 7: Synthesis & AP Review
🏆 Synthesis & AP Review
Part 7 of 7 — Right-Hand Rule Mastery, Common Mistakes, and AP FRQ Preview
You've learned the core of magnetism: fields from sources, forces on charges and wires, circular motion, and torque on loops. This final part ties everything together and prepares you for AP-level problems.
📋 Master Formula Sheet
Forces
| Situation | Formula |
|---|---|
| Force on moving charge | , |
| Force on current-carrying wire | , |
| Force between parallel wires |
Fields from Currents
| Source | Formula |
|---|---|
| Long straight wire | |
| Solenoid (inside) | |
| Ampère's law |
Circular Motion
| Quantity | Formula |
|---|---|
| Radius | |
| Period | |
| Cyclotron frequency | |
| Velocity selector |
Torque and Dipoles
| Quantity | Formula |
|---|---|
| Dipole moment | |
| Torque | |
| Potential energy |
Constants
⚠️ Common Mistakes on the AP Exam
Mistake 1: Wrong Hand
Using the left hand for the right-hand rule (for positive charges or conventional current). Left hand is only for negative charges.
Mistake 2: Confusing and
- Coulomb/Electric field: ,
- Wire magnetic field: (NOT !)
Mistake 3: Thinking Magnetic Force Does Work
The magnetic force is always perpendicular to velocity: . It changes direction but not speed. It does no work and cannot change kinetic energy.
Mistake 4: Forgetting sinθ
only when . The general formula is . If , .
Mistake 5: Period Depends on Speed
The cyclotron period is independent of speed. Students often think faster particles take less time — they don't. They travel a bigger circle at a proportionally higher speed.
Mistake 6: Parallel Wires Direction
Same-direction currents attract (not repel). This is counterintuitive — think of it as: the wires' fields reinforce between them, creating a pressure that pushes them together.
Right-Hand Rule Mastery Challenge 👋
Mixed scenarios — identify the correct direction or quantity.
📝 AP FRQ Preview
A common AP Physics 2 free-response question type:
Setup
A proton is launched horizontally into a region of uniform magnetic field pointing into the page.
Typical Parts
(a) Draw the path of the proton. Explain why it curves.
Answer: The proton follows a circular arc. The magnetic force acts perpendicular to the velocity, providing centripetal acceleration.
(b) Determine the radius of the circular path.
Answer: . Substitute given values.
(c) If the proton is replaced by an alpha particle (, ) with the same speed, how does the radius change?
Answer: . The alpha particle has twice the radius.
(d) Does the magnetic field do work on the proton? Justify.
Answer: No. The magnetic force is always perpendicular to velocity (), so . Speed and KE remain constant.
Pro Tips for FRQs
- Always state the relevant equation before plugging in numbers
- Explain directions using the right-hand rule explicitly
- Justify "no work" by citing
- When comparing particles, use ratios to avoid numerical errors
AP-Style Calculation Challenge 🎯
An electron ( kg, C) is accelerated from rest through a potential difference of 500 V, then enters a uniform 0.010 T magnetic field perpendicular to its velocity.
- Speed of the electron after acceleration (in m/s, use scientific notation like 1.3e7)
- Radius of the circular path in the magnetic field (in m, to 3 significant figures)
- Cyclotron period (in s, use scientific notation like 3.6e-9)
Final Mastery Quiz — Magnetic Fields and Forces 🏆