Prerequisites
Gradient Theorem
The gradient theorem, also known as the fundamental theorem of calculus for line integrals, says that the line integral of the gradient of a scalar field, over a curve with start and end points and , is equal to evaluating the difference of the original scalar field at the endpoints and :
Where is the tangent vector to the curve .
Proof
Let be a scalar field, and be a differentiable curve in starts at and ends at . We can parameterize the curve with a differentiable function , so that and .
Note that represents the scalar field evaluated along the curve at time . maps by mapping time to a configuration and then to a scalar. If we take the derivative with respect to time, then using the chain rule, we get the Directional derivative for in the direction of , which is the tangent vector to the curve :
We can now prove the Gradient Theorem by applying the definition of a line integral, using the chain rule from above, and also applying the Fundamental Theorem of Calculus: