← AP Physics C: E&M
⭐ 0
AP Physics C: E&M · Unit 12: Magnetic Fields and Electromagnetism
Mini-Lesson

AP® Physics C: E&M Unit 12: Magnetic Fields and Electromagnetism

7 missions. Guess, learn, then check. Your place is saved.

Covers College Board topics 12.1–12.4

Short, curiosity-driven missions (about 20 minutes each) that teachers can assign. Use them alongside AP Classroom practice.

  1. Mission 1Switch on a current in a wire just above a compass. Which way does the needle turn, and why?
  2. Mission 2A magnet grabs an iron nail but ignores a copper pipe. What is different inside the iron?
  3. Mission 3A wire carrying a current lies between the poles of a magnet. Which way is it pushed?
  4. Mission 4A magnetic field can steer a beam of charged particles. Can it also make them go faster?
  5. Mission 5Two parallel wires carry currents in the same direction. Do they attract or repel, and why?
  6. Mission 6Why is the field at a wire loop's center about three times that at the same distance from a straight wire?
  7. Mission 7Why does the field inside a long solenoid not depend on the solenoid's radius at all?

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

Mission 1Topic 12.1

Mission 1: Switch on a current in a wire just above a compass. Which way does the needle turn, and why?

Make a guess: Switch on a current in a wire just above a compass. Which way does the needle turn, and why?

Mission 1

Where magnetic fields come from

Sources of magnetic fieldsNSPermanent magnet:makes a fieldICurrent (movingcharges): makes a fieldNS+at restCharge at rest:no magnetic force
  • A magnetic field is produced by moving charges (an electric current) and by permanent magnets.
  • It exerts forces on moving charges, currents and magnetic materials (iron, steel).
  • A charge at rest feels no magnetic force.
Mission 1

Field lines

Bar magnet field linesNSOutside: N to SInside: S to N(dashed)compass:red end = N
  • Direction of a field line: the way the north end of a compass needle points.
  • Closer lines = stronger field. Lines never cross.
  • Field lines are closed loops: outside a magnet they run N → S; inside, S → N.
  • Bar magnet: lines leave the N pole, curve around, enter the S pole, and continue back through the magnet.
Quick check
?Point C is at the center of a bar magnet, inside it. Point D is just outside the magnet, beside its center. How does the magnitude of the magnetic field at C compare with that at D?
Mission 1

Field of a long straight wire

Field of a straight wireICurrent up the wireRight-hand rule:thumb = currentfingers = field⊙ current out of page⊗ current into pageEnd-on viewsGaps grow with distance: the field weakens.
  • Field lines are concentric circles centered on the wire, in planes at right angles to it.
  • Right-hand rule: thumb along the current; curled fingers give the field direction.
  • Lines spread out with distance: the field gets weaker away from the wire.
  • End-on views: ⊙ current out of the page → field counterclockwise; ⊗ into the page → clockwise.
Quick check
?A long, straight, vertical wire carries a steady current upward. Point P is 5.0 cm due east of the wire, level with it. What is the direction of the magnetic field of the wire at P?
Mission 1

Flat coil and solenoid

Flat coil and solenoidFlat coil (cross-section)current outcurrent inField along the axis through the middle.Solenoid (cross-section)NSTop row: current out. Bottom row: in.Right hand: fingers round the turns withthe current, thumb along the field inside.Solenoid: outside loops drawn closer than toscale.
  • Flat coil: the circles around each part of the wire combine. At the center the field is along the axis.
  • Solenoid (long coil): inside, straight, parallel, evenly spaced lines (uniform field). Outside, the pattern of a bar magnet.
  • Direction: curl the fingers of your right hand the way the current flows around the turns; the thumb points along the field inside, toward the coil's N end.
Quick check
?You look at the left end of a long solenoid. Seen from there, the current in its turns flows clockwise. Which end of the solenoid is its north end?
Mission 1

Compasses and Earth

Earth as a dipolegeographic North Polemagnetic south poleField lines enter Earth in the northernhemisphere.Tilt of the magnetic axis about 10°; it variesover time. Not to scale.
  • A compass needle is a small dipole. It turns to align with the net field where it is.
  • Earth's field ≈ a dipole. Near the geographic North Pole is a magnetic south pole, so compass N ends point north.
  • Closed loops mean the net flux out of any closed surface is zero: ∮B·dA = 0, Gauss's law for magnetism (Maxwell's second equation).
Quick check
Diagram: a circle labeled Earth, with a dashed vertical line through its center from Geographic north (top) to GeographiGeographic northGeographic southEarthP
?The diagram shows the shape of Earth's magnetic field lines, without arrows, in a plane through Earth's geographic poles. A compass needle mounted so that it can turn in this vertical plane is placed at point P, on Earth's surface. In which direction does the north end of the needle point?
Mission check

?A flat horizontal circular coil carries a steady current that flows clockwise when viewed from above. What is the direction of the magnetic field at the center of the coil?
Mission 2Topic 12.1

Mission 2: A magnet grabs an iron nail but ignores a copper pipe. What is different inside the iron?

Make a guess: A magnet grabs an iron nail but ignores a copper pipe. What is different inside the iron?

Mission 2

Magnetism comes from moving charge

