Fiveable

💡AP Physics C: E&M Unit 12 Review

QR code for AP Physics C: E&M practice questions

12.4 Ampère's Law

12.4 Ampère's Law

Written by the Fiveable Content Team • Last updated June 2026
Verified for the 2027 exam
Verified for the 2027 examWritten by the Fiveable Content Team • Last updated June 2026
💡AP Physics C: E&M
Unit & Topic Study Guides
Pep mascot

Ampere's law relates the magnetic field along a closed loop to the current passing through it: Bd=μ0Ienc\oint \vec{B} \cdot d\vec{\ell} = \mu_0 I_{enc}. You use it to find the magnetic field in symmetric setups like long straight wires, solenoids, and cylindrical conductors by choosing a smart Amperian loop.

Why This Matters for the AP Physics C: E&M Exam

Unit 12 carries a lot of weight on the exam, and Ampere's law is one of the cleanest tools for finding magnetic fields fast. On multiple-choice and free-response questions, you may need to set up the line integral, pick an Amperian loop that matches the symmetry of the current, calculate the enclosed current, and solve for BB. The exam also expects you to derive symbolic expressions and apply the right-hand rule to get field direction, so understanding both the math and the physical meaning pays off.

This topic connects directly to the symmetry reasoning you built with Gauss's law for electric fields. When a setup has enough symmetry, Ampere's law turns a hard integral into simple algebra, which is exactly the kind of efficient problem solving the exam rewards.

Key Takeaways

  • Ampere's law in integral form is Bd=μ0Ienc\oint \vec{B} \cdot d\vec{\ell} = \mu_0 I_{enc}, where IencI_{enc} is only the current passing through the loop.
  • For a long straight wire, the field is Bwire=μ02πIrB_{wire} = \dfrac{\mu_0}{2\pi}\dfrac{I}{r}, forming concentric circles set by the right-hand rule.
  • For a long ideal solenoid, the inside field is Bsol=μ0nIB_{sol} = \mu_0 n I, uniform along the axis, with negligible field outside.
  • The exam only expects quantitative Ampere's law work for symmetric cases: long straight wires, long solenoids, and conductive slabs or cylindrical conductors carrying current density.
  • Use superposition to add the vector fields from multiple current sources.
  • Ampere's law is Maxwell's fourth equation; with Maxwell's addition, a changing electric field also creates a magnetic field, but you are not expected to calculate with that term.

Magnetic Fields from Moving Charges

Ampere's Law and Magnetic Fields

Ampere's law ties electric currents to the magnetic fields they create. It is written as a line integral around a closed path:

Bd=μ0Ienc\oint \vec{B} \cdot d\vec{\ell} = \mu_0 I_{enc}

  • B\vec{B} is the magnetic field along the closed path, and IencI_{enc} is the current passing through the area bounded by that path.
  • μ0\mu_0 is the permeability of free space, 4π×1074\pi \times 10^{-7} T·m/A.
  • Only current that pierces the loop counts. Currents outside the loop do not add to IencI_{enc}, even though they still affect B\vec{B} at points along the loop.

For a long, straight current-carrying wire, Ampere's law gives:

Bwire=μ02πIrB_{\text{wire}} = \frac{\mu_0}{2\pi} \frac{I}{r}

  • BwireB_{\text{wire}} is the field strength a distance rr from the wire.
  • The field forms concentric circles around the wire, with direction set by the right-hand rule (point your thumb along the current, and your fingers curl in the field direction).

For a long ideal solenoid, Ampere's law gives:

Bsol=μ0nIB_{\text{sol}} = \mu_0 n I

  • nn is the number of turns per unit length.
  • The field inside is uniform and parallel to the axis, and the field outside is treated as negligible. Unless told otherwise, assume solenoids are very long.

Choosing an Amperian Loop

An Amperian loop is an imaginary closed path you draw to apply Ampere's law. Picking it well is what makes the math easy.

  • The loop is a closed path around a current-carrying conductor.
  • Choose the loop shape to match the symmetry of the current so that B\vec{B} is either constant and parallel to dd\vec{\ell} or perpendicular to it.
  • When B\vec{B} is constant in magnitude and parallel to the path, the integral simplifies to BB times the path length.
  • Segments where B\vec{B} is perpendicular to dd\vec{\ell} contribute zero to the integral.

A reliable approach:

  1. Identify the current distribution and its symmetry.
  2. Choose an Amperian loop that uses that symmetry.
  3. Determine which parts of the loop actually contribute to the integral.
  4. Find the enclosed current IencI_{enc}.
  5. Solve for the unknown magnetic field.

For a cylindrical conductor or conductive slab carrying a current density, remember that IencI_{enc} is only the current inside your loop. Inside the conductor, that may be a fraction of the total current.

Superposition of Magnetic Fields

When several current-carrying conductors are present, the net magnetic field at a point is the vector sum of the individual fields.

  • Each current source produces its own field.
  • Add the fields as vectors: Btotal=B1+B2+B3+\vec{B}_{total} = \vec{B}_1 + \vec{B}_2 + \vec{B}_3 + \dots
  • Direction matters as much as magnitude, so track field directions carefully with the right-hand rule.

Superposition applies to setups like multiple parallel wires, combinations of loops and straight segments, and current distributions in conductors.

Maxwell's Equations and Electromagnetism

Ampere's law is one of Maxwell's four equations describing electromagnetism. Maxwell extended it to include the effect of a changing electric field:

  • Ampere's law: Bd=μ0I\oint \vec{B} \cdot d\vec{\ell} = \mu_0 I
  • With Maxwell's addition: Bd=μ0I+μ0ε0dΦEdt\oint \vec{B} \cdot d\vec{\ell} = \mu_0 I + \mu_0 \varepsilon_0 \dfrac{d\Phi_E}{dt}

The term μ0ε0dΦEdt\mu_0 \varepsilon_0 \dfrac{d\Phi_E}{dt} shows that a changing electric field generates a magnetic field, much like a moving charge does. This completes the link between electricity and magnetism. For the exam, understand this idea conceptually, but you are not expected to calculate using the changing-electric-field term.

Boundary Statement

The exam only expects quantitative application of Ampere's law for situations with symmetrical magnetic fields, such as long straight wires, long current-carrying solenoids, and conductive slabs or cylindrical conductors carrying a current density. You are not expected to use Maxwell's fourth equation with a changing electric field, but you should understand that a changing electric field generates a magnetic field.

How to Use This on the AP Physics C: E&M Exam

Problem Solving

  • Start by checking the symmetry. If the field is not symmetric enough for a clean loop, Ampere's law will not isolate BB, and you may need the Biot-Savart law instead.
  • Write the line integral, then use symmetry to pull BB out: for a circular loop concentric with a wire, Bd=B(2πr)\oint \vec{B} \cdot d\vec{\ell} = B(2\pi r).
  • Set that equal to μ0Ienc\mu_0 I_{enc} and solve. Keep units consistent and carry μ0=4π×107\mu_0 = 4\pi \times 10^{-7} T·m/A.

Free Response

  • Derive symbolic expressions before plugging in numbers when the question asks for a derivation.
  • For a current density problem, write IencI_{enc} as an integral of JJ over the area inside the loop, then solve for BB both inside and outside the conductor.
  • When you state a field direction, justify it with the right-hand rule, not just by naming the law.

Common Trap

  • Do not confuse IencI_{enc} with the total current. Only current passing through the loop counts.
  • Watch the solenoid formula: nn is turns per unit length, not the total number of turns.

Common Misconceptions

  • Ampere's law does not say B\vec{B} is zero where IencI_{enc} is zero. It only says the line integral around the loop is zero. The field at points on the loop can still be nonzero due to outside currents.
  • The field of a long straight wire falls off as 1/r1/r, not 1/r21/r^2. That 1/r21/r^2 behavior belongs to a single small current element in the Biot-Savart law, not the whole wire.
  • Ampere's law is always true, but it is only useful for finding BB when there is enough symmetry. For asymmetric cases, you still need Biot-Savart.
  • The field outside an ideal solenoid is treated as negligible, not because no field exists, but because the long-solenoid model approximates it as zero.
  • In the solenoid formula, BB does not depend on the radius or on where you are inside, as long as you are well inside a long solenoid. The field is uniform.

Practice Problem 1: Magnetic Field of a Wire

A long, straight wire carries a current of 5.0 A. Calculate the magnetic field strength at a distance of 10 cm from the wire.

Solution

Apply the formula for the magnetic field around a long, straight wire derived from Ampere's law:

Bwire=μ02πIrB_{\text{wire}} = \frac{\mu_0}{2\pi} \frac{I}{r}

Given:

  • Current I=5.0I = 5.0 A
  • Distance r=10r = 10 cm = 0.10 m
  • Permeability of free space μ0=4π×107\mu_0 = 4\pi \times 10^{-7} T·m/A

Substituting these values:

Bwire=4π×1072π5.00.10B_{\text{wire}} = \frac{4\pi \times 10^{-7}}{2\pi} \frac{5.0}{0.10}

Bwire=2×107×5.00.10B_{\text{wire}} = 2 \times 10^{-7} \times \frac{5.0}{0.10}

Bwire=2×107×50B_{\text{wire}} = 2 \times 10^{-7} \times 50

Bwire=1.0×105 T or 10 μTB_{\text{wire}} = 1.0 \times 10^{-5} \text{ T or } 10 \text{ μT}

The magnetic field at 10 cm from the wire is 10 μT, directed tangentially around the wire according to the right-hand rule.

Practice Problem 2: Solenoid Magnetic Field

A solenoid has 200 turns per meter and carries a current of 3.0 A. What is the magnetic field strength inside the solenoid?

Solution

For a long solenoid, use the formula derived from Ampere's law:

Bsol=μ0nIB_{\text{sol}} = \mu_0 n I

Given:

  • Number of turns per unit length n=200n = 200 turns/m
  • Current I=3.0I = 3.0 A
  • Permeability of free space μ0=4π×107\mu_0 = 4\pi \times 10^{-7} T·m/A

Substituting these values:

Bsol=4π×107×200×3.0B_{\text{sol}} = 4\pi \times 10^{-7} \times 200 \times 3.0

Bsol=4π×107×600B_{\text{sol}} = 4\pi \times 10^{-7} \times 600

Bsol=7.54×104 T or 0.754 mTB_{\text{sol}} = 7.54 \times 10^{-4} \text{ T or } 0.754 \text{ mT}

The magnetic field inside the solenoid is 0.754 mT, directed along the axis of the solenoid.

Vocabulary

The following words are mentioned explicitly in the College Board Course and Exam Description for this topic.

Term

Definition

Ampère's law

A fundamental equation that relates the magnitude of the magnetic field to the electric current enclosed by a closed imaginary path.

Amperian loop

A closed imaginary path drawn around a current-carrying conductor used to apply Ampère's law.

changing electric field

A time-varying electric field that generates a magnetic field according to Maxwell's equations.

conductive cylinder

A cylindrical conductor carrying current to which Ampère's law can be applied to determine the magnetic field.

current density

The amount of electric current flowing per unit cross-sectional area of a conductor; a vector quantity.

current-carrying wire

A conductor through which electric current flows, creating a magnetic field in the surrounding space.

electric current

The flow of electric charge through a conductor, which generates a magnetic field.

magnetic field

A vector field that determines the magnetic force exerted on moving electric charges, electric currents, or magnetic materials.

Maxwell's addition

The modification to Ampère's law stating that a changing electric field creates a magnetic field in addition to the magnetic field created by electric current.

Maxwell's equations

A collection of four fundamental equations that fully describe electromagnetism and the behavior of electric and magnetic fields.

moving charge carrier

An electric charge in motion that generates a magnetic field around it.

principle of superposition

The principle that the total electric field is the vector sum of fields produced by individual charges.

solenoid

A coil of wire wound in a tight, helical pattern that produces a uniform magnetic field when current flows through it.

Frequently Asked Questions

What is Ampère's law in AP Physics C: E&M?

Ampère's law relates the line integral of the magnetic field around a closed path to the current enclosed by that path: ∮B · dℓ = μ0 I_enc.

What is an Amperian loop?

An Amperian loop is an imaginary closed path chosen around a current distribution so Ampère's law can use symmetry to solve for the magnetic field.

When is Ampère's law useful for finding magnetic fields?

Ampère's law is most useful when symmetry makes the magnetic field constant or perpendicular along parts of the loop, such as long wires, long solenoids, slabs, or cylinders.

What magnetic field does Ampère's law give for a long straight wire?

For a long straight wire, Ampère's law gives B = μ0 I / (2πr), with direction set by the right-hand rule.

What magnetic field does Ampère's law give inside a long solenoid?

For a long ideal solenoid, Ampère's law gives B = μ0 n I inside, with a nearly uniform field and negligible outside field.

What is the AP Physics C boundary for Ampère's law?

The exam limits quantitative Ampère's law applications to symmetric magnetic fields and does not require calculations using Maxwell's changing-electric-field term.

Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly→ and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot