What Is Electromagnetism? – And How Do Maxwell’s Equations Work?

Electromagnetic (EM) waves are transverse waves formed by the oscillation of electric and magnetic fields that are perpendicular to each other and to the direction of wave travel. Unlike mechanical waves like sound or water waves which travel through matter by molecular collisions, EM waves do not need a physical medium and can travel through vacuum at the speed of light. This properties of EM waves are very useful for technologies like TV broadcasting, GPS, satellite communications and medical imaging and can be simulated in bespoke computational solvers such as those available in CST Studio Suite.

Electromagnetic Waves

These waves carry energy in the form of photons, but they also exhibit wave behaviors such as reflection, interference and diffraction. The wavelengths could range from a few nanometers to 100,000 kilometers. The EM spectrum is a full range of all types of electromagnetic radiation. These waves differ in their wavelengths and frequencies which gives each region of the spectrum its unique properties and uses. Visible light itself is just one part of the EM spectrum. The table below summarizes the spectrum of EM waves along with their applications.

Types of electromagnetic waves
Electromagnetic spectrum

Maxwell’s Equations

Maxwell’s equations predict the existence of electromagnetic waves, and they unify both electric and magnetic fields. Before Maxwell, scientists like Coulomb, Ampere, and Faraday had discovered individual laws that described how charges and currents create electric and magnetic fields, and how these two fields interacted with each other. Maxwell combined all these ideas into four equations that summarized what was already known. The equations also revealed how electric and magnetic fields could generate each other and travel through space as waves moving at the speed of light.  In free space without any electric charges (ρ=0) or currents (J=0), the four Maxwell’s laws are summarized below:

Gauss’s law of electricity

This law states that the divergence of the electric field (E) is zero. Gauss’s Law basically says that the electric field doesn’t start or stop anywhere, and it just flows smoothly in free space where there are no charges around. If you imagine a closed surface in empty space, the total electric flux through it is zero because there’s no charge inside to create or pull on the field lines. This idea is really important for electromagnetic waves, since it shows that electric fields can move through a vacuum on their own, without needing any charges to generate them. This law is expressed mathematically as,

∇⋅E=0

where E is the electric field.

Gauss law of electricity

Gauss’s law of magnetism

This law states that the net magnetic flux (B) through any closed surface is zero, which means that the magnetic field lines always form continuous loops and never begin or end at a point. Unlike electric charges, you can’t have a single north or south pole. So, if you look at a bar magnet, the field lines go from the north pole to the south pole outside the magnet and then loop back through the magnet, making a continuous path. This idea is a key part of Maxwell’s equations and explains the behavior of electromagnetic fields, ensuring that magnetic fields in space are always continuous and are closely linked with changing electric fields to produce electromagnetic waves. This law is expressed mathematically as,

∇⋅B=0

where B is the magnetic flux.

Gauss law of magnetism

Faraday’s law of induction

This law states that time changing magnetic fields produce electric fields. In simple terms, if a magnetic field around a loop of wire changes, either by moving a magnet near the wire or changing the strength of the field, it induces a voltage in the wire. This voltage can make a current flow. The faster the magnetic field changes, the bigger the voltage. It’s the principle behind generators producing electricity, transformers, and electric guitars. Basically, moving magnets or changing magnetic fields can push electrons around, and that’s Faraday’s Law in action. This law is expressed mathematically as,

∇×E=− ∂B/∂t

where E is the electric field, B is the magnetic flux and t is the time.

Ampere-Maxwell law

This law states that time changing electric fields produce magnetic fields. A steady current flowing through a wire produces a magnetic field around it. Even if there is no actual current, a changing electric field can also generate magnetic field. This idea lets electromagnetic waves keep moving through space. Electric fields create magnetic fields, and changing magnetic fields create electric fields, so the wave can keep propagating without any wires or charges. This law is expressed mathematically as,

∇×B=μ0ε0 (∂E/∂t)

where E is the electric field, B is the magnetic flux, μ0 is the vacuum permeability, ε0 is the vacuum permittivity and t is the time.

Electromagnetic simulation is the process of using numerical models to predict how electric and magnetic fields behave in and around devices by solving Maxwell’s equations. Instead of building and testing physical prototypes, engineers use simulation tools to study how waves interact with materials, components, and structures. This makes it possible to design and optimize antennas, circuits, sensors, optical devices, and even everyday technologies like Wi-Fi and MRI machines. In the upcoming blog series, we will dive deep into different aspects of numerical simulations for electromagnetic applications, exploring their methods, challenges, and real-world uses.

Final Thoughts

Electromagnetic waves power the technology all around us, from Wi-Fi and GPS to medical imaging. Maxwell’s equations explain how electric and magnetic fields create and sustain these waves, while electromagnetic simulations let engineers design and optimize devices without building them first. In the upcoming blog series, we will dive deeper into the methods, challenges, and real-world applications of EM simulations.

We’re always here to help, so if you have questions about Electromagnetic simulations using CST Studio Suite, or just FEA in general, don’t hesitate to reach out!

Share this post