1. Home
  2. Explore
  3. Physics
  4. Maxwell’s Equations Solutions

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Maxwell’s Equations Solutions

Verifying Maxwell’s Equations, Boundary Conditions, and Uniqueness

This lesson develops three connected ideas:

  1. How to test whether proposed electric and magnetic fields actually satisfy Maxwell’s equations.
  2. How Maxwell’s equations lead to electromagnetic boundary conditions.
  3. Why the fields obtained from a valid solution are unique, and how the Maxwell equations relate mathematically and physically.

The central habit is important: a proposed pair of fields is not automatically a solution merely because it looks physically reasonable. Every relevant Maxwell equation must be checked.


1. Time-Harmonic Maxwell Equations

When electromagnetic fields vary sinusoidally with time, it is convenient to represent them using phasors. In this representation, the time dependence is temporarily suppressed.

For a time-harmonic field, the time derivative is replaced by multiplication by jωj\omegajω:

∂∂t⟶jω\frac{\partial}{\partial t} \longrightarrow j\omega∂t∂​⟶jω

Thus, in a source-free, homogeneous medium, Maxwell’s equations become

∇×E=−jωB\nabla \times \mathbf{E}=-j\omega \mathbf{B}∇×E=−jωB ∇×H=jωD\nabla \times \mathbf{H}=j\omega \mathbf{D}∇×H=jωD ∇⋅B=0\nabla \cdot \mathbf{B}=0∇⋅B=0 ∇⋅D=0\nabla \cdot \mathbf{D}=0∇⋅D=0

The last equation assumes that the region contains no volume charge. In a general material, the constitutive relations are

D=ϵE\mathbf{D}=\epsilon \mathbf{E}D=ϵE

and

B=μH\mathbf{B}=\mu \mathbf{H}B=μH

For free space,

ϵ=ϵ0,μ=μ0\epsilon=\epsilon_0, \qquad \mu=\mu_0ϵ=ϵ0​,μ=μ0​

Recovering the physical time-dependent field

Although time does not appear explicitly in a phasor expression, it has not disappeared physically. Suppose the phasor electric field is E(r)\mathbf{E}(\mathbf{r})E(r). The corresponding physical field is obtained by multiplying by ejωte^{j\omega t}ejωt and taking the real part:

E(r,t)=Re⁡{E(r)ejωt}\mathbf{E}(\mathbf{r},t) = \operatorname{Re} \left\{ \mathbf{E}(\mathbf{r})e^{j\omega t} \right\}E(r,t)=Re{E(r)ejωt}

For example, if the phasor has only a yyy component,

E(r)=Ey(x) y^\mathbf{E}(\mathbf{r}) = E_y(x)\,\hat{\mathbf{y}}E(r)=Ey​(x)y^​

then the physical field is

E(x,t)=Re⁡{Ey(x)ejωt}y^\mathbf{E}(x,t) = \operatorname{Re} \left\{ E_y(x)e^{j\omega t} \right\} \hat{\mathbf{y}}E(x,t)=Re{Ey​(x)ejωt}y^​

The phasor method is therefore a compact way to perform calculations involving sinusoidal time variation.

A time-harmonic expression contains time dependence implicitly; the factor ejωte^{j\omega t}ejωt is restored when the actual field as a function of time is needed.


2. Testing a Proposed Field Solution

Consider the following proposed fields in free space:

E=D0μ0ϵ0cos⁡(ωμ0ϵ0 x)y^\mathbf{E} = \frac{D_0}{\sqrt{\mu_0\epsilon_0}} \cos\left(\omega\sqrt{\mu_0\epsilon_0}\,x\right) \hat{\mathbf{y}}E=μ0​ϵ0​​D0​​cos(ωμ0​ϵ0​​x)y^​

and

B=−jD0sin⁡(ωμ0ϵ0 x)z^\mathbf{B} = -jD_0 \sin\left(\omega\sqrt{\mu_0\epsilon_0}\,x\right) \hat{\mathbf{z}}B=−jD0​sin(ωμ0​ϵ0​​x)z^

