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∇⋅(x2 y,y z,x z2)\nabla\cdot\left(x^{2}\,y, y\,z, x\,z^{2}\right)

∇⋅F=2x y+z+2x z\displaystyle \nabla\cdot\mathbf{F} = 2x\,y + z + 2x\,z
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=(x2 y,y z,x z2)\mathbf{F} = \left(x^{2}\,y, y\,z, x\,z^{2}\right)
  2. Partial derivative of each component

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

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

    The sum of the three partial derivatives.

    ∇⋅F=2x y+z+2x z\nabla\cdot\mathbf{F} = 2x\,y + z + 2x\,z

Worked examples