All AP Courses AP Physics C: Electricity and MagnetismAP Physics C: E&M

Unit 12 · Topic 12.3 · about 30 minutes · 7 parts · 12 scored checks, 2 of them multiple choice, plus 2 from earlier lessons

AP Physics C: Electricity and Magnetism 12.3: Magnetic Fields of Current-Carrying Wires and the Biot-Savart Law

Unit 12: 10 to 20% of the multiple-choice section

What you'll be able to do

  • Describe the magnetic field a current-carrying wire makes by adding the fields of its small elements with the Biot-Savart law, at the center of a loop or arc, on a loop's axis and beside a straight segment.
  • Describe the force a magnetic field exerts on a current-carrying wire, in size and direction, by adding the forces on its small elements.

Key vocabulary

TermWhat it meansThe exam trap
Current elementA short piece of a wire, Idℓ→, where dℓ→ has the length of the piece and points the way the current flows.The direction of dℓ→ comes from the current, not from the wire alone, so reversing the current reverses every element.
Biot-Savart lawThe magnetic field a current element makes at a point: dB→=μ0I(dℓ→×r^)4πr2, with r^ the unit vector from the element to the point.It looks like a point charge's field, but the cross product changes both the size and the direction, so work out dℓ→×r^ for each element before adding.
Vacuum permeabilityThe constant μ0=4π×10−7 T·m/A that sets how strong a current's magnetic field is.The Biot-Savart law divides μ0 by 4π; keep track of which of the two numbers a formula uses.
Cross productThe vector product A→×B→ of two vectors, perpendicular to both, with its direction set by the right-hand rule and its size set by the angle between them.Order matters: B→×A→ points opposite to A→×B→.
Concentric circlesCircles that share one center; around a short segment of current, the field lines are circles centered on the segment's line.The field lines circle the wire; they do not start or end on it.
Magnetic force on a current-carrying wireThe force a magnetic field exerts on a wire carrying a current, F→B=∫I(dℓ→×B→).The force is perpendicular to the field, not along it, so a magnetic field does not pull a wire along its field lines.
A horizontal straight wire segment in the plane of the page carries current I to the right. Point P sits above the middle of the segment, on its perpendicular bisector. Two small elements of the wire, each labeled dℓ with a short arrow pointing right, sit equal distances to the left and right of the middle, and dashed lines labeled r join each element to P. The angle θ between dℓ and r is marked at the left element. At P a circle with a dot in its center, the symbol for out of the page, is labeled dB from both elements: out of the page. The wire is labeled wire.Tap to open the picture full size

Part 1 Think first A bigger loop of wire

Commit to a guess first. Being wrong now makes the right idea stick better.

Predict first

A student bends a wire into a flat circular loop of radius 10 cm, connects it to a power supply, and holds a phone's magnetometer at the center of the loop, with Earth's field zeroed out. She then bends a second loop of radius 20 cm and runs the same current through it. How does the field at the center of the bigger loop compare with the field at the center of the first one?

In short. A current makes a magnetic field that is the sum of the fields of its small elements, each given by the Biot-Savart law dB→=μ0I(dℓ→×r^)4πr2, and a magnetic field exerts a force F→B=∫I(dℓ→×B→) on a wire that carries a current.

  • Each element's field is perpendicular to both dℓ→ and r^, so it circles the element's line: it has no part toward, away from or along the wire, and it is zero on the wire's own line.
  • At the center of a loop every element is a distance R away and at right angles to r^, so B=μ0I2R; an arc of angle ϕ gives the fraction ϕ2π of that, and straight leads along radii add nothing.
  • On a straight segment's perpendicular bisector every element's field points the same way, so the sizes add, with the factor sin⁡θ; a straight wire in a uniform field feels F→B=IL→×B→, of size ILBsin⁡θ.

Part 2 Learn it Fields of currents, piece by piece

2a. The field of one current element