The electric field has only a yyy component, and the magnetic flux density has only a zzz component. Neither field depends on yyy or zzz; both vary only with xxx.

The proposed solution is valid only if it satisfies all four Maxwell equations.


3. Checking Faraday’s Law

In phasor form, Faraday’s law is

∇×E=−jωB\nabla\times\mathbf{E} = -j\omega\mathbf{B}∇×E=−jωB

Because B\mathbf{B}B has only a zzz component, the right-hand side has only a zzz component. Therefore, the relevant component of the curl is

(∇×E)z=∂Ey∂x−∂Ex∂y(\nabla\times\mathbf{E})_z = \frac{\partial E_y}{\partial x} - \frac{\partial E_x}{\partial y}(∇×E)z​=∂x∂Ey​​−∂y∂Ex​​

Since Ex=0E_x=0Ex​=0, this reduces to

(∇×E)z=∂Ey∂x(\nabla\times\mathbf{E})_z = \frac{\partial E_y}{\partial x}(∇×E)z​=∂x∂Ey​​

Left-hand side

Let

k=ωμ0ϵ0k=\omega\sqrt{\mu_0\epsilon_0}k=ωμ0​ϵ0​​

Then

Ey=D0μ0ϵ0cos⁡(kx)E_y = \frac{D_0}{\sqrt{\mu_0\epsilon_0}}\cos(kx)Ey​=μ0​ϵ0​​D0​​cos(kx)

Differentiating with respect to xxx gives

∂Ey∂x=−D0μ0ϵ0ksin⁡(kx)\frac{\partial E_y}{\partial x} = -\frac{D_0}{\sqrt{\mu_0\epsilon_0}}k\sin(kx)∂x∂Ey​​=−μ0​ϵ0​​D0​​ksin(kx)

Substituting kkk,

∂Ey∂x=−D0μ0ϵ0ωμ0ϵ0sin⁡(kx)\frac{\partial E_y}{\partial x} = -\frac{D_0}{\sqrt{\mu_0\epsilon_0}} \omega\sqrt{\mu_0\epsilon_0} \sin(kx)∂x∂Ey​​=−μ0​ϵ0​​D0​​ωμ0​ϵ0​​sin(kx)

The square-root factors cancel:

∂Ey∂x=−ωD0sin⁡(kx)\frac{\partial E_y}{\partial x} = -\omega D_0\sin(kx)∂x∂Ey​​=−ωD0​sin(kx)

Right-hand side

The proposed magnetic flux density is

Bz=−jD0sin⁡(kx)B_z=-jD_0\sin(kx)Bz​=−jD0​sin(kx)

Therefore,

−jωBz=−jω[−jD0sin⁡(kx)]-j\omega B_z = -j\omega \left[-jD_0\sin(kx)\right]−jωBz​=−jω[−jD0​sin(kx)]

Since (−j)(−j)=−1(-j)(-j)=-1(−j)(−j)=−1,

−jωBz=−ωD0sin⁡(kx)-j\omega B_z = -\omega D_0\sin(kx)−jωBz​=−ωD0​sin(kx)

The two sides are equal:

∂Ey∂x=−jωBz\frac{\partial E_y}{\partial x} = -j\omega B_z∂x∂Ey​​=−jωBz​

Therefore, Faraday’s law is satisfied.

This confirms only one of the four equations. The remaining equations must still be checked.


Think About It

Why is it not sufficient to verify only Faraday’s law? A pair of fields may satisfy one relationship between electric and magnetic fields while violating a divergence equation or the other curl equation.


4. Checking Gauss’s Law for the Electric Field

Gauss’s law for the electric field is

∇⋅D=ρv\nabla\cdot\mathbf{D}=\rho_v∇⋅D=ρv​

In the charge-free region under consideration,

ρv=0\rho_v=0ρv​=0