A current loop is a magnetic dipoleISNcurrent loopSNbar magnetIn an atom+−electron motioncurrent: opposite waya tiny current loopField lines computed for each source, in aplane through its axis.
  • A charge at rest makes no magnetic field.
  • A loop of current makes a field like a tiny bar magnet: a magnetic dipole.
  • In atoms, electrons move around nuclei and spin. Each atom can act as a tiny dipole.
  • A material is magnetized when many of these dipoles point the same way.
  • A dipole's field gets weaker with distance.
  • Every magnet is a dipole. No isolated north or south pole has ever been found.
Quick check
?Which of the following produces a magnetic field? Ignore Earth's field and Earth's motion.
Mission 2

An orbiting charge is a current loop

  • Charge q moves at speed v around a circle of radius r.
  • It passes any point once per period: T = 2πr/v.
  • Average current: I = q/T = qv/(2πr).
  • That current loop is a magnetic dipole. Classical model of an atom: the orbiting electron.
Quick check
?A particle with charge q moves at constant speed v around a circle of radius r. The circulating charge acts as a small current loop, which is a magnetic dipole. Which expression gives the average current associated with the particle's motion?
Quick check
?An iron nail does not attract a steel paper clip. After the nail has been stroked several times in one direction with one pole of a strong magnet, it does attract the paper clip. Which explanation of these observations is correct?
Mission 2

Domains

Magnetic domainsNo fieldrandom:fields cancelIn a fieldaligneddomains growField removedmany stayalignedexternal fieldBreak a magnet: each piece has N and SNSNSNSSchematic, not to scale. Arrows: the directionof the aligned atomic dipoles in each domain.
  • In iron, atomic dipoles line up with their neighbors in small regions: domains.
  • Unmagnetized iron: domains point in random directions. Their fields cancel.
  • In an external field, domains along the field grow and others turn. The iron becomes a magnet: induced magnetism.
  • The near end becomes the opposite pole, so iron is attracted to either pole.
  • Field removed: in some materials many domains stay aligned: a permanent magnet.
  • Break a magnet: each piece is a complete dipole with its own N and S.
Mission 2

Three kinds of material

Three kinds of magnetic materialNSironferromagneticstronglyattractedNSaluminumparamagneticweaklyattractedNSbismuthdiamagneticweakly repelledfieldNot to scale: deflections exaggerated. Bluearrows: atomic dipoles along (iron, aluminum)or opposite (bismuth) the field.
  • Ferromagnetic (iron, nickel, cobalt): dipoles align strongly with the field; can stay aligned. Strongly attracted; can become permanent magnets.
  • Paramagnetic (aluminum, titanium, magnesium): dipoles align weakly with the field; alignment is lost when the field goes. Weakly attracted.
  • Diamagnetic (every material; it dominates in copper, water, bismuth): a weak alignment opposite the field. Weakly repelled.
  • Iron is diamagnetic too, but its ferromagnetism swamps the effect.
Quick check
Four graphs, numbered 1 to 4, each of M (vertical axis, with zero in the middle) against time t (horizontal axis), with 1Mtt₁t₂2Mtt₁t₂3Mtt₁t₂4Mtt₁t₂
?An aluminum rod is placed in a strong external magnetic field at time t1, and the field is removed at time t2. In each graph shown, M is the net alignment of the rod's atomic dipoles along the direction of the external field (positive when along the field). Which graph best represents the aluminum rod?
Mission 2

Permeability

Magnetization against external fieldmagnetization Mexternal field Bext0ironflattensaluminumcopperSketch, no values. Aluminum and copper linesgreatly exaggerated.
  • Permeability μ: how strongly a material becomes magnetized in response to an external field.
  • Free space: the vacuum permeability μ0 = 4π × 10⁻⁷ T·m/A, a constant. It appears in B = μ0I/(2πr).
  • Matter's permeability differs from μ0, depending on its composition: dipoles that align along the field raise μ above μ0; a response opposite the field lowers it.
  • Iron: far greater than μ0 (hundreds to thousands of times).
  • μ of a material is not a constant. It changes with temperature, field strength, orientation and composition.
  • Example: in a strong field iron's domains are nearly all aligned, so extra field adds little magnetization. Its μ falls.
Quick check
?At room temperature and in a weak external field, which ranking of the magnetic permeabilities of iron (μFe), aluminum (μAl), copper (μCu) and free space (μ0) is correct?
Mission check

?Rods of nickel, aluminum and copper, identical in size and shape, are each placed in turn in a strong external magnetic field and then removed from it. Which of the rods can then be a permanent magnet?
Mission 3Topic 12.3

Mission 3: A wire carrying a current lies between the poles of a magnet. Which way is it pushed?

Make a guess: A wire carrying a current lies between the poles of a magnet. Which way is it pushed?

Mission 3

The motor effect

The motor effectCurrent across thefieldNSCurrent along thefieldNSFcurrent out of thepagecurrentF = 0
  • A current-carrying wire in a magnetic field feels a force.
  • The force is at right angles to both the current and the field.
  • No force when the current is parallel to the field.
  • Reverse the current or the field: the force reverses.
Mission 3

Which way?

