Example 1. Calculate the divergence of
.
| (4) |
This is the vector field shown on the left above. Its divergence is constant throughout all space.
Example 2. What is the divergence of
?
Recall that
and
, so
![]()
![]()
Thus, the divergence is
![]()
![]()
![]()
Thus, the divergence of the vector field here is zero everywhere except at the origin, where the vector field in undefined.