Skip to content
๐ŸŽฏโญ INTERACTIVE LESSON

Sources of Magnetic Fields

Learn step-by-step with interactive practice!

Sources of Magnetic Fields - Complete Interactive Lesson

Part 1: Magnetic Force on Charges

๐Ÿงฒ Magnetic Force on Moving Charges

Part 1 of 7 โ€” The Lorentz Force


Magnetic Force

Fโƒ—=qvโƒ—ร—Bโƒ—\vec{F} = q\vec{v} \times \vec{B}

Magnitude: F=qvBsinโกฮธF = qvB\sin\theta

FactDetail
DirectionRight-hand rule (cross product)
PerpendicularForce โŠฅ velocity AND โŠฅ B
No workMagnetic force does NO work (Fโƒ—โŠฅvโƒ—\vec{F} \perp \vec{v})

Circular Motion in B Field

qvB=mv2rqvB = \frac{mv^2}{r}

r=mvqBr = \frac{mv}{qB}

ฯ‰=qBm\omega = \frac{qB}{m} (cyclotron frequency)

๐Ÿ”‘ A charged particle in a uniform Bโƒ—\vec{B} moves in a circle (or helix). The magnetic force provides centripetal acceleration.

Helical Motion and Crossed Fields

Why a helix? Split the velocity into components parallel and perpendicular to Bโƒ—\vec{B}. The perpendicular part vโŠฅv_\perp feels the force and circles with radius r=mvโŠฅqBr = \frac{mv_\perp}{qB}; the parallel part vโˆฅv_\parallel feels no force (sinโกฮธ=0\sin\theta = 0) and drifts at constant speed. Together they trace a helix around the field direction.

The velocity selector. Cross an electric field with a magnetic field so their forces oppose. A charge goes straight only when they cancel:

qE=qvBโŸนv=EB.qE = qvB \quad\Longrightarrow\quad v = \frac{E}{B}.

This selects a single speed regardless of charge or mass โ€” the front end of a mass spectrometer.

Speed never changes. Because Fโƒ—โŠฅvโƒ—\vec{F}\perp\vec{v}, the magnetic force does zero work, so โˆฃvโƒ—โˆฃ|\vec{v}| is constant; only the direction turns. Kinetic energy is conserved in any purely magnetic field.

Worked Example โ€” Radius and Period of Circular Motion

A proton (m=1.67ร—10โˆ’27ย kgm = 1.67\times10^{-27}\text{ kg}, q=1.6ร—10โˆ’19ย Cq = 1.6\times10^{-19}\text{ C}) enters a uniform field B=0.50ย TB = 0.50\text{ T} perpendicular to its velocity v=2.0ร—106ย m/sv = 2.0\times10^{6}\text{ m/s}. Find (a) the radius of its path and (b) the period of revolution.

Step 1 โ€” Force provides centripetal acceleration. The magnetic force is the only force, so qvB=mv2rqvB = \frac{mv^2}{r}.

Step 2 โ€” Solve for radius. Cancel one vv: r=mvqB=(1.67ร—10โˆ’27)(2.0ร—106)(1.6ร—10โˆ’19)(0.50)r = \frac{mv}{qB} = \frac{(1.67\times10^{-27})(2.0\times10^{6})}{(1.6\times10^{-19})(0.50)}. Numerator =3.34ร—10โˆ’21= 3.34\times10^{-21}; denominator =8.0ร—10โˆ’20= 8.0\times10^{-20}. So r=4.2ร—10โˆ’2ย m=4.2ย cmr = 4.2\times10^{-2}\text{ m} = 4.2\text{ cm}.

Step 3 โ€” Period. The cyclotron period is T=2ฯ€rv=2ฯ€mqBT = \frac{2\pi r}{v} = \frac{2\pi m}{qB}. Note that vv cancels:

