Divergence of vector fields

Divergence of vector fields

Consider the vector field . This is a radial field where each vector has length . everywhere.
Attachments/Pasted image 20231117142730.png

Now consider the vector field . We have except at , where it is infinity (undefined).

Divergence in polar coordinates

Divergence in polar coordinates

Let give a vector field in polar coordinates. Here and are scalar coordinate functions, is the unit vector in the radial direction, and is the unit vector in the direction.
Problem: Find a formula for the divergence in polar coordinates.

Solution: Write in terms of polar coordinates. We have in Cartesian coordinates:

so:

The chain rule gives us formulas to convert derivatives:

So we obtain, after some cancellation and rearranging: