AP Physics C: Electricity & Magnetism • Magnetic Fields and Electromagnetism

Magnetism and Moving Charges

How electric charges in motion generate and respond to magnetic fields, unifying electricity and magnetism.

A magnet with electric energy and an atomic field.
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

Historical Context & Motivation

For centuries, magnetism and electricity were regarded as entirely separate phenomena—lodestones attracted iron, and amber rubbed with fur attracted bits of straw, but no one suspected a deeper connection. The pivotal moment arrived in 1820 when Hans Christian Ørsted noticed that a current-carrying wire deflected a nearby compass needle, revealing that moving electric charges produce magnetic fields. This single observation launched an entire program of research that ultimately fused electricity and magnetism into a unified theory of electromagnetism, culminating in Maxwell's equations and the prediction of electromagnetic waves.

1820 • Ørsted's Discovery

Hans Christian Ørsted demonstrates that an electric current deflects a compass needle, establishing the first link between electricity and magnetism.

1831 • Faraday's Force Law & Induction

Michael Faraday discovers electromagnetic induction and formulates the concept of field lines, providing a geometric picture of how charges interact with magnetic fields.

1865 • Maxwell's Equations

James Clerk Maxwell publishes a unified mathematical framework that treats electricity and magnetism as aspects of a single electromagnetic field, predicting electromagnetic waves.

1895 • Lorentz Force Formulation

Hendrik Lorentz synthesizes the total electromagnetic force on a moving charge into the compact vector expression F = q(E + v × B), unifying electric and magnetic forces.

1932 • Cyclotron Invented

Ernest Lawrence builds the first cyclotron particle accelerator, directly exploiting the magnetic force on moving charges to spiral ions to high energies.

The central question this lesson addresses is deceptively simple: How does a magnetic field exert a force on a moving charge, and what is the nature of that force? Understanding this interaction is essential not only for the AP Physics C exam but also for grasping the operation of electric motors, mass spectrometers, MRI machines, and the fundamental structure of particle physics.

SECTION 2

Core Principles & Definitions

The interaction between magnetism and moving charges rests on several foundational principles that distinguish magnetic forces from the more familiar electrostatic forces. Unlike the Coulomb force, which acts along the line connecting two charges, the magnetic force is always perpendicular to the velocity of the charge and to the magnetic field itself. This perpendicularity has profound consequences: magnetic forces change the direction of a charge's motion without changing its speed, meaning they do no work on the charge.

1

Magnetic Force on a Moving Charge

A charge q moving with velocity v in a magnetic field B experiences a force F = qv × B. The force is zero when the charge moves parallel to the field and maximum when it moves perpendicular to it.
2

Right-Hand Rule

Point your fingers in the direction of v, curl them toward B, and your thumb gives the direction of F for a positive charge. For negative charges, reverse the direction (or use the left hand).
3

No Work by Magnetic Forces

Because F ⊥ v at all times, the magnetic force does zero work: W = ∫F · ds = 0. Kinetic energy and speed remain constant; only the direction of motion changes.
4

Circular & Helical Motion

A charge entering a uniform magnetic field perpendicular to its velocity follows uniform circular motion. If there is a velocity component along B, the trajectory becomes a helix.
5

The Lorentz Force

The total electromagnetic force on a charge is F = q(E + v × B). This combined expression governs the motion of charges in crossed electric and magnetic fields, as in velocity selectors.
✦

KEY TAKEAWAY

Think of the magnetic force as a "traffic director" rather than an "accelerator." Much like a banked highway curve that redirects a car without changing its speed, the magnetic force continuously steers a moving charge onto a curved path while leaving its kinetic energy unchanged. This is why particle accelerators use electric fields to speed up particles and magnetic fields to bend and focus their trajectories—each force plays a fundamentally different role.

SECTION 3

Visual Explanation — The Magnetic Force on a Moving Charge

Magnetic Force on a Positive Moving Charge (F = qv × B)v (velocity)F (force)B (field)+Right-Hand Rule:1. Point fingers along v2. Curl fingers toward B3. Thumb points along FKey PropertiesF ⊥ v alwaysF ⊥ B alwaysW = 0 (no work)|F| = |q| · |v| · |B| · sin θwhere θ is the angle between v and BSpecial Casesθ = 90° → F = qvB (max)θ = 0° → F = 0 (min)θ = 30° → F = ½qvB
The diagram shows a positive charge (yellow) moving with velocity v (cyan) in a magnetic field B (violet). The resulting force F (pink) is perpendicular to both v and B, as dictated by the cross product. The right-hand rule steps and special angle cases are annotated.

