Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random |  
Login
create new user
Username:
Password:
forget your password?
Main Menu
Sections

Meta

Talkback

Downloads

Information
[parent] Electromagnetic Waves: Maxwell's Equations as a Complete System - Exercises and Complete Worked Solutions (Example)

Electromagnetic Waves, Antennas, and RF: Maxwell’s Equations as a Complete System - Exercises and Complete Worked Solutions

This companion article extends EM15 from recognition of Maxwell’s four equations to active use of the complete system. The problems emphasize geometric interpretation, dimensional checks, reconstruction of sources from fields, equivalence of integral and differential forms, constraint propagation, cylindrical induction problems, and a first plane-wave calculation that prepares the transition to the electromagnetic wave equation.

The complete differential system in vacuum with charge density ρ and current density J is

|------------|
|∇ ⋅ E =  ρ-,|
----------𝜖0--|
(1)

|----------|
|∇ ⋅ B = 0,|
------------
(2)

|----------------|
|           ∂B-- |
|∇ ×  E = −  ∂t ,|
-----------------
(3)

and

|------------------------|
|∇ × B  = μ J + μ  𝜖 ∂E-.|
-----------0------0-0∂t---
(4)

The exercises below should be worked by treating Maxwell’s Equations as one coupled field system rather than four unrelated formulas [12345].

How to use this problem set

Attempt all exercises in Part I before consulting Part II. For every problem, first identify which Maxwell equation is relevant and whether the geometry suggests a divergence theorem, Stokes theorem, local differential calculation, or symmetry argument. Keep the following distinctions explicit:

  • divergence versus curl;
  • closed surfaces versus closed contours;
  • charge density ρ versus current density J;
  • conduction current versus displacement-current contribution;
  • field constraints versus field-evolution equations;
  • source-free vacuum versus field-free space.

Part I: Exercises

Exercise 1: structural map of Maxwell’s equations

For each of the four differential Maxwell equations:

  1. classify it as a divergence law or curl law;
  2. identify the corresponding integral theorem used to obtain the integral form;
  3. state the geometry of the integral form: closed surface or closed contour plus spanning surface;
  4. identify the physical source or dynamical quantity appearing on the right-hand side.

Then explain why the two divergence laws are naturally interpreted as constraints while the two curl laws contain the explicit time coupling that drives field evolution.

Exercise 2: dimensional consistency of the complete system

Verify the dimensions of each Maxwell equation in SI units.

Show explicitly that

          [  ]
           ρ-
[∇ ⋅ E ] = 𝜖0  ,
(5)

          [    ]
            ∂B
[∇  × E ] =  ---- ,
            ∂t
(6)

and

                  [        ]
                        ∂E-
[∇  × B ] = [μ0J ] =  μ0𝜖0∂t   .
(7)

Use

                                       3                2
[E] = V/m,      [B] = T,     [ρ] = C/m  ,     [J ] = A/m  .
(8)

Explain why dimensional agreement is a useful but not sufficient test of a field equation.

Exercise 3: an electric field with divergence but no curl

Consider

E(x, y,z) = αxxˆ+  βyˆy + γz ˆz,
(9)

where α, β, and γ are constants.

Find:

  1. ∇⋅ E;
  2. ∇× E;
  3. the charge density ρ required by Gauss’s Law;
  4. the condition on α, β, and γ for the region to be charge-free.

If the field is static, state what Faraday’s law implies about B∕∂t.

Exercise 4: a magnetic field with curl but zero divergence

Consider the static magnetic field

B(x, y,z) = b(− yˆx + xˆy ),
(10)

where b has units of tesla per meter.

Find:

  1. ∇⋅ B;
  2. ∇× B;
  3. the current density J required by the static Ampere law;
  4. the direction of that current density.

Explain how this example distinguishes zero magnetic divergence from zero magnetic field.

Exercise 5: derive integral forms from local equations

Carry out both derivations in detail.

  1. Starting from
    ∇ ⋅ E =  ρ-,
         𝜖0
    (11)

    integrate over an arbitrary volume V and derive Gauss’s integral law.

  2. Starting from
               ∂B--
∇ ×  E = −  ∂t ,
    (12)

    integrate over a fixed surface S and derive Faraday’s integral law.

State exactly where the divergence theorem and Stokes’ theorem are used, and state why a fixed surface permits the time derivative to be moved outside the surface integral in part (b).

Exercise 6: cylindrical Faraday induction

A spatially uniform magnetic field points in the +z direction inside a circular cylindrical region of radius R and is negligible outside that region. The field changes with time:

B (t) = B(t)ˆz,     r < R.
(13)

Assume cylindrical symmetry.

  1. Use Faraday’s law to derive the induced azimuthal electric field Eϕ(r,t) for r < R.
  2. Derive Eϕ(r,t) for r > R.
  3. Show that the two expressions agree at r = R.
  4. Let
    B (t) = B0 cos(2πft),
    (14)

    with B0 = 3.0 mT, f = 60 Hz, and R = 4.0 cm. Find the maximum magnitude of Eϕ at r = 3.0 cm and at r = 10.0 cm.

PIC

Figure. Circular symmetry converts Faraday’s contour integral into a direct relation between changing magnetic flux and the induced azimuthal electric field.

Exercise 7: cylindrical Ampere–Maxwell induction

A spatially uniform electric field points in the +z direction inside a circular region of radius R and is negligible outside that region:

E (t) = E(t)ˆz,     r < R.
(15)

Assume there is no conduction current through the spanning surface.

  1. Use the Ampere–Maxwell law to derive Bϕ(r,t) for r < R.
  2. Derive Bϕ(r,t) for r > R.
  3. Show that the two expressions agree at r = R.
  4. For R = 5.0 cm and
    dE- =  2.0 × 1010V/ (m  s),
 dt
    (16)

    find the magnetic-field magnitude at r = 2.0 cm and r = 10.0 cm.

PIC

Figure. A changing electric flux produces azimuthal magnetic circulation even when no conduction current crosses the chosen surface.

Exercise 8: reconstruct the sources from specified fields

Suppose the fields in a region are

E (x,t) = (ax + ut) ˆx,
(17)

and

B  = 0,
(18)

where a and u are constants with appropriate units.

Use the complete Maxwell system to determine:

  1. the charge density ρ;
  2. whether Faraday’s law is satisfied;
  3. the current density J required by the Ampere–Maxwell equation;
  4. whether the resulting ρ and J satisfy the continuity equation.

This exercise should be treated as a source-reconstruction problem: the fields are given first, and the compatible sources must be inferred.

Exercise 9: why the Ampere–Maxwell integral is surface independent

Let S1 and S2 be two different surfaces having the same boundary contour C. Define the effective current flux through a surface by

         ∫ (           )
Ieff(S ) =     J + 𝜖0∂E-   ⋅ dA.
          S         ∂t
(19)

Show that

I  (S ) = I  (S )
 eff  1     eff  2
(20)

provided charge continuity and Gauss’s electric law hold.

Your proof should:

  1. combine S1 and S2 into a closed surface;
  2. use the divergence theorem;
  3. evaluate
        (          )
           ∂E
∇ ⋅  J + 𝜖0---   ;
            ∂t
    (21)

  4. explain physically why the displacement-current term is necessary.

Exercise 10: propagation of Maxwell’s divergence constraints

The magnetic divergence law and Gauss’s electric law can be written as constraints on the instantaneous fields:

∇ ⋅ B = 0,
(22)

∇ ⋅ E − -ρ = 0.
        𝜖0
(23)

  1. Take the divergence of Faraday’s law and show that
    ∂--
∂t(∇ ⋅ B ) = 0.
    (24)

  2. Take the divergence of the Ampere–Maxwell law, use charge continuity, and show that
       (           )
-∂-          ρ-
∂t   ∇ ⋅ E − 𝜖   =  0.
              0
    (25)

  3. Explain what these results mean for initial data in an electromagnetic field calculation.

PIC

Figure. The curl equations evolve the fields while preserving the divergence constraints, provided the sources obey local charge conservation.

Exercise 11: plane-wave precursor directly from the curl equations

In source-free vacuum, consider fields of the form

E (z,t) = E0 cos(kz − ωt)ˆx,
(26)

B (z,t) = B0 cos(kz − ωt)ˆy.
(27)

Do not use the electromagnetic wave equation. Use only the two source-free curl equations.

  1. Apply Faraday’s law and derive a relation among E0, B0, k, and ω.
  2. Apply the Ampere–Maxwell law and derive a second relation.
  3. Combine the two relations to show that
    ω      1
