Path-independence example in three dimensions
In three dimensions, we can write a vector field as
Assume that is defined everywhere in , except for possibly a finite number of points. Then, is path-independent if and only if the curl of is zero, i.e., if
We can write this condition as
It’s the same thing.
Here are two examples.
Example 1: .
Is the integral path-independent?
This corresponds to . The vector field defined on . So we can use the above condition.
The curl is zero, so the integral is path-independent.
Example 2: .
Is the integral path-independent?
This corresponds to .
The curl is not zero, so the integral is path-dependent.
Note: since path-independence doesn’t depend on , , , you can easily conclude from Example 1 that
is also path-independent.