The diagram above captures the essential geometry of the magnetic force. Notice that the three vectors—v, B, and F—are mutually perpendicular when v ⊥ B, forming a right-handed coordinate system. The magnitude of the force depends on the sine of the angle between v and B: when the charge moves along the field lines (θ = 0°), the force vanishes entirely; when it moves perpendicular to them (θ = 90°), the force reaches its maximum value of qvB. For a negative charge, the force direction reverses, which is equivalent to applying a left-hand rule instead.

SECTION 4

Mathematical Framework

The mathematical description of the force on a moving charge in a magnetic field is elegantly captured by the cross product. This section develops the key equations you need for the AP exam, including the magnetic force law, the radius of circular orbits, the cyclotron frequency, and the full Lorentz force.

MAGNETIC FORCE LAW

F=qv×BF = qv × B

where F is the magnetic force (N), q is the charge (C), v is the velocity vector (m/s), and B is the magnetic field vector (T). The magnitude is |F| = |q|vB sin θ, where θ is the angle between v and B.

RADIUS OF CIRCULAR ORBIT

r=mv/(∣q∣B)r = mv / (|q|B)

Derived by setting the magnetic force equal to the centripetal force: |q|vB = mv²/r. Solving for r gives the cyclotron radius (also called the Larmor radius). Here m is the particle mass (kg). Faster or heavier particles orbit in larger circles; stronger fields produce tighter orbits.

CYCLOTRON FREQUENCY

ω=∣q∣B/mandT=2πm/(∣q∣B)ω = |q|B / m and T = 2πm / (|q|B)

The cyclotron angular frequency ω and period T are independent of the particle's speed—a remarkable result that allows cyclotrons to accelerate particles using a fixed-frequency oscillating electric field. Doubling the speed doubles the radius but leaves the period unchanged.

LORENTZ FORCE (FULL)

F=q(E+v×B)F = q(E + v × B)

The complete electromagnetic force on a charged particle. When E and B are perpendicular and a particle moves undeflected, the electric and magnetic forces balance: qE = qvB, yielding the velocity selector condition v = E/B.

💡

Derivation Note

The cyclotron radius derivation is a favorite on the AP exam. Start with Newton's second law for circular motion: ΣF = mv²/r. The only radial force is the magnetic force |q|vB (since v ⊥ B for circular motion). Setting |q|vB = mv²/r, canceling one factor of v from each side, and solving for r immediately yields r = mv/(|q|B). Similarly, the period follows from T = 2πr/v = 2π(mv/(|q|B))/v = 2πm/(|q|B), which is independent of v.

SECTION 5

Charge Trajectories in Magnetic Fields

The trajectory of a charged particle in a uniform magnetic field depends critically on the angle between the particle's initial velocity and the field direction. Three distinct cases arise: circular motion when v is perpendicular to B, helical motion when v has components both parallel and perpendicular to B, and straight-line (undeflected) motion when v is parallel to B. Understanding these cases is essential for interpreting problems involving mass spectrometers, cyclotrons, and the aurora borealis.

Charge Trajectories in a Uniform Magnetic Field (B into page ⊗)Case 1: v ⊥ BCircular Motion+qvr = mv/(qB)Case 2: v at angle to BHelical Motionaxis ∥ B+qpitch = v∥ · TCase 3: v ∥ BNo Deflection+qvF = 0⊗ ⊗ ⊗ ⊗⊗ ⊗ ⊗ ⊗⊗ ⊗ ⊗ ⊗B directed into the page (⊗ symbols)
Three trajectory cases for a positive charge in a uniform magnetic field directed into the page. Case 1 (amber): v ⊥ B yields circular motion with radius r = mv/(qB). Case 2 (cyan): v at an angle to B produces a helix whose pitch depends on v∥. Case 3 (violet): v ∥ B results in zero magnetic force and straight-line motion.

In Case 2, the velocity can be decomposed into components parallel and perpendicular to B: v = v∥ + v⊥. The parallel component v∥ = v cos θ is unaffected by the magnetic force and carries the charge uniformly along the field direction. The perpendicular component v⊥ = v sin θ produces circular motion in the plane normal to B with radius r = mv⊥/(|q|B). The superposition of these two motions is a helix whose pitch—the distance traveled along B per revolution—is p = v∥ × T = 2πmv cos θ / (|q|B). This helical trapping of charges along magnetic field lines is the mechanism behind the Van Allen radiation belts and the aurora borealis.

SECTION 6

Worked Example — Proton in a Cyclotron

