AP Physics C: E&M Unit 4 Notes — How Currents Create Magnetic Fields
Biot–Savart Law
What it is
The Biot–Savart law is the “from-the-source” way to calculate magnetic fields: it tells you how a small piece of current-carrying wire contributes a small magnetic field at a point in space. You then add up (integrate) the contributions from all pieces of the current distribution to get the total magnetic field.
Conceptually, it plays a role similar to Coulomb’s law in electrostatics:
- Coulomb’s law: a point charge makes an electric field, and you add contributions from all charges.
- Biot–Savart law: a current element makes a magnetic field, and you add contributions from all current elements.
This matters because many realistic current shapes (loops, arcs, finite wires) don’t have enough symmetry for Ampere’s law to work cleanly. Biot–Savart is more general for steady currents, even if the math can get heavier.
How it works (the physics behind the formula)
A few qualitative facts are built into Biot–Savart:
- More current produces more magnetic field. Doubling the current doubles the field.
- Closer current produces a stronger field. The contribution falls off with distance.
- Direction is perpendicular. The magnetic field contribution from a current element is perpendicular to both the direction of current and the line from the element to the field point.
That last point is the big conceptual difference from electric fields: electric fields point radially away from charges; magnetic fields “wrap around” currents.
The Biot–Savart law (mathematical statement)
For a steady current in a wire, the magnetic field contribution at a field point from a small wire element is
An equivalent and often convenient form is
Here’s what each symbol means:
- is the permeability of free space.
- is the current.
- is a vector pointing along the direction of the current with magnitude equal to a tiny length of wire.
- points from the current element to the field point; is its magnitude.
- is the unit vector in the direction.
- The cross product encodes direction and the sine of the angle between and .
A very common simplification is to take magnitudes when symmetry makes direction easy:
where is the angle between and .
Direction: the right-hand rule and the cross product
Because is proportional to , you find the direction using the right-hand rule for a cross product:
- Point your fingers along (direction of current).
- Curl them toward (from element to the field point).
- Your thumb points in the direction of .
A common confusion is mixing up (from source to field point) with the radial direction from the origin of coordinates. In Biot–Savart, is always drawn from the current element to the observation point.
Superposition: adding up contributions
Magnetic fields add by vector superposition:
You integrate along the current path (or through a volume/surface if the current is distributed). The hardest part is usually setting up geometry correctly: expressing , , and the direction of in terms of an integration variable.
Worked example 1: field at the center of a circular loop
Goal: Find the magnetic field magnitude at the center of a circular loop of radius carrying current .
Reasoning before math: Every current element is the same distance from the center. Also, by symmetry, horizontal components of cancel, and all contributions point along the loop’s axis (given by the right-hand rule).
- Distance from any element to center: .
- For each element, is tangent to the loop and points radially inward, so the angle is and .
- Magnitude contribution:
- Integrate around the loop, where :
- Simplify:
If the loop has turns (a tightly wound coil), the field scales linearly:
Worked example 2: field on the axis of a circular loop (useful extension)
At a point on the axis a distance from the center of a loop of radius , Biot–Savart gives
Direction is along the axis, set by the right-hand rule. This is a common “set up the integral or use the known result” scenario.
Exam Focus
- Typical question patterns:
- “A loop/arc/finite wire carries current . Find at a special point (center, axis, or perpendicular bisector).”
- “Use symmetry to argue which components cancel before integrating.”
- “Multiple currents present: compute each contribution and superpose.”
- Common mistakes:
- Treating as constant when it changes with the integration variable.
- Getting the cross-product direction backward by drawing in the wrong direction.
- Forgetting that you must add fields as vectors (sign and direction matter), not just magnitudes.
Ampere’s Law
What it is
Ampere’s law connects the magnetic field around a closed loop to the amount of current passing through that loop. In its simplest AP Physics C: E&M form (steady currents), it says the circulation of around a closed path equals times the enclosed current.
Ampere’s law is powerful because, with the right symmetry, it lets you find without doing a Biot–Savart integral. The tradeoff is that it only becomes “plug-and-chug” when you can argue that has constant magnitude and a simple direction along your chosen loop.
The law (integral form) and what it really means
For steady currents,
Interpretation:
- The left side is a closed-loop line integral. You choose an Amperian loop (any closed path you like).
- The dot product means only the component of tangent to the loop contributes.
- is the net current through the surface bounded by the loop (with sign based on an orientation convention).
A subtle but important point: the equation is true for any loop, but it only helps when symmetry makes the left side easy to evaluate.
Choosing an Amperian loop: the symmetry strategy
You typically pick a loop so that one or more of these happen:
- is parallel to along the loop, so .
- is constant on portions (or all) of the loop.
- is perpendicular to on some segments, so those segments contribute zero to the integral.
This is why Ampere’s law shines for highly symmetric current distributions: infinite straight wires, ideal solenoids, and toroids.
Orientation and the sign of enclosed current
Ampere’s law uses a right-hand convention:
- If you traverse the loop in a chosen direction, your right thumb points along the positive normal of the surface.
- Currents piercing the surface in the thumb direction count positive; opposite direction counts negative.
A common exam trap is including magnitudes of currents without signs. If two currents pass through the surface in opposite directions, they partially cancel in .
Relationship to Biot–Savart
Both laws describe the same physics for magnetostatics (steady currents):
- Biot–Savart is more direct and generally applicable but often requires integration.
- Ampere’s law is often simpler but depends on symmetry.
You can think of Ampere’s law as a “global” constraint on , while Biot–Savart builds from local contributions.
Worked example 1: magnetic field of an infinite straight wire
Setup: A long straight wire carries current . Find at distance from the wire.
Physics first: Field lines form circles around the wire (right-hand rule). By cylindrical symmetry, depends only on and is constant on a circle centered on the wire.
- Choose a circular Amperian loop of radius centered on the wire.
- Along the loop, is tangential and parallel to , so .
- Evaluate the integral:
- Enclosed current is .
- Apply Ampere’s law:
- Solve:
Direction is given by the right-hand rule: curl fingers with current; fingers show direction.
Worked example 2: inside a long cylindrical conductor with uniform current density
Setup: A solid wire of radius carries total current uniformly across its cross-section. Find for .
Key idea: Enclosed current grows with area because current density is uniform.
- Uniform current density magnitude:
- For an Amperian circle of radius , enclosed current is
- Ampere’s law with circular loop gives
- Solve:
So inside a uniform current-carrying solid wire, increases linearly with .
Important limitation (context you should know)
For time-varying electric fields, the magnetostatic form can fail unless you use the Maxwell correction (displacement current). The generalized form is
In many Unit 4 problems, currents are steady, so the simpler form is what you apply.
Exam Focus
- Typical question patterns:
- “Use Ampere’s law to find for an infinite wire / cylindrical conductor / solenoid / toroid.”
- “Find the enclosed current from a given current density or surface current density.”
- “Multiple wires: determine with signs using the loop orientation.”
- Common mistakes:
- Picking an Amperian loop where is not constant (then treating it as constant anyway).
- Forgetting that only the tangential component contributes to .
- Using instead of when the loop does not enclose the full current (especially inside conductors).
Magnetic Fields of Common Configurations
Why “common configurations” matter
AP Physics C: E&M problems often involve a small set of geometries where the magnetic field is either (1) a standard result from Biot–Savart, or (2) quickly derived using Ampere’s law and symmetry. Learning these isn’t about memorizing random formulas; it’s about recognizing which law is the smartest tool and what symmetry tells you about direction and spatial dependence.
A helpful habit: before writing equations, sketch field lines and ask:
- What symmetry does the current distribution have (cylindrical, planar, toroidal)?
- Can I choose an Amperian loop where is constant and tangent?
- If not, can I reduce Biot–Savart using cancellations and geometry?
Notation and “source” quantities
In addition to total current , you may see currents described by densities:
| Quantity | Meaning | Typical units | Where used |
|---|---|---|---|
| current through a wire | A | discrete wires | |
| volume current density | A/m | current spread through a conductor volume | |
| surface current density | A/m | current spread over a surface (ideal sheet) | |
| turns per unit length | 1/m | solenoids | |
| number of turns | dimensionless | loops, solenoids, toroids |
Infinite straight wire (Ampere)
For an infinitely long straight wire:
- Direction: tangent to circles centered on the wire (right-hand rule).
- Dependence: decreases as .
What students often miss: “infinite” really means “long enough that edge effects are negligible” at the distances you care about.
Finite straight wire (Biot–Savart result)
For a straight segment, the field at a point a perpendicular distance away can be written in terms of angles to the endpoints:
Here and are measured from the perpendicular dropped to the wire to the lines connecting the field point to each end.
- This is a classic case where Ampere’s law is not convenient because symmetry is not enough.
- In the infinite-wire limit, and , giving back .
Circular loop (Biot–Savart standard results)
At the center of a single loop of radius :
On the axis at distance from the center:
For turns, multiply by .
Direction: along the axis, given by curling fingers in current direction; thumb gives direction through the loop.
Common misconception: thinking the field points “around the loop” at the center because the current is circular. At the center, the net field is perpendicular to the plane of the loop.
Long solenoid (Ampere with idealization)
A solenoid is a long coil of wire. For an ideal “long” solenoid (length much greater than radius, tightly wound), the field inside is approximately uniform and parallel to the axis, and the field outside is small.
If is turns per unit length and the current is , then inside the solenoid:
Why this happens (conceptual): the fields from many turns add constructively inside, while outside they largely cancel due to symmetry and the return paths.
How Ampere’s law derives it (outline): Choose a rectangular Amperian loop with one side of length inside the solenoid (parallel to the axis) and one side outside. Inside, is roughly constant and parallel to the inside segment; outside, is near zero for an ideal long solenoid. Enclosed current equals the number of turns crossing the surface, , times .
That gives
so
Where students slip: using this for short solenoids without acknowledging that the outside field and nonuniformity can be significant.
Toroid (Ampere and circular symmetry)
A toroid is like a solenoid bent into a donut. With turns carrying current , Ampere’s law with a circular Amperian loop of radius (centered on the toroid) gives a field inside the core:
This holds for values within the toroid’s windings (inside the “donut material”). For an ideal toroid, the field outside is approximately zero because the magnetic field lines largely stay confined within the core.
Key difference from a straight solenoid: the toroid’s field is not uniform in ; it decreases as .
Infinite current sheet (surface current density)
An idealized infinite sheet carrying uniform surface current density produces a uniform magnetic field on each side of the sheet:
The direction is opposite on the two sides, determined by a right-hand rule using the current direction.
This configuration is a favorite for testing whether you can combine:
- symmetry (field must be parallel to the sheet and uniform in magnitude),
- Ampere’s law with a rectangular loop straddling the sheet,
- and careful direction reasoning.
Superposition in multi-wire or composite setups
Many exam problems combine these building blocks. The governing idea is always superposition:
For instance, for two long parallel wires, you compute the field from each wire at the point and add as vectors. Often the math is simple but the direction is the whole point.
Worked example: two long parallel wires (superposition + right-hand rule)
Two infinite wires are separated by distance and carry currents and in the same direction. Find the magnetic field magnitude midway between them.
- Midpoint is at distance from each wire.
- Each wire alone gives magnitude
Same for .
- Direction: at the midpoint, the right-hand rule shows the fields from the two wires point in opposite directions (because you are on opposite sides relative to each wire).
- Net field magnitude:
If the currents were opposite directions, the fields at the midpoint would add instead.
This is a classic “direction over algebra” situation.
Worked example: field inside a toroid at a given radius
A toroid has turns and carries current . Find at radius inside the windings.
- Choose a circular Amperian loop of radius centered on the toroid.
- By symmetry, is tangent and constant on the loop.
- Ampere’s law:
- Enclosed current is because the surface spans all turns.
- Solve:
Exam Focus
- Typical question patterns:
- “Recognize the geometry and write down or derive for wire/solenoid/toroid/sheet.”
- “Combine fields from multiple sources (superposition) with careful direction analysis.”
- “Inside vs outside regions: give piecewise expressions (for example, inside a conductor vs outside).”
- Common mistakes:
- Using the solenoid formula outside its validity (short solenoid or far outside region).
- Forgetting region dependence (for example, inside a solid wire , outside ).
- Adding magnitudes when vectors actually cancel due to opposite directions (especially in multi-wire setups).