--=  √------= c.
k      μ0𝜖0
    (28)

  4. Show that
    E0-=  c.
B0
    (29)

  5. For f = 1.57542 GHz, compute the vacuum wavelength λ.

PIC

Figure. A transverse plane-wave trial field provides a direct bridge from the coupled curl equations to the speed c and the amplitude relation E0 = cB0.

Exercise 12: reject a longitudinal vacuum-wave candidate

Consider the proposed source-free vacuum field

E(z,t) = E0 cos(kz − ωt)ˆz,     B =  0.
(30)

  1. Compute ∇⋅ E.
  2. Determine whether Gauss’s electric law is satisfied in source-free vacuum for nonzero k and E0.
  3. Compute ∇× E and discuss Faraday’s law.
  4. Explain why satisfying one Maxwell equation is not enough; a candidate field must satisfy the complete system.

Use this result to motivate why free-space electromagnetic plane waves are transverse rather than longitudinal.

Exercise 13: recover electrostatics and magnetostatics as limits

Assume all fields are time independent:

∂E- = 0,     ∂B--=  0.
 ∂t           ∂t
(31)

Reduce the complete Maxwell system to its static form.

Then answer:

  1. what does ∇× E = 0 imply locally about an electrostatic potential V ?
  2. what does the Ampere–Maxwell equation reduce to?
  3. which two divergence equations remain unchanged?
  4. why is magnetostatics not obtained by deleting Gauss’s magnetic law?

Exercise 14: source-free does not mean field-free

Determine whether each of the following is a valid source-free, time-independent vacuum solution of Maxwell’s equations:

  1. E = E0x, B = 0;
  2. E = 0, B = B0z;
  3. E = E0xx, B = 0;
  4. E = 0, B = b(yx + xy).

For each case, evaluate enough divergence and curl quantities to justify the answer. State the source that would be required when a field is not source-free.

Exercise 15: Julia finite-difference check of divergence and curl

Use central finite differences to numerically verify Exercises 3 and 4 at a point away from any boundary.

Take

α =  2.0,     β = − 1.0,    γ =  4.0,
(32)

and

b = 3.0.
(33)

Use the point

(x, y,z) = (0.7,− 0.4,1.1)
(34)

and finite-difference step

      − 5
h = 10   .
(35)

Write a short Julia program that estimates:

  1. ∇⋅ E;
  2. ∇× E;
  3. ∇⋅ B;
  4. ∇× B.

Compare the numerical values with the exact analytic results.

Part II: Complete Worked Solutions

Solution 1: structural map of Maxwell’s equations

Gauss’s electric law is

∇ ⋅ E =  ρ-.
         𝜖0
(36)

It is a divergence law. Integrating over a volume and applying the divergence theorem produces a closed-surface flux equation. Its source is electric charge density ρ.

Gauss’s magnetic law is

∇ ⋅ B = 0.
(37)

It is also a divergence law, and the divergence theorem gives the closed-surface result

∮
  B  ⋅ dA = 0.
 S
(38)

Its zero right-hand side expresses the absence of magnetic monopole source density in classical Maxwell theory.

Faraday’s law is

           ∂B
∇ ×  E = − ----.
            ∂t
(39)

It is a curl law. Stokes’ theorem converts its surface integral into circulation around the boundary contour. The dynamical quantity on the right is the local time rate of change of B.

The Ampere–Maxwell law is

                    ∂E
∇ × B  = μ0J + μ0 𝜖0---.
                    ∂t
(40)

It is also a curl law. Its integral form uses a closed contour and spanning surface. Magnetic circulation is sourced by conduction current density and by changing electric field.

The divergence equations contain no explicit first-order time derivatives of the fields. They constrain allowable field configurations at each instant. The curl equations explicitly connect time derivatives of one field to spatial derivatives of the other, so they form the core evolution coupling.

Solution 2: dimensional consistency of the complete system

Because a spatial derivative contributes one inverse meter,

         V/m
[∇  ⋅ E ] =---- = V/m2.
           m
(41)

Also,

      --C--
[𝜖0] = V  m ,
(42)

so

[  ]
  ρ
 --
 𝜖0 =   C/m3
---------
C/ (V m ) (43)
= V/m2. (44)

Thus Gauss’s electric law is dimensionally consistent.

For Faraday’s law,

[∇ ×  E] = V/m2.
(45)

Using

1T  = 1 V s/m2,
(46)

