AP® Physics C Electricity and Magnetism Magnetic Fields Practice Questions
Work through AP Physics C Electricity and Magnetism practice questions on Magnetic Fields, then check each answer against a worked solution.
Free · no sign-up Open questions need no account. Sign up or log in to open the rest.
Subtopic: Ampere’s Law Clear filter
Question 12
Question 13
A cylindrical conductor of radius \(a\) carries current \(I\) uniformly distributed over its cross-section. What is the magnetic field \(B\) in the region \(r\lt a\)?

Main Solution
Strategy
Apply Ampère’s law to a circle of radius \(r
Key Insight
\(I_{enc} = I\dfrac{r^2}{a^2}\), so \(B(2\pi r) = \mu_0 I\dfrac{r^2}{a^2}\Rightarrow B = \dfrac{\mu_0 I r}{2\pi a^2}\).
Choice Analysis
Choice A - Incorrect - No r dependence: Inside, \(B\) must grow with \(r\); a constant cannot be right.
Choice B - Incorrect - Constant value: A constant field contradicts \(B = 0\) at the axis.
Choice C - Correct ✓ - Ampère’s law with enclosed current: \(B = \mu_0Ir/(2\pi a^2)\), linear in \(r\).
Choice D - Incorrect - Constant value: Not a function of \(r\); the enclosed current depends on \(r\).
Choice E - Incorrect - Surface value: \(\mu_0I/(2\pi a)\) is the field at \(r = a\) only, not throughout the inside.
A
B
C
D
E
Teacher Explanation
A strong student should first draw an Amperian circle of radius r inside the conductor. With uniform current density, the enclosed current is I r²/a². Ampère’s law gives B · 2πr = μ₀I r²/a². The correct answer is C because B = μ₀Ir/(2πa²), which grows linearly from zero at the axis. The most common error is using the full current, which gives the surface value μ₀I/(2πa), choice E.
Education Coach Advice
First, identify what this question is really testing: Ampère’s law with a fraction of the current enclosed.
Second, eliminate choices that do not depend on r (A, B, D, E); B must be zero on the axis.
Watch for this trap: μ₀I/(2πa) is the field only at the surface.
Review tip: inside B ∝ r, outside B ∝ 1/r, and both give μ₀I/(2πa) at r = a.
Traps
Trap — choice E: using μ₀I/(2πa). Why it tempts: it is the familiar field at the surface of the wire. How to avoid it: inside the conductor Ampère’s loop encloses only the fraction r²/a² of the current, so B = μ₀Ir/(2πa²), which equals μ₀I/(2πa) only at r = a.
Answer images
Question 14
Same cylindrical conductor (radius \(a\), uniform current \(I\)). Which graph shows \(B(r)\) both inside and outside?

Main Solution
Strategy
Use Ampère’s law in both regions and join the two results at the surface.
Key Insight
Inside: \(B = \dfrac{\mu_0 I r}{2\pi a^2}\) (linear). Outside: \(B = \dfrac{\mu_0 I}{2\pi r}\) (\(1/r\)). Both equal \(\mu_0I/(2\pi a)\) at \(r = a\), so the maximum is at the surface.
Choice Analysis
Choice A - Incorrect - Peak too early: Inside, \(B\) increases all the way to \(r = a\).
Choice B - Incorrect - Constant inside: \(B = 0\) on the axis and grows with the enclosed current.
Choice C - Correct ✓ - Linear, then 1/r: Rises as \(r\), peaks at \(r = a\), then falls as \(1/r\).
Choice D - Incorrect - Spike: \(B\) is continuous at \(r = a\); there is no spike for a volume current.
Choice E - Incorrect - Peak too late: Outside, the enclosed current is constant, so \(B\) only decreases.
A
B
C
D
E
Teacher Explanation
A strong student should first apply Ampère’s law inside and outside. Inside, the enclosed current is I r²/a², giving B = μ₀Ir/(2πa²), a straight line from the origin. Outside, all of I is enclosed, giving B = μ₀I/(2πr). The correct answer is C because B rises linearly to its maximum at r = a and then decays as 1/r. The most common error is assuming a constant field inside, which leads to choice B.
Education Coach Advice
First, identify what this question is really testing: B(r) inside and outside a solid wire from Ampère’s law.
Second, eliminate choices that put the peak away from r = a (A, E).
Watch for this trap: a solid wire with uniform current has B = 0 on its axis, not a constant B.
Review tip: for a hollow cylindrical shell B = 0 inside and μ₀I/(2πr) outside.
Traps
Trap — choice B: a constant field inside. Why it tempts: students mix this up with the field inside a solenoid, or with the zero field inside a hollow pipe. How to avoid it: inside a solid wire with uniform current the enclosed current grows as r², so B = μ₀Ir/(2πa²) grows linearly from zero, then falls as 1/r outside.
Answer images
Question 15
A toroid has \(N\) total turns and carries a current \(I\). The inner radius is \(R_1\) and the outer radius is \(R_2\), as shown above. What is the magnitude of the magnetic field at a point \(r\) where \(R_1 \lt r \lt R_2\)?
Main Solution
Answer
Correct: C. A circular Amperian loop of radius \(r\) inside the windings encloses all \(N\) turns, each carrying \(I\).
Strategy. Exploit the symmetry: \(\vec{B}\) is tangential and constant in magnitude on the Amperian circle, so the line integral is simply \(B\cdot 2\pi r\).
Calculation.
\[\oint\vec{B}\cdot d\vec{\ell}=B\,(2\pi r)\]
\[I_{enc}=NI\]
\[B=\frac{\mu_0 NI}{2\pi r}\]
Options.
- A — Freezes the field at the outer radius; the field genuinely varies across the cross-section.
- B — Divides by a cross-sectional area, which is not what the line integral produces.
- C — CORRECT. \(B=\dfrac{\mu_0 NI}{2\pi r}\), strongest at the inner radius.
- D — Zero applies outside the toroid \((r\lt R_1\) or \(r\gt R_2)\), where the enclosed current vanishes or cancels.
- E — Uses the inner radius instead of the field-point radius \(r\).
Common trap. Quoting the solenoid result \(\mu_0 nI\), which is uniform, for a toroid, whose field is not.
Teacher comment. A toroid is a solenoid bent into a circle; the bending is precisely what makes the field depend on \(r\).
Coach advice.
- Count the enclosed current as \(NI\), not \(I\).
- Keep the field-point variable \(r\) in the final expression.
- Check the exterior cases: the field is zero both inside \(R_1\) and outside \(R_2\).
Answer: Correct: C
A
\(\dfrac{\mu_0 NI}{2\pi R_2}\)
B
\(\dfrac{\mu_0 NI}{\pi\left(R_2^{2}-R_1^{2}\right)}\)
C
\(\dfrac{\mu_0 NI}{2\pi r}\)
D
Zero
E
\(\dfrac{\mu_0 NI}{2\pi R_1}\)
Answer images
Question 16
🟥 A long, thin-walled hollow conducting cylinder of radius \(R\) carries a current \(I\) spread uniformly around its surface, parallel to its axis and directed out of the page, as shown in the cross-section. The dashed circle has radius \(r \lt R\).

What is the magnitude of the magnetic field at a distance \(r \lt R\) from the axis?
Main Solution
Strategy
Apply Ampère’s law to the coaxial dashed circle of radius \(r \lt R\) and ask only what current passes through the surface it bounds.
Key Insight
All the current flows on the wall at radius \(R\), so a circle with \(r \lt R\) encloses no current: \(B(2\pi r) = 0\).
Choice Analysis
Choice A - Incorrect - Exterior field: \(\dfrac{\mu_0 I}{2\pi r}\) is the field for \(r \gt R\), where the whole current \(I\) is enclosed.
Choice B - Incorrect - Solid cylinder: \(\dfrac{\mu_0 I r}{2\pi R^2}\) is the interior field of a solid wire with uniform current density, not of a hollow tube.
Choice C - Incorrect - Just outside the wall: \(\dfrac{\mu_0 I}{2\pi R}\) is the field just outside the surface, at \(r = R^+\).
Choice D - Incorrect - Dimensionally inconsistent: \(\dfrac{\mu_0 I r}{2\pi R}\) has units of tesla times metre, so it cannot be a magnetic field.
Choice E - Correct ✓ - No enclosed current: \(\oint \vec B\cdot d\vec\ell = \mu_0 I_{\text{enc}}\). By symmetry \(B\) is constant on the circle and tangent to it, so \(B(2\pi r) = \mu_0 \cdot 0\), giving \(B = 0\) everywhere inside the tube.
A
B
C
D
E
Teacher Explanation
A strong student should first draw the Amperian circle of radius r inside the tube and identify the current it encloses. The key task is to notice that all of I lies on the wall at R, outside the circle. The correct answer is E because the enclosed current is zero, so B(2πr) = 0. The most common error is using the long-wire formula for every point, which leads to choice A.
Education Coach Advice
First, identify what this question is really testing: Ampère’s law with zero enclosed current.
Second, eliminate choices that describe other geometries: the solid wire and the exterior field.
Watch for this trap: being surrounded by current does not mean a field; enclosed current is what counts.
Review tip: compare this with the zero electric field inside a uniformly charged spherical or cylindrical shell.
Traps
Trap — choice A: μ0I/(2πr). Why it tempts: it is the familiar long-wire result and the current surrounds the point. How to avoid it: Ampère’s law counts only current crossing the surface bounded by the loop; a loop inside the tube encloses none.
Answer images
Question 17
🔺 A long, straight, solid cylindrical conductor of radius \(R\) carries a steady current out of the page. The current density depends only on the distance \(r\) from the axis. Measurements of the magnitude \(B\) of the magnetic field give the graph below: \(B\) has the constant value \(B_0\) for \(0 \lt r \le R\), and \(B = B_0R/r\) for \(r \gt R\).

Which expression gives the magnitude of the current density \(J(r)\) inside the conductor?
Main Solution
Strategy
Use Ampère’s law on a circle of radius \(r\) to get the enclosed current \(I_{\text{enc}}(r)\) from the graph, then take the current in a thin ring: \(dI = J\,(2\pi r\,dr)\).
Key Insight
\(B(2\pi r) = \mu_0 I_{\text{enc}}\) gives \(I_{\text{enc}} = \dfrac{2\pi r B_0}{\mu_0}\) for \(r \le R\). Then \(J = \dfrac{1}{2\pi r}\dfrac{dI_{\text{enc}}}{dr} = \dfrac{B_0}{\mu_0 r}\). Check: total \(I = 2\pi R B_0/\mu_0\), which matches \(B = \mu_0 I/2\pi r = B_0R/r\) outside.
Choice Analysis
Choice A - Incorrect - Uniform current density: Uniform \(J\) would make \(I_{\text{enc}} \propto r^2\) and \(B \propto r\) inside, a rising line, not the constant \(B_0\) shown.
Choice B - Incorrect - Constant B read as no enclosed current: Surface current alone would give \(B = 0\) inside; a nonzero constant \(B\) requires \(I_{\text{enc}}\) to grow in proportion to \(r\).
Choice C - Incorrect - Average instead of local density: \(I_{\text{enc}}/(\pi r^2) = 2B_0/(\mu_0 r)\) is the average density inside radius \(r\); the local value comes from \(dI_{\text{enc}}/dr\) divided by \(2\pi r\).
Choice D - Correct ✓ - Local density from dI/dr: \(J = \dfrac{1}{2\pi r}\dfrac{d}{dr}\left(\dfrac{2\pi r B_0}{\mu_0}\right) = \dfrac{B_0}{\mu_0 r}\).
A
B
C
D
Teacher Explanation
A strong student should first apply Ampère’s law to a circle of radius r inside the conductor: B₀(2πr) = μ₀I_enc, so I_enc = 2πrB₀/μ₀ grows linearly with r. The current in a thin ring of radius r is dI = J(2πr dr), so J = (dI_enc/dr)/(2πr) = B₀/(μ₀r). The correct answer is D. Uniform J would give B rising linearly, and surface current would give zero inside. The most common error is choice C, which uses the average density I_enc/πr² instead of the local one.
Education Coach Advice
First, identify what this question is really testing: Ampère’s law used backward, from a B(r) graph to the current distribution J(r).
Second, eliminate choices that would make B rise linearly inside (uniform J) or vanish inside (surface current only).
Watch for this trap: I_enc/πr² is an average over the disk; the local J needs dI_enc/dr.
Review tip: for cylindrical symmetry, I_enc(r) = ∫ J(r′) 2πr′ dr′, so J(r) = (1/2πr) dI_enc/dr.
Traps
Trap — choice C: dividing the enclosed current by the area πr² inside the Amperian circle. Why it tempts: J = I/A is the familiar definition, and I_enc(r) is easy to get from the graph. How to avoid it: that ratio is the average density within radius r; the density at radius r is found from the current in a thin ring, dI = J(2πr dr), so J = (dI_enc/dr)/(2πr), which is half as large.
Answer images
Question 18
The cross-section of a coaxial cable is shown above. The inner conductor of radius \(a\) carries current \(+I\) and the outer thin shell of radius \(b\) carries current \(-I\). What is the magnitude of the magnetic field \(B\) for \(r \gt b\)?
Main Solution
Answer
Correct: D. Beyond the outer shell the Amperian loop encloses \(+I\) and \(-I\) together, so the net enclosed current is zero.
Strategy. Sum the enclosed currents with their signs before evaluating the line integral; the geometry never enters.
Calculation.
\[I_{enc}=(+I)+(-I)=0\]
\[\oint\vec{B}\cdot d\vec{\ell}=B\,(2\pi r)=\mu_0 I_{enc}=0\]
\[B=0\quad (r\gt b)\]
Options.
- A — This is the field in the gap \(a\lt r\lt b\), where only \(+I\) is enclosed.
- B — Invents a dependence on the shell thickness, which plays no role in Ampère's law here.
- C — Uses a sum of radii instead of the field-point radius and still ignores the return current.
- D — CORRECT. The cable is magnetically self-shielding outside its outer conductor.
- E — The exterior single-wire field with an incorrect numeric factor.
Common trap. Adding the two currents as magnitudes and obtaining \(2I\).
Teacher comment. This zero external field is exactly why coaxial cable is used for signal transmission; the physics and the engineering are the same fact.
Coach advice.
- Assign a sign to each enclosed current using the right-hand rule and the chosen loop sense.
- Ampère's law responds to net current, not to total current.
- Work out all three regions \((r\lt a,\ a\lt r\lt b,\ r\gt b)\) when practising.
Answer: Correct: D
A
\(\dfrac{\mu_0 I}{2\pi r}\)
B
\(\dfrac{\mu_0 I}{\pi(b-a)}\)
C
\(\dfrac{\mu_0 I}{2\pi(b+a)}\)
D
Zero
E
\(\dfrac{\mu_0 I}{\pi r}\)
Answer images
Question 19
A student is tasked with experimentally verifying the relationship between the magnetic field \(B\) and the distance \(r\) from a long, straight wire carrying a steady current \(I\).
Part (a) 2 marks
List the apparatus the student would need to conduct this experiment.
Part (b) 5 marks
Describe the experimental procedure, including how the data would be collected.
Part (c) 4 marks
The student collects data for \(B\) at various distances \(r\). What quantities should be plotted to yield a straight line?
Part (d) 4 marks
If the slope of the line in part (c) is measured to be \(S\), derive an expression for the permeability of free space \(\mu_0\) in terms of \(S\) and other known quantities.
Main Solution
Sample Solution
Part (a) · 2 points. A long straight wire; a DC power supply capable of a large steady current; an ammeter to measure \(I\); a magnetic field probe (Hall probe or gaussmeter); a metre stick or ruler to measure \(r\); a non-magnetic stand or clamp to hold the probe; and, if available, a rheostat to set the current.
- 1 pt: includes a current source and an ammeter
- 1 pt: includes a field-measuring probe and a distance-measuring instrument
Part (b) · 5 points. Fix the current at a measured value \(I\) and keep it constant throughout. Orient the wire vertically, far from other magnetic sources, and record the background field with the current off. With the current on, place the probe at a measured perpendicular distance \(r\) from the wire, with the probe's sensitive axis tangential to the circle around the wire, and record \(B\). Repeat for at least six well-spaced values of \(r\), taking several readings at each distance and averaging. Subtract the background field from each reading.
- 1 pt: holds \(I\) constant and measures it
- 1 pt: measures the perpendicular distance \(r\) and varies it over several values
- 1 pt: orients the probe correctly (tangential to the circular field lines)
- 1 pt: addresses repetition/averaging of readings
- 1 pt: records and subtracts the background field, or otherwise controls for stray fields
Part (c) · 4 points. Ampère's law gives
\[B=\frac{\mu_0 I}{2\pi}\cdot\frac{1}{r}\]
so plotting \(B\) on the vertical axis against \(1/r\) on the horizontal axis yields a straight line through the origin. (Equivalently, \(\ln B\) against \(\ln r\) gives a line of slope \(-1\).)
- 1 pt: correct theoretical relation \(B=\mu_0 I/2\pi r\)
- 1 pt: identifies \(B\) as the vertical-axis quantity
- 1 pt: identifies \(1/r\) as the horizontal-axis quantity
- 1 pt: notes that the line passes through the origin (or gives the valid log-log alternative)
Part (d) · 4 points. Comparing with \(y=Sx\):
\[S=\frac{\mu_0 I}{2\pi}\]
\[\mu_0=\frac{2\pi S}{I}\]
With \(S\) in \(\mathrm{T\cdot m}\) and \(I\) in amperes, \(\mu_0\) comes out in \(\mathrm{T\cdot m/A}\), and the expected value is \(4\pi\times10^{-7}\ \mathrm{T\cdot m/A}\).
- 1 pt: correctly matches the slope to \(\mu_0 I/2\pi\)
- 1 pt: correct algebraic solution for \(\mu_0\)
- 1 pt: expresses the answer in terms of measured quantities only
- 1 pt: correct units or a comparison with the accepted value
Common trap. Plotting \(B\) against \(r\) and attempting to fit a curve; the AP rubric rewards a linearised plot, not a curved one.
Teacher comment. Experimental-design questions award points for measurable, repeatable instructions. "Measure the field" earns nothing; "place the Hall probe tangentially at a measured perpendicular distance and record three readings" earns the point.
Coach advice.
- Write the theoretical equation first, then read the linearisation off it.
- Name each instrument and say what it measures.
- Always state what is held constant as well as what is varied.
Answer images
AP® and Advanced Placement® are registered trademarks of the College Board, which is not affiliated with, and does not endorse, Verityprep. Names are used for identification purposes only.

