Maxwell’s Equations Solutions
Maxwell’s Equations: Validating Solutions, Boundary Conditions, and Equation Relationships
1. Checking Whether Proposed Fields Satisfy Maxwell’s Equations
A proposed electric and magnetic field is a valid electromagnetic solution only if it satisfies all four Maxwell’s equations in the relevant medium and under the assumed time dependence.
A field expression may be acceptable in a quasistatic approximation but fail as a complete solution to Maxwell’s equations if even one of the equations is not satisfied. Therefore, each equation must be checked individually.
2. Time-Harmonic Field Representation
For time-harmonic electromagnetic fields, the physical fields vary sinusoidally in time. Instead of explicitly carrying the time dependence through every calculation, phasor notation is used.
With the convention of an ejωt time dependence,
Thus, Maxwell’s equations in a source-free medium become
The time dependence has not disappeared physically. It is represented implicitly by multiplying the phasor field by ejωt and taking the real part:
For example, if the phasor electric field has only a y component,
then the actual time-dependent field is obtained from
Time-harmonic notation simplifies derivatives but does not eliminate the physical time variation.
3. Example of a Proposed Field Pair in Free Space
Consider free space, for which
Suppose the proposed fields are
with
and
with
The fields have the following characteristics:
The electric field points in the y direction.
The magnetic flux density points in the z direction.
Both fields vary spatially with x.
The fields are represented in phasor form.
There are no free charges or conduction currents in the region.
The validity of this field pair is tested using each of Maxwell’s equations.
4. Verification of Faraday’s Law
Faraday’s law in phasor form is
Since B has only a z component, only the z component of ∇×E needs to be compared with the right-hand side.
The z component of the curl is
Because Ex=0,
Right-hand side
Using the proposed Bz,
Since (−j)(−j)=−1,
Left-hand side
Differentiating Ey with respect to x gives
The square-root factors cancel:
Therefore,
for the nonzero component. The other curl components are zero on both sides.
Faraday’s law is satisfied.
5. Verification of Gauss’s Law for the Electric Field
Gauss’s law for the electric field is
In a charge-free region,
For a homogeneous medium,
where ϵ is constant. Thus,
The divergence of the electric field is
For the proposed field,
Ex=0,
Ez=0,
Ey depends on x, not on y.
Therefore,
Consequently,
and hence
Gauss’s law for the electric field is satisfied because the proposed field corresponds to a charge-free region.
6. Verification of Gauss’s Law for the Magnetic Field
Gauss’s law for magnetism is
The proposed magnetic flux density has only a z component, so
Because Bx=By=0 and Bz depends on x, not on z,
Therefore,
Gauss’s law for magnetism is satisfied. This expresses the absence of experimentally observed magnetic charges or magnetic monopoles.
7. Verification of the Ampère–Maxwell Law
The Ampère–Maxwell law is
In a perfect dielectric with no conduction current,
Therefore,
Because E has only a y component, only the y component of the curl needs to be evaluated:
Since Hx=0,
The relationship between B and H in free space is
so
Thus,
Using
its derivative is
Therefore,
Since
this becomes
The right-hand side is
Because
the two expressions are identical. Hence,
The Ampère–Maxwell law is also satisfied.
8. Conclusion of the Field-Validation Example
All four Maxwell equations are satisfied:
Faraday’s law,
Gauss’s law for the electric field,
Gauss’s law for the magnetic field,
The Ampère–Maxwell law.
Therefore, the proposed fields
and
form a valid time-harmonic solution in free space.
The spatial dependence involving cosine and sine functions is characteristic of standing waves. Such fields commonly occur in waveguides or in regions bounded by conducting surfaces, where waves reflected from boundaries combine to form stationary spatial patterns.
9. Electromagnetic Boundary Conditions
Boundary conditions describe how electromagnetic fields behave at the interface between two materials.
Two important interfaces are:
A dielectric–conductor interface.
A dielectric–dielectric interface.
Let medium 1 and medium 2 meet at a boundary. The subscripts 1 and 2 identify the fields on the two sides.
The field components are separated into:
Normal components, perpendicular to the interface.
Tangential components, parallel to the interface.
10. Normal Component of Magnetic Flux Density
Gauss’s law for magnetism is
Applying this law to a small pillbox crossing the boundary gives
Thus, the normal component of magnetic flux density is always continuous:
The normal component of B does not jump across an interface.
This condition applies to both dielectric–dielectric and dielectric–conductor boundaries.
11. Normal Component of Electric Flux Density
Gauss’s law for the electric field is
Using a small pillbox across the interface gives
where ρs is the free surface charge density at the interface.
Dielectric–dielectric boundary
At an ordinary dielectric–dielectric interface, there is generally no free surface charge:
Therefore,
Dielectric–conductor boundary
A conductor can support free charge on its surface, so
with a potentially nonzero ρs.
The surface charge occupies a very thin layer near the conductor boundary.
The normal component of D changes by an amount equal to the free surface charge density.
12. Tangential Component of the Electric Field
Faraday’s law in integral form is
Consider a very small rectangular loop straddling the boundary. As the loop’s height across the interface approaches zero, the left side becomes
The right side contains the surface area ΔlΔw:
After canceling Δl and taking Δw→0, the right-hand side vanishes provided the time derivative of the magnetic field remains finite. Therefore,
Thus, the tangential electric field is continuous across ordinary interfaces.
This applies to:
Dielectric–dielectric boundaries.
Physical dielectric–conductor boundaries, provided fields remain finite and the idealization does not introduce singular behavior.
The tangential component of E is continuous across an interface.
For an ideal conductor, the electric field inside the conductor is zero. Consequently, the tangential electric field immediately outside an ideal conductor must also be zero:
at the conductor’s surface.
13. Tangential Component of the Magnetic Field
The Ampère–Maxwell law in integral form is
For a small rectangular loop crossing an interface, the left side becomes
The right-hand side can contain:
A conduction-current contribution.
A displacement-current contribution.
13.1 Dielectric–Dielectric Interface
For two ideal dielectrics, the conduction current density is zero:
If the displacement-current density remains finite, its contribution vanishes as the loop width approaches zero. Consequently,
Thus, the tangential magnetic field is continuous across a dielectric–dielectric interface when no surface current exists.
At a dielectric–dielectric boundary with no surface current, the tangential component of H is continuous.
13.2 Interface with a Conductor
A conductor can carry a surface current. The general boundary condition is
where K is the surface-current density.
Equivalently, the tangential magnetic field may experience a discontinuity equal to the surface current density.
In an ordinary conductor,
where σ is the conductivity. For an ideal conductor,
The electric field inside an ideal conductor approaches zero, but the product σE can remain finite. This is an example of a limiting product in which one quantity becomes very large while another becomes very small.
The resulting current is concentrated near the conductor’s surface and is represented by a surface current density or current sheet.
13.3 Skin Depth and Current Sheets
Time-varying currents do not generally penetrate deeply into a good conductor. Instead, they are confined to a thin region near the surface called the skin depth.
The surface current:
Exists within a thin layer inside the conductor.
Produces a discontinuity in the tangential magnetic field.
Can vary with time.
Is especially important at conducting walls of waveguides and electromagnetic cavities.
Thus, at a conductor–dielectric boundary, the tangential magnetic field need not be continuous.
14. Summary of Electromagnetic Boundary Conditions
Normal magnetic flux density
This always holds because magnetic monopoles have not been observed.
Normal electric flux density
For dielectric–dielectric interfaces: ρs=0, so Dn1=Dn2.
For conductor interfaces: ρs may be nonzero.
Tangential electric field
For an ideal conductor, the tangential electric field at the surface is zero.
Tangential magnetic field
In the absence of surface current,
With a surface current density K,
15. Uniqueness of Electromagnetic Field Solutions
A uniqueness theorem states that once appropriate sources and boundary conditions are specified, the electromagnetic field solution is uniquely determined, apart from physically irrelevant constants.
For electrostatics, specifying:
The charge distribution in a region.
The potential or appropriate boundary information on the boundary.
is sufficient to determine a unique potential and therefore a unique electric field.
A corresponding theorem applies directly to electromagnetic fields. If electric and magnetic fields satisfy:
Maxwell’s equations.
The specified source distributions.
The required boundary conditions.
then the resulting fields are unique.
A valid field solution satisfying Maxwell’s equations and the required boundary conditions is the unique physical solution for that problem.
15.1 Open Boundaries and Radiation Conditions
The boundary need not always be a finite closed surface. For open regions extending to infinity, uniqueness can still be obtained if the fields decay sufficiently rapidly at large distance.
The required radiation conditions are
and
These conditions mean that the fields must decrease at least as rapidly as 1/r in the appropriate limiting sense.
Such conditions prevent arbitrary incoming or nonphysical fields from being added to the solution at infinity.
16. Relationships Among Maxwell’s Equations
A common question is whether all four Maxwell equations are mathematically independent.
In vacuum or a charge-free region, Maxwell’s equations can be written as
and, more generally,
Vector calculus identities and experimental laws must both be considered when discussing their independence.
16.1 Taking the Divergence of Faraday’s Law
Start with
The divergence of any curl is identically zero:
Taking the divergence of both sides gives
Therefore,
This implies only that ∇⋅B is constant in time:
where K is a time-independent constant.
Mathematics alone does not require K=0.
16.2 Why ∇⋅B=0
The condition
is associated with the experimental fact that magnetic monopoles have not been observed.
If magnetic charges existed, the magnetic Gauss law would instead have a source term, analogous to electric charge in Gauss’s electric law. Since no such magnetic charges have been detected, magnetic field lines are treated as continuous closed curves or as lines that extend continuously without beginning or ending at an isolated magnetic charge.
Therefore, the conclusion ∇⋅B=0 depends on both:
The mathematical identity that the divergence of a curl is zero.
The experimental observation that magnetic charges do not exist in nature.
It is therefore inaccurate to claim that the magnetic divergence equation is obtained solely from Faraday’s law by mathematics. The mathematical derivation establishes time independence; the physical observation fixes the constant to zero.
The absence of magnetic monopoles is an experimental physical law, not merely a mathematical consequence of the curl equations.
17. Taking the Divergence of the Ampère–Maxwell Law
The Ampère–Maxwell law is
Taking the divergence of both sides gives
Since the divergence of a curl is zero,
Using Gauss’s law,
gives
This is the continuity equation.
17.1 Physical Meaning of the Continuity Equation
The continuity equation expresses conservation of electric charge:
It means that charge cannot appear or disappear arbitrarily.
If current flows out of a small volume, the charge density inside that volume decreases.
If current flows into a small volume, the charge density increases.
Charge accumulation and current divergence are directly related.
The continuity equation describes the behavior of sources—charge and current—rather than directly describing the electromagnetic fields.
17.2 Maxwell’s Equation Versus the Continuity Equation
There is a logical distinction between:
Gauss’s law for electricity:
∇⋅D=ρvThe continuity equation:
∇⋅J+∂t∂ρv=0
The continuity equation is a conservation law for charge and is treated as a source relationship. Gauss’s law directly relates the electric field to the charge distribution.
The usual formulation considers the four Maxwell equations to be:
Faraday’s law.
The Ampère–Maxwell law.
Gauss’s law for magnetism.
Gauss’s law for electricity.
The continuity equation is used in addition to Maxwell’s equations as a required conservation relation.
18. Fields, Sources, and Forces
Electromagnetic theory separates physical quantities into two broad categories.
Sources
Charge density ρv.
Current density J.
Surface charge density ρs.
Surface current density K.
These act as sources that generate electromagnetic fields.
Fields
Electric field intensity E.
Magnetic field intensity H.
Electric flux density D.
Magnetic flux density B.
The fields then act on charges and currents, producing electromagnetic forces.
This distinction is important:
Maxwell’s equations describe how sources generate fields.
The Lorentz force law describes how fields act on charges and currents.
The continuity equation ensures that the source charges and currents obey conservation of charge.
If charge could be generated without restriction, the theory would permit the creation of unlimited energy and would violate fundamental physical conservation principles. Charge conservation is therefore essential to a physically consistent electromagnetic theory.

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