A proton (mass m = 1.67 × 10⁻²⁷ kg, charge q = 1.60 × 10⁻¹⁹ C) enters a region of uniform magnetic field B = 0.50 T directed out of the page. The proton's velocity is v = 3.0 × 10⁶ m/s directed to the right, perpendicular to B. Find the magnitude and direction of the magnetic force, the radius of the circular orbit, and the cyclotron period.

Proton in a Uniform Magnetic Field

  1. 1

    Step 1 — Identify the Given Quantities

    We have q = 1.60 × 10⁻¹⁹ C, m = 1.67 × 10⁻²⁷ kg, v = 3.0 × 10⁶ m/s (to the right), and B = 0.50 T (out of the page). Since v ⊥ B, the angle θ = 90° and sin θ = 1.
  2. 2

    Step 2 — Calculate the Magnetic Force Magnitude

    Apply |F| = |q|vB sin θ = (1.60 × 10⁻¹⁹ C)(3.0 × 10⁶ m/s)(0.50 T)(1).
    |F| = 2.4 × 10⁻¹³ N
  3. 3

    Step 3 — Determine the Force Direction

    Using the right-hand rule: point fingers to the right (v), curl them out of the page (B). The thumb points downward (toward the bottom of the page). Since the proton is positive, F is directed downward. Equivalently, in component form with v = v x̂ and B = B ẑ, we get F = q(v x̂ × B ẑ) = qvB(x̂ × ẑ) = −qvB ŷ.
    F directed downward (−ŷ direction)
  4. 4

    Step 4 — Find the Orbital Radius

    Set the magnetic force equal to the centripetal force: |q|vB = mv²/r. Solving: r = mv/(|q|B) = (1.67 × 10⁻²⁷ kg)(3.0 × 10⁶ m/s) / ((1.60 × 10⁻¹⁹ C)(0.50 T)).
    r = 6.26 × 10⁻² m ≈ 6.3 cm
  5. 5

    Step 5 — Calculate the Cyclotron Period

    T = 2πm/(|q|B) = 2π(1.67 × 10⁻²⁷ kg) / ((1.60 × 10⁻¹⁹ C)(0.50 T)). Note that the period is independent of the proton's speed.
    T = 1.31 × 10⁻⁷ s ≈ 131 ns

SECTION 7

Applications & Comparisons

The magnetic force on moving charges underlies a wide range of technologies and natural phenomena. Understanding how each application exploits specific properties of the force—its velocity dependence, its perpendicularity, or its charge-to-mass selectivity—strengthens both conceptual understanding and exam readiness.

ApplicationPrinciple UsedKey Equation / Feature
CyclotronPeriod independent of speed → fixed-frequency accelerationT = 2πm/(qB); r increases with energy
Mass SpectrometerRadius depends on m/q → separates isotopesr = mv/(qB); different masses hit different detector positions
Velocity SelectorE and B forces balance only at v = E/BqE = qvB → v = E/B; independent of charge and mass
Hall Effect SensorMagnetic force on charge carriers creates transverse voltageVHV_H = vBd; reveals carrier sign and density
Aurora BorealisHelical trapping along Earth's field linesCharged solar wind particles spiral along B, striking atmosphere at poles

Key applications of the magnetic force on moving charges

✦

KEY TAKEAWAY

Each application exploits a different aspect of F = qv × B. The cyclotron leverages the speed-independent period; the mass spectrometer uses the mass-dependent radius; the velocity selector harnesses the balance between electric and magnetic forces. Recognizing which property is being exploited is often the key to solving AP exam free-response questions on these devices.

SECTION 8

Connection to Advanced Electromagnetic Theory

The magnetic force on a moving charge is not an isolated fact but a gateway to deeper electromagnetic theory. In this section we briefly compare the introductory treatment covered in AP Physics C with more advanced perspectives you may encounter in upper-division physics, placing the Lorentz force within its broader theoretical context.

FeatureAP Physics C TreatmentAdvanced / Relativistic Treatment
Force lawF = q(E + v × B) applied in lab frameE and B are components of the electromagnetic field tensor F^μν; the force is frame-dependent
Origin of BB treated as a fundamental field produced by currentsMagnetism arises as a relativistic correction to the Coulomb force when charges are in relative motion
Circular motionr = mv/(qB) with constant mr = γmv/(qB) with relativistic mass γm; synchrotrons adjust B to compensate
Work doneMagnetic force does no work (F ⊥ v always)Still zero in any frame; formal proof via the antisymmetry of F^μν

AP Physics C vs. advanced electromagnetic theory