Since D=ϵ0E\mathbf{D}=\epsilon_0\mathbf{E}D=ϵ0​E and ϵ0\epsilon_0ϵ0​ is constant,

∇⋅D=ϵ0∇⋅E\nabla\cdot\mathbf{D} = \epsilon_0\nabla\cdot\mathbf{E}∇⋅D=ϵ0​∇⋅E

Thus, it is enough to evaluate ∇⋅E\nabla\cdot\mathbf{E}∇⋅E.

The divergence is

∇⋅E=∂Ex∂x+∂Ey∂y+∂Ez∂z\nabla\cdot\mathbf{E} = \frac{\partial E_x}{\partial x} + \frac{\partial E_y}{\partial y} + \frac{\partial E_z}{\partial z}∇⋅E=∂x∂Ex​​+∂y∂Ey​​+∂z∂Ez​​

For the proposed field:

  • Ex=0E_x=0Ex​=0,
  • Ez=0E_z=0Ez​=0,
  • EyE_yEy​ depends on xxx, not on yyy.

Therefore,

∂Ex∂x=0,∂Ey∂y=0,∂Ez∂z=0\frac{\partial E_x}{\partial x}=0, \qquad \frac{\partial E_y}{\partial y}=0, \qquad \frac{\partial E_z}{\partial z}=0∂x∂Ex​​=0,∂y∂Ey​​=0,∂z∂Ez​​=0

and hence

∇⋅E=0\nabla\cdot\mathbf{E}=0∇⋅E=0

Consequently,

∇⋅D=0\nabla\cdot\mathbf{D}=0∇⋅D=0

Gauss’s law for the electric field is satisfied.

The reason is not merely that the field has one component. The essential point is that the nonzero component, EyE_yEy​, does not vary in the direction associated with that component, namely yyy.


5. Checking Gauss’s Law for the Magnetic Field

Gauss’s law for magnetism is

∇⋅B=0\nabla\cdot\mathbf{B}=0∇⋅B=0

The magnetic field has only a zzz component, so

∇⋅B=∂Bx∂x+∂By∂y+∂Bz∂z\nabla\cdot\mathbf{B} = \frac{\partial B_x}{\partial x} + \frac{\partial B_y}{\partial y} + \frac{\partial B_z}{\partial z}∇⋅B=∂x∂Bx​​+∂y∂By​​+∂z∂Bz​​

Here, Bx=By=0B_x=B_y=0Bx​=By​=0, and BzB_zBz​ depends on xxx, not on zzz. Therefore,

∂Bz∂z=0\frac{\partial B_z}{\partial z}=0∂z∂Bz​​=0

and

∇⋅B=0\nabla\cdot\mathbf{B}=0∇⋅B=0

Thus, Gauss’s law for magnetism is also satisfied.

Physically, ∇⋅B=0\nabla\cdot\mathbf{B}=0∇⋅B=0 expresses the fact that magnetic field lines do not begin or end at isolated magnetic charges. Instead, magnetic field lines form continuous loops or extend in a way that maintains zero net magnetic flux through a closed surface.


6. Checking the Ampère–Maxwell Law

In a source-free dielectric, there is no conduction current, so the Ampère–Maxwell law becomes

∇×H=jωϵ0E\nabla\times\mathbf{H} = j\omega\epsilon_0\mathbf{E}∇×H=jωϵ0​E

Because E\mathbf{E}E has only a yyy component, only the yyy component of the curl needs to be checked:

(∇×H)y=∂Hx∂z−∂Hz∂x(\nabla\times\mathbf{H})_y = \frac{\partial H_x}{\partial z} - \frac{\partial H_z}{\partial x}(∇×H)y​=∂z∂Hx​​−∂x∂Hz​​

Since Hx=0H_x=0Hx​=0,

(∇×H)y=−∂Hz∂x(\nabla\times\mathbf{H})_y = -\frac{\partial H_z}{\partial x}(∇×H)y​=−∂x∂Hz​​

Using B=μ0H\mathbf{B}=\mu_0\mathbf{H}B=μ0​H,

