Maxwell's Equations - Complete Interactive Lesson
Part 1: Maxwell's Equations Overview
๐ Maxwell's Equations
Part 1 of 7 โ The Four Laws of Electromagnetism
The Four Equations
The AP course numbers Maxwell's equations as you meet them during the year:
| # | Name | Integral Form |
|---|---|---|
| 1 | Gauss's Law for E | |
| 2 | Gauss's Law for B | |
| 3 | Faraday's Law | |
| 4 | Ampรจre's Law + Maxwell's addition |
Physical Meaning
| Equation | Says... |
|---|---|
| Gauss for E | Electric charges create electric fields; flux counts enclosed charge |
| Gauss for B | No magnetic monopoles โ magnetic field lines form closed loops |
| Faraday | A changing magnetic flux creates a (circulating) electric field |
| Ampรจre + Maxwell | Currents create magnetic fields, and so does a changing electric field |
You will use the first three, and the current term of the fourth, quantitatively. Maxwell's addition (the changing- term) is needed only as an idea: a changing electric field produces a magnetic field.
๐ Maxwell's equations are the complete set of laws of classical electromagnetism. (They also predict electromagnetic waves, which are not assessed on the AP Physics C: E&M exam.)
Concept Check ๐ฏ
๐ Worked Example โ Gauss's Law with Calculus
A point charge sits at the center of a sphere of radius . Find the electric flux through the sphere, then the field magnitude on its surface.
Step 1 โ Apply Gauss's Law. The closed-surface integral gives the enclosed charge over :
Step 2 โ Exploit spherical symmetry. By symmetry is radial and constant in magnitude over the surface, so .
Step 3 โ Solve for the field. Setting gives the familiar point-charge result:
๐ Gauss's Law is most powerful when symmetry lets you pull outside the surface integral.
Check Your Understanding ๐
Part 2: Gauss's Law for Magnetism and Closed Field Lines
๐งฒ Gauss's Law for Magnetism
Part 2 of 7 โ Gauss's Law for Magnetism and Closed Field Lines
Maxwell's Second Equation
The net magnetic flux through any closed surface is zero: every magnetic field line that enters a closed surface also leaves it. The reason is that magnetic fields come from dipoles โ current loops, moving charges, and aligned atomic dipoles โ never from isolated poles (monopoles).
| Gauss's law for | Gauss's law for | |
|---|---|---|
| Right-hand side | ||
| Field lines | Start on charges, end on charges | Form closed loops |
| Sources | Charges | Dipoles only |
Bar Magnets and Earth
- Outside a bar magnet the field points from the north pole to the south pole; inside it runs from south back to north, closing each loop.
- Cut a magnet in half and you get two complete dipoles โ no lone north or south pole ever appears.
- Earth's field is approximately that of a dipole. A compass's north end points toward geographic north, so the pole near geographic north is a magnetic south pole.
Sign Convention for Closed Surfaces
Area vectors on a closed surface point outward: flux leaving the surface counts as positive, flux entering counts as negative. Gauss's law for magnetism says these always cancel.
Concept Check ๐ฏ
๐ Worked Example โ Flux Through Closed Surfaces
(a) Uniform field. A closed cylinder of radius has its axis along a uniform field . Find the flux through each part.
- Cap where the field leaves:
- Cap where the field enters:
- Curved side: runs along the surface, so
Total: , as Gauss's law for magnetism demands.
(b) Nonuniform field. A closed surface is made of a flat disk and a dome. of magnetic flux enters through the disk. Without knowing anything else about the field, the dome must carry exactly outward, because the total must be zero.
๐ For any open surface, the magnetic flux depends only on its boundary: any two surfaces sharing the same edge carry the same flux. That is why "the flux through a loop" is well defined in Faraday's law.
Check Your Understanding ๐
Part 3: Faraday's Law as an Induced Electric Field
โก Faraday's Law and Induced Electric Fields
Part 3 of 7 โ Faraday's Law as an Induced Electric Field
Maxwell's Third Equation
A changing magnetic flux creates an electric field that circulates around the region where the flux is changing. The field exists whether or not a wire is there; a conducting loop simply lets it push charges around, and the EMF in the loop is . For a coil of turns, , and Lenz's law gives the direction.
Two Kinds of Electric Field
| Electrostatic field (from charges) | Induced field (from changing ) | |
|---|---|---|
| Field lines | Start and end on charges | Form closed loops |
| around a loop | (conservative) | (non-conservative) |
| Electric potential | Well defined | Cannot be defined around the loop |
Both kinds exert the same force on a charge.
Concept Check ๐ฏ
๐ Worked Example โ Induced Field In and Around a Solenoid
A long solenoid of radius has turns per meter. Its current increases at . Find the induced electric field at (a) (inside) and (b) (outside).
Step 1 โ Rate of change of inside. From Ampรจre's law, , so
Step 2 โ Use symmetry. On a circle of radius centered on the axis, is tangent to the circle with constant magnitude, so .
Step 3 โ Inside (). The circle encloses flux :
Step 4 โ Outside (). outside, but the circle still encloses the solenoid's flux :
๐ Inside, grows linearly with ; outside, it falls as . There is an induced electric field outside the solenoid even though the magnetic field there is essentially zero.
Check Your Understanding ๐
Part 4: Ampรจre's Law for Symmetric Currents and Maxwell's Addition
๐ Ampรจre's Law and Maxwell's Addition
Part 4 of 7 โ Ampรจre's Law for Symmetric Currents and Maxwell's Addition
Maxwell's Fourth Equation, Current Term
Ampรจre's law always holds, but it solves for only when symmetry makes constant along the Amperian loop (or perpendicular to it on some segments). The AP exam uses it for exactly these shapes:
| Current distribution | Amperian loop | Result |
|---|---|---|
| Long straight wire | Circle around the wire | |
| Long solenoid | Rectangle, one side inside | inside, outside |
| Solid cylinder, uniform (inside) | Circle, | |
| Cylinder with | Circle; | |
| Wide slab, thickness , uniform (outside) | Rectangle straddling the slab | , independent of distance |
Several conductors? Use superposition: add the fields of each, or let the Amperian loop count the net enclosed current.
Concept Check ๐ฏ
๐ Worked Example โ A Hollow Cylindrical Conductor
A long tube has inner radius and outer radius and carries spread uniformly over its cross-section. Find at (inside the metal).
Step 1 โ Enclosed current. The current is uniform over the metal's area , so a circle of radius encloses the fraction of that area between and :
Step 2 โ Ampรจre's law. :
Check the regions: in the hollow (); grows through the metal; outside (), just like a thin wire.
Maxwell's Addition โ Qualitatively
While a capacitor charges, no charge crosses the gap between its plates, yet a magnetic field circles the gap just as it circles the wires. The source is the changing electric field between the plates: Maxwell's addition says a changing creates , much as a moving charge does. The AP exam does not ask you to calculate with this term; you need only the idea.
Check Your Understanding ๐
Part 5: Choosing Gaussian Surfaces and Amperian Loops
๐งญ Gaussian Surfaces vs. Amperian Loops
Part 5 of 7 โ Choosing Gaussian Surfaces and Amperian Loops
The Same Strategy, Two Laws
| Gauss's law | Ampรจre's law | |
|---|---|---|
| Integral | over a closed surface | around a closed path |
| Counts | Enclosed charge | Enclosed current |
| Goal | perpendicular to the surface (constant) or parallel to it | along the path (constant) or perpendicular to it |
Matching the Symmetry
| Source | Gaussian surface (for ) | Amperian loop (for ) |
|---|---|---|
| Point charge / sphere | Concentric sphere | โ |
| Long line or cylinder | Coaxial cylinder | Circle around the axis |
| Large plane or slab | Pillbox through the plane | Rectangle through the slab |
| Long solenoid | โ | Rectangle, one side inside |
When Symmetry Fails
Both laws are always true, but they give a field only with spherical, cylindrical, or planar symmetry (for ) or the long-wire, solenoid, slab, and cylinder shapes (for ). Otherwise:
- Few point charges โ superpose Coulomb fields.
- Ring, arc, or finite line of charge โ integrate .
- Current segment, arc, or single loop โ use the BiotโSavart law.
Concept Check ๐ฏ
๐ Worked Example โ Two Coaxial Problems Side by Side
(a) Concentric charged cylinders (Gauss). A long inner cylinder carries charge per length; a thin outer coaxial shell carries per length.
- Between them: a coaxial Gaussian cylinder encloses , so and .
- Outside both: the enclosed charge is , so .
(b) Coaxial cable (Ampรจre). An inner wire carries current one way; the outer conducting shell carries back.
- Between them: a circular Amperian loop encloses , so and .
- Outside both: the net enclosed current is , so .
Numbers for (b): with at : .
๐ Same symmetry, same steps: pick the surface or loop, find what it encloses, pull the field out of the integral.
Check Your Understanding ๐
Part 6: Problem-Solving Workshop
๐ ๏ธ Maxwell Workshop
Part 6 of 7 โ Practice
Which Equation Does the Job?
| You are asked for... | Equation | Tool |
|---|---|---|
| of a symmetric charge distribution | Gauss's law | Sphere, coaxial cylinder, or pillbox |
| Net magnetic flux through a closed surface | Gauss's law for magnetism | Always zero |
| EMF in a loop, or the induced near changing flux | Faraday's law | ; symmetric circle for |
| of a symmetric current | Ampรจre's law | Circle (wire, cylinder) or rectangle (solenoid, slab) |
| Why a charging capacitor's gap has a magnetic field | Maxwell's addition | Qualitative only |
Many problems chain two or three of these: one law gives a field, another uses how that field changes.
Concept Check ๐ฏ
๐ Worked Example โ One Solenoid, Three Equations
A long solenoid of radius has turns per meter. At one instant its current is and increasing at .
(a) Field inside โ Ampรจre's law.
(b) Flux through a closed box that straddles the windings โ Gauss's law for magnetism. Whatever the box's shape, the net flux is : field lines that enter it inside the solenoid leave it elsewhere.
(c) Induced electric field at , outside โ Faraday's law. A circle of radius encloses flux , so
๐ Inside the field region ; outside it the enclosed flux is fixed at , so .
Check Your Understanding ๐
Part 7: Review & Applications
๐ Maxwell's Equations Review
Part 7 of 7 โ Final Summary
The Big Picture
Maxwell's four equations describe ALL of classical electromagnetism:
- Gauss for E: โ charges create electric fields
- Gauss for B: โ no magnetic monopoles; field lines close
- Faraday: โ changing magnetic flux creates a circulating electric field
- Ampรจre + Maxwell's addition: currents create magnetic fields (quantitative), and so does a changing electric field (qualitative only)
| Skill | Where you used it |
|---|---|
| Choose a Gaussian surface or Amperian loop | Spheres, coaxial cylinders, pillboxes, circles, rectangles |
| Integrate a density | , , |
| Differentiate a flux | EMF and induced from Faraday's law |
๐ "Maxwell's equations are the most beautiful equations in physics." โ Richard Feynman
Concept Check ๐ฏ
๐ Worked Example โ Synthesis: Wire Field โ Flux โ EMF
A long straight wire carries a current that increases as . A square loop of side lies in the same plane, with its near side from the wire and its far side at . Find the EMF induced in the loop.
Step 1 โ Field of the wire (Ampรจre's law). , perpendicular to the loop's plane.
Step 2 โ Flux by integration. Strips of width and length :
Step 3 โ EMF (Faraday's law).
Step 4 โ Direction (Lenz's law). The flux into the loop is increasing, so the induced current circulates to make a field opposite to the wire's field inside the loop.
๐ One problem, three laws: Ampรจre gives , integration gives , Faraday gives .
Check Your Understanding ๐