A vortex field in two dimensions is a velocity field or a vector field that equals . If we take around a circle centered at the origin, we get a constant. Let us stay away from the origin to avoid trouble with the .
This vector field has a vanishing divergence. Therefore it can be written as a curl.
This vector field also has a vanishing curl. Therefore it can be written as a gradient.