Perhaps the most remarkable insight from special relativity is that magnetism is not a separate force but rather the relativistic consequence of Coulomb's law applied to moving charges. When you observe a current-carrying wire from a frame in which the conduction electrons are stationary, the force on a nearby test charge appears purely electrostatic due to length contraction of the positive lattice ions. In the lab frame, the same force manifests as a magnetic force. This deep connection—though beyond the scope of the AP exam—provides powerful motivation for why magnetism and moving charges are so intimately linked.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

A proton moves due east through a region where a uniform magnetic field points due north. In which direction does the magnetic force act on the proton?
  • A. Upward (out of the ground)
  • B. Downward (into the ground)
  • C. Due west
  • D. Due south
Show answer (A)
Using the Lorentz force law, F = qv × B. Define east = x̂, north = ŷ, and up = ẑ, forming a standard right-handed coordinate system. The proton has velocity v = vx̂ and the magnetic field is B = Bŷ. Therefore, F = q(vx̂ × Bŷ) = qvB(x̂ × ŷ) = qvBẑ. Since q is positive for a proton and both v and B are positive, the force points in the +ẑ direction, which is upward. This result is confirmed by the right-hand rule: point your fingers due east (the direction of v), curl them toward due north (the direction of B), and your thumb points upward. The magnetic force on the proton acts upward, out of the ground.

Question 2: BASIC CALCULATION

An electron (|q| = 1.6 × 10⁻¹⁹ C, m = 9.11 × 10⁻³¹ kg) moves at 2.0 × 10⁷ m/s perpendicular to a uniform magnetic field of magnitude 0.10 T. What is the radius of the electron's circular orbit?
  • A. 1.1 × 10⁻³ m
  • B. 5.7 × 10⁻⁴ m
  • C. 2.3 × 10⁻² m
  • D. 1.1 × 10⁻⁵ m
Show answer (A)
Using r = mv/(|q|B) = (9.11 × 10⁻³¹ kg)(2.0 × 10⁷ m/s) / ((1.6 × 10⁻¹⁹ C)(0.10 T)) = (1.822 × 10⁻²³) / (1.6 × 10⁻²⁰) = 1.14 × 10⁻³ m ≈ 1.1 × 10⁻³ m. Choice (A) is correct. Choice (B) is off by roughly a factor of 2, which could result from incorrectly doubling B. Choice (C) is 100× too large, possibly from a unit error. Choice (D) is 100× too small, possibly from using the wrong mass.

Question 3: INTERMEDIATE

A velocity selector uses perpendicular electric and magnetic fields to pass only particles with a specific speed. If E = 3.0 × 10⁴ V/m and B = 0.20 T, and a singly charged ion passes through undeflected and then enters a mass-separation region with a magnetic field B₂ = 0.50 T, what is the radius of the ion's semicircular path if its mass is 6.64 × 10⁻²⁶ kg?
  • A. 0.062 m
  • B. 0.12 m
  • C. 0.25 m
  • D. 0.50 m
Show answer (B)
First, find the selected speed: v = E/B = (3.0 × 10⁴ V/m)/(0.20 T) = 1.5 × 10⁵ m/s. Then calculate the radius in the separation region: r = mv/(qB₂) = (6.64 × 10⁻²⁶ kg)(1.5 × 10⁵ m/s) / ((1.6 × 10⁻¹⁹ C)(0.50 T)) = (9.96 × 10⁻²¹) / (8.0 × 10⁻²⁰) = 0.125 m ≈ 0.12 m. Choice (B) is correct. Choice (A) results from using B₂ = 1.0 T or miscomputing v. Choice (C) may arise from forgetting to use the velocity selector speed. Choice (D) is much too large and may come from a computational error.

Question 4: APPLIED

