Introduction

The Maxwell equations are the famous set of partial differential equations (PDEs) that govern the behavior of electric and magnetic fields:

When we consider the Maxwell equations in free space, they reduce to the electromagnetic wave equations:

If we assume electromagnetic waves that oscillate at a constant frequency , the electromagnetic wave equations further simplify to the Helmholtz equation:

Solving the Maxwell equations is necessary for a multitude of uses, most notably telecommunications and optics. However, analytical solutions to the Maxwell equations are only known for relatively simple cases or as approximate solutions for more complicated systems. Otherwise, we must turn to numerical methods. At Project Elara, we primarily use finite-difference and finite-element methods for these purposes, which are very well-known. However, these are not the only methods to solve the Maxwell equations. Another method is the Fourier transform method. This method relies on the fact that if we take the Fourier transform of the Maxwell equations, the Maxwell equations turn into a series of algebraic equations relating the Fourier-transformed fields and Fourier-transformed current density 1:

In the case of the Maxwell equations in free space, it becomes even simpler, since , so the equations simplify to:

Taking the cross product of and with then gives us2:

But we also know from the Fourier-transformed version of Faraday’s law that and a slight rearrangement of Ampere’s law gives us . Now repeating the same procedure and substituting these results, we have:

Combining our results, we have and . Some rearrangement gives us the Fourier-transformed versions of the electromagnetic wave equation3:

Numerical methods using Fourier transforms

The Fourier transform turns the Maxwell equations from partial differential equations in normal ) space to algebraic equations in space, and algebraic equations, as we know, are much easier to solve than PDEs! The idea is that using methods we already know for solving systems of linear equations (from linear algebra), we can easily solve the Fourier-transformed Maxwell equations, then take an inverse Fourier transform to get the real-valued fields . This is especially helpful due to the fact that there exist highly-optimized fast Fourier transform libraries that can do forward/inverse Fourier transforms very quickly, and also highly-optimized libraries for solving systems of linear equations, so in the end there is not that much code we need to write ourselves. To summarize, using Fourier transform methods gives us a powerful tool to be able to solve Maxwell’s equations, one that could definitely be a useful supplement to our use of finite-difference and finite-element methods.

Footnotes

  1. From “Maxwell’s equations in Fourier space and coupling between elementary excitations in solids”, Andrade-Neto, Brandão (2023), eqs. 33-36. We simply swapped with and (note that ). This result is derived in the paper, and can be found after a Fourier transform of the fields across both the time domain and spatial domain

  2. This comes from the identity .

  3. This form might make more sense if we realize that the Fourier transform essentially converts differentiation into multiplication, so and