Divergence
Del dot A, source or sink of vector field, flux density.
The divergence of a vector field is a scalar measure of how much a vector field spreads out from or converges into a given point in space. It quantifies whether a point acts as a source (positive divergence), a sink (negative divergence), or neither (zero divergence). In electromagnetics, divergence appears in two of Maxwell's four equations, directly governing the behavior of electric and magnetic flux densities.
Core Concept Explanation
To understand divergence physically, imagine a vector field A as the flow of a fluid. At any point, if more fluid is flowing out of a tiny volume surrounding that point than is flowing in, there must be a source of fluid at that point: the divergence is positive. If more flows in than out, there is a sink: divergence is negative. If the inflow exactly equals the outflow, divergence is zero and the point is called a source-free or solenoidal point.
This physical picture translates directly into Maxwell's equations. In electrostatics, Gauss's law in differential form states that del dot D equals rho-v, where D is the electric flux density and rho-v is the volume charge density. This means positive charges are sources of D flux lines and negative charges are sinks. For the magnetic flux density B, del dot B equals zero always, because there are no magnetic monopoles in nature. Magnetic field lines never start or end; they always form closed loops.
The divergence theorem (also called Gauss's theorem) connects the volume integral of divergence to the surface integral of flux: the integral of (del dot A) over a volume equals the closed surface integral of A dot dS over the bounding surface. This theorem is the mathematical backbone of deriving Gauss's law in integral form from its differential form and is frequently used to evaluate difficult surface integrals by converting them to simpler volume integrals.
Mathematical Expression
In Cartesian coordinates, the divergence of a vector A = Ax ax + Ay ay + Az az is written as del dot A = (partial Ax / partial x) + (partial Ay / partial y) + (partial Az / partial z). Notice that the result is a scalar: the sum of three partial derivatives. Each partial derivative asks how rapidly the corresponding component changes along its own axis direction.
In cylindrical coordinates (rho, phi, z), del dot A = (1/rho)(partial(rho A-rho)/partial rho) + (1/rho)(partial A-phi / partial phi) + (partial Az / partial z). The extra rho factors in the first term are scale factors that account for the cylindrical geometry. In spherical coordinates (r, theta, phi), del dot A = (1/r squared)(partial(r squared A-r)/partial r) + (1/(r sin theta))(partial(sin theta A-theta)/partial theta) + (1/(r sin theta))(partial A-phi / partial phi).
Practical Understanding
In circuit and EM problems, verifying that a field is solenoidal (divergence-free) is a standard step. A magnetic field must always be solenoidal. If a student computes del dot B and gets a nonzero result for a given B field, it means either the field is incorrectly specified or the problem contains an error. This is a useful self-check in problems involving vector field verification.
The divergence theorem is also used practically to convert surface integrals over closed surfaces (which can be geometrically complex) into volume integrals (which are often simpler, especially when the integrand has a simple form after differentiation). For example, computing the total charge enclosed by a surface using del dot D = rho-v and the divergence theorem often reduces a three-dimensional surface problem to a straightforward volume integral.
Given:
A = x²ax + 2xyay + xyzaz
Find ∇·A at point P(2, 1, 3)
Why this formula applies:
Cartesian vector field given; divergence is sum of partial derivatives of each component.
Formula:
∇·A = ∂Ax/∂x + ∂Ay/∂y + ∂Az/∂z
Substitution:
∂Ax/∂x = ∂(x²)/∂x = 2x
∂Ay/∂y = ∂(2xy)/∂y = 2x
∂Az/∂z = ∂(xyz)/∂z = xy
Calculation:
∇·A = 2x + 2x + xy
= 4x + xy
At P(2, 1, 3): x=2, y=1
∇·A = 4(2) + (2)(1) = 8 + 2 = 10
Final Answer:
∇·A = 10 (scalar) at P(2, 1, 3)
Positive divergence → P is a source point for field AExam Tip: GATE tests ∇·B = 0 (no magnetic monopoles) and ∇·D = ρv (Gauss's law) frequently in MCQ form. For numerical problems, always compute each partial derivative separately before adding. A very common mistake is differentiating Ay with respect to x instead of y.
Key Points on Divergence Mechanism
- Divergence takes a vector field as input and returns a scalar. It measures net outward flux per unit volume at a point.
- Positive divergence = source, negative = sink, zero = solenoidal (no net flux generation).
- In Cartesian: del dot A = dAx/dx + dAy/dy + dAz/dz. Each component differentiated with respect to its own variable.
- Maxwell: del dot D = rho-v (Gauss's law) and del dot B = 0 (no magnetic monopoles).
- Divergence theorem: volume integral of (del dot A) equals closed surface integral of A dot dS.
- In cylindrical and spherical, scale factors multiply the partial derivatives. These must not be omitted.
Quick Revision
- del dot A = dAx/dx + dAy/dy + dAz/dz in Cartesian. Result is a scalar.
- Physical meaning: positive = source, negative = sink, zero = solenoidal field.
- Maxwell: del dot D = rho-v, del dot B = 0. These two must be memorized exactly.
- Divergence theorem: closed surface integral of A dot dS = volume integral of del dot A dv.
- In cylindrical: first term is (1/rho) d(rho A-rho)/d(rho), NOT just d(A-rho)/d(rho). The rho inside the derivative matters.
- GATE trap: differentiating Ay with respect to x or Ax with respect to y are the most common errors. Each component is differentiated only with respect to its own coordinate.
- del dot (del cross A) = 0 always (divergence of a curl is zero). This identity is used in proving del dot B = 0 from the vector potential formulation.
Divergence Operator Quiz
Test your ability to compute divergence and interpret its physical meaning in field theory.
Q1.For the vector field A = x^2 x-hat + y^2 y-hat + z^2 z-hat, the divergence div A at point (1, 2, 3) is:
Related Articles
Divergence Theorem
Volume to surface integral conversion, Gauss theorem.
10 min read
Vector Addition and Subtraction
Parallelogram law, component-wise operations.
8 min read
Dot Product
Scalar product, projection, work done calculation.
8 min read
Cartesian Coordinate System
x y z axes, unit vectors, position vector.
5 min read
Cross Product
Vector product, area, torque, direction by right hand rule.
11 min read