Parametrize the straight line by , , with . Substituting into the vector field and taking the dot product givesHence the direct line integral is
For the curved path , . The vector field along this parametric curve isIts dot product with the tangent is . Therefore the direct line integral is
Integrate with respect to , obtaining . Matching gives , so . Finally, must equal the third component, so . Thus a scalar potential isThe 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
There are currently no matching articles.