Ampère's
Law
Discover how electric currents create magnetic fields and learn to calculate field strengths using one of electromagnetism's most powerful tools.
What Is a Magnetic Field?
A magnetic field \(\vec{B}\) is a vector field that exerts a force on moving charges and current-carrying conductors. Its SI unit is the tesla (T).
Current Creates a Field
Why Ampère's Law Matters
Calculating \(\vec{B}\) from the Biot-Savart law requires integrating over every piece of a current distribution. For problems with high symmetry, Ampère's Law provides a shortcut: it directly relates the magnetic field around a closed loop to the current passing through it.
The Formal Statement
Choosing an Amperian Loop
Ampère's Law vs Biot-Savart
| Ampère's Law | Biot-Savart Law | |
|---|---|---|
| Form | \(\oint \vec{B}\cdot d\vec{\ell} = \mu_0 I_{\text{enc}}\) | \(d\vec{B}=\frac{\mu_0}{4\pi}\frac{I\,d\vec{\ell}\times\hat{r}}{r^2}\) |
| Best for | High-symmetry geometries | Any current distribution |
| Approach | Choose a clever loop | Integrate over current elements |
| Analogy | Gauss's Law | Coulomb's Law |
How to Apply Ampère's Law
Example: Infinite Straight Wire
Find the magnetic field at distance \(r\) from a long straight wire carrying current \(I\).
Example: Inside a Solenoid
Example: Toroid
When Does Ampère's Law Work?
Ampère's Law is always true but only practically useful when you can exploit symmetry. The key requirement: you must find a loop where \(\vec{B}\cdot d\vec{\ell}\) simplifies.
\(\vec{B}\) Inside a Thick Wire
Maxwell's Correction
Ampère's original law fails when there is a time-varying electric field (e.g., a charging capacitor). Maxwell added the displacement current term to fix this:
Common Mistakes
Summary of Key Results
| Geometry | Loop Shape | Result for \(B\) |
|---|---|---|
| Long straight wire | Circle (radius \(r\)) | \(\dfrac{\mu_0 I}{2\pi r}\) |
| Inside thick wire | Circle (radius \(r < R\)) | \(\dfrac{\mu_0 I r}{2\pi R^2}\) |
| Solenoid (inside) | Rectangle | \(\mu_0 n I\) |
| Toroid (inside) | Circle (radius \(r\)) | \(\dfrac{\mu_0 N I}{2\pi r}\) |
Question 1 of 5
A long straight wire carries current \(I = 3\;\text{A}\). What is the magnetic field at a distance \(r = 0.1\;\text{m}\) from the wire?
(\( \mu_0 = 4\pi\times10^{-7}\;\text{T}\cdot\text{m/A} \))
Question 2 of 5
A solenoid has \(n = 500\;\text{turns/m}\) and carries \(I = 2\;\text{A}\). What is the magnetic field inside the solenoid?
Question 3 of 5
An Amperian loop encloses two wires: one carrying \(5\;\text{A}\) out of the page and another carrying \(3\;\text{A}\) into the page. What is \(I_{\text{enc}}\)?
Question 4 of 5
What is the magnetic field outside an ideal solenoid?
Question 5 of 5
Which of the following is the correct reason Maxwell added the displacement current term to Ampère's Law?