How Electromagnetism Works: Electric Fields, Magnetic Fields, and Light
A thorough explanation of electromagnetism — how electric and magnetic fields arise, interact, and combine to produce light, electromagnetic waves, and the forces that power modern technology.
Introduction: The Force That Shapes the Modern World
Of the four fundamental forces of nature — gravity, the electromagnetic force, the strong nuclear force, and the weak nuclear force — electromagnetism is by far the most consequential for everyday human experience. It is responsible for chemical bonding, the behavior of materials, light, radio waves, electric currents, magnetic compasses, motors, generators, and the entire infrastructure of modern technology. Understanding electromagnetism is therefore not merely an academic exercise but a key to understanding the world we have built.
Electromagnetism was the first force to be mathematically unified. In the 1860s, James Clerk Maxwell synthesized decades of experimental work by Coulomb, Ampère, Faraday, and others into four elegant equations — Maxwell's equations — that described the behavior of electric and magnetic fields under all circumstances. These equations revealed that light itself is an electromagnetic wave, unifying optics with electricity and magnetism in a single grand synthesis.
This article explores the foundational concepts of electromagnetism: electric charge and Coulomb's law, electric fields and potentials, magnetic fields and their sources, electromagnetic induction, Maxwell's equations, and the electromagnetic spectrum. We will see how these ideas connect and why they matter.
Electric Charge and Coulomb's Law
At the heart of electromagnetism is electric charge — a fundamental property of matter that comes in two varieties, conventionally called positive and negative. Like charges repel; unlike charges attract. Charge is quantized: every free charge is an integer multiple of the elementary charge e ≈ 1.6×10⁻¹⁹ coulombs (the charge of a proton). In ordinary matter, protons carry positive charge and electrons carry negative charge; neutrons are electrically neutral.
Charles-Augustin de Coulomb established in 1785 that the electrostatic force between two point charges is directly proportional to the product of the charges and inversely proportional to the square of the distance between them — the same inverse-square dependence as Newton's gravitational force. Coulomb's law describes the force quantitatively: F = k·q₁·q₂/r², where k is Coulomb's constant (8.99×10⁹ N·m²/C²), q₁ and q₂ are the charges, and r is their separation.
Charge is also conserved: the total electric charge of an isolated system never changes. In a chemical reaction, charges redistribute but are neither created nor destroyed. In particle physics processes, particle-antiparticle pairs can be created or annihilated, but the net charge remains constant. This conservation law is connected by Noether's theorem to a fundamental symmetry of the laws of physics under phase rotations of quantum fields.
Electric Fields and Electric Potential
Rather than thinking of electric force as an action at a distance between charges, physicists use the concept of the electric field. A charge creates an electric field that permeates all surrounding space. Any other charge placed in that field experiences a force equal to its charge times the field strength: F = qE. The electric field has both magnitude and direction at every point in space — it is a vector field.
Electric field lines are a visual tool for representing these fields. They begin on positive charges and end on negative charges, and their density indicates the field's strength. Around a single positive charge, field lines radiate outward uniformly in all directions, consistent with the inverse-square law. Between a pair of equal and opposite charges (an electric dipole), the field lines curve from the positive to the negative charge in characteristic arcs.
Closely related is the concept of electric potential (voltage), measured in volts. The potential at a point is the work done per unit charge in moving a positive test charge from infinity to that point. Potential difference (voltage) between two points drives electric current when a conducting path is provided. The relationship between electric field and potential is that the field is the negative gradient of the potential: E = −∇V. High-voltage power lines carry electricity at hundreds of kilovolts to minimize resistive losses over long distances — a direct application of these principles.
Magnetic Fields: Moving Charges and Currents
Magnetic fields arise from moving electric charges — that is, from electric currents. A long straight wire carrying a current produces a magnetic field that circles around the wire, as Oersted discovered in 1820. The Biot-Savart law describes how each element of current contributes to the total magnetic field, while Ampère's law (later extended by Maxwell) relates the magnetic field around a closed loop to the current passing through the loop's interior.
Permanent magnets arise from the quantum mechanical property of electron spin. Each electron has an intrinsic magnetic moment associated with its spin. In most materials, spins are randomly oriented and cancel out. In ferromagnetic materials like iron, exchange interactions between neighboring atoms cause spins to align in magnetic domains, producing a macroscopic magnetic field. An external magnetic field can align these domains, creating a permanent magnet.
A moving charge in a magnetic field experiences the Lorentz force: F = qv × B, where v is the charge's velocity and B is the magnetic field (the × denotes a vector cross product). The Lorentz force is always perpendicular to both the velocity and the field, causing charges to move in circular or helical paths. This principle underlies the operation of cyclotrons, mass spectrometers, and the aurora borealis — where charged solar wind particles spiral along Earth's magnetic field lines and excite atmospheric gases near the poles.
Electromagnetic Induction and Faraday's Law
Michael Faraday's discovery of electromagnetic induction in 1831 was a turning point in both science and technology. Faraday found that a changing magnetic field induces an electric field — and hence an electromotive force (EMF) — in a nearby conductor. The induced EMF is proportional to the rate of change of magnetic flux through the conductor's loop. This is Faraday's law, one of Maxwell's four equations.
Faraday's law is the operating principle of every electrical generator and transformer. In a generator, mechanical energy (from steam turbines, water turbines, wind turbines, or internal combustion engines) spins a coil in a magnetic field. The changing magnetic flux through the spinning coil induces an alternating current. In a transformer, an alternating current in a primary coil creates a changing magnetic field, which induces a voltage in a nearby secondary coil. By adjusting the ratio of turns in the two coils, transformers can step voltage up or down — a capability that makes the long-distance transmission of electrical power economically feasible.
Lenz's law, a consequence of energy conservation, states that the induced current always flows in the direction that opposes the change causing it. This is why eddy-current braking works: a metal plate moving through a magnetic field develops circulating currents that create a force opposing its motion, providing smooth, wear-free braking in trains and industrial machinery.
Maxwell's Equations and the Discovery of Light
In the 1860s, James Clerk Maxwell compiled and extended the known laws of electricity and magnetism into four differential equations. His key contribution was adding the "displacement current" — a term representing the effect of a changing electric field as a source of magnetic field, even in the absence of any actual current flow. This addition was not just a mathematical nicety; it made the equations internally consistent and had a profound consequence.
Maxwell showed that his equations admitted wave solutions: self-sustaining oscillations of electric and magnetic fields that travel through space at a speed of 1/√(ε₀μ₀), where ε₀ is the permittivity of free space and μ₀ is the permeability of free space. When Maxwell calculated this speed, it came out to approximately 3×10⁸ m/s — precisely the measured speed of light. The conclusion was inescapable: light is an electromagnetic wave. This unified optics, electricity, and magnetism into a single theory and was one of the greatest intellectual achievements of the 19th century.
Maxwell's equations are the complete and exact classical description of all electromagnetic phenomena. They predict not just visible light but the entire electromagnetic spectrum — radio waves, microwaves, infrared radiation, ultraviolet light, X-rays, and gamma rays — all differing only in frequency and wavelength, traveling at the same speed c in vacuum. The practical consequences of this insight are incalculable: radio communication, television, radar, WiFi, cellular networks, and medical imaging all exploit different portions of the electromagnetic spectrum predicted by Maxwell's theory.
Electromagnetism in Technology and Modern Life
The technological applications of electromagnetism are so pervasive that it would be difficult to enumerate them all. Electric motors and generators form the backbone of industrial civilization. Every motor — from the tiny vibrators in smartphones to the megawatt machines driving factory equipment and electric vehicles — converts electrical energy into mechanical energy via magnetic forces on current-carrying conductors. Every generator reverses this process.
Electromagnetic waves in the radio and microwave portions of the spectrum carry voice, data, and video wirelessly across the globe. Cellular networks, WiFi routers, Bluetooth devices, and GPS satellites all broadcast and receive electromagnetic signals. Optical fiber communications use infrared light to transmit data as pulses of electromagnetic radiation through glass fibers at near-light speeds, enabling the internet's global infrastructure.
Medical technology depends heavily on electromagnetism. X-rays are high-frequency electromagnetic radiation that passes through soft tissue but is absorbed by bone and dense structures, enabling non-invasive imaging. MRI machines use powerful magnetic fields and radio-frequency electromagnetic pulses to image the body's interior in exquisite detail without ionizing radiation. Electroencephalography (EEG) and electrocardiography (ECG) measure the weak electric fields generated by the brain and heart, providing diagnostic information about neural and cardiac health. From the molecular bonds that hold our bodies together to the communications infrastructure that connects human civilization, electromagnetism is truly the force underlying the modern world.
Related Articles
physics
Antimatter: Dirac's Prediction, PET Scans, CERN, and the Asymmetry Puzzle
Antimatter was predicted in 1928 and discovered in 1932. Explore Dirac's equation, PET scan technology, CERN's antihydrogen production, its $62.5 trillion per gram cost, and the matter-antimatter asymmetry.
9 min read
physics
Bernoullis Principle: The Physics That Keeps Airplanes Aloft
Discover how Bernoullis principle explains the physics of flight, from airfoil design to lift generation, and why airplanes stay in the sky despite weighing tons.
9 min read
physics
Black Hole Thermodynamics: Hawking Radiation and the Information Paradox
From Bekenstein's entropy proposal and Hawking's 1974 thermal radiation derivation to the information paradox, firewall paradox, holographic principle, and the ER=EPR conjecture.
9 min read
physics
Dark Energy: The Force Accelerating the Universe's Expansion
Dark energy makes up 68% of the universe and is causing cosmic expansion to accelerate. Discover what dark energy is, how it was discovered, and what it means for the universe's fate.
9 min read