A conservative vector field is a vector field which is equal to the gradient of a scalar function. By the fundamental theorem of line integrals, a vector field being conservative is equivalent to a closed line integral over it being equal to zero. Vector fields which are conservative are also irrotational (the curl is equal to zero), although the converse is only true if the domain is simply connected. As a corollary of Green's theorem, a two-dimensional vector field f is conservative if
Examples of conservative vector fields in the real word would be gravitational or static electrical fields.