5 pts
A proton (mass m = 1.67 × 10⁻²⁷ kg, charge q = 1.60 × 10⁻¹⁹ C) is accelerated from rest through a potential difference V₀ = 500 V and then enters a region of uniform magnetic field B = 0.25 T directed perpendicular to the proton's velocity. (a) Derive an expression for the speed of the proton as it enters the magnetic field region, in terms of V₀, m, and q. Then calculate the numerical value. (b) Derive an expression for the radius of the proton's circular orbit in the magnetic field, in terms of V₀, m, q, and B. Calculate the numerical value. (c) Determine the cyclotron period and explain why the period does not depend on V₀. (d) If the proton were replaced by a deuteron (mass 2m, charge q), state how the orbital radius and period would each change. Justify your answers.
Show answer
Rubric (5 points): (a) [1 point] Energy conservation: qV₀ = ½mv² → v = √(2qV₀/m). Numerically: v = √(2(1.60 × 10⁻¹⁹)(500)/(1.67 × 10⁻²⁷)) = √(9.58 × 10¹⁰) = 3.10 × 10⁵ m/s. (b) [1 point] r = mv/(qB). Substituting v from (a): r = (m/(qB))√(2qV₀/m) = √(2mV₀/q) / B. Numerically: r = (1.67 × 10⁻²⁷)(3.10 × 10⁵) / ((1.60 × 10⁻¹⁹)(0.25)) = 5.17 × 10⁻²² / 4.0 × 10⁻²⁰ = 1.29 × 10⁻² m ≈ 1.3 cm. (c) [1 point] T = 2πm/(qB) = 2π(1.67 × 10⁻²⁷)/((1.60 × 10⁻¹⁹)(0.25)) = 2.62 × 10⁻⁷ s ≈ 260 ns. [1 point] The period is independent of V₀ because T = 2πm/(qB) contains no velocity term. A faster proton (higher V₀) orbits in a larger circle but traverses that larger circle in the same time because the centripetal acceleration scales linearly with v, exactly matching the larger circumference. (d) [1 point] Deuteron: Using r = √(2mV₀/q)/B, replacing m with 2m gives rdr_d = √(2(2m)V₀/q)/B = √2 × r_proton ≈ 1.4× larger. The period TdT_d = 2π(2m)/(qB) = 2 × T_proton, so the period doubles. The radius increases by √2 because the heavier particle gains less speed from the same V₀ but has greater momentum per unit charge; the period doubles because it depends linearly on mass.

Question 5: CRITICAL THINKING

4 pts
An alpha particle (charge +2e, mass 4m_p) and a proton (charge +e, mass mpm_p) are both accelerated from rest through the same potential difference V₀ and then enter the same uniform magnetic field B perpendicular to their velocities. (a) Derive the ratio r_α/rpr_p of their orbital radii. (b) A student claims: "Since the magnetic force does no work, the kinetic energy of a charged particle in a magnetic field must always remain constant, even if the field is time-varying." Evaluate this claim and identify any error in the reasoning.
Show answer
Rubric (4 points): (a) [1 point] From energy conservation: v = √(2qV₀/m). For the alpha particle: v_α = √(2(2e)V₀/(4m_p)) = √(eV₀/mpm_p). For the proton: vpv_p = √(2eV₀/mpm_p). So v_α = vpv_p/√2. [1 point] Using r = mv/(qB): r_α = (4m_p)(vpv_p/√2) / (2eB) = (4m_p vpv_p) / (2√2 eB) = √2 mpm_p vpv_p / (eB). And rpr_p = mpm_p vpv_p / (eB). Therefore r_α/rpr_p = √2 ≈ 1.41. Alternatively, r = √(2mV₀/q)/B, so r_α/rpr_p = √((4m_p)/(2e)) / √(mpm_p/e) = √(4m_p · e / (2e · mpm_p)) = √2. (b) [1 point] The student's claim is partially correct for static magnetic fields: since FBF_B ⊥ v, the magnetic force does no work, and kinetic energy is conserved. [1 point] However, the claim fails for time-varying magnetic fields. A changing magnetic field induces an electric field (by Faraday's law: ∮E · dl = −dΦ_B/dt), and this induced electric field can do work on charges. The kinetic energy change comes from the induced E field, not directly from the B field. Thus the student's generalization to time-varying fields is incorrect.

SUMMARY

Summary — Magnetism and Moving Charges

Summary

The magnetic force on a moving charge is given by F = qv × B, a cross-product expression that produces a force always perpendicular to both the velocity and the field. This perpendicularity means the magnetic force does no work and cannot change a particle's speed—only its direction. The direction of the force is determined by the right-hand rule for positive charges (reverse for negative). When a charge moves perpendicular to a uniform B field, it undergoes uniform circular motion with radius r = mv/(|q|B) and a speed-independent period T = 2πm/(|q|B); if the velocity has a component along B, the trajectory becomes a helix.

The full Lorentz force F = q(E + v × B) combines electric and magnetic effects and underlies devices like velocity selectors (v = E/B), mass spectrometers, and cyclotrons. For the AP exam, remember to apply the right-hand rule carefully, recognize the three trajectory types (circle, helix, straight line), derive the cyclotron radius and period from Newton's second law, and understand that magnetic forces alone never change kinetic energy.

Varsity Tutors • AP Physics C: Electricity and Magnetism • Magnetism and Moving Charges