Slice a wire carrying current I into short pieces. A piece of length dℓ, pointed the way the current flows, is a current element Idℓ→. The Biot-Savart law gives the magnetic field it makes at a point a distance r away:

dB→=μ0I(dℓ→×r^)4πr2,

where r^ is the unit vector from the element to the point and μ0=4π×10−7 T·m/A. The size is dB=μ0Idℓsin⁡θ4πr2, with θ the angle between dℓ→ and r^.

The cross product sets the direction: dB→ is perpendicular to both dℓ→ and r^. Point the fingers of your right hand along dℓ→, curl them toward r^, and your thumb points along dB→. Equivalently, grip the wire with your thumb along the current: your fingers curl the way the field circles. So around a short segment the field vectors are tangent to circles centered on the segment's line, with no part toward it, away from it or along it. A field into the page is drawn ×, and out of the page •.

Quick check · Fill the statement

A short element Idℓ→ of a wire makes a magnetic field dB→ at points around it.

At a point on the element's own line, straight ahead of it, dB is . At a point at the same angle θ but twice as far away, dB is as large. Wherever dB is not zero, it is to the line from the element to the point.

2b. The center of a loop or an arc

At the center of a circular loop of radius R, every element is the same distance R away, and each dℓ→ runs along the circle while r^ runs along a radius, so θ=90° for every element. Every element's field at the center points the same way, perpendicular to the loop. Nothing cancels, so the sizes add:

B=μ0I4πR2∫dℓ=μ0I4πR2(2πR)=μ0I2R.

For an arc that covers an angle ϕ in radians, the wire is Rϕ long, so B=μ0Iϕ4πR, the fraction ϕ2π of a full loop. A straight lead that runs along a radius, toward or away from the center, adds nothing there: its dℓ→ is parallel to r^.

For direction, curl the fingers of your right hand around the loop with the current; your thumb points along the field at the center. A loop in the page with counterclockwise current has its field out of the page. Example: R=0.10 m and I=2.0 A give B=(4π×10−7)(2.0)2(0.10)=1.26×10−5 T, or 12.6 μT.

Quick check · Calculate

A wire lies in the plane of the page and carries 6.0 A. It comes in along a straight line aimed at point C, follows an arc of radius 0.080 m centered on C that covers 120° of the circle, and leaves along a straight line aimed directly away from C. Use μ0=4π×10−7 T·m/A. What is the magnitude of the magnetic field at C, in μT?

μT

2c. Beside a straight segment

Take a straight segment of length L carrying current I, and a point P on its perpendicular bisector, a distance y from its middle. Measure x along the wire from the middle. An element at x is r=x2+y2 from P, and sin⁡θ=yr.

This is where the magnetic case differs from a charged rod. Every element has the same dℓ→, and every r^ points from the wire's line toward P's side, so every element's field at P points the same way: out of the page in the diagram at the top. Nothing cancels. The sizes add, each with its own sin⁡θ:

B=μ0I4π∫−L/2L/2ydx(x2+y2)3/2=μ0IL4πyy2+(L/2)2.

For L=0.40 m, y=0.15 m and I=3.0 A, with μ04π=10−7 T·m/A, B=(10−7)(3.0)(0.40)(0.15)(0.25)=3.2×10−6 T. When the segment is much longer than y, the square root becomes L2 and B=μ0I2πy, the field of a long straight wire, which Topic 12.4 reaches another way. Here that limit would give 4.0 μT, too big for a segment this short.

Quick check · Calculate

A straight wire segment 0.30 m long carries 5.0 A. Point P is 0.20 m from the segment's midpoint, on its perpendicular bisector. Ignore the leads that bring current to the segment. Use μ0=4π×10−7 T·m/A. What is the magnitude of the segment's magnetic field at P, in μT?

μT

2d. The force on a wire

A magnetic field pushes on moving charge, so it pushes on a wire that carries a current. Each element feels dF→B=I(dℓ→×B→), and the force on the wire is the sum:

F→B=∫I(dℓ→×B→).