we obtain

[    ]
  ∂B-- =  T-=  V/m2.
  ∂t      s
(47)

For the magnetic curl equation,

[∇  × B ] = T/m.
(48)

Since

[μ0] = T m/A,
(49)

we have

        T-m--A-
[μ0J ] =  A  m2  = T/m.
(50)

Finally,

[μ 𝜖 ] = s2∕m2,
  0 0
(51)

so

[        ]
      ∂E-
  μ0𝜖0∂t = -s2
m2-V--
m  s (52)
= V--s
m3 (53)
= T/m. (54)

Dimensional agreement is necessary because terms added or equated must share dimensions. It is not sufficient because an incorrect equation can still be constructed with the correct units.

Solution 3: an electric field with divergence but no curl

The field is

E  = αx ˆx + βyyˆ+  γzˆz.
(55)

Its divergence is

∇⋅ E = ∂-(αx-)
  ∂x + ∂-(βy-)
  ∂y + ∂(γz-)
  ∂z (56)
= α + β + γ. (57)

Therefore,

|------------------|
-ρ =-𝜖0(α-+--β-+-γ).-
(58)

Every cross derivative vanishes, so

|------------|
-∇-×--E-=-0.-|
(59)

The charge-free condition is therefore

|--------------|
α +  β + γ = 0.|
----------------
(60)

If the field is static, Faraday’s law gives

       ∂B--
0 =  − ∂t ,
(61)

so

|--------|
|∂B      |
|----= 0.|
-∂t-------
(62)

Solution 4: a magnetic field with curl but zero divergence

The field components are

Bx = − by,     By = bx,     Bz =  0.
(63)

The divergence is

∇⋅ B = ∂ (− by)
-------
   ∂x + ∂(bx)
------
 ∂y + ∂0
---
∂z (64)
= 0. (65)

Thus Gauss’s magnetic law is satisfied.

The curl has only a z component:

(∇× B)z = ∂By-
 ∂x ∂Bx--
 ∂y (66)
= b (b) (67)
= 2b. (68)

Hence

|--------------|
|∇ ×  B = 2b ˆz.|
---------------
(69)

For a static field, Ampere–Maxwell reduces to

∇ × B  = μ0J.
(70)

Therefore,

|---------|
|    2b   |
J =  --ˆz. |
-----μ0----
(71)

The current density points in the +z direction for positive b. Zero magnetic divergence means no net magnetic source or sink; it does not require the magnetic field or its curl to vanish.

Solution 5: derive integral forms from local equations

For Gauss’s electric law, integrate over an arbitrary volume V :

∫                ∫
   ∇  ⋅ E dV = 1-   ρ dV.
 V             𝜖0  V
(72)

Apply the divergence theorem:

∫             ∮
   ∇ ⋅ E dV =     E  ⋅ dA.
 V              ∂V
(73)

Since

       ∫

Qenc =   V ρ dV,
(74)

we obtain

∮-------------------|
|             Qenc- |
|   E ⋅ dA =   𝜖  . |
--∂V-------------0----
(75)

For Faraday’s law, integrate over a fixed surface S:

∫                    ∫  ∂B
   (∇ × E ) ⋅ dA = −    ----⋅ dA.
  S                   S  ∂t
(76)

Apply Stokes’ theorem to the left side:

∮              ∫  ∂B
    E ⋅ dℓ = −    ----⋅ dA.
  ∂S            S  ∂t
(77)

Because the surface is fixed in space and does not change shape,

∫                ∫
   ∂B--⋅ dA =  d-   B ⋅ dA.
 S  ∂t         dt S
(78)

Therefore,

|∮----------------∫----------|
|              -d            |
|    E ⋅ dℓ = − dt   B ⋅ dA. |
--∂S---------------S---------
(79)

For a moving or deforming surface, additional transport terms generally appear; the simple interchange above is tied to a fixed integration surface.

Solution 6: cylindrical Faraday induction

By symmetry the induced electric field is azimuthal and has constant magnitude around a circular contour of radius r.

For r < R, Faraday’s law gives

E (2πr ) = − d-(B πr2) .
 ϕ           dt
(80)

Thus

|-----------------------------|
E  (r,t) = − r-dB-,     r < R. |
--ϕ---------2-dt---------------
(81)

For r > R, only the region of radius R contributes magnetic flux:

              d (     2)
