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: Electromagnetic Wave Equation - Exercises and Complete Worked Solutions (Example)

Electromagnetic Waves, Antennas, and RF: Electromagnetic Wave Equation - Exercises and Complete Worked Solutions

EM16 derived the source-free electromagnetic wave equations from Maxwell’s Equations and then specialized them to plane waves. This companion article turns those derivations into a sequence of worked problems. The emphasis is on checking candidate waves rather than merely recognizing formulas: differentiating traveling profiles, recovering one field from the other, enforcing Maxwell’s divergence constraints, determining propagation direction, building Standing Waves, extending the derivation to nonzero sources, and connecting the time-domain wave equation to the frequency-domain Helmholtz equation.

The central vacuum relations are

|-------------------|
|       1 ∂2E       |
∇2E  −  -2---2 = 0, |
--------c-∂t---------
(1)

|-----------2--------|
|∇2B  −  1-∂-B--= 0, |
---------c2-∂t2------|
(2)

with

    ---1--
c = √ μ0𝜖0.
(3)

For a monochromatic source-free plane wave,

ω = ck,     k ⋅ E0 = 0,    k ⋅ B0 = 0,
(4)

and

|---------------|
|     1         |
B0  = c-^k × E0. |
----------------
(5)

These relations should be viewed as consequences of the Maxwell system, not independent empirical rules [12345].

How to use this problem set

Attempt all exercises in Part I before consulting Part II. For each wave problem, use the following order whenever possible:

  1. identify the proposed propagation direction from the phase;
  2. test the wave equation or the relevant Maxwell equation;
  3. use the divergence equations to check transversality;
  4. use Faraday and Ampere–Maxwell to determine relative orientation, amplitude, and phase;
  5. only then substitute numerical values.

This order helps separate geometry from arithmetic and makes sign errors easier to detect.

Part I: Exercises

Exercise 1: verify the general traveling profile F(z ct)

Let

ψ (z, t) = F (z − ct),
(6)

where F is any twice-differentiable function.

Show directly from the chain rule that

∂2ψ    1 ∂2ψ
--2-−  -2---2 = 0.
∂z     c ∂t
(7)

Then repeat the argument for

ψ (z, t) = G (z + ct).
(8)

State the propagation direction of each profile and explain why its shape does not change as it moves.

PIC

Figure. A profile of the form F(z ct) is translated a distance cΔt in the +z direction while retaining the same shape.

Exercise 2: sinusoidal trial solution and the dispersion relation

Consider

Ex(z,t) = E0 cos(kz − ωt).
(9)

Substitute this field into the one-dimensional wave equation

∂2Ex-   1-∂2Ex-
∂z2  −  c2 ∂t2  = 0.
(10)

Derive the condition relating ω and k. Then show that

ω-
k = c,     fλ = c.
(11)

Finally, state the direction of propagation for the phase kz ωt.

Exercise 3: recover B from a specified electric plane wave

In source-free vacuum let

E (z,t) = E  cos(kz − ωt)ˆx.
           0
(12)

Assume the corresponding magnetic field has the form

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

Use Faraday’s law,

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

to determine B0 in terms of E0, k, and ω. Then impose the vacuum dispersion relation and show that

      E
B0 =  -0-.
       c
(15)

Use the field directions to verify that E × B points in the direction of propagation.

PIC

Figure. For a source-free plane wave, E, B, and the propagation direction are mutually perpendicular, with E × B pointing along propagation.

Exercise 4: radio-frequency wave from magnetic amplitude

A plane electromagnetic wave in vacuum has frequency

f =  1.22760 GHz
(16)

and magnetic-field amplitude

B0 = 2.50 nT.
(17)

The wave propagates in the +z direction and the magnetic field points in the +y direction when the cosine factor is positive.

Find:

  1. the wavelength λ;
  2. the angular frequency ω;
  3. the Wavenumber k;
  4. the electric-field amplitude E0;
  5. the direction of the electric field.

Use c = 299792458 m/s.

Exercise 5: determine propagation direction from field orientation

At a certain phase of a plane wave,

E  ∥ + ˆy,    B  ∥ − ˆz.
(18)

