A hospital MRI scanner holds a field of $1.5$ to $3\ \text{T}$, about $50\,000$ times Earth's field at the surface. No permanent magnet is involved: the field comes from a long coil of superconducting wire carrying a few hundred amperes, which never switches off. A loose steel chair in the room can be pulled in fast enough to injure someone. This unit explains where such fields come from (moving charges and currents), how they push on moving charges and wires, and how to calculate them with the Biot–Savart law and Ampère's law.
A magnetic field 磁场$\vec{B}$ is a vector field 矢量场 that surrounds magnets, moving charges, and currents; it determines the magnetic force on any moving charge placed in it. Magnetic field lines 磁感线 have no starting or ending points; for a bar magnet they form loops: they leave the north pole, return to the south pole, and continue through the magnet. Denser lines mean a stronger field.
Field lines run from N to S outside a bar magnet
The absence of magnetic sources and sinks is expressed by Gauss's law for magnetism, the second of Maxwell's equations 麦克斯韦方程组:
$$\oint \vec{B}\cdot d\vec{A}=0.$$
The net magnetic flux through any closed surface is zero – as many field lines leave as enter. That is exactly the statement that isolated magnetic monopoles 磁单极子 do not exist. A bar magnet is a magnetic dipole 磁偶极子 (a north–south pair). Magnetism in materials arises from electrons' intrinsic magnetic moments and orbital motion; moving charges and currents also create magnetic fields. Break a bar magnet in half and you get two smaller dipoles, never a lone pole. Like poles repel, opposite poles attract, and a free dipole – a compass 指南针 – rotates to line up with the local field. Earth's own field is approximately a dipole, which is why a compass works. Dipole fields weaken with distance. Like an electric field, $\vec B$ can be drawn as a vector field map: an arrow at each point shows the field's direction and, by its length, its size.
How a material responds to an external field depends on how its internal dipoles behave:
Ferromagnetic 铁磁性 (iron, nickel, cobalt): an external field aligns whole magnetic domains 磁畴, and the alignment survives after the field is removed – a permanent magnet.
Paramagnetic 顺磁性 (aluminum, titanium): dipoles align weakly with the field but relax when it is removed.
Diamagnetic 抗磁性 (all materials): the electronic structure produces a usually weak alignment opposite to the field.
The strength of a material's response is its magnetic permeability 磁导率. Free space has the constant value $\mu_0$ (the vacuum permeability); the permeability of matter differs from $\mu_0$ and is not even constant – it varies with temperature, orientation, and field strength.
An aurora: charged particles from the Sun are steered by Earth's magnetic field toward the poles
A moving charge does two things: it creates a magnetic field, and it feels a force in an external one. The field it creates at a point is perpendicular 垂直 to both its velocity and the position vector from charge to point (right-hand rule again), and is largest where those two are perpendicular – zero directly ahead of or behind the motion. Its size grows with the charge's speed and falls with distance; for a slow point charge, $B=\dfrac{\mu_0}{4\pi}\dfrac{|q|v\sin\theta}{r^2}$, the same shape as the Biot–Savart law below.
The force on a charge moving in a field $\vec{B}$ is the cross product
perpendicular to both $\vec{v}$ and $\vec{B}$ – point the fingers of your right hand along $\vec{v}$, curl toward $\vec{B}$, and the thumb gives the force on a positive charge (reverse it for negative). Because $\vec{F}_B\perp\vec{v}$, the magnetic force does no work on the charge: it changes direction, never speed.
A charge moving perpendicular to a uniform field therefore travels in a circle, the magnetic force supplying the centripetal force 向心力:
Here magnitudes use $|q|$; the vector force law uses signed $q$. A velocity component parallel to a uniform field stays constant, giving a helical path when both parallel and perpendicular components are present.
Notice the period $T$ does not depend on the speed – faster particles ride larger circles in the same time.
A charged particle moving across a magnetic field follows a circular path
Worked example. A proton ($q=1.6\times10^{-19}\ \text{C}$, $m=1.67\times10^{-27}\ \text{kg}$) enters a $0.50\ \text{T}$ field at $2.0\times10^{5}\ \text{m/s}$, perpendicular to it. The magnetic force $F=|q|vB=1.6\times10^{-14}\ \text{N}$ bends it into a circle of radius $r=\dfrac{mv}{|q|B}=\dfrac{1.67\times10^{-27}(2.0\times10^{5})}{1.6\times10^{-19}(0.50)}=4.2\times10^{-3}\ \text{m}$.
In a region with both an electric and a magnetic field, the two forces act independently and add as vectors. Balancing them makes a velocity selector 速度选择器: with $\vec{E}$ and $\vec{B}$ crossed, only charges with $|q|E=|q|vB$, i.e. $v=E/B$, pass straight through. The Hall effect 霍尔效应 is the same physics inside a conductor: a field with a component perpendicular to the current pushes the moving carriers sideways, charge builds up on one face, and a measurable potential difference appears across the conductor – its sign reveals whether the carriers are positive or negative. The sideways push stops when the electric force from that build-up balances the magnetic force, $qE=qv_dB$. Across a strip of width $w$ this gives the Hall voltage$\Delta V_H=v_dBw$, which is why a Hall probe can measure $B$.
Worked example (measuring $e/m$). Electrons are accelerated from rest through a potential difference $\Delta V$, then enter a uniform field $B$ at right angles. Energy gives $e\Delta V=\tfrac12mv^2$, and the circle gives $r=\dfrac{mv}{eB}$. Eliminate $v$:
$$r^2=\frac{2m}{eB^2}\,\Delta V.$$
So a graph of $r^2$ against $\Delta V$ is a straight line through the origin with slope $\dfrac{2m}{eB^2}$. With $B=1.0\ \text{mT}$ and a measured slope of $1.14\times10^{-5}\ \text{m}^2/\text{V}$, $\dfrac{m}{e}=\dfrac{B^2\times\text{slope}}{2}=5.7\times10^{-12}\ \text{kg/C}$, the accepted value for the electron. At $\Delta V=200\ \text{V}$ the beam circles with $r=\sqrt{(1.14\times10^{-5})(200)}=4.8\ \text{cm}$.
Around any straight segment the field vectors are tangent 相切 to concentric circles 同心圆 centred on the wire – no component toward, away from, or along the wire. Curl your right hand around the wire with the thumb along the current: your fingers give the field direction.
Concentric circular field lines surround a straight current-carrying wire
The Biot–Savart integrals AP expects: a long straight wire ($\boxed{B=\dfrac{\mu_0 I}{2\pi r}}$, or a point on the perpendicular bisector of a finite wire), and the centre of a circular loop,
$$B_{\text{centre of loop}}=\frac{\mu_0 I}{2R},$$
where every element $d\vec{l}$ is perpendicular to $\hat{r}$ and equally distant $R$ – say that in an FRQ derivation. An arc that is a fraction of a full circle contributes that same fraction of $\mu_0 I/2R$ at its centre. Radial straight segments joining an arc point straight at its centre, so they add nothing there ($d\vec l\parallel\hat r$).
For a straight wire of length $2L$, at a distance $a$ from its middle, the Biot–Savart integral gives
When the wire is very long ($L\gg a$) the last fraction becomes 2, giving $B=\dfrac{\mu_0 I}{2\pi a}$: a quick check of any finite-wire answer.
A field also pushes on a current-carrying wire, element by element:
$$\vec{F}_B=\int I\,d\vec{l}\times\vec{B}\qquad(\vec{F}=I\vec{L}\times\vec{B}\ \text{for a straight wire in a uniform field}).$$
Worked example. Two long parallel wires a distance $d=0.10\ \text{m}$ apart each carry $5.0\ \text{A}$ in the same direction. Wire 1's field at wire 2 is $B=\dfrac{\mu_0 I}{2\pi d}=1.0\times10^{-5}\ \text{T}$, so wire 2 feels $\dfrac{F}{L}=I B=5.0\times10^{-5}\ \text{N/m}$, pulled toward wire 1. Same-direction currents attract; opposite currents repel.
Worked example (net field from two wires). Two long parallel wires are $0.20\ \text{m}$ apart; each carries $10\ \text{A}$. At the midpoint each wire is $0.10\ \text{m}$ away and makes $B=\dfrac{\mu_0 I}{2\pi r}=2.0\times10^{-5}\ \text{T}$. If the currents are in the same direction, the right-hand rule gives opposite field directions at the midpoint, so $B_{\text{net}}=0$. If they are opposite, the fields point the same way and $B_{\text{net}}=4.0\times10^{-5}\ \text{T}$. At a point off the line between the wires, find each field (perpendicular to the line from its wire to the point), then add components, just as for electric fields.
The field along the line through two parallel wires: same-direction currents cancel midway, opposite currents addA current-carrying coil (solenoid) makes a magnetic field shaped just like a bar magnet's
Choose an Amperian loop 安培环路 that matches the symmetry, so that $B$ is constant along the loop (and parallel to it) and comes out of the integral. AP applies it to long straight wires, long solenoids, and conductors carrying a current density 电流密度 (slabs and cylinders); combinations are handled by superposition 叠加.
Worked example. Find the field $0.10\ \text{m}$ from a long wire carrying $5.0\ \text{A}$. A circular loop of radius $r$ shares the field's symmetry, so $B(2\pi r)=\mu_0 I$ and
A long solenoid 螺线管 (assumed: uniform field inside, negligible field outside) is the other classic. Take a rectangular loop with one side of length $L$ inside, parallel to the axis: only that side contributes to the integral, so $BL=\mu_0 (nL) I$ and
$$B_{\text{sol}}=\mu_0 n I,$$
with $n$ the turns per metre.
Worked example (measuring $\mu_0$). Students measure $B$ at the centre of a long solenoid with $n=2000$ turns per metre for several currents, and plot $B$ against $I$. Since $\boxed{B=\mu_0 nI}$, the slope is $\mu_0 n$. A best-fit slope of $2.48\times10^{-3}\ \text{T/A}$ gives $\mu_0=\dfrac{2.48\times10^{-3}}{2000}=1.24\times10^{-6}\ \text{T·m/A}$, a percent error of $\dfrac{|1.24-1.257|}{1.257}\times100\%\approx1.4\%$. If the line does not pass through the origin, something else adds a constant field, such as Earth's field along the solenoid's axis ($\sim10^{-5}\ \text{T}$). A constant offset changes the intercept but not the slope, so $\mu_0$ is still good. Choose a solenoid with many turns per metre, so its field is large compared with Earth's.
A rectangular Amperian loop derives the uniform field inside a solenoid
Worked example (cylinder). A solid cylindrical conductor of radius $R$ carries current $I$ spread uniformly over its cross-section. Inside ($r<R$), a circular loop encloses $I_{\text{enc}}=I\dfrac{r^2}{R^2}$, so $B=\dfrac{\mu_0 I r}{2\pi R^2}$ – the field grows linearly to the surface, then falls off as $1/r$ outside.
Exam skill. Every Ampère's-law answer earns its marks in the setup: name the loop, state why$B$ is constant and parallel to it (symmetry), and count $I_{\text{enc}}$ carefully before you solve. Maxwell's fourth equation adds one more idea you should know qualitatively: a changing electric field also creates a magnetic field – but AP will not ask you to compute with that term.
They attract: each wire sits in the other's field, and $\boxed{\vec F = I\vec L \times \vec B}$ points toward the other wire.
$B(2\pi r) = \mu_0 I\dfrac{r^2}{R^2}$, so $B = \dfrac{\mu_0 I r}{2\pi R^2}$.
$B = \mu_0 nI = (4\pi \times 10^{-7})(1000)(2.0) = 2.5 \times 10^{-3}$ T.
The magnetic force is always perpendicular to the velocity, so it does no work; it changes only the direction of motion.
12.4
考试技巧
English
The magnetic force $\boxed{\vec F=q\vec v\times\vec B}$ is perpendicular to velocity — use the right-hand rule and note it does no work.
A charge moving perpendicular to a uniform field moves in a circle with $\boxed{r=\tfrac{mv}{|q|B}}$.
Find the field of currents with Biot–Savart$d\vec B=\tfrac{\mu_0}{4\pi}\tfrac{I\,d\vec l\times\hat r}{r^2}$ or Ampère's law$\oint \vec B\cdot d\vec l=\mu_0 I_{enc}$ when there is symmetry.
Force on a wire is $\vec F=I\vec L\times\vec B$; keep the cross-product direction straight.
Distinguish the force on a charge from the field the current creates.
Common mistakes
Using the right-hand rule unchanged for a negative charge. $\vec F = q\vec v\times\vec B$: for an electron the force is opposite to the right-hand result.
Saying a magnetic field changes a charge's speed. The force is perpendicular to $\vec v$, so it does no work.
Using Ampère's law where the field is not symmetric. Like Gauss's law, it gives $B$ only for a loop on which $B$ is constant and tangent.
Using the total number of turns for $n$ in $B = \mu_0 nI$. $n$ is turns per metre.
Doubling the field midway between two equal same-direction currents. There the two fields point opposite ways and cancel.
Drawing a wire's field pointing toward or away from the wire. The field of a straight wire is always tangent to a circle around it.
Confusing the force rule with the field rule. Use the curled-fingers rule for the field a current makes; use $\vec F=q\vec v\times\vec B$ or $I\vec L\times\vec B$ for the force it feels.