Direction of the forceRight-hand rulefingers: B, into the pagethumb: I, up the pagepalm pushes: F, to the leftIF× : B into the page
  • Right-hand rule: fingers along B, thumb along I; the force comes out of your palm.
  • As a vector: F = I ℓ⃗ × B, with ℓ⃗ along the current.
Quick check
?A straight wire in the plane of the page carries a current toward the right side of the page through a uniform magnetic field directed into the page. What is the direction of the magnetic force exerted on the wire?
Mission 3

How big?

Size of the force on a wireuniform field BIℓℓ = length inside the fieldθI sin θI cos θ: no forceθ = angle between the current and the field
  • FB = IℓB sin θ for a straight wire in a uniform field.
  • θ = angle between the current and the field. Largest at 90°, zero at 0°.
  • The length is the length inside the field.
  • B is in tesla (T).
Mission 3

Worked example

  • A 4.0 cm length of wire carries 2.5 A at right angles to a 0.15 T field.
  • Force = 0.15 × 2.5 × 0.040 = 0.015 N.
  • Turn the wire to 30° to the field: F = 0.015 × sin 30° = 0.0075 N.
  • Backward: 0.012 N on a 5.0 cm wire carrying 3.0 A at right angles. B = force ÷ (current × length) = 0.012 ÷ (3.0 × 0.050) = 0.080 T.
Quick check
A shaded rectangular region of uniform magnetic field, with horizontal field lines pointing to the right, labeled B = 0.30°I = 4.0 AB = 0.60 TLength in field 0.25 m; total length 0.40 m
?The figure shows a straight wire carrying a current across a region of uniform magnetic field (shaded); the field is zero outside the region. What is the magnitude of the magnetic force exerted on the wire?
Mission 3

Wires that are not straight

Force on a curved wireB into the pageIL: straight line from start to endFF = I L × B: the same force as a straightwire of length L carrying I.
  • Each element feels dF = I dℓ⃗ × B, so F = ∫ I dℓ⃗ × B.
  • Uniform B: F = I L × B, with L the straight line from the wire's start to its end, whatever its shape.
  • A closed loop in a uniform field: L = 0, so no net force (there can still be a torque).
  • Non-uniform B (e.g. near another wire): integrate along the wire.
Quick check
A long vertical straight wire on the left carries current I₁ upward, shown by an arrow. To its right, a horizontal straiI₁I₂aL
?The diagram shows a long straight wire carrying current I1 and a straight rod, perpendicular to the wire and in the same plane, carrying current I2. The long wire produces a magnetic field of magnitude μ0I1/(2πr) at a distance r from it. The magnitude of the magnetic force on the rod can be written F = (μ0I1I2/(2π))G. What is G?
Mission check

?A long straight wire carries a current vertically upward. It is in a uniform horizontal magnetic field that points due north. In which direction is the magnetic force on the wire?
Mission 4Topic 12.2

Mission 4: A magnetic field can steer a beam of charged particles. Can it also make them go faster?

Make a guess: A magnetic field can steer a beam of charged particles. Can it also make them go faster?

Mission 4

Force on a moving charge

Force on a moving chargeB into the pagevF+Moving along the fieldB+vF = 0+at restF = 0
  • A current is moving charge, so a single moving charge in a field also feels a force.
  • F = qvB sin θ
  • F = q(v × B)
  • θ = angle between v and B.
  • Zero force on a charge at rest, or moving along the field.
  • Example: an electron at 3.0 × 10⁶ m/s at right angles to a 0.20 T field: F = 1.60 × 10⁻¹⁹ × 3.0 × 10⁶ × 0.20 = 9.6 × 10⁻¹⁴ N.
  • Magnetic forces act between moving charges: a charge at rest neither feels one nor exerts one.
Mission 4

Which way?

Which way is the force?Right-hand rule (positive charge)thumb: vpalm pushes: Ffingers: B, into the pagevF+protonvF−electronnegative charge: force the other way
  • Right-hand rule for a positive charge: fingers along B, thumb along v, force out of the palm. Negative charge: force the other way.
  • Cross product v × B, then multiply by the sign of q.
  • The force is always ⟂ to the velocity, so it does no work: the speed and kinetic energy never change.
Quick check
?An electron moves toward the right side of the page through a uniform magnetic field directed out of the page. What is the direction of the magnetic force exerted on the electron at this instant?
Mission 4

Circular paths

Circular path in a magnetic fieldB out of the page+vF+vF+vFForce always at right angles to the velocity:speed constant.
  • Only the direction changes. Uniform field, v ⟂ B: a circle.
  • The magnetic force is the centripetal force: magnetic force = mv²/r.
  • r = mv/(Bq)
  • Faster or heavier → bigger circle. Stronger field or more charge → tighter circle.
  • Time for one orbit: T = 2πr/v = 2πm/(Bq).
Mission 4

Worked example

  • A proton (m = 1.67 × 10⁻²⁷ kg, q = 1.60 × 10⁻¹⁹ C) at 2.0 × 10⁶ m/s, at right angles to a 0.50 T field.
  • Radius: r = mv/(Bq) = (1.67 × 10⁻²⁷ × 2.0 × 10⁶) ÷ (0.50 × 1.60 × 10⁻¹⁹) = 0.042 m.
  • Period: T = 2πm/(Bq) = 1.3 × 10⁻⁷ s.
  • Double the field: r halves to 0.021 m, and T halves too, to 6.6 × 10⁻⁸ s.
