For differentiable maps and , the multivariable chain rule multiplies their Jacobian matrices:
The outer matrix multiplies the inner matrix, producing an matrix. This order records that the inner linear map acts first. Componentwise, the matrix multiplication sums the contributions of all intermediate coordinates. Existence of separate partial derivatives alone is not the required differentiability hypothesis.
If is differentiable at the point of a differentiable parametric curve, the multivariable chain rule gives
The gradient supplies the local spatial rates; the velocity vector supplies the direction and rate of movement. Their dot product is the change in the sampled scalar field per unit parameter. If the parameter is time, this is a rate per unit time; a directional derivative per unit distance instead uses a unit vector.
Take and the unit circle path . Along the path,
At , the gradient is , the velocity vector is , and their dot product is . The sampled value is and increases at rate one, even though one coordinate is decreasing. This is why a moving observation must combine every coordinate's contribution.
Figure 1.
The gradient and path velocity combine to give the rate of change along a curve
. Left: level curves of , the unit circle path, and arrows at for its velocity vector and a scaled gradient. Right: the sampled function and its tangent line, of slope one at that parameter. The displayed gradient arrow is scaled for readability, without changing its direction. Details.
For a level curve, is constant, so the derivative along a curve is zero and its velocity vector is orthogonal to the gradient. Along other paths, the same formula combines a field's geometry with the observer's motion. [ref].

Articles by others on the same topic (1)