Divergence Calculator

Type a vector field (P, Q, R) to find its divergence.

Write the components in x, y and z, separated by commas, as (P, Q, R). Two components are read as (P, Q).

Try

Result

You entered∇⋅(x,y,z)\nabla\cdot\left(x, y, z\right)

∇⋅F=3\displaystyle \nabla\cdot\mathbf{F} = 3
Show the work
  1. Divergence

    The divergence of F=(P,Q,R)\mathbf{F} = (P, Q, R) adds the rate of change of each component in its own direction: it measures how much the field spreads out from a point.

    Using ∇⋅F=∂P∂x+∂Q∂y+∂R∂z\nabla\cdot\mathbf{F} = \frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y} + \frac{\partial R}{\partial z}

    F=(x,y,z)\mathbf{F} = \left(x, y, z\right)
  2. Partial derivative of each component

    Differentiate PP, QQ, RR with respect to xx, yy, zz in turn.

    ∂P∂x=1∂Q∂y=1∂R∂z=1\begin{gathered} \frac{\partial P}{\partial x} = 1 \\ \frac{\partial Q}{\partial y} = 1 \\ \frac{\partial R}{\partial z} = 1 \end{gathered}
  3. Result

    The sum of the three partial derivatives.

    ∇⋅F=3\nabla\cdot\mathbf{F} = 3

Worked examples