Hz=Bzμ0H_z=\frac{B_z}{\mu_0}Hz​=μ0​Bz​​

Therefore,

(∇×H)y=−1μ0∂Bz∂x(\nabla\times\mathbf{H})_y = -\frac{1}{\mu_0} \frac{\partial B_z}{\partial x}(∇×H)y​=−μ0​1​∂x∂Bz​​

The proposed BzB_zBz​ is

Bz=−jD0sin⁡(kx)B_z=-jD_0\sin(kx)Bz​=−jD0​sin(kx)

Differentiating,

∂Bz∂x=−jD0kcos⁡(kx)\frac{\partial B_z}{\partial x} = -jD_0 k\cos(kx)∂x∂Bz​​=−jD0​kcos(kx)

Thus,

(∇×H)y=−1μ0[−jD0kcos⁡(kx)](\nabla\times\mathbf{H})_y = -\frac{1}{\mu_0} \left[-jD_0 k\cos(kx)\right](∇×H)y​=−μ0​1​[−jD0​kcos(kx)]

Substituting k=ωμ0ϵ0k=\omega\sqrt{\mu_0\epsilon_0}k=ωμ0​ϵ0​​,

(∇×H)y=jωD0ϵ0μ0cos⁡(kx)(\nabla\times\mathbf{H})_y = j\omega D_0 \sqrt{\frac{\epsilon_0}{\mu_0}} \cos(kx)(∇×H)y​=jωD0​μ0​ϵ0​​​cos(kx)

Now evaluate the right-hand side:

jωϵ0Ey=jωϵ0D0μ0ϵ0cos⁡(kx)j\omega\epsilon_0 E_y = j\omega\epsilon_0 \frac{D_0}{\sqrt{\mu_0\epsilon_0}} \cos(kx)jωϵ0​Ey​=jωϵ0​μ0​ϵ0​​D0​​cos(kx)

Since

ϵ0μ0ϵ0=ϵ0μ0\frac{\epsilon_0}{\sqrt{\mu_0\epsilon_0}} = \sqrt{\frac{\epsilon_0}{\mu_0}}μ0​ϵ0​​ϵ0​​=μ0​ϵ0​​​

the right-hand side becomes

jωD0ϵ0μ0cos⁡(kx)j\omega D_0 \sqrt{\frac{\epsilon_0}{\mu_0}} \cos(kx)jωD0​μ0​ϵ0​​​cos(kx)

This matches the left-hand side. Therefore, the Ampère–Maxwell law is satisfied.

Because all four Maxwell equations are satisfied, the proposed fields form a valid time-harmonic solution.


7. Interpretation as Standing Waves

The fields vary with position through cos⁡(kx)\cos(kx)cos(kx) and sin⁡(kx)\sin(kx)sin(kx):

Ey∝cos⁡(kx)E_y\propto\cos(kx)Ey​∝cos(kx) Bz∝sin⁡(kx)B_z\propto\sin(kx)Bz​∝sin(kx)

This type of spatial dependence is characteristic of a standing wave. Standing waves commonly occur when electromagnetic fields are confined between conducting boundaries. Reflections from the conductors combine with the original fields, producing fixed spatial patterns rather than a pattern that simply travels in one direction.

The electric and magnetic fields are shifted relative to each other in space: where the cosine electric field reaches an extreme, the sine magnetic field may be zero, and vice versa. Such spatial relationships are a defining feature of the standing-wave structure.


8. Electromagnetic Boundary Conditions

Maxwell’s equations also determine how fields behave at the interface between two materials.

Two important interfaces are:

  • a dielectric–dielectric boundary,
  • a dielectric–conductor boundary.

The boundary conditions are obtained by applying the integral forms of Maxwell’s equations to very small surfaces or loops that straddle the interface.

Let region 111 and region 222 meet at a boundary. The subscripts 111 and 222 identify the field values immediately on either side.


9. Normal Component of Magnetic Flux Density