Quick check
?A proton moves in a circular path of radius r in a uniform magnetic field, with its velocity perpendicular to the field. A second proton moves in the same field with twice the speed, its velocity also perpendicular to the field. Only magnetic forces are exerted on the protons. The radius of the second proton's circular path is kr. What is k?
Mission 4

Crossed fields

Velocity selector+−+−+−+−+−B into the pagefasterslowerv = E/BqEqvB+Curved paths sketched, not to scale.
  • In both E and B fields, a charge feels two independent forces: qE (any speed) and qvB (depends on speed).
  • E and B at right angles, both ⟂ to the beam, forces opposite. Straight through only if qE = qvB: v = E/B. This is a velocity selector.
  • Faster particles: magnetic force wins. Slower: electric force wins.
  • Example: plates 1.0 cm apart, 400 V, B = 0.050 T. E = 4.0 × 10⁴ V/m; v = E/B = 8.0 × 10⁵ m/s.
Quick check
?A proton moves at 2.0 × 10⁴ m/s toward the right side of the page through a region that contains a uniform electric field of magnitude 3.0 × 10³ N/C directed toward the bottom of the page and a uniform magnetic field of magnitude 0.050 T directed into the page. The gravitational force on the proton is negligible. What is the magnitude of the net force exerted on the proton at this instant? (Use e = 1.60 × 10⁻¹⁹ C.)
Mission 4

The Hall effect

Hall effectB out of the pageI−−−F+−+−+−+−+−+−VVHdElectrons drift opposite to I and are pushedto one edge: a potential difference acrossthe width.
  • Current flows along a thin slab in a field B ⟂ to its face. The moving charge carriers are pushed to one edge.
  • Charge builds up on opposite edges: a transverse potential difference, the Hall voltage VH.
  • It stops growing when the electric force balances the magnetic force: qE = qvB.
  • With width d across which VH is measured: VH = Bvd. A constant current fixes the carriers' drift speed v, so VH ∝ B.
Quick check
A horizontal rectangular metal strip in the plane of the page, joined to wires at its left and right ends. An arrow labeIB
?The figure shows a metal strip, in the plane of the page, carrying a current I in a uniform magnetic field B. The charge carriers in the metal are electrons. As the magnetic field pushes on the moving electrons, charge builds up on two opposite surfaces of the strip. Which surface becomes negatively charged?
Mission 4

Any angle: v × B

Helical pathBv∥v⊥pitchpitchpitch = v∥ × periodv∥: no force, constant. v⊥: a circle.Helix computed for v⊥ = 2.2 v∥; far side ofeach turn drawn faint.
  • F = q(v × B), magnitude |q|vB sin θ, ⟂ to the plane of v and B.
  • Split v into v∥ (along B) and v⊥.
  • v∥ feels no force: it stays constant. v⊥ gives a circle of radius mv⊥/(|q|B).
  • Together: a helix along the field. Period 2πm/(|q|B); pitch = v∥ × period.
Quick check
?A particle of mass m and charge q > 0 enters a region of uniform magnetic field of magnitude B with speed v. Its velocity has a component v∥ parallel to the field and a component v⊥ perpendicular to the field, and it moves along a helix. What distance does the particle move along the field direction during one revolution?
Mission check

?Two protons enter two separate regions at the same speed. Region 1 contains only a uniform electric field; region 2 contains only a uniform magnetic field. Each proton enters at right angles to the field lines. Gravity is negligible. A short time later, which statement is correct?
Mission 5Topics 12.1–12.4

Mission 5: Two parallel wires carry currents in the same direction. Do they attract or repel, and why?

Make a guess: Two parallel wires carry currents in the same direction. Do they attract or repel, and why?

Mission 5

Field of a long straight wire

Field of a long straight wirercurrent out of the pageB ∝ IB ∝ 1/rtwice as far: halfthe fieldr is measured fromthe wire’s axis, notits surfaceBr0B1/r0straightlinethrough 0Sketch graphs, no values.
  • B = μ0I/(2πr), r = distance from the wire's axis.
  • μ0 = 4π × 10⁻⁷ T·m/A: the permeability of free space, a constant.
  • B ∝ I and B ∝ 1/distance: twice as far, half the field.
  • Direction: right-hand rule. The field is tangent to circles around the wire.
Mission 5

Worked example

  • A long wire carries 15 A. Find B 3.0 cm from it.
  • B = μ0I/(2π × 0.030) = (4π × 10⁻⁷ × 15) ÷ (2π × 0.030).
  • Shortcut: μ0/2π = 2 × 10⁻⁷ T·m/A.
  • B = 2 × 10⁻⁷ × 15 ÷ 0.030 = 1.0 × 10⁻⁴ T.
  • About twice Earth's field at the surface (roughly 5 × 10⁻⁵ T): enough to swing a compass.
Quick check
?A long straight wire of diameter 0.010 m carries a current of 12 A. Point P is 0.045 m from the surface of the wire. What is the magnitude of the magnetic field produced by the wire at P? (Use μ0 = 4π × 10⁻⁷ T·m/A.)
Mission 5

Adding fields

