An exact differential is a one-form equal to for a single-valued scalar function on the domain. In Euclidean coordinates this means its vector coefficients form . Integrating the first component of with respect to , then matching the other components, gives
Differentiating checks all three components. Since the domain is connected, two such potentials differ only by a constant, so this is the most general potential.
At both specified endpoints the nonconstant terms vanish. The fundamental theorem for line integrals gives zero for the line integral along every path joining the two points.
For the planar field, choose a continuous lift of the polar angle along a curve avoiding the origin. Differentiating the angle gives
On the closed curve the angle increases by times its winding number. Thus
The angle differential is locally exact but not globally exact on the punctured plane: the angle lift need not return to its initial value. This is the nonexact angular one-form, whose nonzero closed-path integral obstructs a global potential.