⚡ Electromagnetism

Electromagnetism:
Fields, Forces & Maxwell

Electricity and magnetism aren't separate forces — they're two faces of the same phenomenon. Maxwell unified them in four equations that also predicted light itself was an electromagnetic wave.

⚡ Quick Facts: Electromagnetism

Table of Contents

  1. What Is Electromagnetism?
  2. Electric Charge and Coulomb's Law
  3. Electric Fields and Potential
  4. DC Circuits and Ohm's Law
  5. Magnetic Fields and Forces
  6. Faraday's Law of Induction
  7. Maxwell's Equations
  8. Electromagnetic Waves and Light
  9. Electromagnetism vs Gravity
  10. Common Misconceptions
  11. Real-World Applications
  12. Frequently Asked Questions
  13. Summary & Next Steps

What Is Electromagnetism?

Electromagnetism is the branch of physics that describes the interactions between electric charges and currents, the fields they produce, and how those fields propagate as electromagnetic waves. It is one of the four fundamental forces of nature — and by far the most important for everyday human experience.

Every chemical bond, every light source, every electronic device, every magnetic compass — all governed by electromagnetism. Unlike classical mechanics, which describes the motion of objects under forces, electromagnetism describes the forces themselves at a deeper level, through fields that permeate space.

The great unification came in the 1860s when James Clerk Maxwell showed that electricity and magnetism weren't separate phenomena but aspects of one unified force, described by four elegant equations. As a bonus, those equations predicted the existence of electromagnetic waves traveling at the speed of light — and thereby identified light as an electromagnetic phenomenon. (Source: Maxwell, 1865)

Key Takeaway: Electromagnetism is the force behind chemistry, optics, electronics, and every machine that uses electricity. It's the most directly useful fundamental force for human civilization.

Electric Charge and Coulomb's Law

Electric charge is a fundamental property of matter, coming in two types — positive and negative — with like charges repelling and unlike charges attracting. The unit of charge is the coulomb (C); the elementary charge is e = 1.602 × 10⁻¹⁹ C.

The force between two point charges was quantified by Charles-Augustin de Coulomb in 1785:

F = k q₁q₂ / r²

