Maxwell’s Equations Solutions


Maxwell’s Equations Solutions

Corey
In this module, we continue studying Maxwell’s equations by learning how to test a proposed electric and magnetic field solution. The strategy is straightforward: assume someone has given us expressions for the fields, then substitute them into each Maxwell equation and check whether every equation is satisfied. A field expression may work in a quasistatic approximation but still fail as a complete solution of Maxwell’s equations.

Hope
So we are not just asking whether the fields look reasonable. We are checking them against all four equations.

Corey
Exactly. Consider free space, where the permittivity is epsilon naught and the permeability is mu naught. Suppose the only electric-field component is E sub y, given by D naught divided by the square root of mu naught epsilon naught, multiplied by cosine of omega times the square root of mu naught epsilon naught times x. The proposed magnetic flux density has only a z component: B sub z equals negative j D naught times sine of that same argument.

Hope
Those expressions seem to depend only on x, not on time. Did the time dependence disappear?

Corey
No. These are time-harmonic, or phasor, expressions. When fields vary harmonically in time, time derivatives can be replaced by multiplication by j omega, so the explicit time factor is temporarily suppressed. To recover a physical electric field, convert the scalar E sub y into the vector E sub y times the unit vector in the y direction, multiply by e to the j omega t, and take the real part. The resulting physical field depends on both space and time.

Hope
So for checking the solution, we can remain in the time-harmonic form and use the frequency-domain Maxwell equations.

Corey
Right. Start with Faraday’s law: the curl of E equals negative j omega B. Since B has only a z component, we only need the z component of the curl of E. That component is partial E sub y over partial x minus partial E sub x over partial y. Because E sub x is zero, this reduces to partial E sub y over partial x equals negative j omega B sub z.

Hope
Let’s check both sides explicitly.

Corey
For the right-hand side, negative j omega B sub z becomes negative j omega multiplied by negative j D naught sine of the argument. Since negative j times negative j equals negative one, the result is negative omega D naught sine of omega times the square root of mu naught epsilon naught times x. For the left-hand side, differentiating the cosine produces a negative sine and brings out omega times the square root of mu naught epsilon naught. The square-root factors cancel, leaving exactly negative omega D naught times that sine. Faraday’s law is therefore satisfied.

Hope
That verifies one equation. What about Gauss’s law for the electric field?

Corey
In charge-free free space, D equals epsilon naught E and the equation is divergence of D equals zero, or equivalently divergence of E equals zero because epsilon naught is constant. The divergence contains partial E sub x over partial x, partial E sub y over partial y, and partial E sub z over partial z. E sub x and E sub z are zero, while E sub y depends on x rather than y, so partial E sub y over partial y is also zero. Thus the electric divergence is zero.

Hope
And Gauss’s law for magnetism should be similar?

Corey
Yes. Since the only magnetic component is B sub z, and B sub z depends on x rather than z, its divergence is partial B sub z over partial z, which is zero. Therefore the proposed fields also satisfy divergence of B equals zero.

Hope
That leaves the Ampere-Maxwell equation.

Corey
Correct. There is no conduction-current density in this perfectly dielectric free-space example, so the time-harmonic equation is curl of H equals j omega epsilon naught E. We only need the y component. That component is partial H sub x over partial z minus partial H sub z over partial x. H sub x is zero, and H sub z equals B sub z divided by mu naught, so the left side becomes negative one over mu naught times partial B sub z over partial x.

Hope
Differentiating B sub z changes the sine into a cosine and brings out the same factor omega times the square root of mu naught epsilon naught.

Corey
Exactly. After including the negative sign from the curl and simplifying, the left-hand side becomes j omega times epsilon naught times D naught divided by the square root of mu naught epsilon naught, multiplied by the cosine term. That is precisely j omega epsilon naught E sub y. So Ampere-Maxwell’s law is satisfied too.

Hope
Since all four equations work, this pair is a valid time-harmonic Maxwell solution.

Corey
Yes. The electric field with its y-directed cosine dependence and the magnetic flux density with its z-directed sine dependence satisfy Faraday’s law, both divergence equations, and Ampere-Maxwell’s law. Later, this type of sine-and-cosine spatial pattern appears in waveguides and is associated with standing waves, especially in regions bounded by conductors.

Hope
Let’s move to the boundary conditions. What remains unchanged at an interface?