For a straight wire of length L in a uniform field, every element is the same, so F→B=IL→×B→, where L→ points along the current. Its size is ILBsin⁡θ, with θ the angle between the wire and the field, and it points perpendicular to both. For the direction, point your right hand's fingers along the current and curl them toward B→; your thumb gives the force. Example: a wire 0.25 m long carrying 4.0 A at right angles to a 0.30 T field feels (4.0)(0.25)(0.30)=0.30 N.

For a curved wire in a uniform field, B→ is the same at every element, so it comes out of the integral: F→B=I(∫dℓ→)×B→. The integral of dℓ→ adds the elements head to tail, from where the current enters the wire to where it leaves.

Quick check · Decide and justify

A straight wire carries a steady current. It lies along the direction of a uniform magnetic field, with the current pointing the same way as the field. Does the field exert a magnetic force on the wire?

Which reason supports your answer?

Part 3 Watch it done On the axis of a loop

Watch each step, then do the last one yourself.

A single circular loop of wire of radius 0.060 m carries 3.0 A. Find the magnitude of the magnetic field at a point P on the loop's axis, 0.080 m from its center. Use μ0=4π×10−7 T·m/A.

  1. Step 1 · Slice the loop

    Every element of the loop is the same distance r=R2+z2 from P, here 0.0036+0.0064=0.10 m. Each dℓ→ runs along the circle, at right angles to the line from it to P, so |dℓ→×r^|=dℓ and dB=μ0Idℓ4πr2.

  2. Step 2 · Use the symmetry

    Each dB→ is perpendicular to r^, so it tilts away from the axis. The element directly across the loop gives a field whose part perpendicular to the axis is equal and opposite, so those parts cancel in pairs. The part along the axis survives: dBz=dBRr.

  3. Why this step?

    Why is the surviving factor Rr here, when it was zr on the axis of a charged ring?

    A ring's dE→ points along r^, so its part along the axis is zr of it. A current element's dB→ is perpendicular to r^, turned through 90°, so the roles swap: its part along the axis is Rr of it.

  4. Your step · Calculate

    Finish it. Integrate the surviving part around the whole loop, then put in the numbers: radius 0.060 m, current 3.0 A, and P 0.080 m from the center on the axis. Use μ0=4π×10−7 T·m/A. What is the magnitude of the field at P, in μT?

    μT

Part 4 Try it Arcs, loops and a bent wire

Try it · Rank it

Four wires lie in the plane of the page, each bent into a circle or part of one. Any straight leads run along radii. Rank the size of the magnetic field each makes at its own center.

Strongest field first

Give each one a place, 1 for first. Give two the same place if they are equal.

Your ranking: none yet

Try it · Calculate

A wire bent into a semicircle of radius 0.12 m lies in the plane of the page and carries 2.5 A from one end to the other. A uniform magnetic field of 0.40 T points into the page. What is the magnitude of the net magnetic force on the semicircular wire, in N?

N

On paper. A short straight segment of wire is seen end-on, with its current coming out of the page toward you. Draw it as a dot inside a small circle. Draw three circles of different sizes centered on it and put arrows on each circle showing which way the magnetic field points there, using the grip rule from the lesson. Then, at one point on the middle circle, draw the line from the segment to that point and check that your field arrow has no part along that line. There is nothing to submit here.

Then compare: with your thumb out of the page, your fingers curl counterclockwise as you look at the page, so every arrow runs counterclockwise around its circle, tangent to it. The arrows on the smaller circles should be longer, because the field is stronger closer to the wire.

Part 5 Explain it The field at the center of a square loop

Nothing you type leaves this page. Check your answer against the model and each scoring point.

Free response is 50% of the exam score. This one is shaped like Question 1, Mathematical Routines.

Free-response practice · Question 1 style

A wire bent into a square loop of side a lies in the plane of the page and carries current I clockwise as you look at the page.

(a) On paper, draw the square, an arrow for the current on each side, and at the center a symbol for the direction of the field each side makes there, × for into the page or • for out of the page. Then compare your drawing with the model.