k = 8.99 × 10⁹ N·m²/C² (Coulomb's constant) | q₁, q₂ = charges | r = separation distance

Coulomb's law has the same mathematical form as Newton's law of gravitation — both are inverse-square laws. But there's a crucial difference: gravity is always attractive, while the electric force can be attractive (opposite charges) or repulsive (like charges). This is what makes matter stable — the repulsion between like-charged electrons prevents matter from collapsing.

Compare the magnitude: the electric force between a proton and electron in a hydrogen atom is about 10³⁹ times stronger than the gravitational force between them. Electromagnetism utterly dominates at atomic scales.

Key Takeaway: Coulomb's law is the electrostatic equivalent of Newton's gravitational law. The key difference — repulsion as well as attraction — is what makes chemistry, atoms, and stable matter possible.

Electric Fields and Electric Potential

An electric field E is the force per unit positive charge at any point in space: E = F/q. Fields allow us to describe electromagnetic effects without referring to specific source charges — a powerful abstraction.

E = F/q = kQ/r²

E = electric field (N/C or V/m) | F = force on test charge q | Q = source charge | r = distance from Q

Electric potential V (measured in volts) is the potential energy per unit charge: V = PE/q = kQ/r. Voltage is always a difference — the "voltage" of a 9V battery means its positive terminal is 9 joules per coulomb higher in potential than its negative terminal.

Electric field lines visualize the field: they point in the direction of force on a positive test charge, are denser where the field is stronger, and never cross. A uniform field (between parallel plates) has parallel, evenly spaced field lines — the configuration in capacitors.

Key Takeaway: Fields are more than mathematical convenience — they carry energy and mediate forces. The electric field at a point in space has real physical existence, independent of any charges placed there.

DC Circuits and Ohm's Law

Ohm's Law states that the current through a conductor is proportional to the voltage across it and inversely proportional to its resistance: V = IR. This simple relationship governs the behavior of most practical electrical circuits.

V = IR

V = voltage (volts) | I = current (amperes) | R = resistance (ohms, Ω)

Electric power — the rate of energy transfer — is P = IV = I²R = V²/R. A 60W light bulb on a 120V circuit draws I = P/V = 0.5 A of current.

ConfigurationResistanceCurrentVoltage
Series resistorsR_total = R₁ + R₂ + ...Same through allSplits across resistors
Parallel resistors1/R_total = 1/R₁ + 1/R₂ + ...Splits across branchesSame across all

Kirchhoff's laws extend circuit analysis: the Junction Rule (currents sum to zero at any node, conservation of charge) and the Loop Rule (voltages sum to zero around any closed loop, conservation of energy). Together with Ohm's Law, they can solve any linear circuit.

Key Takeaway: V = IR is the most-used equation in electrical engineering. Understanding series vs parallel configurations and Kirchhoff's laws lets you analyze circuits of arbitrary complexity.

Magnetic Fields and Forces

A magnetic field B exerts a force on moving charges and current-carrying conductors. The Lorentz force on a charge q moving at velocity v in field B is F = qv × B — the force is perpendicular to both v and B.

F = qv × B

Force is perpendicular to both velocity and magnetic field — so it does no work, only changes direction.

This perpendicularity is crucial: magnetic forces curve charged particles but don't speed them up or slow them down. That's why particle accelerators use magnetic fields to steer particles and electric fields to accelerate them.

Current-carrying wires also experience magnetic forces — the basis of every electric motor. Two parallel wires carrying currents in the same direction attract; in opposite directions, they repel. This is actually the definition of the SI unit ampere.

Magnetic field sources include permanent magnets (aligned magnetic moments of electrons) and moving charges (currents). There are no magnetic monopoles — every magnet has both a north and south pole. This asymmetry between electricity (isolated charges exist) and magnetism (isolated poles don't) is one of Maxwell's equations.

Key Takeaway: Magnetic forces act only on moving charges and are always perpendicular to velocity. They curve trajectories without doing work — making them ideal for steering particles and building motors.

Faraday's Law of Induction

Faraday's Law states that a changing magnetic flux through a loop induces an electromotive force (EMF) in that loop: EMF = −dΦ/dt. This is the principle behind every electric generator ever built — and the reason you have grid electricity.

EMF = −dΦB/dt

EMF = induced voltage | Φ_B = magnetic flux through the loop | The minus sign (Lenz's Law): induced current opposes the change.

A generator rotates a coil in a magnetic field, continuously changing the flux through the coil, and producing an alternating EMF. The faster it rotates, the higher the frequency and amplitude of the induced voltage. Every power plant — coal, nuclear, wind, hydro — uses this principle.

Lenz's Law (the minus sign) says the induced current creates a field opposing the change that caused it — nature's electromagnetic inertia. Drop a magnet through a copper pipe: eddy currents form, creating a magnetic field opposing the magnet's motion, slowing its fall. It's Faraday + Lenz in action.

Key Takeaway: Faraday's Law is the operating principle of every generator and transformer. Changing magnetic flux → induced EMF → current → power. Without it, electrical grids wouldn't exist.

Maxwell's Equations: The Complete Theory

James Clerk Maxwell assembled the entire theory of electromagnetism into four equations. Together, they describe all electric and magnetic phenomena — and predict the existence of electromagnetic waves traveling at c.

∇·E = ρ/ε₀

Gauss's Law for E: Electric field lines originate from charges. Charge is the source of electric fields.

∇·B = 0

Gauss's Law for B: Magnetic field lines form closed loops — there are no magnetic monopoles.

∇×E = −∂B/∂t

Faraday's Law: A changing magnetic field induces an electric field (generates EMF).

∇×B = μ₀J + μ₀ε₀∂E/∂t

Ampère-Maxwell Law: Currents and changing electric fields produce magnetic fields.

Maxwell added the "displacement current" term (μ₀ε₀∂E/∂t) to Ampère's original law — this was the key insight. It meant that a changing electric field produces a magnetic field, which produces a changing electric field, which produces a magnetic field... a self-sustaining wave propagating through empty space at c = 1/√(ε₀μ₀) ≈ 3×10⁸ m/s.

Light is an electromagnetic wave. Maxwell proved it with algebra — no experiment needed. It's one of the great moments in scientific history.

Key Takeaway: Maxwell's four equations unify all of classical electromagnetism in about 60 characters of mathematics. They predict light, radio waves, and every other EM phenomenon from first principles.

Electromagnetic Waves and Light

Maxwell's equations predict waves of oscillating electric and magnetic fields, perpendicular to each other and to the direction of propagation, traveling at c = 299,792,458 m/s in vacuum. These are electromagnetic waves — and visible light occupies a tiny slice of the full EM spectrum (400–700 nm wavelength).

For the full electromagnetic spectrum — from radio waves to gamma rays — see our Waves & Oscillations guide. For optics — reflection, refraction, lenses — see the Optics section. For quantum aspects of light (photons), see Modern Physics.

Key Takeaway: Light is an electromagnetic wave — not a separate phenomenon. Maxwell's equations contain optics as a special case, unifying what were thought to be three separate branches of physics.

Electromagnetism vs Gravity

PropertyElectromagnetismGravity
SourceElectric chargeMass/energy
TypeAttractive & repulsiveAttractive only
Relative strength~10³⁶× stronger (atomic scale)Weakest fundamental force
RangeInfinite (1/r²)Infinite (1/r²)
Carrier particlePhotonGraviton (theoretical)
Dominant atAtomic/molecular scaleLarge masses, cosmic scale

Electromagnetism dominates chemistry and biology because it operates between charges; gravity wins at cosmic scales because large masses accumulate and charge tends to be neutral in bulk matter.

Key Takeaway: EM is vastly stronger than gravity at small scales, but matter is generally charge-neutral in bulk, so gravity dominates cosmologically. This explains why atoms are held together by EM but planets by gravity.

Common Misconceptions

Real-World Applications

Key Takeaway: Electromagnetism is the physical foundation of all electronics, communications, and electrical power. Understanding it is understanding the technology that runs the modern world.

Frequently Asked Questions

(1) Gauss's Law for E: charges produce electric fields. (2) Gauss's Law for B: there are no magnetic monopoles. (3) Faraday's Law: changing magnetic fields create electric fields. (4) Ampère-Maxwell Law: currents and changing electric fields create magnetic fields. Together they completely describe classical EM.
Special relativity explains this elegantly: a magnetic field is what an electric field looks like in a different reference frame. When charges move, length contraction alters the observed charge density, creating apparent forces — which we call magnetic forces. Electricity and magnetism are genuinely the same phenomenon viewed from different frames.
Direct current (DC) flows in one direction — from batteries, solar cells, fuel cells. Alternating current (AC) reverses direction periodically (50 or 60 Hz in mains supply). AC is used for power grids because transformers can easily change AC voltages for efficient long-distance transmission — a function they can't perform with DC.
Electromagnetic induction is the production of an EMF (and thus current) in a conductor when it experiences a changing magnetic flux, as described by Faraday's Law. It's the operating principle of generators, transformers, wireless chargers, and induction cooktops.
A motor uses the magnetic force on a current-carrying conductor (F = IL×B). A current-carrying loop in a magnetic field experiences a torque that tends to align it with the field. By continuously reversing the current direction (commutation), the torque is maintained in one direction, producing continuous rotation.
Maxwell's equations predict self-sustaining waves of oscillating E and B fields traveling at c = 1/√(ε₀μ₀) ≈ 3×10⁸ m/s. Since this matched the measured speed of light, Maxwell concluded light itself is an EM wave. This unified optics with electricity and magnetism — three previously separate fields of physics.
Lenz's Law states that an induced current flows in a direction that opposes the change in flux that induced it. It's the minus sign in Faraday's Law (EMF = −dΦ/dt) and is a consequence of energy conservation — if the induced current reinforced the change, it would create a runaway self-amplifying field, violating energy conservation.
A capacitor stores energy in an electric field between two conductive plates separated by an insulator (dielectric). Charging a capacitor moves charge from one plate to the other, creating a voltage difference. Energy stored is U = ½CV², where C is capacitance in farads. Capacitors are used in filters, energy storage, and timing circuits.

Summary & Next Steps

Electromagnetism governs the interactions of electric charges through fields that carry energy and momentum. Coulomb's law describes static charges; Faraday's law describes induction; Ohm's law governs circuits; and Maxwell's four equations unify everything — predicting electromagnetic waves as a natural consequence.

This is arguably the most consequential branch of physics for civilization: every electrical device, every communication system, every light source operates on electromagnetic principles.

Continue Learning

References: [1] Maxwell, J.C. (1865). A Dynamical Theory of the Electromagnetic Field. Philosophical Transactions of the Royal Society. [2] Faraday, M. (1831). Experimental Researches in Electricity. [3] Griffiths, D.J. (2017). Introduction to Electrodynamics, 4th ed. Cambridge University Press.