vector divergence: Nonlinear Function
Created: June 07, 2024
Modified: June 08, 2024

vector divergence

This page is from my personal notes, and has not been specifically reviewed for public consumption. It might be incomplete, wrong, outdated, or stupid. Caveat lector.

The divergence of a vector-valued function FF on a vector field measures the extent to which a given point x\mathbf{x} is a source of the field.

It is defined as the flux along the boundary of an infinitesimal volume VV containing the point x\mathbf{x}. Formally, this is the surface integral of the quantity Fn^F \cdot \hat{\mathbf{n}} where n^\hat{\mathbf{n}} is the unit normal vector to the boundary:

div  F=limV01VS(V)F(S)n^(S)dS\text{div}\; F = \lim_{|V|\to 0} \frac{1}{|V|} \oint_{S(V)} F(S) \cdot \hat{\mathbf{n}}(S) dS

Because everything gets locally linear when you get small enough, it turns out that the shape of the volume doesn't matter, so without loss of generality we can consider the axis-aligned cube of width 2ϵ2\epsilon. This gives us an equation in Cartesian coordinates, first in one dimension

div  F(x)=limϵ012ϵ[F(xϵ)(1)+F(x+ϵ)1]=F(x)x\text{div}\; F(x) = \lim_{\epsilon\to 0} \frac{1}{2\epsilon}\left[ F(\mathbf{x} - \epsilon) \cdot (-1) + F(\mathbf{x} + \epsilon) \cdot 1\right] = \frac{\partial F(x)}{\partial x}

and generalizing to multiple dimensions

div  F(x)=dFd(x)xd=xFx+yFy+\text{div}\; F(\mathbf{x}) = \sum_d \frac{\partial F_d(\mathbf{x})}{\partial x_d} = \nabla_x F_x + \nabla_y F_y + \ldots

which is sometimes written via abuse of notation as

div  F(x)=F.\text{div} \; F(\mathbf{x}) = \nabla \cdot F.