Using the Chain Rule for Vector Calculus: A Tutorial

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 3K views
binbagsss
Messages
1,291
Reaction score
12
TL;DR
chain rule order of differentiation in the product
This is probably a stupid question, but I have never realised that there's an order things should be done in the chain rule , so for example

## \nabla(\bf{v}.\bf{v})=2\bf{v} (\nabla\cdot \bf{v}) ##

and not

## 2 \bf{v} \cdot \nabla \bf{v} ##

Is there an obvious way to see / think of this from the chain rule, say in 1-D, preferably through looking at the limit definition?
Thanks
 
on Phys.org
binbagsss said:
TL;DR Summary: chain rule order of differentiation in the product

and not
It contains gradient of vector which is a tough object.
 
binbagsss said:
TL;DR Summary: chain rule order of differentiation in the product

This is probably a stupid question, but I have never realised that there's an order things should be done in the chain rule , so for example

## \nabla(\bf{v}.\bf{v})=2\bf{v} (\nabla\cdot \bf{v}) ##

and not

## 2 \bf{v} \cdot \nabla \bf{v} ##

Is there an obvious way to see / think of this from the chain rule, say in 1-D, preferably through looking at the limit definition?
Thanks
The gradient of a scalar function is a vector. All these identities follow from the definition.
 
Reply
  • Like
Likes   Reactions: topsquark and DaveE
binbagsss said:
TL;DR Summary: chain rule order of differentiation in the product

This is probably a stupid question, but I have never realised that there's an order things should be done in the chain rule , so for example

## \nabla(\bf{v}.\bf{v})=2\bf{v} (\nabla\cdot \bf{v}) ##

and not

## 2 \bf{v} \cdot \nabla \bf{v} ##

Is there an obvious way to see / think of this from the chain rule, say in 1-D, preferably through looking at the limit definition?
Thanks

Using suffix notation, we can form five vectors from two copies of [itex]\mathbf{v}[/itex] and a single [itex]\nabla[/itex]: [tex] \begin{array}{cc}<br /> \nabla (\mathbf{v} \cdot \mathbf{v}) & \partial_i(v_jv_j), \\<br /> \nabla \cdot (\mathbf{v} \mathbf{v}) & \partial_j(v_iv_j) , \\<br /> \mathbf{v} \cdot (\nabla \mathbf{v}) & v_j \partial_i v_j, \\<br /> \mathbf{v} (\nabla \cdot \mathbf{v}) & v_i \partial_j v_j, \\<br /> (\mathbf{v} \cdot \nabla) \mathbf{v} & v_j \partial_j v_i. <br /> \end{array}[/tex] Applying the product rule to the first two we have [tex] \begin{split}<br /> \nabla (\mathbf{v} \cdot \mathbf{v}) &= 2\mathbf{v} \cdot (\nabla \mathbf{v}) \\<br /> \nabla \cdot (\mathbf{v} \mathbf{v}) &= (\mathbf{v} \cdot \nabla) \mathbf{v} + \mathbf{v}(\nabla \cdot \mathbf{v}).\end{split}[/tex] This is about the point at which suffix notation becomes clearer than vector notation.

EDIT: For completeness, we can also form these three using the cross product: [tex] \begin{array}{cc}<br /> \nabla \times (\mathbf{v} \times \mathbf{v}) & \epsilon_{ijk}\epsilon_{klm}\partial_j(v_lv_m) \\<br /> \mathbf{v} \times (\nabla \times \mathbf{v}) & \epsilon_{ijk}\epsilon_{klm} v_j\partial_l v_m \\<br /> (\mathbf{v} \times \nabla) \times \mathbf{v} & -\epsilon_{ijk}\epsilon_{klm} v_l\partial_mv_j<br /> \end{array}[/tex] These can, however, be expressed in terms of the previous vectors by use of the identity [tex]\epsilon_{ijk}\epsilon_{klm} = \delta_{il}\delta_{jm} - \delta_{im}\delta_{jl}.[/tex]
 
Last edited:
Reply
  • Like
Likes   Reactions: PhDeezNutz, vanhees71 and topsquark