(b) Starting from the Biot-Savart law, derive an expression for the magnitude of the magnetic field at the center of the square due to one side, in terms of I, a and physical constants.

(c) Derive an expression for the magnitude of the net magnetic field at the center and state its direction. Then calculate it for a=0.20 m and I=5.0 A, using μ0=4π×10−7 T·m/A.

(d) The same length of wire, 4a, is bent into a circular loop instead and carries the same current. Calculate the field at its center for the values in (c), and state whether it is greater or less than the square's.

(e) The square loop is placed in a uniform magnetic field B0 pointing into the page. Using F→B=∫I(dℓ→×B→), determine the net magnetic force on the loop and justify your answer.

Model answer

(a) A square with arrows running clockwise around it: right along the top, down the right side, left along the bottom and up the left side. At the center, four × symbols, one for each side, or one × labeled as the field of all four.

(b) The center is on each side's perpendicular bisector, y=a2 from it. With x along the side from its midpoint, dB=μ0I4πdxsin⁡θr2 with sin⁡θ=yr and r=x2+y2, and every element's field points the same way, so B1=μ0I4π∫−a/2a/2ydx(x2+y2)3/2=μ0Ia4πyy2+a2/4=2μ0I2πa.

(c) All four sides give equal fields into the page, so B=4B1=22μ0Iπa, into the page. For a=0.20 m and I=5.0 A, B=22(4π×10−7)(5.0)π(0.20)=2.83×10−5 T, or 28.3 μT.

(d) 2πR=4a, so R=2aπ=0.127 m and B=μ0I2R=πμ0I4a=2.47×10−5 T, or 24.7 μT. That is less than the square's 28.3 μT: most of the square's wire, the middle part of each side, is closer to the center than the circle's 0.127 m, since the middle of each side is only a2=0.10 m away.

(e) Zero. B→ is uniform, so F→B=I(∮dℓ→)×B→, and around a closed loop the elements add head to tail back to the start, so ∮dℓ→=0. Side by side: each side feels IaB0 in the plane of the page, and opposite sides carry current in opposite directions, so their forces are equal and opposite.

Score your own answer. This is a self-check, not a grade. Tick each point your answer makes.

Part 6 Check yourself A sensor at the center of a loop

The case questions use the sensor readings. The others mix the ideas from the whole lesson.

A physics class bends wire into single flat circular loops of four different radii and runs the same steady current through each. The power supply's display is broken, so the current is unknown, but it is the same for every loop. A magnetic field sensor sits at the center of each loop, zeroed with the current off, so it reads only the loop's own field.

Sensor readings at the center of each loop
Radius R (m)B (μT)
0.05050.3
0.10025.1
0.15016.8
0.20012.6

Case question 1 · Multiple choice

Which readings are the best evidence that the field at the center is inversely proportional to the radius?

Case question 2 · Calculate

Using the reading for the loop of radius 0.150 m, find the current in the loops. Use μ0=4π×10−7 T·m/A. Give the current in A.

A

Case question 3 · Multiple choice

The class replaces the loop of radius 0.100 m with a wire bent into a semicircle of radius 0.100 m. Straight leads run from the ends of the semicircle out along radii, away from the center, and the current is unchanged. What should the sensor at the center now read?

The rest stand on their own and do not use the case.

Check yourself · Sort it

Each card describes a short current element in the plane of the page and a point P in the plane of the page near it. Up and right are as you look at the page. Tap a card, then say which way the element's field dB→ points at P.

Into the page

Out of the page

Zero

Check yourself · Spot the error

A straight wire 0.40 m long carries 2.5 A. It lies in the plane of the page at 30° to a uniform magnetic field of 0.50 T that also lies in the plane of the page. A student finds the magnitude of the magnetic force on the wire. Which line is the first to go wrong?

Part 7 Keep it Bring back earlier ideas

This lesson stands on Topic 8.4: slicing a charged ring or arc into small pieces and adding their fields by integral. The Biot-Savart law slices a current the same way.

