Maxwell's equations

q

{\displaystyle q}

) should have units of force*
*Electric field (

E

{\displaystyle E}

) should have units of force per area (the same as stress)*
*Electric constant (

ϵ
0

{\displaystyle \epsilon\_0}

) should have units of force per area (the same as bulk modulus)*
*Magnetic field (

B

{\displaystyle B}

) should have units of force per velocity per time^2*
*Magnetic constant (

μ
0

{\displaystyle \mu\_0}

) should have units of 1/(force per time^2)*
See this for more details

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

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, and the  Lorentz force equation, give everything one needs to calculate the motion of classical particles in electric and magnetic fields.

The first equation allows one to calculate the electric field created by a charge. The second allows one 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 extension, while electric fields 'circulate' around time varying magnetic fields: Faraday's law.

## Maxwell's Equations in the classical forms

∇
⋅

D

=
ρ

{\displaystyle \nabla \cdot \mathbf{D} = \rho}

∮
S

D

⋅
d

A

=

∫
V

ρ
⋅
d
V

{\displaystyle \oint\_S \mathbf{D} \cdot d\mathbf{A} = \int\_V \rho \cdot dV}
 Gauss' law for magnetism  (absence of magnetic monopoles):

∇
⋅

B

=
0

{\displaystyle \nabla \cdot \mathbf{B} = 0}

∮
S

B

⋅
d

A

=
0

{\displaystyle \oint\_S \mathbf{B} \cdot d\mathbf{A} = 0}
 Faraday's law of induction:

∇
×

E

=
−

∂

B

∂
t

{\displaystyle \nabla \times \mathbf{E} = -\frac {\partial \mathbf{B}}{\partial t}}

∮
C

E

⋅
d

l

−

∮
C

B

×

v

⋅
d

l

=
−

d

d
t

∫
S

B

⋅
d

A

{\displaystyle \oint\_C \mathbf{E} \cdot d\mathbf{l} - \oint\_C \mathbf {B} \times \mathbf{v} \cdot d{\mathbf {l}} = - \ { d \over dt } \int\_S \mathbf{B} \cdot d\mathbf{A}}
 Ampère's law (with Maxwell's extension):

∇
×

H

=

J

∂

D

∂
t

{\displaystyle \nabla \times \mathbf{H} = \mathbf{J} + \frac {\partial \mathbf{D}} {\partial t}}

∮
C

H

⋅
d

l

=

∫
S

J

⋅
d

A

∫
S

∂

D

∂
t

⋅
d

A

{\displaystyle \oint\_C \mathbf{H} \cdot d\mathbf{l} = \int\_S \mathbf{J} \cdot d \mathbf{A} +
\int\_S\frac{\partial \mathbf{D} }{\partial t}\cdot d \mathbf{A}}

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

and

∇
⋅

{\displaystyle \nabla \cdot}

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

∇
×

{\displaystyle \nabla\times}

 is the curl operator (SI unit: 1 per metre).
## The meaning of the equations

### Charge density and the electric field

∇
⋅

D

=
ρ

{\displaystyle \nabla \cdot \mathbf{D} = \rho}

,
where

ρ

{\displaystyle {\rho}}

 is the *free* electric charge density (in units of C/m3), not counting the dipole charges bound in a material, and

D

{\displaystyle \mathbf{D}}

 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:

∮
A

D

⋅
d

A

=

Q
enclosed

{\displaystyle \oint\_A \mathbf{D} \cdot d\mathbf{A} = Q\_\text{enclosed}}

d

A

{\displaystyle d\mathbf{A}}

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

Q
enclosed

{\displaystyle Q\_\text{enclosed}}

 is the free charge that is inside the surface.

In a *linear material*,

D

{\displaystyle \mathbf{D}}

 is directly related to the electric field

E

{\displaystyle \mathbf{E}}

 with a constant called the permittivity,

ε

{\displaystyle \varepsilon}

 (This constant is different for different materials):

D

=
ε

E

{\displaystyle \mathbf{D} = \varepsilon \mathbf{E}}

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

The permittivity of free space is called

ε
0

{\displaystyle \varepsilon\_0}

, and is used in this equation:

∇
⋅

E

=

ρ
t

ε
0

{\displaystyle \nabla \cdot \mathbf{E} = \frac{\rho\_t}{\varepsilon\_0}}

Here

E

{\displaystyle \mathbf{E}}

 is the electric field again (in units of V/m),

ρ
t

{\displaystyle \rho\_t}

 is the total charge density (including the bound charges), and

ε
0

{\displaystyle \varepsilon\_0}

 (approximately 8.854 pF/m) is the permittivity of free space. One can also write

ε

{\displaystyle \varepsilon}

 as

ε
0

⋅

ε
r

{\displaystyle \varepsilon\_0 \cdot \varepsilon\_r}

. Here,

ε
r

{\displaystyle \varepsilon\_r}

 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 field

∇
⋅

B

=
0

{\displaystyle \nabla \cdot \mathbf{B} = 0}

B

{\displaystyle \mathbf{B}}

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

This next integral form says the same thing:

∮
A

B

⋅
d

A

=
0

{\displaystyle \oint\_A \mathbf{B} \cdot d\mathbf{A} = 0}

The area of

d

A

{\displaystyle d\mathbf{A}}

 is the area of a differential square on the surface

A

{\displaystyle A}

. The direction of

d

A

{\displaystyle d\mathbf{A}}

 is the surface normal pointing outwards on the surface of

A

{\displaystyle A}

.

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 field

∇
×

E

=
−

∂

B

∂
t

{\displaystyle \nabla \times \mathbf{E} = -\frac {\partial \mathbf{B}}{\partial t}}

This next integral form says the same thing:

∮

s

E

⋅
d

s

=
−

d

Φ

B

d
t

{\displaystyle \oint\_{s} \mathbf{E} \cdot d\mathbf{s} = - \frac {d\Phi\_{\mathbf{B}}} {dt}}

Here

Φ

B

=

∫

A

B

⋅
d

A

{\displaystyle \Phi\_{\mathbf{B}} = \int\_{A} \mathbf{B} \cdot d\mathbf{A}}

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:

E

{\displaystyle \mathcal{E}}

, 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 be made opposite (this is not wrong, but it is confusing because it is not usually done like this).

### The source of the magnetic field

∇
×

H

=

J

∂

D

∂
t

{\displaystyle \nabla \times \mathbf{H} = \mathbf{J} + \frac {\partial \mathbf{D}} {\partial t}}

**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** = ∫ρq**v**dA

**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:

∇
×

B

=

μ
0

J

μ
0

ε
0

∂

E

∂
t

{\displaystyle \nabla \times \mathbf{B} = \mu\_0 \mathbf{J} + \mu\_0\varepsilon\_0 \frac{\partial \mathbf{E}}{\partial t}}

The next integral form says the same thing:

∮
s

B

⋅
d

s

=

μ
0

I
encircled

μ
0

ε
0

∫
A

∂

E

∂
t

⋅
d

A

{\displaystyle \oint\_s \mathbf{B} \cdot d\mathbf{s} = \mu\_0 I\_\text{encircled} + \mu\_0\varepsilon\_0 \int\_A \frac{\partial \mathbf{E}}{\partial t} \cdot d \mathbf{A}}

*s* is the edge of the open surface *A* (any surface with the curve *s* as its edge is okay here), and *I*encircled is the current encircled by the curve *s* (the current through any surface is defined by the equation: *I*through *A* = ∫*A**J**·d**A**).*

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 Formulation

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:

J
b

=

∂
a

F

a
b

{\displaystyle J^ b = \partial\_a F^{ab} \,\!}

,
and

# 0

∂
c

F

a
b

∂
b

F

c
a

∂
a

F

b
c

{\displaystyle 0 = \partial\_c F\_{ab} + \partial\_b F\_{ca} + \partial\_a F\_{bc}}

The second equation is the same as:

# 0

ε

d
a
b
c

∂
a

F

b
c

{\displaystyle 0 = \varepsilon\_{dabc}\partial^a F^{bc} \,\! }

Here

J
a

{\displaystyle \, J^a}

 is the 4-current,

F

a
b

{\displaystyle \, F^{ab}}

 is the field strength tensor (written as a 4 × 4 matrix),

ε

a
b
c
d

{\displaystyle \, \varepsilon\_{abcd}}

 is the Levi-Civita symbol, and

∂
a

=
(
∂

/

∂
c
t
,
∇
)

{\displaystyle \partial\_a = (\partial/\partial ct, \nabla)}

 is the 4-gradient (so that

∂
a

∂
a

{\displaystyle \partial\_a \partial^a}

 is the d'Alembertian operator). (The

a

{\displaystyle a}

 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.

J
a

{\displaystyle \, J^a}

 can also be described more explicitly by this equation:

J
a

=

(
c
ρ
,

J
→

)

{\displaystyle J^a = \, (c \rho, \vec J) }

 (as a contravariant vector), where you get

J
a

{\displaystyle \, J^a}

 from the charge density ρ and the current density

J
→

{\displaystyle \vec J}

. The 4-current is a solution to the continuity equation:

J
a

,
a

=
0

{\displaystyle J^a{}\_{,a} \, = 0}

In terms of the 4-potential (as a contravariant vector)

A

a

=

(

ϕ
,

A
→

c

)

{\displaystyle A^{a} = \left(\phi, \vec A c \right)}

, where φ is the electric potential and

A
→

{\displaystyle \vec A}

 is the magnetic vector potential in the Lorentz gauge

(

∂
a

A
a

=
0

)

{\displaystyle \left ( \partial\_a A^a = 0 \right )}

, *F* can be written as:

F

a
b

=

∂
b

A
a

−

∂
a

A
b

{\displaystyle F^{ab} = \partial^b A^a - \partial^a A^b \,\!}

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

F

a
b

=

(

0

−

E
x

c

−

E
y

c

−

E
z

c

E
x

c

0

−

B
z

B
y

E
y

c

B
z

0

−

B
x

E
z

c

−

B
y

B
x

0

)

.

{\displaystyle F^{ab} = \left(
\begin{matrix}
0 & -\frac {E\_x}{c} & -\frac {E\_y}{c} & -\frac {E\_z}{c} \\
\frac{E\_x}{c} & 0 & -B\_z & B\_y \\
\frac{E\_y}{c} & B\_z & 0 & -B\_x \\
\frac{E\_z}{c} & -B\_y & B\_x & 0
\end{matrix}
\right) .}

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

◻

F

a
b

=
0

{\displaystyle \Box F^{ab} = 0}

(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).

F

a
b

{\displaystyle \, F^{ab}}

 and

F

a
b

{\displaystyle \, F\_{ab}}

 are *not* the same: they are related by the Minkowski metric tensor

η

{\displaystyle \eta }

:

F

a
b

=

η

a
c

η

b
d

F

c
d

{\displaystyle F\_{ab} =\, \eta\_{ac} \eta\_{bd} F^{cd}}

. This changes the sign of some of *F'*s components; more complex metric dualities can be seen in general relativity.

## See also

* S-duality The invariance of Maxwell's equations under the interchange of electric and magnetic fields.