Fields of two wires add as vectorsI2Iwire 1wire 2B = 0field of wire 1field of wire 2Between: opposite. Outside: same direction.Both currents out of the page. Field arrows toscale (proportional to current ÷ distance).
  • Fields from several wires add as vectors (superposition).
  • Find each field's size and direction separately, then add.
  • Two wires with currents in the same direction: between them the fields are opposite, and can cancel.
  • Currents in opposite directions: between them the fields add.
  • Loop center: B = μ0I/(2R) (derived later with the Biot–Savart law).
Quick check
?Two long straight parallel wires, 1 and 2, are a distance d apart. Wire 1 carries a current I, and wire 2 carries a current 3I in the same direction. Point P is on the line joining the wires, between them, at the location where the net magnetic field produced by the two wires is zero. Ignore Earth's magnetic field. Which expression gives the distance from wire 1 to P?
Quick check
A dashed horizontal line with a proton (a circle marked +) on it and an arrow labeled v pointing to the right, parallel +vPQRddd
?A current is moving charge, so one moving proton makes a magnetic field too. Predict before the next screen. The figure shows a proton moving along the dashed line with velocity v, and three points P, Q and R, at the instant shown. BP, BQ and BR are the magnitudes of the magnetic field produced by the proton at these points at this instant. Which ranking is correct?
Mission 5

Field of one moving charge

Field of a moving proton+vB out of the pageB into the pageB = 0aheadB = 0behindBeside the charge: largest field. Straightahead or behind: zero.
  • A single moving charge produces a magnetic field. A charge at rest does not.
  • Larger speed → larger field. Greater distance → smaller field.
  • Direction: ⟂ to both the velocity and the line from the charge to the point. Right-hand rule as for a current (reverse it for a negative charge).
  • Largest beside the charge (line ⟂ to v); zero straight ahead or behind.
Mission 5

Field inside a long solenoid

Field of a long solenoidlength L, N turnsUniform inside; weak outsiden = N/L: turns per meterField lines computed for the coil drawn, in aplane through its axis.
  • B = μ0nI, with n = number of turns per meter (N/L).
  • Uniform inside, away from the ends. It does not depend on the solenoid's radius.
  • Unless stated otherwise: solenoids are very long and the field outside is negligible.
  • Example: 500 turns on 0.25 m, so n = 2000 turns per meter; I = 1.5 A. B = 4π × 10⁻⁷ × 2000 × 1.5 = 3.8 × 10⁻³ T.
Quick check
?A long solenoid with N turns and length L has a field of magnitude B0 inside it when the current is I. A second long solenoid has the same number of turns N spread over a length 2L and twice the radius, and it carries the same current I. What is the magnitude of the field inside the second solenoid?
Mission 5

Force between parallel wires

Force between parallel wiresB1B2FFI1I2Same direction: attractB1B2FFI1I2Opposite directions: repelForce arrows equal in length (Newton’s thirdlaw).
  • Wire 1 makes a field at wire 2: B1 = μ0I1/(2πr), ⟂ to wire 2.
  • Wire 2 carries I2 in that field, so it feels F = I2ℓB1.
  • Same direction → attract. Opposite directions → repel.
Mission 5

Worked example

  • Two long parallel wires 5.0 cm apart each carry 10 A in the same direction.
  • Field of wire 1 at wire 2: B = 2 × 10⁻⁷ × 10 ÷ 0.050 = 4.0 × 10⁻⁵ T. Force per meter: BI = 4.0 × 10⁻⁵ × 10 = 4.0 × 10⁻⁴ N.
  • On 2.0 m of wire: 8.0 × 10⁻⁴ N, toward the other wire.
Quick check
?Two long straight parallel wires are 0.040 m apart. Wire 1 carries a current of 12 A, and wire 2 carries a current of 8.0 A in the opposite direction. What is the magnitude of the magnetic force exerted by wire 1 on a 1.5 m length of wire 2? (Use μ0 = 4π × 10⁻⁷ T·m/A.)
Quick check
?Two long straight parallel wires, X and Y, are 5.0 cm apart in air. X carries 2.0 A and Y carries 6.0 A, in the same direction. What is the magnetic force on a 1.0 m length of each wire?
Mission check

?A light, loosely wound coil of wire, like a soft spring, hangs vertically. A large steady current is passed through it. What happens to the length of the coil?
Mission 6Topics 12.3, 12.4

Mission 6: Why is the field at a wire loop's center about three times that at the same distance from a straight wire?

Make a guess: Why is the field at a wire loop's center about three times that at the same distance from a straight wire?

Mission 6

The Biot–Savart law

A current element and its field at PI dℓrr̂θPdB at P: out of the pageθ: angle between dℓ and r̂dℓ × r̂ points out of the page.
  • Split the current into small elements I dℓ⃗. Each makes a small field:
  • dB = (μ0/4π) · I dℓ⃗ × r̂ / r²
  • r = distance from the element to the point; r̂ = unit vector from the element to the point.
  • Size: dB = (μ0/4π) I dℓ sin θ / r², θ = angle between dℓ⃗ and r̂.
  • Inverse square, like Coulomb's law, but the direction comes from a cross product.
  • Total field: B = ∫ dB over the whole wire.