E ϕ(2πr) = − --  B πR   ,
             dt
(82)

so

|------------------------------|
|            R2 dB             |
E ϕ(r,t) = − ------,    r > R. |
-------------2r-dt--------------
(83)

At r = R, either expression gives

E ϕ(R,t) = − R-dB-,
             2  dt
(84)

so the idealized solution is continuous.

For

B (t) = B0 cos(2πft),
(85)

we have

||dB ||
||---||   =  2πfB0.
 dt  max
(86)

With f = 60 Hz and B0 = 3.0 × 103 T,

|   |
||dB-||    = 1.131 T/s.
| dt|max
(87)

At r = 3.0 cm < R,

|Eϕ|max = 0.030-
  2(1.131) (88)
= 1.70 × 102 V/m. (89)

Thus

-----------------------------
|                   − 2      |
-|Eϕ|max-≈-1.70-×-10---V/m.--|
(90)

At r = 10.0 cm > R,

|Eϕ|max = (0.040)2
2(0.100)(1.131) (91)
= 9.05 × 103 V/m. (92)

Therefore,

|-------------------−-3------|
-|Eϕ|max-≈-9.05-×-10---V/m.--|
(93)

Inside the changing-flux region the induced field grows linearly with r; outside it falls as 1∕r because the enclosed changing flux has saturated at πR2B.

Solution 7: cylindrical Ampere–Maxwell induction

With no enclosed conduction current, the integral Ampere–Maxwell law is

∮
                dΦE--
 C B ⋅ dℓ = μ0𝜖0 dt  .
(94)

By symmetry, B = Bϕϕ.

For r < R,

B (2πr ) = μ 𝜖 d-(E πr2 ).
 ϕ          0 0dt
(95)

Hence

|--------------------------------|
|           μ 𝜖 rdE              |
|B ϕ(r,t) =  -0-0----,     r < R. |
--------------2---dt-------------
(96)

For r > R,

B  (2πr) = μ  𝜖 d-(E πR2 ),
  ϕ          00 dt
(97)

so

|----------------2----------------|
B ϕ(r,t) = μ0𝜖0R--dE-,     r > R. |
-------------2r---dt---------------
(98)

At r = R, both expressions give

           μ0𝜖0R-dE-
B ϕ(R,t) =    2   dt .
(99)

Using

μ0𝜖0 ≈ 1.11265 × 10 −17s2∕m2,
(100)

at r = 0.020 m,

Bϕ =             − 17
1.11265-×-10----
       2(0.020)(2.0 × 1010) (101)
= 2.23 × 109 T. (102)

Thus

|----------------------|
-B-ϕ(2.0-cm-) ≈-2.23-nT.-|
(103)

At r = 0.100 m,

Bϕ = (1.11265 × 10 −17)(0.050)2
-------------------------
         2(0.100)(2.0 × 1010) (104)
= 2.78 × 109 T. (105)

Therefore,

|----------------------|
B ϕ(10.0cm ) ≈ 2.78nT. |
------------------------
(106)

This is the electric-field analogue of Exercise 6: changing electric flux generates circulating magnetic field.

Solution 8: reconstruct the sources from specified fields

The electric field is

E = (ax +  ut)xˆ.
(107)

Its divergence is

∇ ⋅ E = a.
(108)

Gauss’s law therefore gives

|ρ-=-𝜖-a.|
------0---
(109)

The curl of this electric field is zero because it has only an x component and that component depends only on x and t:

∇ ×  E = 0.
(110)

Since B = 0, also

∂B--
∂t  = 0.
(111)

Therefore Faraday’s law is satisfied.

Now use the Ampere–Maxwell equation. Since B = 0,

               ∂E
0 =  μ0J + μ0𝜖0---.
                ∂t
(112)

But

∂E- = uxˆ.
∂t
(113)

Hence

|------------|
|J = − 𝜖0uˆx. |
-------------
(114)

Finally,

∂ ρ
--- = 0
∂t
(115)

and the reconstructed current is spatially uniform, so

∇ ⋅ J = 0.
(116)

Thus

|----------------|
|∂ρ              |
|---+  ∇ ⋅ J = 0.|
-∂t--------------
(117)

The sources inferred independently from Maxwell’s equations are automatically compatible with charge conservation.

Solution 9: why the Ampere–Maxwell integral is surface independent