Corey
From the integral form of Gauss’s law for magnetism, the normal component of B is continuous: B normal one equals B normal two. From Gauss’s electric law, the normal components of D satisfy D normal one minus D normal two equals the surface charge density. At a dielectric-conductor boundary, a surface charge can exist, so the difference can equal rho sub s. At a dielectric-dielectric boundary, there is no surface charge in this discussion, so the difference is zero.

Hope
What happens to the tangential electric field?

Corey
Apply Faraday’s integral law to a very small rectangular loop crossing the interface. The two long sides produce the difference between the tangential electric fields, while the magnetic-flux term is proportional to the loop’s shrinking width. If the time derivative of B remains finite, that flux term goes to zero as the width goes to zero. Therefore the tangential component of E is continuous: E tangential one equals E tangential two. This applies to dielectric-dielectric interfaces and also to conductors when fields are treated as finite.

Hope
And the tangential magnetic-field condition is the one that can change at an ideal conductor?

Corey
Yes. Ampere’s law applied to the same kind of small loop relates the difference in tangential H to conduction current plus displacement current through the narrow surface. For a dielectric-dielectric boundary, conduction current is zero, and the shrinking-area terms vanish, so tangential H is continuous. At an ideal conductor-dielectric boundary, however, conductivity is treated as becoming extremely large while the electric field inside becomes very small. Their product can remain finite, producing a surface current density, or current sheet.

Hope
That current is concentrated near the conductor surface?

Corey
Right. The time-varying current exists in a thin layer inside the conductor called the skin depth. Thus, conductor walls can support current sheets, and the tangential H field can have a nonzero jump corresponding to that surface current.

Hope
The module also mentions uniqueness. How does that apply to the fields?

Corey
A uniqueness theorem can be stated for electric and magnetic fields, not only for potentials. Once fields have been found that satisfy Maxwell’s equations along with the required boundary information and source distributions, the solution is unique, apart from constants that are not important here. The usual closed-surface conditions can be extended to an open surface reaching infinity if the fields satisfy radiation conditions: r times E must go to zero and r times B must go to zero as r goes to infinity.

Hope
So the fields must decay at least fast enough that rE and rB approach zero.

Corey
Exactly. The detailed proof of that version of the uniqueness theorem is beyond this module, but the key message is that Maxwell’s equations and the appropriate boundary or radiation conditions select one field solution.

Hope
There is one conceptual question left: are all four Maxwell equations mathematically independent?

Corey
Consider Faraday’s law and take its divergence. The divergence of a curl is identically zero, so zero equals negative the time derivative of divergence of B. This tells us that divergence of B is constant in time, not automatically that it is zero. To set that constant to zero, we use the physical observation that magnetic charges have never been detected. In physical terms, magnetic field lines have no observed sources or sinks and close continuously.

Hope
So saying divergence of B equals zero involves both mathematics and an experimental fact.

Corey
Precisely. Blindly arguing that a zero time derivative means the quantity itself is zero would be incorrect; it could be any constant. The reason the constant is taken to be zero is the absence of magnetic charge, supported by experiment. That is why Gauss’s law for magnetism should not be dismissed as merely a mathematical consequence of Faraday’s law.

Hope
Does a similar issue arise from Ampere-Maxwell’s law?

Corey
Yes. Taking the divergence of curl of H gives zero, so the equation implies divergence of J plus the time derivative of divergence of D equals zero. If divergence of D is identified with volume charge density, this becomes the continuity equation: divergence of J plus partial rho sub v over partial t equals zero. That equation expresses conservation of charge.

Hope
But the continuity equation should not simply be treated as another equation derived from Maxwell’s equations?

Corey
The important distinction is that charge continuity is a conservation principle about the sources, while divergence of D equals charge density directly relates the electric field to its source. The conventional choice is to count divergence of D equals rho sub v as one of Maxwell’s equations and supplement the four field equations with the continuity equation. Treating the source-conservation relation carelessly could suggest that charge is created without effort, which would conflict with physical conservation and lead to unacceptable consequences such as unlimited energy generation.

Hope
So the complete picture is: Maxwell’s equations connect charges and currents to electric and magnetic fields, while the continuity equation ensures that the sources themselves obey charge conservation.

Corey
Exactly. Charges and currents generate the fields, and the fields act on charges and currents to produce force effects. The four Maxwell equations describe the field relationships, boundary conditions describe how fields meet across materials, radiation conditions help establish uniqueness at infinity, and the continuity equation separately enforces conservation of charge.

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