The integral form of Gauss’s law for magnetism is

∮SB⋅dS=0\oint_S\mathbf{B}\cdot d\mathbf{S}=0∮S​B⋅dS=0

A very small pillbox crossing the boundary has contributions from its two flat faces. As the pillbox height approaches zero, the side contribution vanishes, leaving

Bn1=Bn2B_{n1}=B_{n2}Bn1​=Bn2​

Therefore, the normal component of B\mathbf{B}B is always continuous:

Bn1=Bn2\boxed{B_{n1}=B_{n2}}Bn1​=Bn2​​

This condition applies at both dielectric–dielectric and dielectric–conductor interfaces.

The physical reason is that magnetic flux cannot terminate at a magnetic charge. If the normal magnetic flux density were discontinuous, the boundary would behave like a source or sink of magnetic flux.


10. Normal Component of Electric Flux Density

Gauss’s law for the electric field is

∮SD⋅dS=Qenclosed\oint_S\mathbf{D}\cdot d\mathbf{S}=Q_{\text{enclosed}}∮S​D⋅dS=Qenclosed​

For a small pillbox around the interface, any charge concentrated on the surface contributes a surface charge density ρs\rho_sρs​. The resulting boundary condition is

Dn1−Dn2=ρsD_{n1}-D_{n2}=\rho_sDn1​−Dn2​=ρs​

Thus,

Dn1−Dn2=ρs\boxed{D_{n1}-D_{n2}=\rho_s}Dn1​−Dn2​=ρs​​

Dielectric–dielectric boundary

At an interface between two dielectrics, the idealized surface charge density is zero:

ρs=0\rho_s=0ρs​=0

Therefore,

Dn1=Dn2D_{n1}=D_{n2}Dn1​=Dn2​

The normal component of D\mathbf{D}D is continuous.

Dielectric–conductor boundary

A conductor can support charge concentrated in a very thin layer near its surface. Therefore, ρs\rho_sρs​ may be nonzero, and the normal component of D\mathbf{D}D can be discontinuous:

Dn1−Dn2=ρsD_{n1}-D_{n2}=\rho_sDn1​−Dn2​=ρs​

The discontinuity is exactly accounted for by the surface charge.


Think About It

What would a jump in the normal component of D\mathbf{D}D indicate? It would indicate that electric charge is concentrated on the interface, because the difference in flux entering and leaving a tiny pillbox must be supplied by enclosed surface charge.


11. Tangential Component of the Electric Field

Faraday’s law in integral form is

∮CE⋅dl=−∫S∂B∂t⋅dS\oint_C\mathbf{E}\cdot d\mathbf{l} = -\int_S \frac{\partial\mathbf{B}}{\partial t} \cdot d\mathbf{S}∮C​E⋅dl=−∫S​∂t∂B​⋅dS

Consider a very small rectangular loop that crosses the boundary. Let the length of the loop along the interface be Δl\Delta lΔl, and let its height across the boundary be Δw\Delta wΔw.

The line integral gives approximately

Et1Δl−Et2ΔlE_{t1}\Delta l-E_{t2}\Delta lEt1​Δl−Et2​Δl

The surface on the right-hand side has area approximately

Δl Δw\Delta l\,\Delta wΔlΔw

Therefore, the magnetic-flux term is proportional to

∂B∂tΔl Δw\frac{\partial B}{\partial t}\Delta l\,\Delta w∂t∂B​ΔlΔw

As the loop height approaches zero,

Δw→0\Delta w\rightarrow 0Δw→0

If the time derivative of the magnetic field remains finite, the right-hand side approaches zero. After canceling Δl\Delta lΔl,

Et1=Et2E_{t1}=E_{t2}Et1​=Et2​

Thus, the tangential electric field is continuous:

Et1=Et2\boxed{E_{t1}=E_{t2}}Et1​=Et2​​

This condition applies at both dielectric–dielectric and dielectric–conductor boundaries, provided the fields remain finite and do not become singular.


