A magnetic field is generated by moving electric charges or intrinsic quantum spin in particles. It exerts force on other moving charges and magnetic materials. This field exists in space around currents and magnets, influencing motion and energy transfer.
Magnetic fields originate from two fundamental sources: electric currents and the spin of charged particles like electrons. When electrons move through a wire, they create a circular magnetic field around the conductor. This principle underlies electromagnets, motors, and transformers. The field strength depends on current magnitude and distance from the source, following Ampère's law.
At the atomic level, electrons possess intrinsic spin-a quantum property not related to physical rotation. This spin generates a tiny magnetic dipole. In most materials, electron spins cancel out. But in ferromagnetic substances like iron, nickel, and cobalt, spins align in regions called domains. When these domains align throughout a material, it becomes a permanent magnet with a persistent external field.
Magnetic fields exert force on moving charges via the Lorentz force equation: F = q(v × B). A charge q moving at velocity v through a field B experiences a force perpendicular to both its motion and the field direction. This explains why charged particles spiral in Earth's magnetic field, forming Van Allen radiation belts.
Field lines visualize the field's direction and strength. Lines emerge from north poles and enter south poles. Density indicates field intensity. Iron filings near a bar magnet form curved patterns showing field lines-each line represents the path a north pole would follow if free to move.
Changing magnetic fields induce electric fields, and vice versa. This interdependence is described by Maxwell's equations, which unify electricity and magnetism into electromagnetism. Faraday's law states that a time-varying magnetic field induces voltage in a nearby conductor-this is how generators produce alternating current.
There are two primary categories of magnetic field sources: natural and engineered.
| Source Type | Origin | Field Characteristics | Example |
|---|---|---|---|
| Electric Current | Flow of electrons in conductors | Directional, circular around wire; strength proportional to current | Current-carrying solenoid creating uniform internal field |
| Permanent Magnet | Aligned electron spins in ferromagnetic material | Fixed polarity; persistent without power input | Neodymium magnet used in headphones and hard drives |
| Electron Spin | Intrinsic quantum property of electrons | Microscopic; contributes to net magnetization in materials | Unpaired electrons in transition metals enabling paramagnetism |
Engineered fields often combine multiple sources. For instance, MRI machines use superconducting coils carrying large currents to generate stable, high-strength fields (up to 3 tesla). These fields align hydrogen nuclei in the body, allowing detailed imaging based on relaxation times.
Many assume magnetic fields require physical contact or visible structures. They do not. A field exists in empty space. You cannot see it, but its effects are measurable-compass needles turn, wires vibrate in motors, and charged particles deflect in particle accelerators.
Another misconception: static charges produce magnetic fields. They do not. Only moving charges or changing electric fields generate magnetic fields. A stationary electron creates an electric field but no magnetic field. Motion is essential.
Some confuse magnetic fields with gravitational fields. Both act at a distance, but gravity affects mass, while magnetism affects moving charge. Gravity always attracts; magnetic forces can attract or repel depending on orientation. A compass needle points north due to Earth's magnetic field, not gravity.
Magnetic monopoles-hypothetical isolated north or south poles-have never been observed. All known magnetic fields arise from dipoles: pairs of opposite poles. Even a single electron acts as a magnetic dipole. This absence of monopoles is encoded in Gauss's law for magnetism: ∇·B = 0, meaning no field lines begin or end-they form closed loops.
Consider a DC motor. When current flows through a loop of wire placed between permanent magnet poles, the magnetic field exerts torque on the loop. The resulting rotation powers fans, drills, and electric vehicles. The field strength determines torque output. Increasing current increases field strength and mechanical power.
For a concrete calculation: a 10 cm long wire carrying 5 amps in a 0.2 tesla field experiences a force of F = I(L × B). Assuming perpendicular alignment, F = 5 A × 0.1 m × 0.2 T = 0.1 newtons. This small force moves parts in precision instruments.
Earth's magnetic field averages 25 to 65 microtesla at the surface. It protects life by deflecting solar wind. Without it, cosmic rays would strip away the atmosphere over time. Satellites use magnetometers to detect field variations during geomagnetic storms.
I once observed a demonstration using a copper coil and a neodymium magnet dropped through it. As the magnet fell, the changing field induced eddy currents in the coil. These currents created opposing fields that slowed the magnet's descent-visible as a slow fall compared to free fall. This is electromagnetic braking, used in trains and roller coasters.
Not all magnetic fields are equal. Field strength varies from femtotesla (fT) in brain activity measurements (MEG) to kilotesla in pulsed fusion experiments. The strongest continuous field achieved is 45 tesla at the National High Magnetic Field Laboratory in Florida.
Materials respond differently to applied fields. Diamagnets weakly repel fields (e.g., water, graphite). Paramagnets slightly align with fields (e.g., aluminum). Ferromagnets strongly align and retain magnetization (e.g., iron). Superconductors expel fields entirely (Meissner effect), enabling levitation.
Crucially, magnetic fields do no work. The Lorentz force is always perpendicular to motion, so it changes direction but not speed. Energy transfer occurs indirectly-via induced electric fields or mechanical constraints. This is why magnetic fields can't accelerate particles indefinitely; they only steer them.
Understanding what makes a magnetic field enables advances in medical imaging, renewable energy, and quantum computing. Electromagnetic theory, formalized by James Clerk Maxwell in 1865, remains foundational. His equations predict wave propagation-light itself is an electromagnetic wave.