AP Physics C: Electricity & Magnetism Master Class
Ampère’s Law, Biot-Savart Integrals, and Displacement Current
Target Institution: Carnegie Mellon University (CMU)
Academic Goal: Score 5 on AP Physics C: E&M
CMU Placement Advantage: Exemption from 33-142 (Physics II for Engineering, 12 Units) $\rightarrow$ Direct acceleration into 18-220 (Electronic Devices & Circuits / Analog Circuits)
1. Introduction & AP Exam Weight
Magnetostatics and time-dependent electrodynamics form the core mathematical rigor of the AP Physics C: Electricity & Magnetism exam, accounting for approximately 20–25% of the total exam weight.
While Gauss’s Law addresses highly symmetric static charge distributions, Ampère’s Law, the Biot-Savart Law, and Displacement Current govern the geometry of magnetic fields and the fundamental coupling between time-varying electric fields and circulating magnetic fields.
STATIC CURRENTS TIME-VARYING FIELDS
+--------------------------+ +--------------------------+
| Biot-Savart Law | | Displacement Current |
| dB = (μ₀I/4π)(dℓ×r̂)/r² | | I_d = ε₀ (dΦ_E / dt) |
+------------+-------------+ +------------+-------------+
| |
v v
+--------------------------+ +--------------------------+
| Ampère's Law (Static) | | Maxwell-Ampère Law |
| ∮ B · dℓ = μ₀ I_enc | -----> | ∮ B · dℓ = μ₀(I + I_d) |
+--------------------------+ +--------------------------+
Why This Topic Separates 4s from 5s
- Mathematical Vector Integration: High school calculus often focuses on single-variable scalar integration. The AP Physics C exam requires evaluating three-dimensional line integrals with cross products ($\vec{d\ell} \times \hat{r}$) and non-uniform current densities ($\vec{J}(\vec{r})$).
- Maxwell’s Continuity Correction: Understanding why static Ampère’s Law breaks down in dynamic circuits (e.g., charging capacitors) and deriving the magnetic field generated by changing electric flux ($\Phi_E$) demands deep conceptual clarity.
2. Deep Concept Breakdown
A. The Biot-Savart Law: Vector Line Integrals
For an arbitrary current-carrying conductor, the differential magnetic field $d\vec{B}$ at a point in space due to an infinitesimal current element $I d\vec{\ell}$ is given by:
$$d\vec{B} = \frac{\mu_0 I}{4\pi} \frac{d\vec{\ell} \times \hat{r}}{r^2} = \frac{\mu_0 I}{4\pi} \frac{d\vec{\ell} \times \vec{r}}{r^3}$$
Canonical Derivation: Magnetic Field along the Central Axis of a Circular Loop
Consider a circular current loop of radius $R$ carrying steady current $I$ lying in the $xy$-plane, centered at the origin. We wish to calculate $\vec{B}(z)$ at a point $P = (0, 0, z)$ on its z-axis.
- Vector Geometry:
- Current element vector: $d\vec{\ell} = R d\phi\, \hat{\phi}$
- Position vector from loop element to point $P$: $\vec{r} = -R\hat{r}_\rho + z\hat{k}$
- Distance: $r = \sqrt{R^2 + z^2}$
-
Unit vector direction: $\hat{r} = \frac{-R\hat{r}_\rho + z\hat{k}}{\sqrt{R^2 + z^2}}$
-
Cross Product: $$d\vec{\ell} \times \vec{r} = (R d\phi\, \hat{\phi}) \times (-R\hat{r}\rho + z\hat{k}) = R^2 d\phi\, \hat{k} + R z d\phi\, \hat{r}\rho$$
-
Symmetry Arguments: Due to axial symmetry, the radial components $\hat{r}_\rho$ integrate to zero over a full turn ($\phi = 0 \to 2\pi$). Thus, only the z-component survives:
$$dB_z = \frac{\mu_0 I}{4\pi} \frac{R^2 d\phi}{(R^2 + z^2)^{3/2}}$$
- Integration: $$B_z = \int_0^{2\pi} \frac{\mu_0 I R^2}{4\pi (R^2 + z^2)^{3/2}} d\phi = \frac{\mu_0 I R^2}{4\pi (R^2 + z^2)^{3/2}} (2\pi)$$
$$\vec{B}(z) = \frac{\mu_0 I R^2}{2(R^2 + z^2)^{3/2}} \hat{k}$$
B. Ampère’s Law and Non-Uniform Current Densities
For highly symmetric static configurations:
$$\oint \vec{B} \cdot d\vec{\ell} = \mu_0 I_{\text{enc}}$$
When current density $\vec{J}(r)$ is non-uniform, $I_{\text{enc}}$ must be determined via surface integration:
$$I_{\text{enc}} = \iint_{S} \vec{J} \cdot d\vec{A} = \int_0^r J(r') 2\pi r' \, dr'$$
Case Analysis: Thick Cylindrical Wire with Non-Uniform Current Density $J(r) = C r$
Consider a long wire of radius $R$ carrying a total current $I_0$ with current density proportional to radial distance: $J(r) = C r$.
-
Find constant $C$ in terms of total current $I_0$: $$I_0 = \int_0^R (C r') (2\pi r') dr' = 2\pi C \int_0^R (r')^2 dr' = \frac{2\pi C R^3}{3} \implies C = \frac{3 I_0}{2\pi R^3}$$
-
Magnetic Field Inside the Wire ($r < R$): $$I_{\text{enc}}(r) = \int_0^r (C r') (2\pi r') dr' = \frac{2\pi C r^3}{3} = I_0 \left( \frac{r}{R} \right)^3$$
Applying Ampère's Law along a circular Amperian loop of radius $r$: $$B(2\pi r) = \mu_0 I_0 \left( \frac{r}{R} \right)^3 \implies B_{\text{in}}(r) = \frac{\mu_0 I_0 r^2}{2\pi R^3}$$
- Magnetic Field Outside the Wire ($r \ge R$): $$B_{\text{out}}(2\pi r) = \mu_0 I_0 \implies B_{\text{out}}(r) = \frac{\mu_0 I_0}{2\pi r}$$
C. Displacement Current & The Generalized Maxwell-Ampère Law
When a parallel-plate capacitor is charging, a physical current $I(t) = \frac{dQ}{dt}$ flows through the wires, but no real current moves across the vacuum gap between plates.
If an Amperian loop encircles the wire, $\oint \vec{B} \cdot d\vec{\ell} = \mu_0 I$. However, if the surface bounded by the same loop is stretched between the capacitor plates, $I_{\text{enc}} = 0$.
To resolve this contradiction, James Clerk Maxwell introduced the Displacement Current ($I_d$):
$$I_d = \epsilon_0 \frac{d\Phi_E}{dt}$$
Where $\Phi_E = \iint \vec{E} \cdot d\vec{A}$ is the electric flux.
Amperian Loop (Flat Surface S₁) Amperian Loop (Bulging Surface S₂)
Wires carry current I No wire current (I = 0)
Changing Electric Flux (dΦ_E/dt)
| |
v v
+---------------+ +---------------+
======|===== | =====|====== ======|===== | =====|======
| Plate 1| | | Plate 1| |
+---------------+ +---------------+
| |
| S₁ | S₂
| |
+---------------+ +---------------+
| Plate 2| | Plate 2|
======|=========|====== ======|=========|======
+---------------+ +---------------+
∮ B · dℓ = μ₀ I_enc (Valid) ∮ B · dℓ = μ₀ ε₀ (dΦ_E/dt) (Valid)
Field Inside a Charging Circular Parallel-Plate Capacitor
Consider circular plates of radius $R$ charging at rate $\frac{dQ}{dt} = I(t)$.
- Electric Field between plates: $E(t) = \frac{\sigma(t)}{\epsilon_0} = \frac{Q(t)}{\pi R^2 \epsilon_0}$
- Electric Flux for radius $r < R$: $$\Phi_E(r,t) = E(t) \cdot (\pi r^2) = \frac{Q(t) r^2}{\epsilon_0 R^2}$$
- Enclosed Displacement Current ($r < R$): $$I_{d,\text{enc}} = \epsilon_0 \frac{d\Phi_E}{dt} = \epsilon_0 \left( \frac{r^2}{\epsilon_0 R^2} \frac{dQ}{dt} \right) = I(t) \frac{r^2}{R^2}$$
- Induced Magnetic Field ($r < R$): $$\oint \vec{B} \cdot d\vec{\ell} = \mu_0 I_{d,\text{enc}} \implies B(r,t)(2\pi r) = \mu_0 I(t) \frac{r^2}{R^2} \implies B(r,t) = \frac{\mu_0 I(t) r}{2\pi R^2}$$
Python Verification: Numerical Vector Field & Field Integration
Below is a numerical simulation written in Python demonstrating the calculation of $B(z)$ along the axis of a circular loop using numerical Biot-Savart integration compared against the analytical solution.
import numpy as np
import scipy.integrate as integrate
# Physical Constants
MU_0 = 4 * np.pi * 1e-7 # T*m/A
I_CURRENT = 10.0 # Amperes
RADIUS = 0.05 # 5 cm radius loop
def biot_savart_loop_z(z_target, I=I_CURRENT, R=RADIUS):
"""
Computes magnetic field along z-axis numerically via Biot-Savart Law.
"""
def integrand(phi):
# dl x r_vector magnitude in z direction equals R^2 dphi
# Vector r magnitude is sqrt(R^2 + z^2)
r_mag = np.sqrt(R**2 + z_target**2)
return (MU_0 * I / (4 * np.pi)) * (R**2) / (r_mag**3)
B_z, _ = integrate.quad(integrand, 0, 2 * np.pi)
return B_z
def analytical_loop_z(z_target, I=I_CURRENT, R=RADIUS):
"""
Analytical formula derived via calculus: B(z) = (mu_0 * I * R^2) / (2 * (R^2 + z^2)^(3/2))
"""
return (MU_0 * I * R**2) / (2.0 * (R**2 + z_target**2)**(1.5))
# Test at z = 0.1 meters (10 cm off axis)
z_test = 0.1
numerical_B = biot_savart_loop_z(z_test)
analytical_B = analytical_loop_z(z_test)
print(f"Target z: {z_test} m")
print(f"Numerical B_z: {numerical_B:.8e} T")
print(f"Analytical B_z: {analytical_B:.8e} T")
print(f"Absolute Error: {abs(numerical_B - analytical_B):.8e} T")
3. Common AP Exam Pitfalls & Score 5 Rubric Nuances
Score 4 vs. Score 5 Performance Breakdown
| Analytical Step | Score 4 Student Approach | Score 5 Student Approach |
|---|---|---|
| Amperian Loop Selection | Assumes $B$ is always constant; writes $B(2\pi r) = \mu_0 I$ without verifying symmetry conditions or field alignment. | Explicitly states: $\vec{B} \parallel d\vec{\ell}$ and $|\vec{B}|$ is constant along the circular loop path $C$, justifying $\oint \vec{B} \cdot d\vec{\ell} = B \oint dl = B(2\pi r)$. |
| Non-Uniform Currents | Multiplies current density by area ($I = J \cdot A$) linearly, failing to construct a surface integral. | Recognizes $J(r)$ is a function of radius; sets up differential area element $dA = 2\pi r' dr'$ and integrates $I_{\text{enc}} = \int J(r') dA$. |
| Displacement Current | Treats $I_d$ as a fictitious current; confuses plate area $A = \pi R^2$ with Amperian loop enclosed area $A_{\text{enc}} = \pi r^2$. | Evaluates $\Phi_E(r)$ purely through the enclosed area $r < R$, showing $I_{d,\text{enc}} = I_{\text{total}} (r^2/R^2)$ cleanly. |
| Biot-Savart Cross Products | Evaluates scalar quantities only; loses track of vector direction or forgets component projections ($\cos\theta$). | Expresses position vectors and line elements explicitly; applies symmetry arguments to cancel zero-integrating orthogonal components. |
4. Carnegie Mellon University Placement Pathway
Course Exemption & Academic Acceleration
At Carnegie Mellon University, earning a Score of 5 on the AP Physics C: E&M exam grants direct credit for: * Course: 33-142 (Physics II for Engineering) * Units Awarded: 12 Units
+-------------------------------------------------------------------+
| CMU ECE ACCELERATION TRACK |
+-------------------------------------------------------------------+
| AP Physics C: E&M (Score 5) |
| --> Exempts: 33-142 Physics II for Engineering (12 Units) |
+---------------------------------+---------------------------------+
|
v
+---------------------------------+---------------------------------+
| FALL SEMESTER (FRESHMAN) |
| 18-100: Introduction to Electrical & Computer Engineering |
| 15-112: Fundamentals of Programming & Computer Science |
+---------------------------------+---------------------------------+
|
v
+---------------------------------+---------------------------------+
| SPRING SEMESTER (FRESHMAN ACCELERATED) |
| 18-220: Electronic Devices and Circuits (Analog Circuits) |
+---------------------------------+---------------------------------+
|
v
+---------------------------------+---------------------------------+
| SOPHOMORE YEAR ADVANCED ELECTIVES |
| • 18-300: Electromagnetics & Transmission Lines |
| • 18-340: Digital Integrated Circuit Design |
| • 16-311: Introduction to Robotics Hardware |
+-------------------------------------------------------------------+
Why Maxwell-Ampère Mastery is Critical for CMU ECE & Robotics
- 18-220 (Electronic Devices & Circuits): High-speed analog circuits do not obey simple lumped-element model rules. Parasitic capacitance and trace inductance are directly governed by displacement currents ($C \frac{dV}{dt}$) and dynamic loop inductances ($\oint \vec{B} \cdot d\vec{\ell}$).
- 18-300 (Electromagnetics & Transmission Lines): Maxwell’s wave equations are derived directly from taking the curl of Ampère's Law with Maxwell's displacement current correction: $$\nabla \times \vec{B} = \mu_0 \vec{J} + \mu_0 \epsilon_0 \frac{\partial \vec{E}}{\partial t}$$ Failure to master displacement current in high school creates a severe bottleneck when deriving the electromagnetic wave equation at CMU.
5. High-Yield Practice Problem & Step-by-Step Solution
Free-Response Question (AP Style / CMU 33-142 Level)
A coaxial transmission line system consists of a long, solid inner conductor of radius $a$, and an outer thin cylindrical coaxial shell of radius $b$ ($b > a$).
Cross-Section of Coaxial System
/-------------\
/ Shell (b) \
/ +-------+ \
| / Inner \ |
| | Radius a | | ===> I(t) = I₀ e^(-t/τ)
| \ / |
\ +-------+ /
\ /
\-------------/
- Part A: The solid inner conductor carries a total non-uniform current $I_0$ directed out of the page. The current density inside the conductor is given by $\vec{J}(r) = \alpha r \, \hat{k}$ for $r \le a$, where $\alpha$ is a positive constant.
- (i) Determine $\alpha$ in terms of $I_0$ and $a$.
-
(ii) Derive an expression for the magnitude of the magnetic field $B(r)$ inside the inner conductor ($r \le a$).
-
Part B: A circular parallel-plate capacitor with radius $R$ is connected in series with this wire system. The current charging the capacitor varies with time according to $I(t) = I_0 e^{-t/\tau}$.
- (i) Derive an expression for the magnitude of the electric field $E(r,t)$ between the capacitor plates as a function of time $t$, assuming uniform field geometry.
- (ii) Derive an expression for the induced magnetic field $B(r,t)$ inside the capacitor plates at a radial distance $r < R$ from the central axis.
Full Solution & Scoring Rubric
Part A (i) [2 Points]
- Setup Integral: $$I_0 = \iint \vec{J} \cdot d\vec{A} = \int_0^a (\alpha r) (2\pi r \, dr) = 2\pi \alpha \int_0^a r^2 \, dr$$ [1 Point]
- Evaluate Integral and Solve for $\alpha$: $$I_0 = 2\pi \alpha \left[ \frac{r^3}{3} \right]_0^a = \frac{2\pi \alpha a^3}{3} \implies \alpha = \frac{3 I_0}{2\pi a^3}$$ [1 Point]
Part A (ii) [4 Points]
- Calculate Enclosed Current $I_{\text{enc}}(r)$ for $r \le a$: $$I_{\text{enc}}(r) = \int_0^r (\alpha r') (2\pi r' dr') = \frac{2\pi \alpha r^3}{3} = \frac{2\pi}{3} \left( \frac{3 I_0}{2\pi a^3} \right) r^3 = I_0 \frac{r^3}{a^3}$$ [1 Point]
- Apply Ampère's Law: $$\oint \vec{B} \cdot d\vec{\ell} = \mu_0 I_{\text{enc}}$$ [1 Point]
- Symmetry Argument: By cylindrical symmetry, $\vec{B}$ is tangential and constant in magnitude along a circle of radius $r$: $$\oint \vec{B} \cdot d\vec{\ell} = B(2\pi r)$$ [1 Point]
- Final Evaluation: $$B(2\pi r) = \mu_0 I_0 \frac{r^3}{a^3} \implies B(r) = \frac{\mu_0 I_0 r^2}{2\pi a^3}$$ [1 Point]
Part B (i) [4 Points]
- Relate Charge to Current: $$Q(t) = \int_0^t I(t') \, dt' = \int_0^t I_0 e^{-t'/\tau} \, dt' = I_0 \tau \left( 1 - e^{-t/\tau} \right)$$ [1 Point]
- Relate Charge Density to Electric Field: $$E(t) = \frac{\sigma(t)}{\epsilon_0} = \frac{Q(t)}{\epsilon_0 A} = \frac{Q(t)}{\pi R^2 \epsilon_0}$$ [1 Point]
- Substitute $Q(t)$: $$E(r,t) = \frac{I_0 \tau \left( 1 - e^{-t/\tau} \right)}{\pi \epsilon_0 R^2}$$ [2 Points]
Part B (ii) [5 Points]
- Express Electric Flux through loop of radius $r < R$: $$\Phi_E(r,t) = E(t) \cdot (\pi r^2) = \frac{I_0 \tau \left( 1 - e^{-t/\tau} \right)}{\pi \epsilon_0 R^2} (\pi r^2) = \frac{I_0 \tau r^2 \left( 1 - e^{-t/\tau} \right)}{\epsilon_0 R^2}$$ [1 Point]
- Apply Maxwell-Ampère Displacement Current definition: $$I_d(r,t) = \epsilon_0 \frac{d\Phi_E}{dt} = \epsilon_0 \frac{d}{dt} \left[ \frac{I_0 \tau r^2 \left( 1 - e^{-t/\tau} \right)}{\epsilon_0 R^2} \right]$$ [1 Point]
- Differentiate Flux with respect to time: $$\frac{d}{dt} \left( 1 - e^{-t/\tau} \right) = \frac{1}{\tau} e^{-t/\tau}$$ $$I_d(r,t) = \epsilon_0 \left( \frac{I_0 \tau r^2}{\epsilon_0 R^2} \cdot \frac{1}{\tau} e^{-t/\tau} \right) = I_0 e^{-t/\tau} \left( \frac{r^2}{R^2} \right)$$ [1 Point]
- Set up Generalized Ampère's Law ($\oint \vec{B} \cdot d\vec{\ell} = \mu_0 I_{d,\text{enc}}$): $$B(2\pi r) = \mu_0 I_0 e^{-t/\tau} \left( \frac{r^2}{R^2} \right)$$ [1 Point]
- Solve for Magnetic Field $B(r,t)$: $$B(r,t) = \frac{\mu_0 I_0 e^{-t/\tau} r}{2\pi R^2}$$ [1 Point]
Key Takeaways for Exam Day
- Check Your Limits: When deriving $B(r)$, test boundary conditions ($r=0$, $r=a$). Ensure the field continuous across boundaries unless infinite sheet currents exist.
- Keep Vectors explicit: Always justify $\oint \vec{B} \cdot d\vec{\ell} = B(2\pi r)$ by stating that $B$ is constant in magnitude and parallel to $d\vec{\ell}$ along the chosen loop.
- Displacement Current Symmetry: Dynamic electric fields act identically to real enclosed currents in generating circulating magnetic fields. Treat $\epsilon_0 \frac{d\Phi_E}{dt}$ with the same geometric area ratios ($r^2/R^2$) as a uniform physical current density.