Reverse the orientation of S2 and join it to S1. The two surfaces form a closed surface Sc.

The difference between the effective currents is

                    ∮  (       ∂E )
Ieff(S1) − Ieff(S2 ) =      J + 𝜖0---  ⋅ dA.
                     Sc        ∂t
(118)

Apply the divergence theorem:

                    ∫     (          )
I  (S ) − I  (S ) =    ∇ ⋅  J + 𝜖 ∂E-   dV.
 eff  1     eff  2     V           0 ∂t
(119)

Evaluate the divergence:

∇⋅(       ∂E )
 J +  𝜖0 ---
        ∂t = ∇⋅ J + 𝜖0∂
---
∂t(∇⋅ E) (120)
= ∇⋅ J + 𝜖0∂--
∂t(  )
 -ρ
 𝜖
  0 (121)
= ∇⋅ J + ∂ρ-
∂t. (122)

Charge continuity states

∂ρ
---+  ∇ ⋅ J = 0.
∂t
(123)

Therefore the integrand is zero everywhere, giving

|------------------|
-Ieff(S1) =-Ieff(S2-).|
(124)

Without the displacement-current term, the divergence would be simply ∇⋅ J = ∂ρ∕∂t, which need not vanish during charge accumulation. The magnetic circulation around one contour would then depend on which spanning surface was chosen. Maxwell’s correction removes that inconsistency.

Solution 10: propagation of Maxwell’s divergence constraints

Take the divergence of Faraday’s law:

∇  ⋅ (∇ × E ) = − ∂-(∇ ⋅ B ).
                 ∂t
(125)

The divergence of a curl is identically zero, so

|--------------|
|∂--           |
|∂t(∇ ⋅ B ) = 0.|
----------------
(126)

Thus if ∇⋅ B = 0 at the initial time, ideal Maxwell evolution preserves it.

Now take the divergence of the Ampere–Maxwell law:

                   ∂
0 =  μ0∇ ⋅ J + μ0𝜖0--(∇ ⋅ E).
                   ∂t
(127)

Divide by μ0𝜖0:

∂-(∇ ⋅ E) = − 1-∇  ⋅ J.
∂t            𝜖0
(128)

From charge continuity,

          ∂ρ
∇ ⋅ J = − ---.
          ∂t
(129)

Therefore,

∂            1∂ ρ
--(∇ ⋅ E ) =-----.
∂t          𝜖0 ∂t
(130)

Rearranging,

|---(-----------)------|
|-∂-          ρ-       |
|∂t   ∇ ⋅ E − 𝜖0  =  0.|
-----------------------
(131)

The implication is important for analytical and numerical field evolution: initial fields must satisfy the divergence constraints. The ideal continuous equations preserve those constraints thereafter when the sources satisfy continuity. Numerical discretization can introduce constraint error, so computational electromagnetics often monitors or actively controls discrete divergence errors.

Solution 11: plane-wave precursor directly from the curl equations

Let

ϕ =  kz − ωt.
(132)

The electric field has only an x component, so its curl has only a y component:

(∇× E)y = ∂Ex-
 ∂z (133)
= kE0 sin ϕ. (134)

The time derivative of the magnetic field is

∂B--= ωB0  sin ϕˆy.
 ∂t
(135)

Faraday’s law gives

− kE0 sinϕ =  − ωB0 sin ϕ.
(136)

For nontrivial fields,

|------------|
|kE0 =  ωB0. |
-------------
(137)

Next compute the magnetic curl. Since only By is nonzero,

(∇× B)x = ∂By-
 ∂z (138)
= kB0 sin ϕ. (139)

Also,

∂E- = ωE   sin ϕˆx.
 ∂t       0
(140)

The source-free Ampere–Maxwell equation gives

kB0 sinϕ =  μ0𝜖0ωE0 sinϕ,
(141)

so

|----------------|
|kB  =  μ 𝜖 ωE  .|
----0----0-0---0-
(142)

Use the first relation to write

      k-
B0 =  ω E0.
(143)

Substitute into the second:

  (     )
k   kE0   = μ0 𝜖0ωE0.
    ω
(144)

Cancel E0 and multiply by ω:

 2        2
k =  μ0𝜖0ω .
(145)

Therefore,

|----------------|
|ω-=  √-1----= c.|
|k      μ0𝜖0     |
------------------
(146)

From kE0 = ωB0,

E0-=  ω,
B0    k
(147)

so

|----------|
-E0-=-cB0.--
(148)

The wavelength follows from

λ =  c.
     f
(149)

For f = 1.57542 × 109 Hz,

λ =                 8
2.99792458-×-10--
  1.57542 ×  109 (150)
0.1903 m. (151)

Hence,

|------------|
-λ ≈-19.0cm.--
(152)

This result has been obtained directly from Maxwell’s curl equations, before deriving the second-order wave equation.

Solution 12: reject a longitudinal vacuum-wave candidate

The proposed electric field is

E =  E0cos(kz − ωt )ˆz.
(153)

Its divergence is

∇⋅ E = ∂Ez-
 ∂z (154)
= kE0 sin(kz ωt). (155)

In source-free vacuum, Gauss’s electric law requires

∇ ⋅ E = 0.
(156)

For nonzero k and nonzero E0, the proposed field does not satisfy that condition for all space and time. It therefore cannot be a source-free vacuum plane wave.

Because the field has only a z component that depends only on z and t,

∇ ×  E = 0.
(157)

With B = 0, Faraday’s law alone is satisfied. This demonstrates why one cannot validate an electromagnetic field by checking only one of Maxwell’s equations. The entire coupled system must hold simultaneously.

For a propagating source-free plane wave, Gauss’s electric law rules out a varying electric component parallel to the propagation direction. This is the beginning of the transversality result developed more fully in the wave lessons.

Solution 13: recover electrostatics and magnetostatics as limits

Set all time derivatives to zero. Maxwell’s equations become

|---------ρ--|
|∇ ⋅ E =  --,|
----------𝜖0--|
(158)

|----------|
-∇-⋅ B-=-0,-
(159)

|------------|
-∇-×--E-=-0,-|
(160)

and

|--------------|
-∇-×-B--=-μ0J.--
(161)

In a simply connected region, ∇× E = 0 permits a scalar potential representation

|----------|
E--=-−-∇V.--
(162)

The magnetic curl equation reduces to the ordinary magnetostatic Ampere law. Both divergence laws remain unchanged because neither contained an explicit time derivative to begin with.

Gauss’s magnetic law must remain because magnetostatics still requires magnetic fields to have zero net flux through every closed surface. The static limit removes time coupling; it does not remove the geometric constraint on B.

Solution 14: source-free does not mean field-free

For case (a),

E  = E0 ˆx
(163)

is spatially uniform and static. Therefore

∇ ⋅ E = 0,    ∇  × E =  0.
(164)

With B = 0, all four source-free static Maxwell equations are satisfied. This is a valid local vacuum solution.

For case (b), a uniform static magnetic field also has

∇  ⋅ B = 0,    ∇  × B  = 0.
(165)

Thus it too is a valid source-free local vacuum solution.

For case (c),

E = E  xˆx
      0
(166)

has

∇ ⋅ E = E0.
(167)

Therefore it requires

|----------|
-ρ-=-𝜖0E0,-|
(168)

so it is not source-free.

For case (d), the field from Exercise 4 has

∇ ⋅ B = 0
(169)

but

∇ ×  B = 2b ˆz.
(170)

Thus it requires

|---------|
|    2b   |
J =  --ˆz, |
-----μ0----
(171)

so it is not source-free.

The first two cases make the key point: ρ = 0 and J = 0 do not imply E = 0 and B = 0.

Solution 15: Julia finite-difference check of divergence and curl

For the specified constants, the exact electric-field results are

∇  ⋅ E = α + β + γ = 2 − 1 + 4 = 5,
(172)

and

∇ ×  E = 0.
(173)

For the magnetic field,

∇ ⋅ B = 0,
(174)

and

∇  × B =  2bˆz = 6ˆz.
(175)

One compact Julia implementation is

using LinearAlgebra

alpha, beta, gamma = 2.0, -1.0, 4.0
b = 3.0
h = 1.0e-5
r0 = [0.7, -0.4, 1.1]

E(r) = [alpha*r[1], beta*r[2], gamma*r[3]]
B(r) = [-b*r[2], b*r[1], 0.0]

\href{https://physicslibrary.org/encyclopedia/Bijective.html}{Function} partial(F, r, component, coordinate, h)
rp = copy(r)
rm = copy(r)
rp[coordinate] += h
rm[coordinate] -= h
return (F(rp)[component] - F(rm)[component])/(2h)
end

function divF(F, r, h)
return partial(F,r,1,1,h) +
partial(F,r,2,2,h) +
partial(F,r,3,3,h)
end

function curlF(F, r, h)
cx = partial(F,r,3,2,h) - partial(F,r,2,3,h)
cy = partial(F,r,1,3,h) - partial(F,r,3,1,h)
cz = partial(F,r,2,1,h) - partial(F,r,1,2,h)
return [cx, cy, cz]
end

println("div E = ", divF(E,r0,h))
println("curl E = ", curlF(E,r0,h))
println("div B = ", divF(B,r0,h))
println("curl B = ", curlF(B,r0,h))

The numerical output should be close to

div E = 5.0
curl E = [0.0, 0.0, 0.0]
div B = 0.0
curl B = [0.0, 0.0, 6.0]

up to floating-point and finite-difference roundoff. The exercise connects the geometric definitions of divergence and curl with the discrete derivative operations used in computational field solvers.

1 What EM15E1 adds to the series

EM15 assembled Maxwell’s four equations into a coherent field theory. EM15E1 pushes that synthesis further by requiring the equations to be used together.

The most important structural results are:

|----------------|
|∂ρ              |
|∂t-+  ∇ ⋅ J = 0,|
-----------------
(176)

|--------------|
|∂             |
|--(∇ ⋅ B ) = 0,
-∂t-------------
(177)

|---(-----------)------|
|-∂-          ρ-       |
|∂t   ∇ ⋅ E − 𝜖0  =  0,|
-----------------------
(178)

and, for the transverse plane-wave trial fields,

|------------------------------|
|ω-      ---1--                |
|k = c = √ μ--𝜖-,    E0 =  cB0.|
-------------0-0----------------
(179)

The next natural step is to take the curl of the curl equations and derive the second-order electromagnetic wave equations for E and B directly.

References

[1]   David J. Griffiths, Introduction to Electrodynamics, 4th ed., Cambridge University Press, 2017.

[2]   Edward M. Purcell and David J. Morin, Electricity and Magnetism, 3rd ed., Cambridge University Press, 2013.

[3]   Samuel J. Ling, Jeff Sanny, and William Moebs, University Physics, Volume 2, OpenStax, 2016, sections on Maxwell’s equations and electromagnetic waves.

[4]   Richard P. Feynman, Robert B. Leighton, and Matthew Sands, The Feynman Lectures on Physics, Volume II, Addison-Wesley, 1964, chapters on Maxwell’s equations and electromagnetic radiation.

[5]   Massachusetts Institute of Technology, 8.02 Physics II: Electricity and Magnetism, MIT OpenCourseWare, materials on Maxwell’s equations, Gauss’s law, Faraday induction, the Ampere–Maxwell law, and electromagnetic waves.


"Electromagnetic Waves: Maxwell's Equations as a Complete System - Exercises and Complete Worked Solutions" is owned by bloftin.
(view preamble)
View style:
Other names:  EM15E1
Keywords:  Maxwell equations, Gauss law, Faraday law, Ampere-Maxwell law, divergence, curl, charge continuity, field constraints, source-free vacuum, plane electromagnetic wave, displacement current, Stokes theorem, divergence theorem, exercises, worked solutions

This object's parent.

Cross-references: wave equations, operations, function, representation, scalar, implication, program, magnetostatics, waves, speed, boundary, continuity equation, flux, relation, magnitude, electric field, volume, magnetic field, static magnetic field, static, Gauss's Law, conduction, curl, Stokes theorem, theorem, divergence, Maxwell equation, formulas, Maxwell's Equations, charge, wave equation, fields, system, EM15

This is version 1 of Electromagnetic Waves: Maxwell's Equations as a Complete System - Exercises and Complete Worked Solutions, born on 2026-09-19.
Object id is 1238, canonical name is ElectromagneticWavesMaxwellsEquationsAsACompleteSystemExercisesAndCompleteWorkedSolutions.
Accessed 4 times total.

Classification:
Physics Classification03.50.De (Classical electromagnetism, Maxwell equations )
 41.20.Jb (Electromagnetic wave propagation; radiowave propagation )
 41.20.-q (Applied classical electromagnetism)
 02.30.Jr (Partial differential equations)
Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:

No messages.

Interact
rate | post | correct | update request | add example | add (any)