Unit 2 — Electromagnetic Field Theory: A Complete Learning Tutorial
What you will learn: By the end of this tutorial, you will understand why Maxwell had to fix Ampere's law, how four equations describe all of classical electromagnetism, and what happens when electromagnetic waves hit a conductor. No memorization without meaning.
Chapter 0: Why Electromagnetic Field Theory Exists
Electricity and magnetism were once thought to be separate forces. Then, in the 19th century, something remarkable happened: physicists realized they were two sides of the same coin — electromagnetism.
But there was a problem. The four fundamental laws of electricity and magnetism, discovered by Gauss, Faraday, and Ampere, worked well individually. Yet when you put them together, they contradicted the conservation of electric charge.
James Clerk Maxwell fixed this with a single stroke of genius — adding a term called displacement current. That fix didn't just patch a hole; it predicted the existence of electromagnetic waves, which include light, radio, X-rays, and microwaves. Every wireless technology you use today exists because Maxwell asked: "What if Ampere's law is incomplete?"
The Journey of This Unit
| Classical Law | What It Describes | The Problem |
|---|---|---|
| Gauss's Law (Electric) | Electric charges create electric fields | None — it was solid |
| Gauss's Law (Magnetic) | There are no magnetic monopoles | None — it was solid |
| Faraday's Law | Changing magnetic fields create electric fields | None — it was solid |
| Ampere's Law | Electric currents create magnetic fields | It contradicted charge conservation |
Key Insight: Maxwell didn't discover new phenomena in a lab. He fixed the math, and the math predicted a new phenomenon — electromagnetic waves traveling at the speed of light.
Chapter 1: The Mathematical Toolkit — From Integrals to Derivatives
Before we meet Maxwell's equations, we need two powerful theorems from vector calculus. They are the bridge between the "big picture" (integrals over regions) and the "local picture" (derivatives at a point).
Stokes' Theorem
What it says: The circulation of a vector field around a closed loop equals the flux of its curl through any surface bounded by that loop.
Intuition: Imagine a whirlpool in a river. If you paddle around the edge, you feel the circulation. Stokes' theorem says the total "swirl" you feel going around the edge equals the sum of all the tiny "swirls" (curl) inside the area.
Why we need it: Faraday's and Ampere's laws were originally written as line integrals. Stokes' theorem lets us convert them into differential equations — Maxwell's equations in their modern form.
Divergence Theorem (Gauss's Theorem)
What it says: The total flux of a vector field out of a closed surface equals the volume integral of its divergence inside.
Intuition: Imagine a room filled with smoke machines. The amount of smoke leaving through the walls (flux) equals the total smoke being produced inside (divergence). If there's no source inside, whatever flows in must flow out.
Why we need it: Gauss's laws were originally written as surface integrals. The divergence theorem converts them into differential form.
Analogy: Stokes' theorem is about circulation (going around). Divergence theorem is about sources (going out). One handles rotation; the other handles creation.
Chapter 2: The Four Laws Before Maxwell
Let's meet the four laws as they existed before Maxwell. Each describes a different aspect of electromagnetism.
1. Gauss's Law for Electricity
Integral form:
Differential form:
Translation: Electric field lines begin and end on electric charges. The amount of electric flux leaving a closed surface is exactly equal to the charge enclosed.
Intuition: A point charge is like a fountain. The water (electric field) sprays outward, and the total flow through any balloon surrounding the fountain depends only on the fountain's strength, not the balloon's size.
2. Gauss's Law for Magnetism
Integral form:
Differential form:
Translation: Magnetic field lines never begin or end. They always form closed loops.
Intuition: Unlike electric charges, there is no such thing as a "magnetic charge" (monopole). If you cut a magnet in half, you don't get a north-only piece and a south-only piece — you get two smaller magnets, each with both poles.
3. Faraday's Law of Induction
Integral form:
Differential form:
Translation: A changing magnetic field creates a swirling electric field.
Intuition: Imagine pushing a magnet into a coil of wire. The changing magnetic field "stirs" the space around it, creating an electric field that pushes electrons around the wire. This is how generators work.
The minus sign (Lenz's Law): The negative sign means the induced electric field opposes the change. Nature resists change.
4. Ampere's Law (Original)
Integral form:
Differential form:
Translation: Electric currents create swirling magnetic fields.
Intuition: A wire carrying current is surrounded by circular magnetic field lines. The stronger the current, the stronger the magnetic swirl.
Chapter 3: The Crisis — Why Ampere's Law Was Wrong
The Continuity Equation
Electric charge cannot be created or destroyed. Mathematically:
This says: if charge density decreases at a point, current must carry it away.
The Contradiction
Take the divergence of Ampere's original law:
The divergence of a curl is always zero (a mathematical identity). So:
But the continuity equation says , which is when charge is accumulating!
The scenario: Imagine charging a capacitor. Current flows into one plate and out of the other. Between the plates, there is no wire — no conduction current . Yet charge is building up on the plates ().
Ampere's law, applied between the capacitor plates, says there is no magnetic field. But common sense (and experiment) says there is a magnetic field around the capacitor while it charges.
Maxwell's Fix: Displacement Current
Maxwell realized that a changing electric field behaves like a current. He added a term to Ampere's law:
This is the displacement current density. It is not a real flow of charge, but it produces magnetic effects exactly like a real current.
The corrected Ampere-Maxwell Law becomes:
Now take the divergence:
Using Gauss's law ():
This matches the continuity equation perfectly. The contradiction is resolved.
Analogy: Imagine a crowd of people moving through a hallway. If the hallway narrows, people bunch up (charge accumulates). Maxwell said: "Even where there is no hallway, if people are appearing or disappearing from a room, there must be an invisible flow accounting for it." The changing electric field is that invisible flow.
Chapter 4: Maxwell's Equations — The Four Commandments of Light
With the displacement current in place, we have the complete set of Maxwell's Equations. These four equations describe all classical electromagnetic phenomena — from static charges to light itself.
In Differential Form
| Equation | Name | What It Says |
|---|---|---|
| Gauss (Electric) | Charges create electric fields | |
In Free Space (Vacuum)
In a region with no charges () and no currents ():
Maxwell's equations become:
The Wave Equation
Take the curl of Faraday's law:
Using the vector identity and :
Rearranging:
This is the wave equation. It describes waves traveling at speed:
When Maxwell calculated this number, it matched the measured speed of light. He famously wrote: "We can scarcely avoid the inference that light consists in the transverse undulations of the same medium which is the cause of electric and magnetic phenomena."
The Profound Conclusion: Light is an electromagnetic wave. Maxwell didn't set out to explain light; he set out to fix Ampere's law, and light emerged as a mathematical consequence.
Chapter 5: Plane Electromagnetic Waves in Vacuum
Properties of EM Waves in Free Space
From the wave equation, we can deduce the structure of electromagnetic waves:
-
Transverse nature: Both and are perpendicular to the direction of propagation and to each other.
Visualizing the Wave
Imagine a wave traveling in the -direction:
- The electric field oscillates in the -direction
- The magnetic field oscillates in the -direction
They are coupled — you cannot have one without the other. A changing creates , and a changing creates . The wave sustains itself.
Analogy: Imagine a rope with two people shaking it perpendicular to each other. If person A shakes vertically and person B shakes horizontally, and they are perfectly synchronized, the rope travels forward. Each person's motion depends on the other's. That's an EM wave.
Chapter 6: What Happens in a Conductor? — Attenuation and Skin Depth
Why Conductors Are Different
In a conductor, free electrons can move. When an EM wave enters, it shakes these electrons, which then radiate their own fields. But energy is lost as heat (Joule heating: ). The wave's amplitude decreases as it penetrates.
Mathematically, for a conductor:
where is conductivity. Maxwell's equations now include this ohmic term, and the wave equation gains a "damping" term.
Skin Depth ()
The amplitude of the wave falls to (about 37%) of its surface value after traveling a distance :
where:
- = angular frequency
- = permeability of the material
- = conductivity
What Controls Skin Depth?
| Factor | Effect on | Physical Meaning |
|---|---|---|
| Higher frequency () | Smaller | Electrons can't keep up; energy absorbed faster |
| Higher conductivity () | Smaller |
Practical implications:
- At 60 Hz (power lines) in copper: mm
- At 1 MHz (AM radio) in copper: μm
- At 1 GHz (cell phones) in copper: μm
This is why:
- High-frequency circuits use surface plating instead of thick conductors
- Submarines can't use normal radio underwater (saltwater is conductive; RF waves don't penetrate)
- MRI machines use superconductors (zero resistance = no skin effect)
Analogy: Skin depth is like shining a flashlight into fog. The thicker the fog (higher conductivity), or the faster the light oscillates (higher frequency), the less far you can see.
Chapter 7: The Poynting Vector — Tracking Energy Flow
What Is It?
Electromagnetic waves carry energy. The Poynting vector tells us how much energy flows per unit area per unit time, and in what direction:
Units: watts per square meter (W/m²)
Direction: points in the direction of wave propagation (since ).
The Poynting Theorem
This is the energy conservation law for electromagnetism:
where is the electromagnetic energy density.
Translation:
- = energy flowing out of a point
- = energy dissipated as heat (ohmic loss)
The sum is zero — energy is conserved.
Analogy: The Poynting vector is like a weather map showing wind speed and direction, but for electromagnetic energy. The Poynting theorem is the budget: energy in = energy out + energy stored + energy lost.
Chapter 8: Connecting the Dots — The Big Picture
Charges exist
↓
Gauss's Law: Charges create electric fields
↓
Faraday's Law: Changing B creates E
↓
Ampere's Law: Currents create B
↓
THE PROBLEM: Ampere's law contradicts charge conservation
↓
Maxwell adds displacement current
↓
Ampere-Maxwell Law: Changing E also creates B
↓
The four equations are now consistent
↓
In vacuum with no charges/currents, they predict waves
↓
Wave speed c = 1/√(μ₀ε₀) = speed of light
↓
LIGHT IS AN ELECTROMAGNETIC WAVE
↓
In conductors, waves lose energy → skin depth
↓
Poynting vector tracks energy flow
The Core Philosophy
| Concept | Classical View | Maxwell's View |
|---|---|---|
| Electricity and magnetism | Separate forces | Unified single force |
| Electric fields | Created by charges | Also created by changing magnetic fields |
| Magnetic fields | Created by currents | Also created by changing electric fields |
| Light | Unknown/ether waves | Electromagnetic waves |
| Empty space | Inert void | Can support oscillating E and H fields |
Chapter 9: Exam Strategy & Common Mistakes
Must-Know Derivations
- Displacement current concept — Be able to explain the capacitor charging paradox and how fixes it.
- Maxwell's equations in differential form — Know all four by heart.
- Wave equation from Maxwell's equations — Know the curl-curl identity step.
- Speed of light from and — This is a classic derivation.
Common Mistakes to Avoid
| Mistake | Correction |
|---|---|
| Confusing with |
Quick Formula Reference
| Concept | Formula |
|---|---|
| Stokes' theorem |
Summary: The Five Pillars of Unit 2
- Vector Calculus Tools — Stokes' and divergence theorems connect integral and differential forms
- The Four Laws — Gauss (E), Gauss (B), Faraday, and Ampere describe electricity and magnetism
- Displacement Current — Maxwell's correction that unifies the laws and saves conservation of charge
- Electromagnetic Waves — Light is a self-sustaining oscillation of and fields
Final Thought: Maxwell's equations are often called the most beautiful equations in physics. They are compact, symmetric, and complete. With just four lines, you can explain everything from why magnets stick to your fridge to how your phone receives a signal from a satellite. Understanding them is not just exam preparation — it is understanding how light itself works.