Three matching derivatives
Assume C1 components on an open region. In the plane omit Rz.[1]
Differentiate P by x, Q by y and R by z; cross derivatives do not belong in this sum. The result at each point is a scalar. Positive values mean local net outflow and negative values net inflow. A constant field, however strong, has zero divergence because opposing faces receive and emit equal amounts.[2]
Why differentiation measures flux
Use shrinking cubes around p with outward unit normal; C1 regularity supplies the local interpretation.[1]
Across opposite x-faces of a small box, P differs by approximately Px·Δx. Multiplying by face area gives Px times volume. The y- and z-faces contribute Qy and Rz. Dividing by volume leaves their sum. A velocity field in m/s has divergence in s−1; generally its unit is field unit per length. Cartesian formulas cannot be copied unchanged to cylindrical or spherical components.[2]
Source-free does not mean stationary
Zero divergence means local flux balance, not F=0 or no motion. For example F=(−y,x,0) has zero divergence and curl (0,0,2). For C2 fields, div(curl F)=0 because mixed derivatives cancel. The calculator adds three supplied local matching derivatives; it does not symbolically differentiate arbitrary input expressions.[1]
Two worked examples
Linear flow with positive source strength
- Given
- F=(2x,−y,3z); coordinates and field values are dimensionless here.
- Find
- Find divergence and net outward flux through [0,a]3.
Differentiate matching components.
Lower faces contribute zero here; retain the negative y-component.
Add outward flux through all faces.
Result: Divergence is 4 everywhere; a=2 gives V=8 and Φ=32.
Check: Φ/V=4 agrees exactly with local divergence.
Position-dependent divergence
- Given
- F=(x2y,yz,z2) at (2,3,1).
- Find
- Find div F and evaluate it.
Hold other coordinates fixed in each partial derivative.
Combine the matching derivatives.
Substitute the point after differentiating.
Result: Local divergence is 15.
Check: Substituting before differentiation would create constants and incorrectly erase spatial dependence.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Five exercises with solutions
Calculate · Foundation
F=(3x,2y,−z). Compute div F.
Show hint
Use Px+Qy+Rz.
Learning goal: Sum the matching derivatives.
Show solution and calculation
div F=3+2−1=4.
The result is a scalar and is constant in space.
Rearrange · Application
div F=7, Px=2 and Qy=−1. Find Rz at the same point.
Show hint
Isolate Rz in the sum.
Learning goal: Recover a missing local derivative.
Show solution and calculation
Rz=7−2−(−1)=6.
All values must refer to the same point and Cartesian coordinates.
Interpret · Application
For F=(100,0,0), is divergence positive because the arrows are large?
Show hint
Every spatial derivative of the components vanishes.
Learning goal: Distinguish field magnitude from source strength.
Show solution and calculation
No, div F=0.
Inflow and outflow through opposite faces balance.
Field magnitude and local source strength describe different properties.
Error analysis · Application
Someone claims div F=2 for F=(−y,x,0). Correct the calculation.
Show hint
Use derivatives with respect to matching coordinates.
Learning goal: Avoid confusing divergence with curl.
Show solution and calculation
Px=0,Qy=0,Rz=0, so div F=0.
The value 2 belongs to the curl’s z-component Qx−Py.
Transfer · Challenge
A velocity field has units m/s and coordinates have units m. Give divergence units and interpret its sign.
Show hint
Each derivative divides by a length.
Learning goal: Determine units of a spatial derivative.
Show solution and calculation
Units are s−1.
Positive means local net outward flux per volume; negative means net inflow.
Without density assumptions, this is not a complete statement about time evolution of density.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Related next steps
The other local operator is explained in Curl of a vector field.
The global flux balance is treated by the Divergence theorem.
The derivative foundation is Gradient and partial derivatives.
Multivariable Taylor polynomial: use local derivatives to approximate a smooth scalar field component.
Sources for this explanation
Quanta · Updated November 8, 2026
- OpenStax Calculus Volume 3 — 6.5 Divergence and Curl
- University of Stuttgart, Higher Mathematics: 5.2 Curl and divergence (translated source label)
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Added a full article with assumptions, derivation, two worked examples and five varied exercises.
Cite this reference page
Quanta. Divergence of a Vector Field. Updated November 8, 2026. https://quanta-study.de/en/formula-sheet/divergenz-vektorfeld
When citing a specific scientific statement, also cite the specialist source linked to that statement.