T=2ฯ€(1.67ร—10โˆ’27)(1.6ร—10โˆ’19)(0.50)=1.3ร—10โˆ’7ย s.T = \frac{2\pi (1.67\times10^{-27})}{(1.6\times10^{-19})(0.50)} = 1.3\times10^{-7}\text{ s}.

Key insight: the cyclotron period (and frequency ฯ‰=qB/m\omega = qB/m) is independent of speed and radius โ€” faster particles trace bigger circles in exactly the same time. This is the principle that makes the cyclotron work.

Concept Check ๐ŸŽฏ

Part 2: Force on Current-Carrying Wires

๐Ÿ”Œ Force on Current-Carrying Wires

Part 2 of 7 โ€” Wires in Magnetic Fields


Force on a Wire

Fโƒ—=ILโƒ—ร—Bโƒ—\vec{F} = I\vec{L} \times \vec{B}

Magnitude: F=BILsinโกฮธF = BIL\sin\theta

where LL is the length of wire in the field and Lโƒ—\vec{L} points along the conventional current.


Force Between Parallel Wires

Wire 1 makes a field B1=ฮผ0I1/(2ฯ€d)B_1 = \mu_0 I_1/(2\pi d) at wire 2, so the force per unit length on wire 2 is

FL=ฮผ0I1I22ฯ€d\frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d}

๐Ÿ”‘ Currents in the same direction attract; currents in opposite directions repel.

Force on a Bent Wire, and a Loop Near a Long Wire

For a wire of arbitrary shape, sum the force on each element: Fโƒ—=Iโˆซdlโƒ—ร—Bโƒ—\vec{F} = I\int d\vec{l}\times\vec{B}. In a uniform field, Bโƒ—\vec{B} factors out and the integral reduces to the straight-line displacement between endpoints:

Fโƒ—=Iโ€‰Lโƒ—netร—Bโƒ—,\vec{F} = I\,\vec{L}_{\text{net}}\times\vec{B},

where Lโƒ—net\vec{L}_{\text{net}} points from start to finish. A semicircle of radius RR therefore feels the same force as a straight wire of length 2R2R joining its ends.

Closed loop in a uniform field โ‡’ zero net force. For any closed loop โˆฎdlโƒ—=0\oint d\vec{l} = 0, so the net force vanishes.

Closed loop in a NONuniform field โ‡’ net force. Put a rectangular loop beside a long straight wire, in the same plane. The field B=ฮผ0I1/(2ฯ€r)B = \mu_0 I_1/(2\pi r) is stronger at the near side than at the far side. The two sides perpendicular to the wire feel equal and opposite forces that cancel, but the two sides parallel to the wire do not:

Fnet=ฮผ0I1I2L2ฯ€(1aโˆ’1a+w)F_{\text{net}} = \frac{\mu_0 I_1 I_2 L}{2\pi}\left(\frac{1}{a} - \frac{1}{a + w}\right)

where LL is the length of the parallel sides, aa the distance to the near side, and ww the loop's width. The near side wins, so the loop is pulled toward the wire when its near-side current is parallel to I1I_1.

Worked Example โ€” Net Force on a Loop Beside a Long Wire

A long straight wire carries I1=20ย AI_1 = 20\text{ A}. A rectangular loop in the same plane carries I2=5.0ย AI_2 = 5.0\text{ A}; its sides parallel to the wire have length L=0.30ย mL = 0.30\text{ m}, the near side is a=0.050ย ma = 0.050\text{ m} from the wire, and the far side is 0.15ย m0.15\text{ m} from it. The near-side current runs parallel to I1I_1. Find the net force on the loop.

Step 1 โ€” Near side. Fnear=ฮผ0I1I2L2ฯ€a=(2ร—10โˆ’7)(20)(5.0)(0.30)0.050=6.0ร—10โˆ’60.050=1.2ร—10โˆ’4ย NF_{\text{near}} = \frac{\mu_0 I_1 I_2 L}{2\pi a} = \frac{(2\times10^{-7})(20)(5.0)(0.30)}{0.050} = \frac{6.0\times10^{-6}}{0.050} = 1.2\times10^{-4}\text{ N}, toward the wire (parallel currents attract).

