Maxwell’s Equations Explained: What Each Equation Means and How to Apply Them
electromagnetismMaxwells-equationsfield-theoryphysics-exam-prepphysics-problem-solving

Maxwell’s Equations Explained: What Each Equation Means and How to Apply Them

PPhysics.plus Editorial Team
2026-11-19
7 min read

Learn what Maxwell’s four equations mean, when to use each form, how boundary conditions work, and how to solve electromagnetism problems.

Maxwell’s four equations provide a compact framework for electric and magnetic fields, charges, currents, and electromagnetic waves. This guide explains what each equation means, how its integral and differential forms relate, which boundary conditions matter, and how to choose the right law when solving an electromagnetism problem.

Overview

In SI units, Maxwell’s equations are commonly written as follows:

  1. Gauss’s law for electricity: ∇ · E = ρ/ε0
  2. Gauss’s law for magnetism: ∇ · B = 0
  3. Faraday’s law: ∇ × E = −∂B/∂t
  4. Ampère–Maxwell law: ∇ × B = μ0J + μ0ε0∂E/∂t

The differential forms describe what happens at a point. The integral forms describe the total effect over a closed surface or around a closed loop. They are connected by the divergence theorem and Stokes’ theorem, so the two versions are not separate laws. They are alternative mathematical descriptions of the same physical relationships.

LawDifferential formIntegral formPhysical meaning and sourceTypical boundary condition
Gauss’s law for electricity∇ · E = ρ/ε0∮ E · dA = Qenc/ε0Electric charge produces electric flux. The source is charge density ρ or enclosed charge Qenc.Normal electric field changes across a surface charge: E2n − E1n = σ/ε0.
Gauss’s law for magnetism∇ · B = 0∮ B · dA = 0Magnetic field lines have no observed isolated sources or sinks; the net magnetic flux through a closed surface is zero.Normal B is continuous: B2n = B1n.
Faraday’s law∇ × E = −∂B/∂t∮ E · dl = −dΦB/dtA changing magnetic flux creates a circulating electric field. The minus sign expresses Lenz’s law.Tangential E is continuous in the absence of an idealized changing surface magnetic flux.
Ampère–Maxwell law∇ × B = μ0J + μ0ε0∂E/∂t∮ B · dl = μ0Ienc + μ0ε0dΦE/dtMagnetic fields circulate around conduction current and changing electric flux. The sources are current density J and displacement current.Tangential B changes with surface current: n̂ × (H2 − H1) = K.

Notation guide

  • E is electric field, measured in volts per metre; B is magnetic flux density, measured in teslas.
  • ρ is volume charge density, J is current density, and ε0 and μ0 are the vacuum permittivity and permeability.
  • dA is an outward-directed area vector; dl is a tangent-directed line element.
  • ΦB = ∫ B · dA is magnetic flux, while ΦE = ∫ E · dA is electric flux.
  • In materials, many courses use D and H: ∇ · D = ρfree and ∇ × H = Jfree + ∂D/∂t. Check whether a problem is using vacuum fields or macroscopic material fields before substituting values.

Checklist by scenario

When the problem has spherical, cylindrical, or planar symmetry

  1. Identify the symmetry before choosing a Gaussian surface. A sphere suits a point charge or spherical distribution, a cylinder suits a long line charge, and a pillbox suits an infinite plane.
  2. Ask where the field has constant magnitude and whether it is parallel to the chosen surface element.
  3. Use the integral form of Gauss’s law only when symmetry lets you take E outside the flux integral.
  4. Count enclosed charge, not all charge in the system. Charge outside a closed Gaussian surface can affect the local field in some arrangements, but it contributes no net enclosed charge to the flux law.

When the problem involves a changing magnetic field

  1. Look for words such as changing flux, induced emf, loop, coil, or transformer.
  2. Use Faraday’s law and define the loop direction before applying the right-hand rule.
  3. Calculate magnetic flux with ΦB = ∫ B · dA. For a uniform field through a flat loop, this becomes BA cos θ, where θ is measured between B and the area normal.
  4. Keep the negative sign until the direction of the induced field or current has been established. Do not treat it as an optional sign convention.

