AP Physics C: E&M · Unit 12 · Topic 12.3

    12.3 Magnetic Fields of Current-Carrying Wires and the Biot-Savart Law

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    Each small piece of current-carrying wire contributes a field dB⃗=μ04πI dℓ⃗×r^r2d\vec{B} = \frac{\mu_0}{4\pi}\frac{I\,d\vec{\ell} \times \hat{r}}{r^2}: the Biot–Savart law, the magnetic counterpart of dE=k dqr2dE = \frac{k\,dq}{r^2}. Integrating gives B=μ0I2πrB = \frac{\mu_0I}{2\pi r} for a long straight wire and B=μ0I2RB = \frac{\mu_0I}{2R} at the centre of a circular loop. Parallel currents attract and opposite currents repel.

    What you need to know

    • State the Biot–Savart law and use the right-hand rule for direction.
    • Find the field at the centre of a circular loop and of an arc.
    • Use the result for a long straight wire.
    • Calculate the force between parallel current-carrying wires.

    The Biot–Savart law

    dB⃗=μ04πI dℓ⃗×r^r2,μ0=4π×10−7 T\cdotpm/Ad\vec{B} = \frac{\mu_0}{4\pi}\frac{I\,d\vec{\ell} \times \hat{r}}{r^2}, \qquad \mu_0 = 4\pi \times 10^{-7}\ \text{T·m/A}

    Like Coulomb's law, the field falls as 1r2\frac{1}{r^2} from each piece. Unlike it, the direction is perpendicular to both the current element and the line to the point, and pieces in line with the point contribute nothing (dℓ⃗×r^=0d\vec{\ell} \times \hat{r} = 0).

    Centre of a loop, and arcs

    At the centre of a circular loop of radius RR, every piece is a distance RR away and perpendicular to r^\hat{r}, and every contribution points the same way along the axis. So B=μ04πIR2(2πR)=μ0I2RB = \frac{\mu_0}{4\pi}\frac{I}{R^2}(2\pi R) = \frac{\mu_0I}{2R}. A loop of 0.10 m radius carrying 5.0 A gives B≈3.1×10−5B \approx 3.1 \times 10^{-5} T.

    An arc subtending angle θ\theta (in radians) gives the same fraction: B=μ0Iθ4πRB = \frac{\mu_0I\theta}{4\pi R}. Straight wire segments pointing directly at the centre contribute zero. On the loop's axis, a distance xx away, the perpendicular parts cancel (as for the ring of charge in topic 8.4), leaving B=μ0IR22(x2+R2)3/2B = \frac{\mu_0IR^2}{2(x^2 + R^2)^{3/2}}.

    A long straight wire

    The field of a long straight wire circles it, by the right-hand rule, and falls off as 1/r.

    Integrating the Biot–Savart law along an infinite straight wire gives B=μ0I2πrB = \frac{\mu_0I}{2\pi r}, circling the wire: thumb along the current, fingers curl along B⃗\vec{B}. At 5.0 cm from a 10 A wire, B=(4π×10−7)(10)2π(0.050)=4.0×10−5B = \frac{(4\pi \times 10^{-7})(10)}{2\pi(0.050)} = 4.0 \times 10^{-5} T, comparable to the Earth's field, which is why wiring near a compass can disturb it.

    Parallel wires

    Each wire sits in the other's field and feels F=I2LB1F = I_2LB_1. The force per unit length is FL=μ0I1I22πd\frac{F}{L} = \frac{\mu_0I_1I_2}{2\pi d}. Two wires 0.10 m apart, each carrying 10 A, feel 2.0×10−42.0 \times 10^{-4} N per metre. Currents in the same direction attract; opposite currents repel, the reverse of the rule for like charges.

    Composite wires. Many exam questions combine straight segments and arcs: a hairpin, a 'D' shape, or a loop with leads running off to the edge of the page. The method is always the same: split the wire into pieces, decide which pieces contribute (arcs centred on the point contribute a fraction of μ0I2R\frac{\mu_0I}{2R}; straight pieces aimed at the point contribute nothing; long straight pieces off to one side give μ0I4πd\frac{\mu_0I}{4\pi d} or μ0I2πd\frac{\mu_0I}{2\pi d}), find each direction with the curl rule, and add.

    The force between parallel wires once defined the ampere: one ampere was the current that, in two long wires one metre apart, gives a force of 2×10−72 \times 10^{-7} N per metre. Since 2019 the ampere has been defined through the elementary charge, but the relationship remains a neat check on μ0\mu_0.

    Key terms

    Biot–Savart law
    dB⃗=μ04πI dℓ⃗×r^r2d\vec{B} = \frac{\mu_0}{4\pi}\frac{I\,d\vec{\ell} \times \hat{r}}{r^2}.
    Permeability of free space
    μ0=4π×10−7\mu_0 = 4\pi \times 10^{-7} T·m/A.
    Field of a long wire
    B=μ0I/(2πr)B = \mu_0I/(2\pi r), circling the wire.
    Field at a loop's centre
    B=μ0I/(2R)B = \mu_0I/(2R), along the axis.

    Common mistakes

    • Using μ₀I/(2πr) at the centre of a loop.

      At the centre of a loop, B = μ₀I/(2R).

    • Forgetting that wire segments aimed at the point contribute nothing.

      dℓ × r̂ = 0 for those pieces.

    • Thinking parallel currents repel.

      Same-direction currents attract.

    How this topic is tested

    • Find each segment's contribution and direction separately, then add.
    • Use symmetry to cancel components before integrating.
    • Check limits: far from a loop, B ∝ 1/x³ like a dipole.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · SP 2 · Mathematical Routines

      What is the field 5.0 cm from a long wire carrying 10 A?

    2. Question 2 · SP 2 · Mathematical Routines

      What is B at the centre of a 0.10 m radius loop carrying 5.0 A?

    3. Question 3 · SP 3 · Scientific Questioning and Argumentation

      Two parallel wires carry currents in the same direction. What happens?

    4. Question 4 · SP 2 · Mathematical Routines

      What field does a semicircular arc of radius R carrying current I produce at its centre?

    5. Question 5 · SP 3 · Scientific Questioning and Argumentation

      Why does a straight wire segment pointing directly at a point contribute no field there?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (no calculator) · 4 points

    A wire carrying current II consists of two long straight segments and a quarter-circle arc of radius RR. The straight segments lie along lines through the arc's centre P.

    1. (a) Explain why the straight segments contribute no field at P.
    2. (b) Use the Biot–Savart law to find B at P.
    3. (c) Compare this with the field at the centre of a full loop.

    Connected topics

    Frequently asked questions

    Do I need the finite-wire formula?

    It can be derived on the exam; the infinite-wire result is the one to know.

    Is Biot–Savart like Coulomb's law?

    Yes: both are inverse-square laws for small sources, integrated over a distribution.

    When should I use Ampère's law instead?

    When symmetry makes B constant along a closed path, as for long wires and solenoids.

    How this shows up on the exam42 multiple-choice questions and 4 free-response questions. See what each FRQ type asks you to do.

    Free Unit 12 cheat sheet

    Every topic in Unit 12: Magnetic Fields and Electromagnetism on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Physics C: E&M practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Physics C: E&M practice examsUnit 12 is one of 6 units on the exam. Two timed exams in the 2027 format (42 MCQ + 4 FRQ), with explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    All topics in Unit 12: Magnetic Fields and Electromagnetism

    1. 12.1 Magnetic Fields
    2. 12.2 Magnetism and Moving Charges
    3. 12.3 Magnetic Fields of Current-Carrying Wires and the Biot-Savart Law
    4. 12.4 Ampère's Law

    Other units in AP Physics C: E&M

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.