Magnetic interactions and field lines
Section titled “Magnetic interactions and field lines”A bar magnet has two poles: like poles repel and opposite poles attract. Cutting it in half gives two smaller magnets, each with both poles, rather than an isolated north or south pole. No isolated magnetic monopole has been observed.
Different materials respond differently. Magnetite can be naturally magnetized; some materials become magnetized near another magnet; others respond so weakly that the effect is hard to notice.
For calculations, use fields and currents instead of treating the poles as separate magnetic charges. Moving charges produce magnetic fields and experience magnetic forces. Intrinsic magnetic moments, such as electron spin, also contribute to magnetism in matter.
The magnetic field is a vector field with three components. It is also called magnetic induction or magnetic flux density, and its SI unit is the tesla:
Field lines are tangent to , with closer spacing representing a stronger field. They do not begin or end on magnetic charges. Around a straight wire they are circles; around a current loop they resemble the field of a bar magnet. They cannot cross where the field has a well-defined nonzero direction. The field exists between the drawn lines too, and a two-dimensional sketch only shows part of a three-dimensional field.
Biot–Savart law
Section titled “Biot–Savart law”A small current element produces a field at an observation point. Define from the source element to that point, with . Then
Here points along conventional current, and the permeability of free space is approximately
Magnetic fields obey superposition. Add the contributions from every segment of the source circuit:
This is the magnetostatic form: currents and charge distributions are steady. Use it directly for currents in vacuum, or when magnetic effects of the surrounding material can be neglected. A single moving point charge is not a steady current distribution; its general field requires the time-dependent theory, not a direct substitution into this wire formula.
Infinitely long straight wire
Section titled “Infinitely long straight wire”Example. An infinitely long wire lies on the -axis and carries current in the positive direction. Find the field at , where .
For a source element at ,
Every contribution points out of the page. Integrating along the wire,
Use . The integrand becomes , so
At perpendicular distance from the wire, the magnitude is , with direction tangent to a circle around the wire.
Circular current loop
Section titled “Circular current loop”Example. A circular loop of radius lies in the -plane and carries current counterclockwise when viewed from positive . Find its field on the -axis.
Opposite elements give equal and opposite transverse components, leaving only the axial component. Every source element is distance from the observation point, and
Since ,
At the center,
Reverse the current and the field reverses. For identical closely stacked turns, multiply by .
Surface and volume currents
Section titled “Surface and volume currents”For a surface current density , measured in , or a volume current density , measured in , replace the wire element by the appropriate distributed-current element:
These integrals can be difficult. Check symmetry before committing to a direct integration: Ampère’s law may give the same field much faster.
Magnetic flux and Gauss’s law
Section titled “Magnetic flux and Gauss’s law”Magnetic flux measures the field passing through an oriented surface:
For a uniform field through a flat surface,
where is the angle between the field and the surface normal, not the surface itself. The unit is the weber: .
Gauss’s law for magnetism states that the net flux through any closed surface is zero:
Whatever flux enters a closed surface also leaves it. An open surface can have nonzero flux; the closed-surface condition is essential. This is the field-law statement that there are no magnetic monopoles.
Vector potential
Section titled “Vector potential”A divergence-free magnetic field can be represented using a vector potential :
The identity makes this consistent with Gauss’s law. Unlike electric potential, is a vector, not a scalar. It is not unique: adding leaves its curl unchanged.
Ampère’s circuital law
Section titled “Ampère’s circuital law”For steady currents in vacuum,
Choose a direction around the Amperian loop first. Curl your right-hand fingers in that direction; your thumb gives the positive surface normal. Currents crossing in that direction count positively, and currents crossing the other way count negatively. Use the algebraic sum of enclosed currents.
The law is true for any closed loop in magnetostatics, but it only makes the calculation simple when symmetry tells you enough about . Zero enclosed current means zero circulation, not necessarily zero field everywhere on the loop. Time-dependent fields require the additional displacement-current term; the formulas here use the steady-current limit.
Infinite current sheet
Section titled “Infinite current sheet”Example. An infinite sheet lies in the -plane and carries uniform surface current . Find the field on either side.
Symmetry and the right-hand rule give equal field magnitudes: above the sheet and below it. Choose a rectangular loop in the -plane with length parallel to the field on each side.
The two parallel sides contribute each. The other two sides contribute zero, and the enclosed current is . Thus
Therefore,
The field magnitude does not decrease with distance for this ideal infinite sheet.
Uniform cylindrical wire
Section titled “Uniform cylindrical wire”Example. An infinitely long cylindrical wire of radius carries total current uniformly through its cross-section. Find inside and outside the wire.
The current density is . Cylindrical symmetry makes the field tangent to circles centered on the axis and constant around a circle of radius .
Inside, only the current within radius is enclosed:
Outside, all the current is enclosed. Combining the two regions,
The field starts at zero, grows linearly inside, and then falls as outside. Both expressions give at the surface. Its direction follows the right-hand rule around the current.
Infinitely long solenoid
Section titled “Infinitely long solenoid”A tightly wound solenoid acts like many circular current loops stacked together. Define the turn density , the number of turns per unit length.
Proof (Field of an ideal solenoid). Model the winding as an infinitely long cylindrical current sheet. Symmetry gives an axial field. Rectangular Amperian loops with both long sides outside show that the external axial field is constant; requiring the solenoid’s field to vanish far away makes that constant zero. Loops entirely inside similarly give a uniform interior field.
Now choose a rectangular loop with one long side of length inside and the other outside. The short sides are perpendicular to the field. The surface cuts through turns, so
Therefore,
The direction follows your right thumb when your fingers curl along the winding current. A finite solenoid has a nonzero external field and end effects; the ideal result is a good approximation deep inside a long solenoid.
Magnetic force and charged-particle motion
Section titled “Magnetic force and charged-particle motion”The magnetic part of the Lorentz force is
Point your right index finger along and your middle finger along . Your thumb gives the force on a positive charge. Reverse it for a negative charge.
The force is perpendicular to both and , so
A magnetic field alone changes a particle’s direction, not its speed or kinetic energy. The full Lorentz force is ; an electric field can do work, so the no-work statement applies only to the magnetic part.
Circular motion
Section titled “Circular motion”If in a uniform field, the magnetic force supplies the centripetal force:
For nonrelativistic motion, the angular-frequency magnitude and period are
The period does not depend on speed: faster particles trace proportionally larger circles. This speed independence is nonrelativistic; at relativistic speeds the period includes a factor of . The sign of determines the direction of rotation, not the sign of the radius or period.
Helical motion
Section titled “Helical motion”Resolve the initial velocity into components parallel and perpendicular to the uniform field:
The parallel component is unchanged because its cross product with vanishes. The perpendicular component undergoes uniform circular motion. Combining them gives a helix with
If , the helix becomes a circle. If , the path is straight along the field.
Force on a current-carrying wire
Section titled “Force on a current-carrying wire”The force on a wire comes from the forces on its moving charge carriers. For a straight segment of length and cross-sectional area , the number of carriers is . Using their drift velocity and gives
Here points along conventional current, so the same formula works for positive or negative charge carriers. In magnitude,
For a curved wire or a nonuniform field, add the forces on individual elements:
Use the applied field at the wire, not the wire’s own singular idealized field. The force direction follows the same cross-product rule as for a positive charge: index finger along current, middle finger along field, thumb along force. Do not interchange current and field.
Torque on a loop
Section titled “Torque on a loop”A closed loop in a uniform field has zero net force because
The forces can still produce a torque.
Proof (Torque on a rectangular loop). Let a rectangular loop have sides and , so its area is . First put the field in the plane of the loop, parallel to the sides of length . Those sides feel no force. The two sides of length feel opposite forces of magnitude .
Each force has lever arm about the central pivot, giving
When the loop’s normal makes angle with the field, the effective lever arm is reduced by :
The angle is measured from the normal, not from the plane of the loop. The torque is largest when the field lies in the loop’s plane and zero when the normal is aligned with the field.
DC motor
Section titled “DC motor”The opposite forces on a current loop can turn a rotor. With a fixed current direction, the magnetic torque tries to align the loop’s magnetic moment with the field; it does not keep driving the rotation in the same sense through a full turn.
A split-ring commutator reverses the current every half-turn. This reverses the loop’s magnetic moment at the appropriate time, keeping the driving torque in the same rotational direction. Inertia carries the rotor through the orientations where the torque is momentarily zero.
Magnetic dipoles
Section titled “Magnetic dipoles”A small current loop behaves as a magnetic dipole. For a planar loop, define
Curl your right-hand fingers along the current; your thumb gives . This works for any planar loop shape, not just a rectangle. For identical aligned turns,
The unit is . Magnetic moment is often written , but we use here to distinguish it from permeability . Plain in the particle-motion section denotes mass.
Torque, energy, and force
Section titled “Torque, energy, and force”In a uniform external field,
The net force is zero, but the torque tends to align the moment with the field. Parallel alignment minimizes the energy; antiparallel alignment has zero torque but is unstable.
In a nonuniform field, a small dipole with fixed moment can experience a net force:
For and a field along on the dipole’s path,
An aligned fixed dipole is pulled toward stronger field. These energy and force expressions use an externally imposed field and a fixed moment; do not apply the fixed-moment derivative blindly to an induced moment that itself changes with position.
Field of a dipole
Section titled “Field of a dipole”For the circular loop of radius , . Far along its positive axis, where ,
At any point far from a localized dipole,
If the moment points along positive and is the polar angle from that axis, this is
On the equatorial plane the field points opposite , with half the axial magnitude at the same distance. The dipole approximation requires distance much larger than the source’s size.
For a localized steady current distribution, the general magnetic moment is
Magnetism in materials
Section titled “Magnetism in materials”Atoms and molecules can have magnetic moments from electron orbital motion and intrinsic electron spin. Contributions often cancel, especially in filled shells. Spin is intrinsic angular momentum, not a little charged sphere literally rotating about an axis.
A magnet can be modeled as many microscopic dipoles. To find its total force or torque in an external field, add the contributions from those dipoles. Their average magnetic moment per unit volume is the magnetization:
The averaging volume is small on the scale of the object but contains many atoms. Magnetization has units .
Paramagnetism
Section titled “Paramagnetism”In a paramagnetic material, an applied field weakly favors alignment of microscopic moments along the field. Thermal motion prevents full alignment, so the average magnetization is usually small. Removing the field removes the preferred direction, and the bulk magnetization normally disappears.
Ferromagnetism and domains
Section titled “Ferromagnetism and domains”In materials such as iron, nickel, and cobalt, neighboring moments can strongly favor parallel alignment. Regions with aligned moments are called magnetic domains. An unmagnetized sample can contain strongly magnetized domains pointing in different directions, with little net magnetization.
An applied field favors domains oriented along it. Domain walls move and moments rotate, producing a much larger response than ordinary paramagnetism.
- Hard magnetic materials resist demagnetization and can retain substantial alignment after the field is removed. They are useful for permanent magnets.
- Soft magnetic materials are readily magnetized and demagnetized: their domain configuration changes under relatively small applied fields. This is not simply thermal randomization of all the moments.
Diamagnetism
Section titled “Diamagnetism”An applied field also changes the orbital motion of electrons, inducing a magnetic response opposite to the applied field. This diamagnetic contribution occurs in all materials, but it is often hidden by stronger paramagnetic or ferromagnetic effects.
In materials such as copper and water, the diamagnetic response dominates. It is usually weak, although strong nonuniform fields can make its mechanical effects noticeable. Do not interpret the response as every electron simply beginning the same classical circular orbit; the orbital picture is a model for the induced opposing moment.
Superconductors and the Meissner effect
Section titled “Superconductors and the Meissner effect”A superconductor supports persistent current without electrical resistance. In the Meissner state, screening currents near its surface expel magnetic flux from the bulk, so well inside. The field penetrates a thin surface layer rather than stopping at a mathematically sharp boundary.
Type I superconductors lose superconductivity above a critical field. Type II superconductors also have a Meissner state below a lower critical field; between their lower and upper critical fields they enter a mixed state in which flux penetrates in vortices. Thus, “type II always freezes the field inside” is not a general rule. Zero resistance alone does not imply flux expulsion; the Meissner effect is an additional property. See the superconductivity discussion in OpenStax for this distinction.
Bound currents and the H-field
Section titled “Bound currents and the H-field”The microscopic current-loop model of magnetization can be replaced by equivalent bound currents. These describe the magnetic effect of the material’s dipoles, rather than a transport current supplied through a wire. The latter is a free current.
For magnetization , the bound surface and volume current densities are
where points outward from the material. If is uniform inside the material, there: neighboring microscopic loops cancel internally, leaving an equivalent surface current.
Example. A cylinder has uniform magnetization . Find its equivalent bound currents.
The volume current is zero because . On the curved surface, , so
On the end faces, and . The cylinder is therefore magnetically equivalent to an azimuthal surface current, like a solenoid winding.
Separating free and bound current
Section titled “Separating free and bound current”Ampère’s law counts both types of current:
The corresponding magnetization circulation gives the enclosed bound current, with surface contributions included at material boundaries:
Moving this contribution to the left motivates the magnetic field strength :
Both and have units . The field acting in the magnetic force law is still , not . In vacuum, and .
Susceptibility and permeability
Section titled “Susceptibility and permeability”For a linear, isotropic magnetic material,
The dimensionless constant is the magnetic susceptibility. Substituting into the definition of gives
where
Paramagnets have ; diamagnets have . For many ordinary weakly magnetic materials, , so is close to . The magnitude depends on material and temperature; a single small numerical range does not describe every paramagnet.
Ferromagnets can have a very large response, but a single constant or generally does not describe them. Their response is nonlinear and depends on the magnetization history.
Hysteresis
Section titled “Hysteresis”Increasing and then decreasing the applied field does not take a ferromagnet through the same sequence of domain configurations. A plot of against , or against , traces a hysteresis loop.
At large fields, the magnetization approaches saturation. After the field returns to zero, some magnetization can remain: remanence. A reverse field is needed to reduce the magnetization to zero; its magnitude is the coercive field for the – loop. Hard magnets have high coercivity, while soft magnets have low coercivity. Distinguish an – graph from a – graph when reading its intercepts.