Vector calculus and the chain rule: Question about the Order of Differentiation

  • I
  • Thread starter binbagsss
  • Start date
  • #1
binbagsss
1,236
10
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
 

Answers and Replies

  • #2
anuttarasammyak
Gold Member
1,928
1,007
TL;DR Summary: chain rule order of differentiation in the product

and not
It contains gradient of vector which is a tough object.
 
  • #3
PeroK
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
23,996
15,678
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.
 
  • Like
Likes topsquark and DaveE
  • #4
pasmith
Homework Helper
2022 Award
2,584
1,183
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}
\nabla (\mathbf{v} \cdot \mathbf{v}) & \partial_i(v_jv_j), \\
\nabla \cdot (\mathbf{v} \mathbf{v}) & \partial_j(v_iv_j) , \\
\mathbf{v} \cdot (\nabla \mathbf{v}) & v_j \partial_i v_j, \\
\mathbf{v} (\nabla \cdot \mathbf{v}) & v_i \partial_j v_j, \\
(\mathbf{v} \cdot \nabla) \mathbf{v} & v_j \partial_j v_i.
\end{array}[/tex] Applying the product rule to the first two we have [tex]
\begin{split}
\nabla (\mathbf{v} \cdot \mathbf{v}) &= 2\mathbf{v} \cdot (\nabla \mathbf{v}) \\
\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}
\nabla \times (\mathbf{v} \times \mathbf{v}) & \epsilon_{ijk}\epsilon_{klm}\partial_j(v_lv_m) \\
\mathbf{v} \times (\nabla \times \mathbf{v}) & \epsilon_{ijk}\epsilon_{klm} v_j\partial_l v_m \\
(\mathbf{v} \times \nabla) \times \mathbf{v} & -\epsilon_{ijk}\epsilon_{klm} v_l\partial_mv_j
\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:
  • Like
Likes PhDeezNutz, vanhees71 and topsquark
  • #5
36,852
8,884
@pasmith, what operation is implied in this product: ##\mathbf{v} \mathbf{v}##? (The 2nd of your 5 examples)
 
  • #6
pasmith
Homework Helper
2022 Award
2,584
1,183
@pasmith, what operation is implied in this product: ##\mathbf{v} \mathbf{v}##? (The 2nd of your 5 examples)
Tensor product: [itex](\mathbf{v}\mathbf{v})_{ij} = v_i v_j[/itex].
 
  • Like
Likes vanhees71 and Mark44

Suggested for: Vector calculus and the chain rule: Question about the Order of Differentiation

Replies
6
Views
630
  • Last Post
Replies
2
Views
424
  • Last Post
Replies
9
Views
1K
  • Last Post
Replies
28
Views
1K
Replies
1
Views
301
  • Last Post
Replies
2
Views
511
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
6
Views
796
  • Last Post
Replies
5
Views
766
Replies
46
Views
3K
Top