Parametrize the straight line by , , with . Substituting into the vector field and taking the dot product gives
Hence the direct line integral is
For the curved path , . The vector field along this parametric curve is
Its dot product with the tangent is . Therefore the direct line integral is
Compute the curl in Cartesian coordinates:
The three components are , , and . Consequently
Integrate with respect to , obtaining . Matching gives , so . Finally, must equal the third component, so . Thus a scalar potential is
The fundamental theorem for line integrals now gives for either path, confirming both direct computations. Since the curl of a gradient is zero for this smooth function, it also confirms the result in part (b). The potential is defined throughout , so no domain obstruction to path independence occurs.

Articles by others on the same topic (0)

There are currently no matching articles.