Open main menu

Maxwell's equations

set of partial differential equations that describe how electric and magnetic fields are generated and altered by each other and by charges and currents

In the 1860s James Clerk Maxwell published equations that describe how charged particles give rise to electric and magnetic force per unit charge. The force per unit charge is called a field. The particles could be stationary or moving. These, together with the Lorentz force equation, provide everything one needs to calculate the motion of classical particles in electric and magnetic fields.

Maxwell's equations describe how electric charges and electric currents create electric and magnetic fields. Further, they describe how an electric field can generate a magnetic field, and vice versa.

The first equation allows you to calculate the electric field created by a charge. The second allows you to calculate the magnetic field. The other two describe how fields 'circulate' around their sources. Magnetic fields 'circulate' around electric currents and time varying electric fields, Ampère's law with Maxwell's correction, while electric fields 'circulate' around time varying magnetic fields, Faraday's law.


Maxwell's Equations in the classical formsEdit

Name Differential form Integral form
Gauss' law:    
Gauss' law for magnetism
(absence of magnetic monopoles):
Faraday's law of induction:    
Ampère's law
(with Maxwell's extension):

where the following table provides the meaning of each symbol and the SI unit of measure:

Symbol Meaning SI Unit of Measure
  electric field volt per metre
  magnetic field strength ampere per metre
  electric displacement field coulomb per square metre
  magnetic flux density
also called the magnetic induction.
tesla, or equivalently,
weber per square metre
  free electric charge density,
not counting the dipole charges bound in a material.
coulomb per cubic metre
  free current density,
not counting polarization or magnetization currents bound in a material.
ampere per square metre
  differential vector element of surface area A, with very small
magnitude and direction normal to surface S
square meters
  differential element of volume V enclosed by surface S cubic meters
  differential vector element of path length tangential to contour C enclosing surface c meters
  instantaneous velocity of the line element   defined above (for moving circuits). meters per second


  is the divergence operator (SI unit: 1 per metre),
  is the curl operator (SI unit: 1 per metre).

The meaning of the equationsEdit

Charge density and the electric fieldEdit


where   is the free electric charge density (in units of C/m3), not counting the dipole charges bound in a material, and   is the electric displacement field (in units of C/m2). This equation is like Coulomb's law for non-moving charges in vacuum.

The next integral form (by the divergence theorem), also known as Gauss' law, says the same thing:


  is the area of a differential square on the closed surface A. The surface normal pointing out is the direction, and   is the free charge that is inside the surface.

In a linear material,   is directly related to the electric field   with a constant called the permittivity,   (This constant is different for different materials):


You can pretend a material is linear, if the electric field is not very strong.

The permittivity of free space is called  , and is used in this equation:


Here   is the electric field again (in units of V/m),   is the total charge density (including the bound charges), and   (approximately 8.854 pF/m) is the permittivity of free space. One can also write   as  . Here,   is the permittivity of the material when compared to the permittivity of free space. This is called the relative permittivity or dielectric constant.

See also Poisson's equation.

The structure of the magnetic fieldEdit


  is the magnetic flux density (in units of tesla, T), also called the magnetic induction.

This next integral form says the same thing:


The area of   is the area of a differential square on the surface  . The direction of   is the surface normal pointing outwards on the surface of  .

This equation only works if the integral is done over a closed surface. This equation says, that in every volume the sum of the magnetic field lines that go in equals the sum of the magnetical field lines that go out. This means that the magnetic field lines must be closed loops. Another way of saying this is that the field lines cannot start from somewhere. This is the mathematical way of saying: "There are no magnetic monopoles".

A changing magnetic flux and the electric fieldEdit


This next integral form says the same thing:



This is what the symbols mean:

ΦB is the magnetic flux that goes through the area A that the second equation describes,

E is the electric field that the magnetic flux causes,

s is a closed path in which current is induced, for example a wire,

v is the instantaneous velocity of the line element (for moving circuits).

The electromotive force is equal to the value of this integral. Sometimes this symbol is used for the electromotive force:  , do not confuse it with the symbol for permittivity that was used before.

This law is like Faraday's law of electromagnetic induction.

Some textbooks show the right hand sign of the integral form with an N (N is the number of coils of wire that are around the edge of A) in front of the flux derivative. The N can be taken care of in calculating A (multiple wire coils means multiple surfaces for the flux to go through), and it is an engineering detail so it's left out here.

The negative sign is needed for conservation of energy. It is so important that it even has its own name, Lenz's law.

This equation shows how the electric and magnetic fields have to do with each other. For example, this equation explains how electric motors and electric generators work. In a motor or generator, the field circuit has a fixed electric field that causes a magnetic field. This is called fixed excitation. The varying voltage is measured across the armature circuit. Maxwell's equations are used in a right-handed coordinate system. To use them in a left-handed system, without having to change the equations, the polarity of magnetic fields has to made opposite (this is not wrong, but it is confusing because it is not usually done like this).

The source of the magnetic fieldEdit


H is the magnetic field strength (in units of A/m), which you can get by dividing the magnetic flux B by a constant called the permeability, μ (B = μH), and J is the current density, defined by:

J = ∫ρqvdA

v is a vector field called the drift velocity. It describes the speeds of the charge carriers that have a density described by the scalar function ρq.

In free space, the permeability μ is the permeability of free space, μ0, which is exactly 4π×10−7 W/A·m, by definition. Also, the permittivity is the permittivity of free space ε0. So, in free space, the equation is:


The next integral form says the same thing:


s is the edge of the open surface A (any surface with the curve s as its edge is okay here), and Iencircled is the current encircled by the curve s (the current through any surface is defined by the equation: Ithrough A = ∫AJ·dA).

If the electric flux density does not change very fast, the second term on the right hand side (the displacement flux) is very small and can be left out, and then the equation is the same as Ampere's law.

Covariant FormulationEdit

There are only two covariant Maxwell Equations, because the covariant field vector includes the electrical and the magnetical field.

Mathematical note: In this section the abstract index notation will be used.

In special relativity, Maxwell's equations for the vacuum are written in terms of four-vectors and tensors in the "manifestly covariant" form. This has been done to show more clearly the fact that Maxwell's equations (in vacuum) take the same form in any inertial coordinate system. This is the "manifestly covariant" form:




The second equation is the same as:


Here   is the 4-current,   is the field strength tensor (written as a 4 × 4 matrix),   is the Levi-Civita symbol, and   is the 4-gradient (so that   is the d'Alembertian operator). (The   in the first equation is implicitly summed over, according to Einstein notation.) The first tensor equation says the same thing as the two inhomogeneous Maxwell's equations: Gauss' law and Ampere's law with Maxwell's correction. The second equation say the same thing as the other two equations, the homogeneous equations: Faraday's law of induction and the absence of magnetic monopoles.

  can also be described more explicitly by this equation:   (as a contravariant vector), where you get   from the charge density ρ and the current density  . The 4-current is a solution to the continuity equation:


In terms of the 4-potential (as a contravariant vector)  , where φ is the electric potential and   is the magnetic vector potential in the Lorentz gauge  , F can be written as:


which leads to the 4 × 4 matrix rank-2 tensor:


The fact that both electric and magnetic fields are combined into a single tensor shows the fact that, according to relativity, both of these are different parts of the same thing—by changing frames of reference, what looks like an electric field in one frame can look like a magnetic field in another frame, and the other way around.

Using the tensor form of Maxwell's equations, the first equation implies

  (See Electromagnetic four-potential for the relationship between the d'Alembertian of the four-potential and the four-current, expressed in terms of the older vector operator notation).

Different authors sometimes use different sign conventions for these tensors and 4-vectors (but this does not change what they mean).

  and   are not the same: they are related by the Minkowski metric tensor  :  . This changes the sign of some of F's components; more complex metric dualities can be seen in general relativity.

Other websitesEdit