From 8.4 Electric Fields of Charge Distributions · Calculate

A thin rod bent into a quarter circle of radius 0.10 m carries +2.0 nC spread evenly. The arc runs from the positive x-axis to the positive y-axis, centered on the origin. Use k=9.0×109 N·m²/C². What is the magnitude of the electric field at the origin, in N/C?

N/C

From 8.4 Electric Fields of Charge Distributions · Rank it

A thin ring of radius R has positive charge spread evenly around it. Rank the strength of its electric field at four points on its axis, by distance z from the center.

Greatest first

Give each one a place, 1 for first. Give two the same place if they are equal.

Your ranking: none yet

In three lines

  • Slice a current into elements Idℓ→, each with field dB→=μ0I(dℓ→×r^)4πr2, which circles the element's line.
  • Find each element's direction first, then add: at a loop's center B=μ0I2R, and beside a straight segment every element's field points the same way.
  • A field pushes on a wire with F→B=∫I(dℓ→×B→), which is ILBsin⁡θ for a straight wire in a uniform field.

Exam strategy for this topic

  • Section I, Multiple Choice: 42 questions in 85 minutes.
  • Section II, Free Response: 4 questions in 95 minutes.
  • This lesson's Explain it is shaped like free-response question 1, Mathematical Routines.
  • A four-function, scientific, or graphing calculator is allowed on both sections of the exam.

On a Biot-Savart derivation, write dB→ for one element with its distance and its angle, say in words which way every element's field points and what cancels, and only then integrate. Check the result at a limit, such as a long segment approaching μ0I2πy.

Questions students ask

Which shapes do I need to use the Biot-Savart law for in AP Physics C: E&M?

College Board expects calculations only for certain cases, such as a point on the perpendicular bisector of a straight conductor, a point on the central axis of a circular loop, and the center of a circular loop or part of one. Shapes built from these, like the center of a square loop, use the same results. You should still be able to say which way any current element's field points.

Why does a loop's field at its center fall as 1/R and not as 1/R²?

Each element's field falls as 1R2, but a loop of radius R has 2πR of wire. More wire times a weaker field per piece gives μ0I2R.

How do I find the direction of the field around a wire?

Point your right thumb along the current; your fingers curl the way the field circles the wire. For a single element at a point, the direction of dℓ→×r^ gives the same answer.

Is the field of a long straight wire part of this topic?

You can reach it here as the limit of a straight segment much longer than your distance from it, μ0I2πy. Topic 12.4 derives it directly with Ampère's law, which is quicker for long wires and other symmetric currents.

What is the force on a curved wire in a uniform field?

Add Idℓ→×B→ over the wire. In a uniform field, B→ comes out of the integral, so the force is the same as on a straight wire joining the same two ends. Around a closed loop the elements add to zero, so a uniform field exerts no net force on it.

Beyond the AP Exam

College Board sets this limit on what the AP Exam asks about this topic. Anything past it is not on the exam.

AP Physics C: Electricity & Magnetism only expects students to perform quantitative analysis of certain cases of current-carrying conductors using the Biot-Savart law, such as at a location along the perpendicular bisector of a straight conductor, at a location along the central axis of a circular loop, or at the center of a segment of a circular loop.

Course alignment, for teachers

AP Physics C: Electricity and Magnetism topic 12.3, Unit 12: Magnetic Fields and Electromagnetism.

  • Skill 1.C: Create qualitative sketches of graphs that represent features of a model or the behavior of a physical system.
  • Skill 2.A: Derive a symbolic expression from known quantities by selecting and following a logical mathematical pathway.
  • Skill 2.D: Predict new values or factors of change of physical quantities using functional dependence between variables.
  • Skill 3.C: Justify or support a claim using evidence from experimental data, physical representations, or physical principles or laws.

This lesson maps all 4 essential knowledge statements of the topic to the part that teaches each one: 4 are checked by a scored question. The map is in the lesson file.