12. Tangential Component of the Magnetic Field

The Ampère–Maxwell law in integral form is

∮CH⋅dl=Iconduction+∫S∂D∂t⋅dS\oint_C\mathbf{H}\cdot d\mathbf{l} = I_{\text{conduction}} + \int_S \frac{\partial\mathbf{D}}{\partial t} \cdot d\mathbf{S}∮C​H⋅dl=Iconduction​+∫S​∂t∂D​⋅dS

For the small rectangular loop, the left-hand side becomes

Ht1Δl−Ht2ΔlH_{t1}\Delta l-H_{t2}\Delta lHt1​Δl−Ht2​Δl

The displacement-current contribution is proportional to

∂D∂tΔl Δw\frac{\partial D}{\partial t}\Delta l\,\Delta w∂t∂D​ΔlΔw

As Δw→0\Delta w\rightarrow 0Δw→0, this term vanishes if the field remains finite.

Dielectric–dielectric interface

There is no conduction current in an ideal dielectric. Therefore, both the conduction-current term and the shrinking displacement-current term vanish, giving

Ht1=Ht2H_{t1}=H_{t2}Ht1​=Ht2​

Thus, the tangential magnetic field is continuous across a dielectric–dielectric boundary:

Ht1=Ht2\boxed{H_{t1}=H_{t2}}Ht1​=Ht2​​

Ideal conductor–dielectric interface

A conductor can carry current concentrated in a very thin region near its surface. In an ideal conductor, the conductivity is treated as becoming extremely large:

σ→∞\sigma\rightarrow\inftyσ→∞

At the same time, the electric field inside the ideal conductor becomes very small. The product of a very large conductivity and a very small electric field can remain finite:

J=σE\mathbf{J}=\sigma\mathbf{E}J=σE

This finite limiting current is called a surface current density or current sheet. It is concentrated in a thin layer inside the conductor, associated physically with the skin depth.

Consequently, the tangential magnetic field need not be continuous at a conductor–dielectric interface. Its discontinuity is supported by the surface current on the conductor wall.


13. Summary of Boundary Conditions

The principal boundary conditions are:

Field componentDielectric–dielectric boundaryBoundary with a conductor
Normal B\mathbf{B}BContinuousContinuous
Normal D\mathbf{D}DContinuous if ρs=0\rho_s=0ρs​=0May jump by ρs\rho_sρs​
Tangential E\mathbf{E}EContinuousContinuous under finite-field assumptions
Tangential H\mathbf{H}HContinuous if no surface currentMay jump because of surface current

In compact form:

Bn1=Bn2B_{n1}=B_{n2}Bn1​=Bn2​ Dn1−Dn2=ρsD_{n1}-D_{n2}=\rho_sDn1​−Dn2​=ρs​ Et1=Et2E_{t1}=E_{t2}Et1​=Et2​

For the magnetic field, a surface current produces a jump in the tangential component. Without surface current, the tangential components are continuous.


14. Uniqueness of Electromagnetic Solutions

A uniqueness theorem states that once the appropriate sources and boundary conditions have been specified, the electric and magnetic fields satisfying Maxwell’s equations are uniquely determined, apart from irrelevant constants in certain formulations.

Earlier, uniqueness may be discussed in terms of electromagnetic potentials. The same general idea applies directly to the fields:

If electric and magnetic fields satisfy Maxwell’s equations, the specified source conditions, and the required boundary conditions, then the resulting electromagnetic solution is unique.

This matters because it means that finding one valid solution is enough. There cannot be a second physically different field configuration satisfying exactly the same complete set of requirements.

Radiation conditions

For an open region extending to infinity, the boundary does not physically form a closed finite surface. A condition at infinity is then needed. The fields must decay sufficiently rapidly as the distance rrr becomes large.

The radiation conditions can be expressed as

rE→0r\mathbf{E}\rightarrow 0rE→0

and

rB→0r\mathbf{B}\rightarrow 0rB→0

as r→∞r\rightarrow\inftyr→∞.

