An example of a conservative vector field
If a vector field is a gradient field, meaning for some scalar-valued function , then we can compute the line integral of along a curve from some point to some other point
Note that this integral does not depend on the entire curve ; it depends on only the endpoints and . If we replaced by another curve with the same endpoints, the integral would be unchanged. Hence is path-independent (or conservative).
As an example, consider , and let . We know that must be conservative.
What is where is a path for ? The starting point is , and the ending pont is . Hence the integral must be
We could also compute the direct way using the parametrization :
which agrees with the first answer.
We should get the same answer for any path from to . Since , we let the curve be the straight line path parametrized by for . (Note that this is not a reparametrization of . The curve was not a straight line, so is a completely different curve.)
The integral along is
Indeed, we got the same answer again.