Step 2 โ€” Far side. Ffar=6.0ร—10โˆ’60.15=4.0ร—10โˆ’5ย NF_{\text{far}} = \frac{6.0\times10^{-6}}{0.15} = 4.0\times10^{-5}\text{ N}, away from the wire (its current is antiparallel to I1I_1).

Step 3 โ€” The perpendicular sides. Each element of the top side has a partner on the bottom side at the same distance carrying current the opposite way, so their forces cancel.

Step 4 โ€” Net force. Fnet=1.2ร—10โˆ’4โˆ’4.0ร—10โˆ’5=8.0ร—10โˆ’5ย NF_{\text{net}} = 1.2\times10^{-4} - 4.0\times10^{-5} = 8.0\times10^{-5}\text{ N}, toward the wire.

Takeaway. "Closed loop โ‡’ zero force" holds only in a uniform field. In a field that varies with position, add the force on each side separately.

Concept Check ๐ŸŽฏ

Part 3: Biot-Savart Law

๐Ÿ”ฌ Biot-Savart Law

Part 3 of 7 โ€” Magnetic Field from Current


The Biot-Savart Law

dBโƒ—=ฮผ04ฯ€Iโ€‰dlโƒ—ร—r^r2d\vec{B} = \frac{\mu_0}{4\pi} \frac{I \, d\vec{l} \times \hat{r}}{r^2}


Common Results

ConfigurationBB at Center/Point
Long straight wireB=ฮผ0I2ฯ€rB = \frac{\mu_0 I}{2\pi r}
Center of circular loopB=ฮผ0I2RB = \frac{\mu_0 I}{2R}
On axis of loopB=ฮผ0IR22(R2+x2)3/2B = \frac{\mu_0 IR^2}{2(R^2+x^2)^{3/2}}

ฮผ0=4ฯ€ร—10โˆ’7\mu_0 = 4\pi \times 10^{-7} Tยทm/A

๐Ÿ”‘ Right-hand rule: curl fingers in direction of current โ†’ thumb points in direction of Bโƒ—\vec{B}.

How to Attack a Biot-Savart Integral

The law dBโƒ—=ฮผ04ฯ€Iโ€‰dlโƒ—ร—r^r2d\vec{B} = \frac{\mu_0}{4\pi}\frac{I\,d\vec{l}\times\hat{r}}{r^2} is the magnetic analog of Coulomb's law for fields. A reliable recipe:

  1. Pick the field point and draw r^\hat{r} from a typical current element to it.
  2. Evaluate the cross product dlโƒ—ร—r^d\vec{l}\times\hat{r} โ€” its magnitude is dlsinโกฮธdl\sin\theta, and its direction (right-hand rule) tells you which way dBโƒ—d\vec{B} points.
  3. Exploit symmetry to cancel components before integrating. (On a loop's axis, only the axial component survives.)
  4. Integrate what is left, pulling constants outside.

Finite straight wire (perpendicular bisector). For a segment of length LL and a point a distance dd from its midpoint, each end is seen at angle ฮธ\theta from the perpendicular, with sinโกฮธ=L/2d2+L2/4\sin\theta = \frac{L/2}{\sqrt{d^2 + L^2/4}}. Integrating gives

B=ฮผ0I4ฯ€d(2sinโกฮธ)=ฮผ0I2ฯ€dsinโกฮธ.B = \frac{\mu_0 I}{4\pi d}\left(2\sin\theta\right) = \frac{\mu_0 I}{2\pi d}\sin\theta.

For a very long wire ฮธโ†’90โˆ˜\theta \to 90^\circ, so sinโกฮธโ†’1\sin\theta \to 1 and Bโ†’ฮผ0I2ฯ€dB \to \frac{\mu_0 I}{2\pi d} โ€” recovering the familiar result.

Use Biot-Savart for the cases Ampรจre's law cannot handle: a straight segment (on its perpendicular bisector), an arc (at its center), and a loop (on its axis). Use Ampรจre when symmetry is high.

Worked Example โ€” Integrating Biot-Savart for a Loop's Axis

Find the on-axis field of a circular loop of radius RR carrying current II, at distance xx from the center, by integrating the Biot-Savart law. Then evaluate the center.

Step 1 โ€” Set up dBdB. Each element dlโƒ—d\vec{l} is perpendicular to r^\hat{r} (the vector to the axial point), so โˆฃdlโƒ—ร—r^โˆฃ=dl|d\vec{l}\times\hat{r}| = dl and dB=ฮผ04ฯ€Iโ€‰dlr2dB = \frac{\mu_0}{4\pi}\frac{I\,dl}{r^2}, where r=R2+x2r = \sqrt{R^2 + x^2}.

Step 2 โ€” Symmetry kills the perpendicular components. Components transverse to the axis cancel in pairs; only the axial part survives, scaled by cosโกฮฑ=RR2+x2\cos\alpha = \frac{R}{\sqrt{R^2+x^2}}:

dBx=ฮผ04ฯ€Iโ€‰dlR2+x2โ‹…RR2+x2.dB_x = \frac{\mu_0}{4\pi}\frac{I\,dl}{R^2+x^2}\cdot\frac{R}{\sqrt{R^2+x^2}}.

Step 3 โ€” Integrate around the loop. Everything except dldl is constant, and โˆฎdl=2ฯ€R\oint dl = 2\pi R:

Bx=ฮผ0IR4ฯ€(R2+x2)3/2(2ฯ€R)=ฮผ0IR22(R2+x2)3/2.B_x = \frac{\mu_0 I R}{4\pi (R^2+x^2)^{3/2}}(2\pi R) = \frac{\mu_0 I R^2}{2(R^2+x^2)^{3/2}}.

Step 4 โ€” At the center (x=0x = 0). B=ฮผ0IR22R3=ฮผ0I2RB = \frac{\mu_0 I R^2}{2R^3} = \frac{\mu_0 I}{2R}, recovering the standard center-of-loop result.

Concept Check ๐ŸŽฏ

Part 4: Ampere's Law

๐Ÿ” Ampereโ€™s Law

Part 4 of 7 โ€” Symmetry and Magnetic Fields


Ampereโ€™s Law

โˆฎBโƒ—โ‹…dlโƒ—=ฮผ0Ienc\oint \vec{B} \cdot d\vec{l} = \mu_0 I_{\text{enc}}


When to Use Ampereโ€™s Law

Use when there is sufficient symmetry to simplify โˆฎBโƒ—โ‹…dlโƒ—\oint \vec{B} \cdot d\vec{l}:

ConfigurationAmperian LoopResult
Long straight wireCircular loop (radius rr)B=ฮผ0I/(2ฯ€r)B = \mu_0 I/(2\pi r)
SolenoidRectangle (length LL)B=ฮผ0nIB = \mu_0 n I
Thick wire, uniform JJ (inside)Circle of radius r<ar < aB=ฮผ0Ir/(2ฯ€a2)B = \mu_0 I r/(2\pi a^2)

๐Ÿ”‘ Ampere's law is the magnetic analog of Gauss's law โ€” use symmetry!

Choosing the Amperian Loop

Ampรจre's law โˆฎBโƒ—โ‹…dlโƒ—=ฮผ0Ienc\oint \vec{B}\cdot d\vec{l} = \mu_0 I_{\text{enc}} is always true, but it only solves for BB when you can pull BB out of the integral. That requires picking a loop along which Bโƒ—\vec{B} is either constant-and-parallel or perpendicular-to-dlโƒ—d\vec{l} (contributing nothing):

SymmetryGood Amperian loop
Long straight wire (cylindrical)Circle centered on the wire
Solenoid / conducting slab (planar)Rectangle
Cylindrical conductor with current density J(r)J(r)Circle; find Ienc=โˆซJโ€‰dAI_{\text{enc}} = \int J\,dA

The full field of a thick wire (radius aa, uniform current) has two regimes:

  • Inside (r<ar < a): B=ฮผ0Ir2ฯ€a2B = \frac{\mu_0 I r}{2\pi a^2} โ€” grows linearly with rr.
  • Outside (r>ar > a): B=ฮผ0I2ฯ€rB = \frac{\mu_0 I}{2\pi r} โ€” falls as 1/r1/r.

The two pieces match at the surface (r=ar = a), where the field peaks at ฮผ0I2ฯ€a\frac{\mu_0 I}{2\pi a}. Plotting BB vs. rr gives a triangle-then-tail shape โ€” a classic free-response figure.

Worked Example โ€” Field Inside a Thick Wire

A long cylindrical wire of radius a=2.0ย mma = 2.0\text{ mm} carries a total current I=8.0ย AI = 8.0\text{ A} distributed uniformly over its cross-section. Find BB at r=1.0ย mmr = 1.0\text{ mm} (inside the wire).

Step 1 โ€” Choose an Amperian loop. By cylindrical symmetry, Bโƒ—\vec{B} is tangential with constant magnitude on a circle of radius rr, so โˆฎBโƒ—โ‹…dlโƒ—=B(2ฯ€r)\oint \vec{B}\cdot d\vec{l} = B(2\pi r).

Step 2 โ€” Enclosed current. The current density is J=Iฯ€a2J = \frac{I}{\pi a^2}. The loop of radius rr encloses

Ienc=J(ฯ€r2)=Ir2a2.I_{\text{enc}} = J(\pi r^2) = I\frac{r^2}{a^2}.

Step 3 โ€” Apply Ampรจre's law. B(2ฯ€r)=ฮผ0Ir2a2B(2\pi r) = \mu_0 I\frac{r^2}{a^2}, giving

B=ฮผ0Ir2ฯ€a2.B = \frac{\mu_0 I r}{2\pi a^2}.

Inside the wire BB grows linearly with rr (unlike the 1/r1/r falloff outside).

Step 4 โ€” Plug in. B=(4ฯ€ร—10โˆ’7)(8.0)(1.0ร—10โˆ’3)2ฯ€(2.0ร—10โˆ’3)2=(2ร—10โˆ’7)(8.0)(1.0ร—10โˆ’3)(2.0ร—10โˆ’3)2=1.6ร—10โˆ’94.0ร—10โˆ’6=4.0ร—10โˆ’4ย T.B = \frac{(4\pi\times10^{-7})(8.0)(1.0\times10^{-3})}{2\pi(2.0\times10^{-3})^2} = \frac{(2\times10^{-7})(8.0)(1.0\times10^{-3})}{(2.0\times10^{-3})^2} = \frac{1.6\times10^{-9}}{4.0\times10^{-6}} = 4.0\times10^{-4}\text{ T}.

Concept Check ๐ŸŽฏ

Part 5: Magnetic Flux

๐ŸŒ€ Magnetic Flux

Part 5 of 7 โ€” Flux Through Surfaces


Magnetic Flux

ฮฆB=โˆซBโƒ—โ‹…dAโƒ—\Phi_B = \int \vec{B} \cdot d\vec{A}

For uniform BB through flat surface: ฮฆB=BAcosโกฮธ\Phi_B = BA\cos\theta

Units: Weber (Wb) = Tโ‹…m2T\cdot m^{2}


Gaussโ€™s Law for Magnetism

โˆฎBโƒ—โ‹…dAโƒ—=0\oint \vec{B} \cdot d\vec{A} = 0

๐Ÿ”‘ No magnetic monopoles โ€” field lines have no beginning or end. Total flux through any closed surface is zero.

Uniform vs. Non-Uniform Flux

When Bโƒ—\vec{B} is uniform over a flat surface, the integral collapses: ฮฆB=Bโƒ—โ‹…Aโƒ—=BAcosโกฮธ\Phi_B = \vec{B}\cdot\vec{A} = BA\cos\theta, where ฮธ\theta is the angle between Bโƒ—\vec{B} and the surface normal n^\hat{n}. Flux is maximal when the normal lies along Bโƒ—\vec{B} and zero when the surface is edge-on to the field.

When Bโƒ—\vec{B} varies across the surface (for example, near a current-carrying wire where Bโˆ1/rB\propto 1/r), you must actually integrate: slice the area into strips on which BB is nearly constant, then ฮฆB=โˆซBโ€‰dA\Phi_B = \int B\,dA. Integrating a 1/r1/r field across a strip produces the logarithm lnโกa+ba\ln\frac{a+b}{a} you will see in the worked example.

Why This Matters for Induction

Flux is the bridge to Faraday's law: an EMF appears only when ฮฆB\Phi_B changes in time. Gauss's law for magnetism, โˆฎBโƒ—โ‹…dAโƒ—=0\oint\vec{B}\cdot d\vec{A}=0, guarantees the field lines you count entering a closed surface exactly equal those leaving โ€” there are no magnetic charges to act as sources or sinks. This is one of the four Maxwell equations.

Worked Example โ€” Flux from a Wire Through a Loop (Integration)

A long straight wire carries current II. A rectangular loop of height โ„“\ell lies in the same plane, with its near side a distance aa from the wire and its far side at a+ba + b. Find the total flux through the loop.

Step 1 โ€” The field varies across the loop. At distance rr from the wire, B(r)=ฮผ0I2ฯ€rB(r) = \frac{\mu_0 I}{2\pi r}, pointing perpendicular to the loop's plane. Because BB depends on rr, we must integrate rather than use BABA.

Step 2 โ€” Set up the strip. Take a thin strip of width drdr at distance rr, with area dA=โ„“โ€‰drdA = \ell\,dr. The flux through it is

dฮฆB=B(r)โ€‰dA=ฮผ0I2ฯ€rโ€‰โ„“โ€‰dr.d\Phi_B = B(r)\,dA = \frac{\mu_0 I}{2\pi r}\,\ell\,dr.

Step 3 โ€” Integrate from aa to a+ba+b.

ฮฆB=ฮผ0Iโ„“2ฯ€โˆซaa+bdrr=ฮผ0Iโ„“2ฯ€lnโกโ€‰โฃ(a+ba).\Phi_B = \frac{\mu_0 I \ell}{2\pi}\int_a^{a+b}\frac{dr}{r} = \frac{\mu_0 I \ell}{2\pi}\ln\!\left(\frac{a+b}{a}\right).

Numbers. With I=20ย AI = 20\text{ A}, โ„“=0.10ย m\ell = 0.10\text{ m}, a=0.01ย ma = 0.01\text{ m}, b=0.04ย mb = 0.04\text{ m}: ฮฆB=(4ฯ€ร—10โˆ’7)(20)(0.10)2ฯ€lnโก(5)=(4.0ร—10โˆ’7)lnโก5=6.4ร—10โˆ’7ย Wb\Phi_B = \frac{(4\pi\times10^{-7})(20)(0.10)}{2\pi}\ln(5) = (4.0\times10^{-7})\ln 5 = 6.4\times10^{-7}\text{ Wb}. The logarithm is the signature of a 1/r1/r field integrated over distance.

Concept Check ๐ŸŽฏ

Part 6: Problem-Solving Workshop

๐Ÿ› ๏ธ Magnetic Fields Workshop

Part 6 of 7 โ€” Strategies


Choosing the Right Law

SituationUse
Field from a short wire segmentBiot-Savart
Field with high symmetryAmpereโ€™s law
Force on a moving chargeFโƒ—=qvโƒ—ร—Bโƒ—\vec{F} = q\vec{v} \times \vec{B}
Force on a current-carrying wireFโƒ—=ILโƒ—ร—Bโƒ—\vec{F} = I\vec{L} \times \vec{B}
Charge in both Eโƒ—\vec{E} and Bโƒ—\vec{B}Fโƒ—=qEโƒ—+qvโƒ—ร—Bโƒ—\vec{F} = q\vec{E} + q\vec{v} \times \vec{B}

Field vs. Force โ€” Don't Mix Them Up

Magnetic problems split into two families. Identify which you are in first:

Family A โ€” Find the FIELD a current creates.

  • High symmetry (long wire, solenoid, slab, thick wire with current density) โ†’ Ampรจre's law.
  • Low symmetry (finite segment on its perpendicular bisector, arc at its center, loop on its axis) โ†’ Biot-Savart integral.

Family B โ€” Find the FORCE on something in a known field.

  • Point charge โ†’ Fโƒ—=qvโƒ—ร—Bโƒ—\vec{F} = q\vec{v}\times\vec{B}.
  • Current-carrying wire โ†’ Fโƒ—=ILโƒ—ร—Bโƒ—\vec{F} = I\vec{L}\times\vec{B}.
  • Closed loop โ†’ add the forces on its sides (zero net force in a uniform field).

Two-step problems (like parallel wires) chain them: use Family A to get one wire's field, then Family B to get the force on the other. The force per length between long parallel wires, FL=ฮผ0I1I22ฯ€d\frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d}, is the canonical example โ€” same direction currents attract, opposite repel.

Worked Example โ€” Choosing and Combining Tools

A long straight wire carries I1=6.0ย AI_1 = 6.0\text{ A}. A second long parallel wire, a distance d=0.030ย md = 0.030\text{ m} away, carries I2=4.0ย AI_2 = 4.0\text{ A} in the same direction over a length L=1.5ย mL = 1.5\text{ m}. Find the force between them and its direction.

Step 1 โ€” Field of wire 1 at wire 2 (Ampรจre / standard result). B1=ฮผ0I12ฯ€d=(4ฯ€ร—10โˆ’7)(6.0)2ฯ€(0.030)=(2ร—10โˆ’7)(6.0)0.030=4.0ร—10โˆ’5ย TB_1 = \frac{\mu_0 I_1}{2\pi d} = \frac{(4\pi\times10^{-7})(6.0)}{2\pi(0.030)} = \frac{(2\times10^{-7})(6.0)}{0.030} = 4.0\times10^{-5}\text{ T}.

Step 2 โ€” Force on wire 2 (force-on-current law). F=B1I2L=(4.0ร—10โˆ’5)(4.0)(1.5)=2.4ร—10โˆ’4ย NF = B_1 I_2 L = (4.0\times10^{-5})(4.0)(1.5) = 2.4\times10^{-4}\text{ N}.

Step 3 โ€” Direction (right-hand rules). Bโƒ—1\vec{B}_1 at wire 2 points into the page (say), and Fโƒ—=I2Lโƒ—ร—Bโƒ—1\vec{F} = I_2\vec{L}\times\vec{B}_1 points toward wire 1: parallel currents attract.

Takeaway โ€” the decision tree: use Ampรจre's law (or a memorized symmetric result) to get the field, then Fโƒ—=ILโƒ—ร—Bโƒ—\vec{F} = I\vec{L}\times\vec{B} for the force. Reserve the Biot-Savart integral for fields of finite or curved segments lacking symmetry.

Concept Check ๐ŸŽฏ

Part 7: Review & Applications

๐Ÿ“‹ Magnetic Fields Review

Part 7 of 7 โ€” Summary


Key Formulas

FormulaUse
Fโƒ—=qvโƒ—ร—Bโƒ—\vec{F} = q\vec{v} \times \vec{B}Force on charge
r=mv/(qB)r = mv/(qB)Cyclotron radius
B=ฮผ0I/(2ฯ€r)B = \mu_0 I/(2\pi r)Long wire
B=ฮผ0nIB = \mu_0 nISolenoid
โˆฎBโƒ—โ‹…dlโƒ—=ฮผ0Ienc\oint \vec{B} \cdot d\vec{l} = \mu_0 I_{enc}Ampereโ€™s law
ฮฆB=BAcosโกฮธ\Phi_B = BA\cos\thetaFlux

The Big Picture of Magnetostatics

Currents make fields; fields push currents. Those are the two halves of the unit.

Making fields. All field results trace back to Biot-Savart, dBโƒ—=ฮผ04ฯ€Iโ€‰dlโƒ—ร—r^r2d\vec{B} = \frac{\mu_0}{4\pi}\frac{I\,d\vec{l}\times\hat{r}}{r^2}. When symmetry is high, Ampรจre's law โˆฎBโƒ—โ‹…dlโƒ—=ฮผ0Ienc\oint\vec{B}\cdot d\vec{l} = \mu_0 I_{\text{enc}} shortcuts the integral. Standard answers to memorize: long wire ฮผ0I2ฯ€r\frac{\mu_0 I}{2\pi r}, loop center ฮผ0I2R\frac{\mu_0 I}{2R}, solenoid ฮผ0nI\mu_0 nI.

Feeling forces. A field exerts Fโƒ—=qvโƒ—ร—Bโƒ—\vec{F} = q\vec{v}\times\vec{B} on a charge and Fโƒ—=ILโƒ—ร—Bโƒ—\vec{F} = I\vec{L}\times\vec{B} on a wire. Because these are cross products, the force is perpendicular to the motion, so magnetic forces do no work โ€” they bend paths into circles and helices but never change speed.

Two field laws you can quote.

  • โˆฎBโƒ—โ‹…dAโƒ—=0\oint\vec{B}\cdot d\vec{A} = 0 (Gauss for magnetism โ€” no monopoles).
  • โˆฎBโƒ—โ‹…dlโƒ—=ฮผ0Ienc\oint\vec{B}\cdot d\vec{l} = \mu_0 I_{\text{enc}} (Ampรจre, magnetostatic form).

Together with Gauss's law for electric fields and Faraday's law from the induction unit, these make up Maxwell's four equations (Ampรจre's law gains Maxwell's addition, a changing electric field, which you need only qualitatively).

Worked Example โ€” Velocity Selector and Mass Spectrometer

A velocity selector has perpendicular fields E=3.0ร—104ย V/mE = 3.0\times10^{4}\text{ V/m} and B1=0.10ย TB_1 = 0.10\text{ T}. Ions then enter a region of field B2=0.20ย TB_2 = 0.20\text{ T}. (a) Find the selected speed. (b) A singly-charged ion (q=1.6ร—10โˆ’19ย Cq = 1.6\times10^{-19}\text{ C}) then bends in a circle of radius r=0.050ย mr = 0.050\text{ m}; find its mass.

Part (a) โ€” Balance electric and magnetic forces. An ion passes straight through only if qE=qvB1qE = qvB_1, so the speed is independent of charge:

v=EB1=3.0ร—1040.10=3.0ร—105ย m/s.v = \frac{E}{B_1} = \frac{3.0\times10^{4}}{0.10} = 3.0\times10^{5}\text{ m/s}.

Part (b) โ€” Circular motion in B2B_2. From r=mvqB2r = \frac{mv}{qB_2}, solve for mass:

m=qB2rv=(1.6ร—10โˆ’19)(0.20)(0.050)3.0ร—105=1.6ร—10โˆ’213.0ร—105=5.3ร—10โˆ’27ย kg.m = \frac{qB_2 r}{v} = \frac{(1.6\times10^{-19})(0.20)(0.050)}{3.0\times10^{5}} = \frac{1.6\times10^{-21}}{3.0\times10^{5}} = 5.3\times10^{-27}\text{ kg}.

This pair of ideas โ€” a velocity selector feeding a momentum analyzer โ€” is exactly how a mass spectrometer separates isotopes: equal-speed ions of different mass trace circles of different radius via r=mv/(qB)r = mv/(qB).

Concept Check ๐ŸŽฏ