These conditions ensure that the fields decay faster than, or sufficiently relative to, a 1/r1/r1/r behavior so that unwanted solutions at infinity are excluded.


Think About It

Why is a condition at infinity necessary for an open electromagnetic problem? Without it, additional mathematical field patterns could remain possible far from the sources, preventing the boundary-value problem from selecting one unique solution.


15. Are All Four Maxwell Equations Independent?

A subtle question is whether every Maxwell equation must be included independently, or whether some can be derived from the others.

The relevant vector-calculus identity is

∇⋅(∇×A)=0\nabla\cdot(\nabla\times\mathbf{A})=0∇⋅(∇×A)=0

for any sufficiently smooth vector field A\mathbf{A}A.

Applying the identity to Faraday’s law

Start with

∇×E=−∂B∂t\nabla\times\mathbf{E} = -\frac{\partial\mathbf{B}}{\partial t}∇×E=−∂t∂B​

Take the divergence of both sides:

∇⋅(∇×E)=−∂∂t(∇⋅B)\nabla\cdot(\nabla\times\mathbf{E}) = -\frac{\partial}{\partial t} (\nabla\cdot\mathbf{B})∇⋅(∇×E)=−∂t∂​(∇⋅B)

The left-hand side is zero, so

0=−∂∂t(∇⋅B)0 = -\frac{\partial}{\partial t} (\nabla\cdot\mathbf{B})0=−∂t∂​(∇⋅B)

Therefore,

∂∂t(∇⋅B)=0\frac{\partial}{\partial t} (\nabla\cdot\mathbf{B})=0∂t∂​(∇⋅B)=0

This shows that ∇⋅B\nabla\cdot\mathbf{B}∇⋅B must be constant in time:

∇⋅B=K\nabla\cdot\mathbf{B}=K∇⋅B=K

where KKK is a time-independent constant.

Mathematics alone does not force KKK to equal zero. The conclusion K=0K=0K=0 depends on the physical observation that magnetic charges have not been detected. If isolated magnetic charges existed, they would act as sources or sinks of magnetic flux.

Thus, the statement

∇⋅B=0\nabla\cdot\mathbf{B}=0∇⋅B=0

has both:

  • a mathematical connection to Faraday’s law,
  • an experimental foundation based on the observed absence of magnetic charge.

The zero value represents the physical content that magnetic field lines do not originate or terminate on magnetic monopoles.


16. The Ampère–Maxwell Law and Charge Continuity

Now consider the Ampère–Maxwell equation:

∇×H=J+∂D∂t\nabla\times\mathbf{H} = \mathbf{J} + \frac{\partial\mathbf{D}}{\partial t}∇×H=J+∂t∂D​

Taking the divergence of both sides gives

∇⋅(∇×H)=∇⋅J+∂∂t(∇⋅D)\nabla\cdot(\nabla\times\mathbf{H}) = \nabla\cdot\mathbf{J} + \frac{\partial}{\partial t} (\nabla\cdot\mathbf{D})∇⋅(∇×H)=∇⋅J+∂t∂​(∇⋅D)

Using the curl-divergence identity,

0=∇⋅J+∂∂t(∇⋅D)0 = \nabla\cdot\mathbf{J} + \frac{\partial}{\partial t} (\nabla\cdot\mathbf{D})0=∇⋅J+∂t∂​(∇⋅D)

If Gauss’s law is used,

∇⋅D=ρv\nabla\cdot\mathbf{D}=\rho_v∇⋅D=ρv​

then

∇⋅J+∂ρv∂t=0\nabla\cdot\mathbf{J} + \frac{\partial\rho_v}{\partial t} = 0∇⋅J+∂t∂ρv​​=0

This is the continuity equation:

∇⋅J+∂ρv∂t=0\boxed{ \nabla\cdot\mathbf{J} + \frac{\partial\rho_v}{\partial t} = 0 }∇⋅J+∂t∂ρv​​=0​