Quick check
?A straight piece of wire 1.0 mm long carries a current of 10 A. Point P is 5.0 cm from the piece of wire, and the line from the wire to P makes an angle of 30° with the direction of the current. Treating the piece of wire as a single current element, what is the magnitude of the magnetic field it produces at P? Use μ0 = 4π × 10⁻⁷ T·m/A.
Quick check
?Predict first. A student claims that the magnetic field produced by a short straight segment of current-carrying wire has no component parallel to the segment at any point. Which reasoning correctly supports the claim?
Mission 6

Direction and a recipe

Field circles round a current elementelement I dℓdBdB = 0dB = 0Circles centered on the line of the elementdB ⟂ dℓ and dB ⟂ r̂On the line of the element: sin θ = 0, no field.
  • dB ⟂ dℓ⃗ and ⟂ r̂: around circles centered on the line of the element. No component along it, none toward it.
  • Points on the line of an element: sin θ = 0, no field from it.
  • Recipe:
  • 1. Draw a general element; mark r, r̂ and θ.
  • 2. Find the direction of dB. Use symmetry: often all dB point the same way, or sideways parts cancel.
  • 3. Write dB in one variable (an angle or a length), then integrate.
Mission 6

Center of a loop, and arcs

Field at the center of a loop and an arcFull loopIdℓr̂RBEvery element:r = R, dℓ ⟂ r̂All dB out ofthe pageB = μ₀I/(2R)Arc with straight leadsIBφRArc:B = μ₀Iφ/(4πR)Leads along radii:dℓ ∥ r̂, sono field at thecenterφ in radians.
  • At the center of a circle of radius R: every element has r = R and dℓ⃗ ⟂ r̂ (sin θ = 1).
  • Every dB points the same way, along the axis.
  • B = (μ0I/4πR²) ∮dℓ = (μ0I/4πR²)(2πR) = μ0I/(2R).
  • Arc subtending angle φ (radians): ∫dℓ = Rφ, so B = μ0Iφ/(4πR).
  • Straight leads pointing at the center: dℓ⃗ ∥ r̂, no contribution.
  • Combine pieces by superposition, with signs from their directions.
Quick check
A closed loop drawn above a horizontal line through point P. It consists of an outer semicircle of radius R₂ and an inneIPR₁R₂R₁ = 0.10 m, R₂ = 0.20 m, I = 4.0 A
?The diagram shows a closed loop made of two semicircular arcs with a common center P, joined by two straight segments that lie along a line through P. The loop carries a steady current. What is the magnitude of the magnetic field at P? Use μ0 = 4π × 10⁻⁷ T·m/A.
Mission 6

On the axis of a loop

Field on the axis of a loopIRzdℓrdBaxial parts addsideways partscancelββPcos β = R/r, so dBz = dB (R/r)r = √(R² + z²) for every element
  • Point P on the axis, distance z from the center. Every element is a distance r = √(R² + z²) away, with dℓ⃗ ⟂ r̂.
  • Each dB is tilted. The sideways parts cancel in pairs (opposite elements).
  • The axial parts add: dBz = dB · (R/r).
  • B = μ0IR² / [2(R² + z²)3/2]
  • Checks: z = 0 gives μ0I/(2R). Far away (z ≫ R): B ∝ 1/z³, the field of a dipole.
Mission 6

A straight segment

Field of a straight segmentIdxrθdPB out of the page−a0x+asin θ = d/r, r² = x² + d²All dB point the same way.
  • Segment from x = −a to x = +a; P at distance d on its perpendicular bisector.
  • Element dx: sin θ = d/r, r² = x² + d². All dB point the same way.
  • B = (μ0I/4π) ∫ d dx/(x² + d²)3/2 from −a to a.
  • B = μ0Ia / [2πd √(a² + d²)]
  • Very long segment (a ≫ d): B → μ0I/(2πd), the long-wire result.
Quick check
?A straight wire segment 0.30 m long carries a current of 4.0 A. Point P lies on the perpendicular bisector of the segment, 0.20 m from its midpoint. What is the magnitude of the magnetic field at P due to the segment? Use μ0 = 4π × 10⁻⁷ T·m/A.
Mission 6

Worked example: a square loop

Field at the center of a square loopIPd = s/2a = s/2s = 0.10 mI = 5.0 AEach side:B at P outof the page
  • Square of side s = 0.10 m carrying I = 5.0 A. Find B at the center.
  • Each side: a = s/2, d = s/2. Bside = μ0I(s/2) / [2π(s/2)(s/√2)] = √2 μ0I/(2πs).
  • All four sides give fields in the same direction (⟂ to the loop).
  • B = 4 × Bside = 2√2 μ0I/(πs) = 2√2 × 4π × 10⁻⁷ × 5.0 ÷ (π × 0.10) = 5.7 × 10⁻⁵ T.
  • A circle of the same perimeter gives 4.9 × 10⁻⁵ T: the square's corners sit farther out but its side midpoints sit closer.
Mission check

?A closed loop of wire is made of a circular arc of radius 0.10 m that subtends an angle of 240° at its center P, and the straight wire that joins the two ends of the arc. The loop carries a steady current of 5.0 A. Use μ0 = 4π × 10⁻⁷ T·m/A. What is the magnitude of the magnetic field at P?
Mission 7Topics 12.3, 12.4

Mission 7: Why does the field inside a long solenoid not depend on the solenoid's radius at all?

Make a guess: Why does the field inside a long solenoid not depend on the solenoid's radius at all?

Mission 7

Ampère's law

An Amperian loopI₁I₂I₃outsideAmperian loop, counterclockwiseIenc = I₁ − I₂I₃ adds nothing to the integral.thumb out:⊙ counts +right hand
  • Choose any closed path (an Amperian loop). Then:
  • ∮B·dℓ⃗ = μ0Ienc
  • Ienc = net current through the loop. Sign: curl your right-hand fingers along the direction you go around; current along your thumb counts positive.
  • Currents outside the loop add nothing to the integral, though they do change B at points on the loop.
  • True for any loop. Useful only when symmetry makes B constant along parts of the loop and parallel (or ⟂) to them.
Quick check
Three long, straight wires seen end-on, and a dashed oval Amperian loop in the plane of the page with an arrow at its to3.0 A5.0 A4.0 AABC
?The figure shows three long, straight wires, A, B and C, perpendicular to the page, with the current in each labeled; ⊙ means out of the page and ⊗ into the page. The dashed curve is an Amperian loop in the plane of the page, traversed counterclockwise as the arrow shows. What is the value of ∮B·dℓ⃗ around the loop, in the direction of traversal? Use μ0 = 4π × 10⁻⁷ T·m/A.
Mission 7

Inside and outside a wire

Field inside and outside a solid wireRcurrent out of the pageCircles inside and outsideBr0Rμ₀I/(2πR)∝ r∝ 1/rInside (uniform J): B = μ₀Ir/(2πR²)Outside: B = μ₀I/(2πr)Sketch graph, no values.
  • Long straight wire, radius R. By symmetry B is tangent to circles around the axis and has the same size all around one.
  • Circle of radius r: ∮B·dℓ⃗ = B(2πr).
  • Outside (r ≥ R): Ienc = I, so B = μ0I/(2πr).
  • Inside, uniform current density: Ienc = I r²/R², so B = μ0Ir/(2πR²): rises linearly from zero on the axis.
  • Example: R = 2.5 mm, I = 10 A, r = 1.0 mm. Ienc = 10 × (1.0/2.5)² = 1.6 A; B = μ0 × 1.6 ÷ (2π × 1.0 × 10⁻³) = 3.2 × 10⁻⁴ T.
Quick check
?A long, straight, solid cylindrical wire of radius 2.0 mm carries a steady current of 8.0 A spread uniformly over its cross section. What is the magnitude of the magnetic field inside the wire, 1.0 mm from its axis? Use μ0 = 4π × 10⁻⁷ T·m/A.
Mission 7

Current density that varies

Adding thin rings of currentsdsRJ = J₀(1 − s/R)darker: larger J(largest onthe axis)thin ring:dA = 2πs dsIenc = ∫₀r J(s) 2πs ds
  • If J depends on the distance s from the axis, add up thin rings: area dA = 2πs ds.
  • Ienc = ∫0ʳ J(s) 2πs ds
  • Example: J = J0(1 − s/R), largest on the axis.
  • Ienc = 2πJ0(r²/2 − r³/(3R)).
  • B = μ0Ienc/(2πr) = μ0J0 r (1/2 − r/(3R)) for r < R. Total current: πJ0R²/3.
Quick check
?A very long, solid cylindrical conductor of radius R carries a steady current along its length. The current density is J = J0s/R, where s is the distance from the axis and J0 is a constant. What is the magnitude of the magnetic field at a distance r < R from the axis?
Mission 7

The long solenoid

Amperian loop for a long solenoidBBℓ000B = 0outsideℓShort sides: B ⟂ dℓ or B = 0Turns enclosed: nℓ (n = turns per meter)Bℓ = μ₀nℓI, so B = μ₀nI
  • Assume a long solenoid: uniform B inside, along the axis; negligible B outside.
  • Rectangle with one long side (length ℓ) inside, parallel to the axis, the other outside.
  • Inside side: Bℓ. Outside side: 0. Short sides: B ⟂ dℓ⃗ inside, B = 0 outside. So ∮B·dℓ⃗ = Bℓ.
  • Turns enclosed: nℓ, each carrying I. Bℓ = μ0nℓI → B = μ0nI.
  • The inside side can be anywhere inside: B is the same everywhere inside, and the radius never appears.
Quick check
Cross section of a long solenoid: a top row of windings drawn as ⊗ and a bottom row drawn as ⊙. A dashed rectangular Ampℓ = 0.10 msolenoid: N = 600 turns over length L = 0.40 mcurrent I = 3.0 A
?The figure shows a cross section of a long solenoid carrying a steady current, with its data labeled, and a rectangular Amperian loop, one long side of which is inside the solenoid. The windings are drawn schematically, not to scale. What is the magnitude of the magnetic field inside the solenoid? Use μ0 = 4π × 10⁻⁷ T·m/A.
Mission 7

Superposition: cables and holes

Coaxial cable and a cylinder with a holeCoaxial cable+I−IBetween:B = μ₀I/(2πr)Outside:Ienc = 0, so B = 0Cylinder with an off-center holehole=+J (full)+−J (hole)Add the two fields as vectors.Dot: main axis (outside the hole).
  • Ampère's law gives each symmetric piece's field; add the pieces as vectors.
  • Coaxial cable: inner conductor +I, outer tube −I. Outside: Ienc = 0, so B = 0. Between them: μ0I/(2πr).
  • Cylinder with an off-center hole: treat it as a full cylinder carrying +J plus a cylinder filling the hole carrying −J. Add the two fields.
  • Parallel wires: add each wire's μ0I/(2πr), each tangent to its own circle.
Quick check
?A long, straight wire carrying current 2I lies along the axis of a long, thin-walled conducting cylindrical shell of radius R. The shell carries current 5I, spread uniformly around it, in the opposite direction. What is the magnitude of the magnetic field at a distance r > R from the axis?
Mission 7

A current-carrying slab

Field of a large current-carrying slabBBℓℓdJ out of the page (edge view)B parallel to the faces, opposite on the two sides∮B·dℓ = 2Bℓ, Ienc = JdℓOutside: B = μ₀Jd/2, any distance
  • Very large flat slab, thickness d, uniform current density J along it.
  • Symmetry: B is parallel to the faces and ⟂ to J, has the same size at equal distances from the central plane, and points in opposite directions on the two sides.
  • Rectangle straddling the slab, long sides ℓ parallel to it on either side: only the long sides count, so ∮B·dℓ⃗ = 2Bℓ.
  • Outside: Ienc = Jdℓ, so 2Bℓ = μ0Jdℓ and B = μ0Jd/2, the same at any distance from the slab.
  • Inside: the same loop, but it encloses only the current within the loop.
Quick check
Edge view of a large, flat slab of thickness d, shaded, with a vertical dashed line through its middle labeled central pcentral planePydJ
?The figure shows an edge view of a very large, flat conducting slab that carries a current of uniform density J, with a point P and the relevant distances labeled. What is the magnitude of the magnetic field at P?
Mission check

?A long, thin-walled metal tube of radius R carries a steady current I along its length, spread evenly around its wall. Which describes the magnitude of the magnetic field at a distance r from the tube's axis, far from its ends?
Recap

The big ideas

Mission 1

  • Magnetic fields come from moving charges and magnets; field lines are closed loops, closer lines mean a stronger field.
  • Straight wire: circles, direction by the right-hand rule. Solenoid: uniform inside, bar-magnet pattern outside.
  • A compass aligns with the net field; Earth's field is roughly a dipole; there are no magnetic monopoles.

Mission 2

  • Magnetism comes from moving charges; a magnetized material has aligned atomic dipoles (domains in ferromagnets). Poles always come in pairs.
  • Ferromagnetic: strong, can stay aligned. Paramagnetic: weak, along the field, not kept. Diamagnetic: weak, opposite the field, in all materials. Permeability μ0 is constant; a material's μ is not.

Mission 3

  • Force on a current in a field: at right angles to both; zero when parallel.
  • Direction: right-hand rule.
  • FB = IℓB sin θ.

Mission 4

  • F = q(v × B).
  • The force is ⟂ to v, so speed and kinetic energy never change.
  • v ⟂ B gives a circle: r = mv/(Bq) = p/(Bq); the period does not depend on speed.
  • Crossed fields pass undeflected only particles with v = E/B.

Mission 5

  • Long straight wire: B = μ0I/(2πr); μ0 = 4π × 10⁻⁷ T·m/A.
  • Long solenoid: B = μ0nI, uniform inside, independent of radius.
  • Find B from one wire, then F = IℓB on the other.
  • Parallel wires: same direction attract, opposite repel; equal and opposite forces.

Mission 6

  • Biot–Savart: dB = (μ0/4π) I dℓ⃗ × r̂/r²; integrate, using symmetry to fix the direction.
  • Loop center μ0I/(2R); arc μ0Iφ/(4πR); loop axis μ0IR²/[2(R² + z²)3/2]; finite segment μ0Ia/[2πd√(a² + d²)].

Mission 7

  • Ampère's law: ∮B·dℓ⃗ = μ0Ienc; choose loops where B is constant and parallel, or perpendicular.
  • Wire: μ0I/(2πr) outside, μ0Ir/(2πR²) inside (uniform J); solenoid μ0nI; Ienc = ∫J dA for non-uniform J.
  • Large slab: B = μ0Jd/2 outside, independent of distance.
🏆

Mini-lesson complete!

⭐⭐⭐

You've worked through Magnetic Fields and Electromagnetism for AP Physics C: E&M. 🎉

  1. Mission 1Switch on a current in a wire just above a compass. Which way does the needle turn, and why?
  2. Mission 2A magnet grabs an iron nail but ignores a copper pipe. What is different inside the iron?
  3. Mission 3A wire carrying a current lies between the poles of a magnet. Which way is it pushed?
  4. Mission 4A magnetic field can steer a beam of charged particles. Can it also make them go faster?
  5. Mission 5Two parallel wires carry currents in the same direction. Do they attract or repel, and why?
  6. Mission 6Why is the field at a wire loop's center about three times that at the same distance from a straight wire?
  7. Mission 7Why does the field inside a long solenoid not depend on the solenoid's radius at all?

Your stars: 0 / 0

📣 Smashed it? Share your score

Challenge a friend to beat your stars, or show a parent how you got on.

→ Back to AP Physics C: E&M