- Electromagnetics I
- Ch 4: Vector Analysis
- Loc 4.6

- Electromagnetics I
- Ch 4
- Loc 4.6

# Divergence

In this section, we present the divergence operator, which provides a way to calculate the flux associated with a point in space. First, let us review the concept of flux.

The integral of a vector field

over a surface is a scalar quantity known as *flux*. Specifically, the flux

of a vector field over a surface

is

Note that

could be fairly described as a *flux density*; i.e., a quantity having units equal to the units of

, but divided by area (i.e., m

). Also worth noting is that the flux of a vector field that has unit magnitude and is normal to all points on

is simply the area of

.

It is quite useful to identify some electromagnetic quantities as either fluxes or flux densities. Here are two important examples:

- The electric flux density , having units of C/m, is a description of the electric field as a flux density. (See Section 2.4 for more about electric flux density.) The integral of over a closed surface yields the enclosed charge , having units of C. This relationship is known as Gauss’ Law:
(4.6.2) (See Section 5.5 for more about Gauss’ Law.)

- The magnetic flux density , having units of Wb/m, is a description of the magnetic field as a flux density. (See Section 2.5 for more about magnetic flux density.) The integral of over a surface (open
*or*closed) yields the magnetic flux , having units of Wb:(4.6.3) *Faraday’s Law*.)

## Summarizing

Flux is the scalar quantity obtained by integrating a vector field, interpreted in this case as a flux density, over a specified surface.

The concept of flux applies to a surface of finite size. However, what is frequently of interest is behavior at a single point, as opposed to the sum or average over a region of space. For example, returning to the idea of electric flux density (

), perhaps we are not concerned about the total charge (units of C) enclosed by a surface, but rather the charge density (C/m

) at a point. In this case, we could begin with Equation 4.6.2 and divide both sides of the equation by the volume

enclosed by

:

Now we let

shrink to zero, giving us an expression that must be true at whatever point we decide to converge upon. Taking the limit as

:

The quantity on the right hand side is by definition the *volume charge density*

(units of C/m

) at the point at which we converge. The left hand side is the *divergence* of

, sometimes abbreviated “div

.” Thus, the above equation can be written

## Summarizing

Divergence is the flux per unit volume through an infinitesimally-small closed surface surrounding a point.

We will typically not actually want to integrate and take a limit in order to calculate divergence. Fortunately, we do not have to. It turns out that this operation can be expressed as the dot product

; where, for example,

in the Cartesian coordinate system. This is the *same* “

” that appears in the definition of the gradient operator (Section 4.5) and is same operator that often arises when considering other differential operators. If we expand

in terms of its Cartesian components:

Then

This seems to make sense for two reasons. First, it is dimensionally correct. Taking the derivative of a quantity having units of C/m

with respect to distance yields a quantity having units of C/m

. Second, it makes sense that flux from a point should be related to the sum of the rates of change of the flux density in each basis direction.

## Summarizing:

The divergence of a vector field

is

.

EXAMPLE 4.6.1: DIVERGENCE OF A UNIFORM FIELD

A field

that is constant with respect to position is said to be *uniform*. A completely general description of such a field is

where

,

, and

are all constants. We see immediately that the divergence of such a field must be zero. That is,

because each component of

is constant with respect to position. This also makes sense from the perspective of the “flux through an infinitesimally-small closed surface” interpretation of divergence. If the flux is uniform, the flux into the surface equals the flux out of the surface resulting in a net flux of zero.

EXAMPLE 4.6.2: DIVERGENCE OF A LINEARLY-INCREASING FIELD

Consider a field

where

is a constant. The divergence of

is

. If we interpret

as a flux density, then we have found that the net flux per unit volume is simply the rate at which the flux density is increasing with distance.

To compute divergence in other coordinate systems, we merely need to know

for those systems. In the cylindrical system:

and in the spherical system:

Alternatively, one may use the explicit expressions for divergence given in Appendix B2.

EXAMPLE 4.6.3: DIVERGENCE OF A RADIALLY-DECREASING FIELD

Consider a vector field that is directed radially outward from a point and which decreases linearly with distance; i.e.,

where

is a constant. In this case, the divergence is most easily computed in the spherical coordinate system since partial derivatives in all but one direction (

) equal zero. Neglecting terms that include these zero-valued partial derivatives, we find:

In other words, if we interpret

as a flux density, then the flux per unit volume is decreasing with as the square of distance from the origin.

It is useful to know that divergence, like

itself, is a linear operator; that is, for any constant scalars

and

and vector fields

and

:

**Additional Reading:**

- “Divergence” on Wikipedia.

Ellingson, Steven W. (2018) Electromagnetics, Vol. 1. Blacksburg, VA: VT Publishing. https://doi.org/10.21061/electromagnetics-vol-1 CC BY-SA 4.0

Get the latest tools and tutorials, fresh from the toaster.