When the problem involves wires, solenoids, or changing electric fields

  1. Use the Ampère–Maxwell law when the requested quantity is a circulating magnetic field.
  2. For steady currents, the displacement-current term may be zero. For capacitors or rapidly changing fields, it may be essential.
  3. Choose an Amperian loop that follows the symmetry. A circular loop is often useful around a long straight wire; a suitable rectangular loop may help with an ideal solenoid or surface current.
  4. Enclose the relevant conduction current and include the changing electric-flux term when the situation requires it.

When the question asks about electromagnetic waves

In a source-free vacuum region, ρ = 0 and J = 0. Faraday’s law says that a changing magnetic field produces a circulating electric field, while the Ampère–Maxwell law says that a changing electric field produces a circulating magnetic field. Combining the two gives wave equations such as ∇²E = μ0ε0∂²E/∂t². The wave speed is c = 1/√(μ0ε0), which connects electromagnetism with the speed of light.

A reusable problem-solving workflow

  1. Describe the region: Mark charges, currents, materials, surfaces, and whether fields vary with time.
  2. Identify symmetry: Decide whether spherical, cylindrical, planar, or no useful symmetry is present.
  3. Choose the law: Divergence and closed surfaces suggest a Gauss law; circulation and closed loops suggest Faraday’s or Ampère–Maxwell law.
  4. Choose the form: Use an integral form for total flux or circulation and a differential form for local field behavior or field equations.
  5. Set directions: Draw dA, dl, the surface normal, and any current direction before calculating signs.
  6. Substitute and check: Confirm units, limiting cases, and whether the result has the expected direction and dependence.

What to double-check

  • Surface versus boundary: A closed surface is required for Gauss’s laws. A closed path bounds a surface in Faraday’s and Ampère–Maxwell laws.
  • Flux versus field: Electric flux is an integral of E over an area; it is not the same quantity as electric field.
  • Free and bound charge: In material problems, determine whether the equation uses E and ρtotal or D and ρfree.
  • Displacement current: The term ε0dΦE/dt is needed for a complete time-dependent law, including the gap between capacitor plates.
  • Boundary directions: State which side is region 1 and which is region 2. Boundary-condition signs depend on the chosen normal.
  • Units: If a result combines μ0, ε0, charge, current, or field values, use one consistent unit system. A constants and units reference can help when converting quantities.

For related circuit problems, compare the field-based approach with Kirchhoff’s laws. For uncertainty in measured fields or flux, review uncertainty and error analysis.

Common mistakes

  • Applying Gauss’s law to find a field when the charge distribution has no usable symmetry. The law remains true, but the integral may not simplify.
  • Forgetting that the area vector points normal to the surface, making the angle in a flux calculation an angle with the normal rather than with the surface itself.
  • Dropping the minus sign in Faraday’s law and then assigning the induced current direction by intuition alone.
  • Using ∇ × B = μ0J without checking whether the electric field changes with time.
  • Confusing B with H or ε0 with a material permittivity. Material parameters must match the equation being used.
  • Writing a correct equation but not stating the assumptions, such as steady state, vacuum, uniform field, negligible edge effects, or ideal symmetry.

When reviewing an answer, ask three questions: Does the field direction follow the right-hand rule? Do the units match the requested quantity? Does the result behave sensibly if charge, current, distance, or time variation approaches zero?

When to revisit

Return to this checklist before an electromagnetism problem set, laboratory analysis, or exam review session. Revisit it whenever your course moves from vacuum fields to dielectric or magnetic materials, because the preferred notation and boundary conditions may change. It is also worth checking at the start of each academic year if your class, textbook, or instructor uses a different sign convention, unit convention, or notation for field quantities.

For a practical final review, cover the equations and reconstruct them from their meanings: charge creates electric flux; there are no isolated magnetic charges in the standard formulation; changing magnetic fields induce electric circulation; and currents or changing electric fields induce magnetic circulation. Then solve one problem from each scenario, writing the assumptions and drawing the relevant surface or loop. This turns Maxwell’s equations from a list of formulas into a repeatable method for solving physics problems.

Related Topics

#electromagnetism#Maxwells-equations#field-theory#physics-exam-prep#physics-problem-solving
P

Physics.plus Editorial Team

Physics Education Editors

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.