Summary
This section covers the generation of magnetic fields by moving charges and current distributions, starting with the Biot–Savart Law, which provides the differential contribution from a current element, and Ampère’s Law, which greatly simplifies calculations in symmetric situations. Detailed analyses are given for magnetic fields from long straight wires, loops, solenoids, and toroids. The material also explains the magnetic properties of atoms and materials, including diamagnetism, paramagnetism, and ferromagnetism, and touches on effects such as eddy currents and the Meissner effect in superconductors. Understanding these principles is critical for designing electromagnets, rail guns, MRI machines, and other devices relying on magnetic fields.