Determine the propagation direction. Then write one possible phase factor for a monochromatic wave with positive k and positive ω.

Exercise 6: reject a longitudinal candidate using Gauss’s law

Someone proposes the source-free vacuum field

E (z,t) = E0 cos(kz − ωt)ˆz.
(19)

The field satisfies the scalar wave equation if ω = ck.

Compute ∇⋅ E and determine whether the field can nevertheless be a source-free electromagnetic plane wave. Explain why satisfying the wave equation alone is not enough to guarantee that a field satisfies the complete Maxwell system.

Exercise 7: full Maxwell consistency with unknown amplitude and phase

Consider

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

and

B (z,t) = B0 cos(kz − ωt + δ)ˆy.
(21)

Use Faraday’s law and the vacuum Ampere–Maxwell law separately to determine:

  1. the allowed relative phase δ;
  2. the amplitude ratio E0∕B0;
  3. the dispersion relation.

Show that both curl equations are required for the complete result.

Exercise 8: arbitrary linear polarization in the transverse plane

A wave propagates in the +z direction with electric field

E (z,t) = (Ex0ˆx + Ey0 ˆy)cos(kz − ωt).
(22)

Use

     1-
B =  c^z × E
(23)

to obtain the magnetic field explicitly. Then prove that

E ⋅ B = 0
(24)

and that

      E0-
B0 =   c ,
(25)

where

     ∘ ----------
         2     2
E0 =   E x0 + Ey0.
(26)

Exercise 9: build a standing electromagnetic wave from two traveling waves

Two equal-amplitude plane waves propagate in opposite directions:

E1 =  E0 cos(kz − ωt)ˆx,
(27)

E2 =  E0 cos(kz + ωt)ˆx.
(28)

  1. Find the corresponding magnetic fields B1 and B2.
  2. Add the electric fields and simplify using trigonometric identities.
  3. Add the magnetic fields and simplify.
  4. Find the positions of the electric-field nodes.
  5. Find the positions of the magnetic-field nodes.
  6. Show that an electric node is displaced by λ∕4 from the nearest magnetic node.

PIC

Figure. The spatial factors of the standing-wave electric and magnetic fields are shifted by one quarter wavelength.

Exercise 10: a Gaussian electromagnetic pulse

Let

                 [  (z − ct)2]
Ex (z,t) = E0 exp − -----2---  .
                       L
(29)

  1. Verify explicitly that Ex satisfies the one-dimensional vacuum wave equation.
  2. Find the position of the pulse maximum as a function of time.
  3. Find the magnetic field for a +z-propagating source-free pulse.
  4. Explain why the pulse is not monochromatic even though every point in the pulse propagates at the same speed c in vacuum.

Exercise 11: verify the curl–curl identity for a concrete vector field

Consider

A (x,y,z) = x2xˆ+  xyˆy + xz ˆz.
(30)

Compute both sides of

∇  × (∇ × A ) = ∇ (∇ ⋅ A ) − ∇2A
(31)

explicitly and verify that they agree.

This is the identity used in EM16 to turn the two first-order curl equations into second-order wave equations.

Exercise 12: derive the electric wave equation with sources

Do not assume ρ = 0 or J = 0. Start from

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

                    ∂E-
∇ × B  = μ0J + μ0 𝜖0∂t ,
(33)

and

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

Take one additional curl and derive

|------------2--------------------|
∇2E  −  μ0𝜖0∂-E- = -1∇ ρ + μ0 ∂J. |
------------∂t2----𝜖0---------∂t---
(35)

Identify the physical source terms on the right-hand side.

Exercise 13: derive the magnetic wave equation with sources

Starting from the general Ampere–Maxwell equation, take its curl and use

∇ ⋅ B = 0
(36)

and Faraday’s law to derive

|------------------------------|
|  2        ∂2B--              |
|∇  B − μ0𝜖0 ∂t2 =  − μ0∇ × J. |
-------------------------------
(37)

Explain why the magnetic source equation contains the curl of current density rather than a magnetic-charge-density term.

PIC

Figure. The homogeneous vacuum wave equations are the source-free limit of more general wave equations driven by charge and current distributions.

Exercise 14: from the wave equation to the Helmholtz equation

Suppose a source-free electric field is time harmonic and is represented by

            {      − iωt}
E (r, t) = Re   ^E(r)e      .
(38)

Starting from

        1 ∂2E
∇2E  −  -2---2 = 0,
        c ∂t
(39)

show that the complex spatial amplitude obeys

|----------------|
|∇2E^ + k2^E =  0,|
------------------
(40)

where

     ω
k =  -.
     c
(41)

Explain why this conversion is useful in RF, antenna, optics, and steady-state sinusoidal problems.

Exercise 15: numerical finite-difference check of the wave equation

Let

E (z,t) = E0 cos(kz − ωt ),   ω = ck.
(42)

Use centered second differences,

∂2E    E (z + Δz, t) − 2E (z,t) + E(z − Δz, t)
--2--≈ ---------------------2----------------,
∂z                     (Δz )
(43)

and

 2
∂-E--≈  E(z,t-+-Δt-) −-2E-(z,t) +-E(z,t-−-Δt-).
 ∂t2                   (Δt )2
(44)

Define the numerical residual

R  = D   E − -1D   E.
       zz    c2  tt
(45)

  1. Write a Julia program that evaluates R at a fixed point.
  2. Choose Δt = 0.z∕c and refine Δz by factors of two.
  3. Verify that the normalized residual decreases by approximately a factor of four when the spacing is halved.
  4. Explain why that factor is expected for centered second differences.

Part II: Complete Worked Solutions

Solution 1: verify the general traveling profile F(z ct)

Define

ξ = z − ct.
(46)

Then

ψ (z,t) = F(ξ).
(47)

Differentiate with respect to z:

∂ψ-
∂z = F(ξ)∂ξ-
∂z (48)
= F(ξ). (49)

Differentiating once more,

 2
∂-ψ- = F ′′(ξ).
∂z2
(50)

Now differentiate with respect to time:

∂ψ
---
∂t = F(ξ)∂ξ
---
∂t (51)
= cF(ξ). (52)

Therefore,

∂2ψ
---2
 ∂t = c∂
---
∂tF(ξ) (53)
= cF′′(ξ)(c) (54)
= c2F′′(ξ). (55)

Substitute into the wave equation:

 2
∂-ψ-
∂z2 1-
c2  2
∂-ψ-
 ∂t2 = F′′(ξ) -1
c2c2F′′(ξ) (56)
= 0. (57)

Thus every twice-differentiable profile F(z ct) satisfies the one-dimensional wave equation.

For

η = z + ct,    ψ  = G (η),
(58)

the same calculation gives

 2                  2
∂-ψ- = G ′′(η),    ∂--ψ = c2G ′′(η),
∂z2                ∂t2
(59)

so G(z + ct) is also a solution.

To identify the direction, hold the profile argument constant. For F(z ct),

z − ct = constant,
(60)

so

z = ct + constant.
(61)

As time increases, the same feature moves toward increasing z. Therefore F(z ct) propagates in the +z direction.

For G(z + ct),

z = − ct + constant,
(62)

so the profile propagates in the z direction.

The shape is preserved because the function itself is not changing; only its argument is translated in space.

Solution 2: sinusoidal trial solution and the dispersion relation

Start with

Ex =  E0 cos(kz −  ωt).
(63)

The second spatial derivative is

∂2E
----x = − k2E0 cos(kz − ωt).
 ∂z2
(64)

The second time derivative is

∂2Ex-      2
 ∂t2 =  − ω E0 cos(kz − ωt).
(65)

Substitute into the wave equation:

k2E 0 cos(kz ωt) 1-
c2[    2               ]
 − ω  E0cos(kz −  ωt) = 0. (66)

For a nontrivial wave,

   2   ω2-
− k  +  c2 = 0.
(67)

Therefore,

|-2----2-2-|
-ω--=-c-k-.-
(68)

For positive frequency and positive wavenumber,

|--------|
|ω = ck. |
---------
(69)

Hence the phase velocity is

|------|
|ω     |
|k-= c.|
--------
(70)

Using

                  2π
ω = 2πf,      k = ---,
                   λ
(71)

we obtain

2 πf
----- = c,
2π∕λ
(72)

so

|--------|
-fλ-=--c.|
(73)

Finally, a surface of constant phase satisfies

kz − ωt = constant,
(74)

which gives

z =  ωt + constant.
     k
(75)

Thus kz ωt describes propagation in the +z direction.

Solution 3: recover B from a specified electric plane wave

The electric field is

E = E0 cos(kz − ωt )ˆx.
(76)

Because only Ex is nonzero and it depends only on z,

         ∂E
∇ × E  = ---x ˆy.
          ∂z
(77)

Since

∂Ex-
 ∂z  = − kE0 sin(kz − ωt),
(78)

we have

∇ ×  E = − kE0 sin(kz − ωt)ˆy.
(79)

The proposed magnetic field is

B = B0 cos(kz − ωt )ˆy.
(80)

Its time derivative is

∂B--
 ∂t =  ωB0 sin(kz − ωt)ˆy.
(81)

Faraday’s law requires

− kE  sin(kz − ωt)ˆy =  − ωB  sin (kz − ωt)ˆy.
     0                      0
(82)

Therefore,

|-----------|
|     k     |
B0 =  --E0. |
------ω------
(83)

For a vacuum wave,

ω = ck,
(84)

so

|----------|
|B0 =  E0-.|
--------c--|
(85)

The cross product is

E × B  ∝ ˆx × ˆy =  ˆz.
(86)

Thus the field orientation is consistent with propagation in the +z direction.

Solution 4: radio-frequency wave from magnetic amplitude

The frequency is

f = 1.22760 × 109 Hz.
(87)

The wavelength is

λ = c-
f (88)
= --299792458---
1.22760 × 109 m (89)
0.244210 m. (90)

Therefore,

|--------------|
-λ-≈-24.42-cm.-|
(91)

The angular frequency is

ω = 2πf (92)
= 2π(1.22760 × 109) (93)
7.71324 × 109 rad/s. (94)

Thus,

|--------------9-------|
-ω-≈-7.713-×-10--rad/s.-
(95)

The wavenumber is

k = 2π
---
 λ (96)
25.7286 rad/m. (97)

Therefore,

|----------------|
k-≈--25.73-rad/m.--
(98)

For a vacuum plane wave,

E0 = cB0.
(99)

With

B0 =  2.50 × 10 −9T,
(100)

we obtain

E0 = (299792458)(2.50 × 109) (101)
0.74948 V/m. (102)

Hence,

|----------------|
E0  ≈ 0.749 V/m. |
------------------
(103)

The wave travels in +z and B points in +y. We need

E  × B ∥ + ˆz.
(104)

Since

xˆ×  ˆy = ˆz,
(105)

the electric field points in the +x direction when the cosine factor is positive.

Solution 5: determine propagation direction from field orientation

For a source-free plane wave, the propagation direction follows the direction of

E ×  B.
(106)

Here

E  ∥ + ˆy,    B  ∥ − ˆz.
(107)

Therefore,

E × B y × (z) (108)
= x. (109)

Thus the wave propagates in the negative x direction:

|--------|
|^k = − ˆx.|
----------
(110)

A convenient phase for propagation in the x direction is

|--------|
|kx + ωt.|
----------
(111)

Indeed, holding phase constant gives

kx + ωt = constant,
(112)

or

x =  − ωt + constant.
       k
(113)

The constant-phase surface therefore moves toward decreasing x.

Solution 6: reject a longitudinal candidate using Gauss’s law

The proposed field is

E =  E cos(kz − ωt )ˆz.
      0
(114)

Its divergence is

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

This is generally nonzero. But in source-free vacuum, Gauss’s Law requires

∇ ⋅ E = 0.
(117)

Therefore the proposed longitudinal field is not an allowed source-free electromagnetic plane wave.

The important lesson is that the second-order wave equation is a consequence of Maxwell’s equations, but by itself it does not encode every Maxwell constraint. A candidate field can satisfy

       1 ∂2E
∇2E  − -2---2 =  0
       c  ∂t
(118)

while failing

∇ ⋅ E = 0.
(119)

Therefore a complete electromagnetic solution must satisfy both the wave equation and the relevant Maxwell constraints.

Solution 7: full Maxwell consistency with unknown amplitude and phase

Let

𝜃 = kz − ωt.
(120)

Then

E = E0 cos 𝜃ˆx,
(121)

and

B =  B  cos(𝜃 + δ)ˆy.
      0
(122)

Faraday’s law gives

∇ ×  E = − kE0 sin𝜃yˆ.
(123)

Meanwhile,

  ∂B
− ----= − ωB0 sin(𝜃 + δ)ˆy.
  ∂t
(124)

Thus

kE0 sin𝜃 = ωB0  sin (𝜃 + δ)
(125)

for every z and t. The simplest nontrivial possibility is that the fields are in phase,

|----------------|
-δ-=-0--mod--2π,-|
(126)

with

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

Now apply Ampere–Maxwell. Since only By depends on z,

           ∂By-
∇ × B  = −  ∂z xˆ.
(128)

For δ = 0,

∂By- = − kB  sin 𝜃,
∂z          0
(129)

so

∇ × B  = kB0 sin 𝜃ˆx.
(130)

The right-hand side is

μ0𝜖0∂E
---
∂t = μ0𝜖0ωE0 sin 𝜃x. (131)

Therefore,

|----------------|
|kB0 =  μ0𝜖0ωE0. |
-----------------
(132)

Use the Faraday result

B  =  k-E .
  0   ω  0
(133)

Substitution gives

k2
---E0 = μ0 𝜖0ωE0.
 ω
(134)

Cancel E0 and multiply by ω:

k2 = μ0𝜖0ω2.
(135)

Hence,

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

Thus

|--------|
-ω-=-ck.-|
(137)

Finally,

      k-      E0-
B0 =  ω E0 =  c ,
(138)

or

---------
|E       |
|--0=  c.|
-B0------|
(139)

Faraday’s law determines the relative amplitude and phase relation once ω∕k is known. Ampere–Maxwell supplies the second relation needed to determine the vacuum dispersion relation itself.

Solution 8: arbitrary linear polarization in the transverse plane

The electric field is

E = (Ex0 ˆx + Ey0ˆy )cos(kz − ωt).
(140)

For propagation in +z,

B  = 1-ˆz × E.
     c
(141)

Use

ˆz × ˆx = ˆy,     ˆz × ˆy = − ˆx.
(142)

Therefore,

B = 1-
c (Ex0 ˆy − Ey0ˆx ) cos(kz ωt). (143)

Thus

|------------------------------------|
|     1-                             |
-B-=--c (−-Ey0-ˆx +-Ex0ˆy)-cos(kz-−-ωt).
(144)

Now take the dot product of the amplitude vectors:

E0 B0 = (Ex0 ˆx + Ey0ˆy ) 1-
 c (− Ey0ˆx + Ex0 ˆy) (145)
= 1
--
c(− Ex0Ey0 + Ey0Ex0 ) (146)
= 0. (147)

Therefore,

|----------|
-E-⋅ B-=-0.-
(148)

The magnetic amplitude is

B0 = 1
--
c∘ ----------
  E2y0 + E2x0 (149)
= E0-
c. (150)

Hence,

|----------|
|B  =  E0-.|
---0----c--|
(151)

This result does not depend on which transverse direction the linear polarization chooses.

Solution 9: build a standing electromagnetic wave from two traveling waves

For the +z wave,

E  =  E  cos(kz − ωt)ˆx.
  1     0
(152)

The associated magnetic field is

      E0
B1 =  ---cos(kz − ωt)ˆy,
       c
(153)

because

xˆ×  ˆy = ˆz.
(154)

For the z wave,

E2 =  E0 cos(kz + ωt)ˆx.
(155)

Now E2 × B2 must point in z, so the magnetic field reverses direction:

B2 =  − E0-cos(kz + ωt)ˆy.
         c
(156)

Add the electric fields:

E = E0[cos(kz − ωt) + cos(kz + ωt)] x. (157)

Using

cos(A −  B) + cos(A + B ) = 2 cosA cosB,
(158)

we obtain

|--------------------------|
|E =  2E0 cos(kz)cos(ωt)ˆx. |
---------------------------
(159)

Now add the magnetic fields:

B = E0-
 c[cos(kz −  ωt) − cos(kz +  ωt)] y. (160)

Using

cos(A  − B ) − cos(A + B ) = 2 sin A sinB,
(161)

we obtain

|--------------------------|
|     2E0                  |
|B =  ----sin(kz) sin(ωt)ˆy. |
-------c-------------------
(162)

Electric nodes occur where

cos(kz) = 0.
(163)

Thus

      π-
kz =  2 + nπ,
(164)

or

|--------------|
z =  (2n-+-1)λ.|
---------4------
(165)

Magnetic nodes occur where

sin (kz ) = 0,
(166)

so

kz =  nπ,
(167)

and therefore

|--------|
|    nλ  |
|z = ---.|
------2---
(168)

The nearest electric and magnetic nodes differ by

|--|
|λ-|
-4.-
(169)

This spatial offset is a characteristic feature of a standing electromagnetic wave.

Solution 10: a Gaussian electromagnetic pulse

Define

ξ = z − ct.
(170)

Then

           2  2
Ex =  E0e−ξ ∕L .
(171)

This is exactly the form F(z ct) from Exercise 1, so it must satisfy the one-dimensional wave equation. We can also verify it directly.

First,

∂E       2 ξ
---x = − ---Ex.
 ∂z      L2
(172)

Differentiating again,

        (          )
∂2Ex-     4ξ2-  -2-
∂z2  =    L4 −  L2   Ex.
(173)

For the time derivative,

∂Ex-   2cξ-
 ∂t =  L2  Ex.
(174)

Differentiating again gives

∂2E        ( 4ξ2    2 )
---2x =  c2   --4-− --2  Ex.
 ∂t          L     L
(175)

Therefore,

 2
∂-Ex-
 ∂z2 1-
c2  2
∂--Ex
 ∂t2 = 0. (176)

The pulse maximum occurs when the exponent is zero:

z − ct = 0.
(177)

Thus

|------------|
|zmax(t) = ct.|
--------------
(178)

For a +z-propagating pulse with E x,

     1-
B  = c ˆz × E.
(179)

Hence

|--------------------------------|
|         E      [  (z − ct)2]   |
|B(z,t) = --0exp  − -----2---  ˆy.|
-----------c-----------L----------
(180)

The Gaussian pulse is not monochromatic because it is localized in space. A localized waveform requires a superposition of many wavenumbers and therefore many frequencies. In nondispersive vacuum, all of those spectral components satisfy ω = ck and therefore propagate with the same speed c, so the pulse retains its shape.

Solution 11: verify the curl–curl identity for a concrete vector field

The vector field is

      2
A =  x ˆx + xyˆy + xz ˆz.
(181)

First compute its curl:

∇× A = ||                  ||
|  ˆx     yˆ     ˆz  |
||∂∕∂x   ∂∕∂y  ∂ ∕∂z||
| x2     xy     xz | (182)
= 0x zy + yz. (183)

Now curl that result:

∇× (∇× A) = ∇×(0xˆ−  zˆy + yˆz) (184)
= 2x. (185)

So the left-hand side is

|--------------------|
|∇ ×  (∇ × A ) = 2ˆx. |
---------------------
(186)

Now compute the right-hand side. The divergence is

∇⋅ A =   2
∂x--
∂x + ∂-(xy)
  ∂y + ∂(xz-)
  ∂z (187)
= 2x + x + x (188)
= 4x. (189)

Therefore,

∇ (∇ ⋅ A ) = 4ˆx.
(190)

The vector Laplacian is obtained component by component:

∇2 (x2) = 2,     ∇2(xy ) = 0,    ∇2 (xz) = 0.
(191)

Thus

∇2A   = 2ˆx.
(192)

Hence

(∇⋅ A) −∇2A = 4x 2x (193)
= 2x. (194)

Therefore,

|----------------------------------|
|∇ ×  (∇  × A ) = ∇ (∇ ⋅ A ) − ∇2A. |
-----------------------------------
(195)

The identity is verified for this explicit field.

Solution 12: derive the electric wave equation with sources

Begin with Faraday’s law:

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

Take the curl of both sides:

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

Use the curl–curl identity:

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

Gauss’s law gives

∇ ⋅ E =  ρ-,
         𝜖0
(199)

so

            1-
∇ (∇  ⋅ E ) = 𝜖0∇ ρ.
(200)

Ampere–Maxwell gives

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

Therefore,

∂
---
∂t(∇× B) = μ0∂J
---
∂t μ0𝜖0∂2E
---2
∂t. (202)

Substitute both results:

1-       2         ∂J-       ∂2E-
𝜖0 ∇ρ − ∇  E  = − μ0∂t  − μ0𝜖0 ∂t2 .
(203)

Rearrange:

|------------2--------------------|
∇2E  −  μ0𝜖0∂-E- = -1∇ ρ + μ0 ∂J. |
------------∂t2----𝜖0---------∂t---
(204)

The source terms are therefore:

  • the spatial gradient of charge density, (1∕𝜖0)ρ;
  • the time variation of current density, μ0J∕∂t.

When both vanish in the local propagation region, the equation reduces to the homogeneous vacuum wave equation derived in EM16.

Solution 13: derive the magnetic wave equation with sources

Start from Ampere–Maxwell:

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

Take the curl:

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

Use the curl–curl identity:

             2                    -∂-
∇ (∇  ⋅ B ) − ∇ B = μ0∇  × J + μ0𝜖0∂t (∇ × E ).
(207)

Gauss’s law for magnetism gives

∇ ⋅ B = 0,
(208)

so the left side becomes

− ∇2B.
(209)

Faraday’s law gives

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

Therefore,

∂--            ∂2B--
∂t(∇ × E ) = −  ∂t2 .
(211)

Substitute:

                          2
− ∇2B  = μ0∇  × J − μ0 𝜖0 ∂-B-.
                         ∂t2
(212)

Multiply by 1 and rearrange:

|------------------------------|
|           ∂2B                |
|∇2B  − μ0𝜖0---2-=  − μ0∇ × J. |
-------------∂t----------------
(213)

There is no term proportional to a magnetic charge density because Maxwell’s classical theory contains

∇ ⋅ B = 0,
(214)

rather than a magnetic analogue of

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

Thus magnetic-wave source structure enters through circulating electric current, represented by ∇× J.

Solution 14: from the wave equation to the Helmholtz equation

Represent the real physical field as

            {          }
              ^    − iωt
E (r, t) = Re   E(r)e      .
(216)

Because the wave equation is linear, it is sufficient to work with the complex field

E (r,t) = ^E (r)e− iωt.
 c
(217)

The Laplacian acts only on the spatial amplitude:

  2      −iωt 2 ^
∇ Ec  = e   ∇  E.
(218)

The second time derivative is

∂2E
---2c
 ∂t = ()2Eeiωt (219)
= ω2Eeiωt. (220)

Substitute into

            2
∇2Ec  −  1-∂-Ec- = 0.
         c2 ∂t2
(221)

This gives

     [            ]
 −iωt    2^   ω2-^
e     ∇  E + c2 E  =  0.
(222)

Since the exponential factor is never zero,

        ω2
∇2 ^E +  -2E^ = 0.
        c
(223)

Define

     ω
k =  -.
     c
(224)

Then

|--2-----2-------|
-∇-E^-+-k-^E-=--0.-
(225)

This is the vector Helmholtz equation in a homogeneous source-free region.

The time-domain wave equation describes general transients and arbitrary time dependence. The Helmholtz equation removes the known sinusoidal time dependence and leaves a purely spatial boundary-value problem. That makes it especially useful for steady-state RF fields, antennas, resonators, diffraction, and monochromatic optics.

Solution 15: numerical finite-difference check of the wave equation

A direct Julia implementation is:

using Printf

c = 299_792_458.0
lambda = 1.0
k = 2pi / lambda
omega = c * k
E0 = 1.0

E(z, t) = E0 * cos(k*z - omega*t + 0.37)

z0 = 0.23
t0 = 0.17 / c

println(" N normalized residual")

for N in (40, 80, 160, 320)
dz = lambda / N
dt = 0.8 * dz / c

dzz = (E(z0 + dz, t0) - 2E(z0, t0) + E(z0 - dz, t0)) / dz^2
dtt = (E(z0, t0 + dt) - 2E(z0, t0) + E(z0, t0 - dt)) / dt^2

R = dzz - dtt / c^2
Rnorm = abs(R) / (k^2 * abs(E(z0, t0)))

@printf("%4d %.6e\n", N, Rnorm)
end

The centered second-difference formulas are second-order accurate:

         ∂2E
DzzE  =  --2-+  O((Δz )2),
         ∂z
(226)

and

          2
D  E  = ∂--E-+ O ((Δt )2).
  tt     ∂t2
(227)

With

Δt  = 0.8Δz-,
          c
(228)

both truncation errors scale as (Δz)2.

For the test point and phase used above, representative normalized residuals are approximately

         − 4            −4            − 5            −5
7.39 × 10   ,  1.85 × 10  ,  4.63 × 10  ,   1.16 × 10
(229)

for N = 40, 80, 160, 320, respectively.

Each time N doubles, Δz is halved. A second-order error should therefore change by approximately

(  )
  1- 2   1-
  2    = 4 .
(230)

That is exactly the trend in the numerical residual. The finite-difference experiment therefore checks two things at once: the analytic plane wave satisfies the continuum wave equation, and the chosen numerical approximation converges at the expected second-order rate.

1 What EM16E1 adds to the series

EM16 derived the electromagnetic wave equation and its basic plane-wave consequences. EM16E1 turns those results into working tools.

The main progression is

traveling  profiles − → sinusoidal waves −→  Maxwell  consistency,
(231)

polarization and  standing  waves −→  source-driven wave equations,
(232)

source-driven  wave equations −→  Helmholtz  and numerical  checks.
(233)

The most important conceptual point is that the scalar-looking wave equation is necessary but not sufficient for a physical electromagnetic field. The complete field must also satisfy the Maxwell divergence and curl equations, which enforce transversality, field orientation, phase relationships, and the amplitude relation E0 = cB0.

A natural next topic is electromagnetic energy and power flow: electric and magnetic energy density, the Poynting vector, intensity, and inverse-square spreading.

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 electromagnetic waves and Maxwell’s equations.

[5]   Massachusetts Institute of Technology, 8.02 Physics II: Electricity and Magnetism, MIT OpenCourseWare, materials on Maxwell’s equations and electromagnetic waves.

[6]   James Clerk Maxwell, “A Dynamical Theory of the Electromagnetic Field,” Philosophical Transactions of the Royal Society of London, vol. 155, pp. 459–512, 1865.


"Electromagnetic Waves: Electromagnetic Wave Equation - Exercises and Complete Worked Solutions" is owned by bloftin.
(view preamble)
View style:
Other names:  EM16E1
Keywords:  electromagnetic wave equation, Maxwell equations, plane wave, phase velocity, wavelength, wavenumber, angular frequency, electric field, magnetic field, polarization, standing wave, source-driven wave equation, Helmholtz equation, finite differences, exercises, worked solutions

This object's parent.

Cross-references: power, energy, work, gradient, Laplacian, vector field, vectors, dot product, Gauss's Law, cross product, velocity, program, charge, speed, positions, identities, curl, scalar, phase factor, electric field, Wavenumber, magnetic field, function, detect, Maxwell equation, system, relations, wave equation, Standing Waves, divergence, field, formulas, waves, Maxwell's Equations, wave equations, EM16

This is version 1 of Electromagnetic Waves: Electromagnetic Wave Equation - Exercises and Complete Worked Solutions, born on 2026-09-19.
Object id is 1240, canonical name is ElectromagneticWavesElectromagneticWaveEquationExercisesAndCompleteWorkedSolutions.
Accessed 8 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)