Conservative vector field (source code)

= Conservative vector field
{wiki=Conservative_vector_field}

A conservative vector field is a type of vector field in which the total work done by the field along a path depends only on the initial and final positions (the endpoints of the path) and not on the specific path taken. In other words, if you move from point A to point B in a conservative vector field, the work done is the same regardless of the trajectory taken between these two points.