The continuity equation expresses conservation of electric charge. If current flows out of a region, the charge stored in that region must decrease. Charge cannot simply appear or disappear.

Which equation is fundamental?

There is an important logical distinction.

One may begin with the Ampère–Maxwell law and Gauss’s law, then derive the continuity equation. Alternatively, one might try to treat the continuity equation as a source condition and use it to motivate Gauss’s law.

The standard convention is to treat

∇⋅D=ρv\nabla\cdot\mathbf{D}=\rho_v∇⋅D=ρv​

as one of Maxwell’s equations because it directly relates the electric field to the charge distribution. The continuity equation is then added as a conservation law governing the sources.

The fields and sources play different roles:

  • Charge and current distributions act as sources.
  • Electric and magnetic fields are generated by those sources.
  • The fields then exert forces on charges and currents.

The four Maxwell equations describe the field relationships, while the continuity equation ensures that the source distributions obey charge conservation.


17. Why Charge Conservation Matters

If charge conservation were ignored, a theory could permit charge to be created without an associated physical process. Such unrestricted creation of charge would conflict with the conservation principles of physics and could imply unphysical production of energy.

The continuity equation prevents this by enforcing a local balance:

  • charge leaving a volume reduces the charge stored there,
  • charge entering a volume increases the stored charge,
  • changes in charge density must be associated with current flow.

This is why Maxwell’s equations must be interpreted together with physical conservation laws and experimental facts. Mathematical manipulation can reveal relationships among equations, but the physical meaning of those equations comes from how fields and sources behave in nature.


Comprehensive Review

A proposed electromagnetic field is a valid Maxwell solution only after all relevant equations have been checked. For the fields

E=D0μ0ϵ0cos⁡(ωμ0ϵ0 x)y^\mathbf{E} = \frac{D_0}{\sqrt{\mu_0\epsilon_0}} \cos\left(\omega\sqrt{\mu_0\epsilon_0}\,x\right) \hat{\mathbf{y}}E=μ0​ϵ0​​D0​​cos(ωμ0​ϵ0​​x)y^​

and

B=−jD0sin⁡(ωμ0ϵ0 x)z^\mathbf{B} = -jD_0 \sin\left(\omega\sqrt{\mu_0\epsilon_0}\,x\right) \hat{\mathbf{z}}B=−jD0​sin(ωμ0​ϵ0​​x)z^

the following facts establish validity:

  • Faraday’s law is satisfied because ∂Ey/∂x\partial E_y/\partial x∂Ey​/∂x equals −jωBz-j\omega B_z−jωBz​.
  • Gauss’s law for the electric field is satisfied because ∇⋅E=0\nabla\cdot\mathbf{E}=0∇⋅E=0.
  • Gauss’s law for magnetism is satisfied because ∇⋅B=0\nabla\cdot\mathbf{B}=0∇⋅B=0.
  • The Ampère–Maxwell law is satisfied because ∇×H=jωϵ0E\nabla\times\mathbf{H}=j\omega\epsilon_0\mathbf{E}∇×H=jωϵ0​E.

The spatial sine and cosine dependence is characteristic of standing waves, which can occur in regions bounded by conductors.

At material boundaries:

  • The normal component of B\mathbf{B}B is continuous.
  • The normal component of D\mathbf{D}D changes by the surface charge density.
  • The tangential component of E\mathbf{E}E is continuous when fields remain finite.
  • The tangential component of H\mathbf{H}H is continuous across a dielectric–dielectric interface but can be discontinuous at a conductor because of surface current density.

Finally, valid solutions are unique when Maxwell’s equations, sources, boundary conditions, and—where necessary—radiation conditions are specified. Taking the divergence of a curl equation reveals relationships such as ∂(∇⋅B)/∂t=0\partial(\nabla\cdot\mathbf{B})/\partial t=0∂(∇⋅B)/∂t=0 and the charge-continuity equation, but mathematical relationships do not replace the physical and experimental principles that complete Maxwell’s theory.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent