Compare the total differential with and . The orthonormality of the coordinate basis gives the gradient in orthogonal coordinates:
To obtain the curl without neglecting the variation of the basis vectors, write . The curl of a gradient vanishes, and the product rule gives
Likewise because the system is right-handed. This cross product has zero divergence: . The divergence product rule applied to now gives
Cyclic permutation and linearity give the general component formulas described by divergence and curl from orthogonal coordinate gradients:
and
In cylindrical coordinates, . The specified field has no dependence or component, so
It is an irrotational vector field for every exactly when . This statement is local to an angular coordinate chart: the component proportional to is not single-valued under .