This tool computes the divergence and curl of a three-dimensional vector field at a specific point. In vector calculus and multivariable calculus, these two differential operators help you understand how a field expands, compresses, and rotates in space. They are central in physics, engineering, and applied mathematics, especially in areas like fluid dynamics and electromagnetism.
You can think of a vector field F(x, y, z) as assigning a vector to every point in 3D space, for example a velocity vector of a fluid, or the electric or magnetic field in Maxwell’s equations. The calculator assumes a Cartesian coordinate system and a field of the form:
F(x, y, z) = (Fx(x, y, z), Fy(x, y, z), Fz(x, y, z))
The divergence and curl are defined using partial derivatives of the components of F with respect to x, y, and z.
The divergence measures the net outflow of the vector field from an infinitesimal volume around a point. In Cartesian coordinates:
∇·F = ∂Fx/∂x + ∂Fy/∂y + ∂Fz/∂z
The curl measures the local rotation or swirling of the field. In Cartesian coordinates the curl is another vector field whose components are:
∇×F = ( ∂Fz/∂y − ∂Fy/∂z, ∂Fx/∂z − ∂Fz/∂x, ∂Fy/∂x − ∂Fx/∂y )
Physically, the direction of the curl vector indicates the axis of rotation, and its magnitude indicates how strong that local rotation is.
x*y, y^2 + sin(z), or 3*x.y*z or cos(x).z*x or x^2 + y^2.Use x, y, and z as the variables. Supported syntax includes standard operators (+, −, *, /, ^) and common functions like sin, cos, exp, and log.
1 or 0.5.The calculator evaluates the divergence and curl at this single point in space.
The tool differentiates each component symbolically with respect to x, y, and z, then substitutes the point (x0, y0, z0) to give numerical values for ∇·F and ∇×F.
The output will show:
Typical interpretations in vector calculus and physics are:
Consider the vector field
F(x, y, z) = (x y, y z, z x)
Step 1: Compute the divergence:
So
∇·F = y + z + x
Step 2: Compute the curl components:
So
∇×F = ( −y, −z, −x )
Step 3: Evaluate at the point (1, 2, 3):
Entering fx = x*y, fy = y*z, fz = z*x and x0 = 1, y0 = 2, z0 = 3 into the calculator will reproduce these results.
| Aspect | Divergence (∇·F) | Curl (∇×F) |
|---|---|---|
| Type of quantity | Scalar (single number) | Vector (three components) |
| Geometric meaning | Net outflow or inflow from a small volume | Local rotation or swirling of the field |
| Typical interpretation in fluids | Compressibility or sources/sinks of fluid | Vorticity (how much the fluid spins) |
| Typical interpretation in electromagnetism | Related to charge density (Gauss’s law) | Related to changing fields and induction (Faraday’s law, Ampère’s law) |
| Zero value implies | Solenoidal / incompressible behavior | Irrotational field; often conservative (on simply connected domains) |
| Main operation | Sum of normal components of the derivative | Difference of mixed partial derivatives in cyclic order |
x, y, and z.Divergence and curl sit alongside other core operators in vector calculus:
Using this divergence and curl calculator alongside gradient or flux tools can help build intuition for Maxwell’s equations, fluid flow problems, and many other topics in multivariable calculus.