The divergence operator is a differentiation operator that operates on vector fields. It uses the dot product with partial derivatives.
Definition
Divergence Operator ^definition
Let be a vector field operating in Euclidean space, where . If is (that is, all are ), then the divergence of is:
- While , we have
- In the case of a real vector field , if we have where are scalar functions, we have:
Compressibility Of A Vector Field
The divergence operator can define the compressibility of a vector field, as well as define sources and sinks. Let be a vector field:
- If at a point , then is a source. We can say the field is expanding.
- If at a point , then is a sink. We can say the field is compressing.
- If at point , then it is neither sink nor source. We can say the field is incompressible at point .
Thus, the divergence operator defines an incompressible vector field if it is incompressible for all points .
%%🖋 Edit in Excalidraw, and the dark exported image%%
Applications
Fluids
If is the velocity vector field representing fluid flow, then the divergence gives the net transport of fluids in or out of a point:
- If at a point , then more fluid is flowing out then in and is a source. We can say the fluid is expanding.
- If at a point , then more fluid is flowing in then out and is a sink. We can say the fluid is compressing.
- If at point , then the fluid net transport is steady. If this holds for all , the fluid has incompressible flow.
Examples
1: Expanding Vector Field
Find the divergence of the given vector field:
Solution
Since the divergence is , we can say is an expanding vector field.
Visuals
2: Compressing Vector Field
Find the divergence of the given vector field:
Solution
Since the divergence is , we can say is an compressing vector field.
Visuals
3: Incompressible Vector Field
Find the divergence of the given vector field:
Solution
Since the divergence is exactly zero, we can say is an incompressible vector field.
Visuals