Is $\nabla \cdot (\mathbf{a} \mathbf{b}^\mathrm{T}) = \mathbf{b}(\nabla \cdot \mathbf{a})+(\mathbf{a}\cdot \nabla) \mathbf{b}$ correct?

211 Views Asked by At

Wikipedia says that the following statement is a vector identity:

$$\nabla \cdot (\mathbf{a} \mathbf{b}^\mathrm{T}) = \mathbf{b}(\nabla \cdot \mathbf{a})+(\mathbf{a}\cdot \nabla) \mathbf{b}$$

Where $\mathbf{a}\mathbf{b}^\mathrm{T}$ is the outer product of $\mathbf{a}$ and $\mathbf{b}$. Therefore, it is a matrix! Now my question is this:

How can we define the inner product of the operator $\nabla$ that is treated like a vector with a matrix!? Their dimensions don't match, so, the inner product in the classical sense is meaningless here.

2

There are 2 best solutions below

5
On BEST ANSWER

$\nabla \cdot M$ is abuse of notation for the per-column divergence of $M$. Assuming $M$ has dimension $n\times n$ and your metric is Euclidean:

$$(\nabla \cdot M)_i = \sum_{j=1}^n \frac{\partial m_{ji}}{\partial x_j}.$$

The intuition here is that you can treat the nabla operator like a "vector" $\nabla = \left[\frac{\partial}{\partial x_1}\ldots \frac{\partial}{\partial x_n}\right]^T$ in which case the above formula is what you would get from applying ordinary rules of vector-matrix multiplication to the "inner product" $\nabla^T M$. This shortcut works since $\nabla$, like multiplication by a matrix, acts linearly, but of course one should be careful when relying on such notational tricks. Your identity is a great example; naive manipulation would not correctly recover the second term of the chain rule: $$(\nabla^T a b^T)^T \neq b (a^T \nabla) = b (\nabla \cdot a).$$

1
On

Things become more transparent if we work in index notation. Note that to take the divergence of a matrix $M$ returns a vector with components $(\nabla\cdot M)_j =\sum_i \partial_i M_{i j}$. In the case of $M_{i j}=(\mathbf{a} \mathbf{b}^T)_{ij}=a_i b_j$ this yields

$$\left(\nabla\cdot (\mathbf{a}\mathbf{b}^T)\right)_j= \sum_i \partial_i (a_i b_j)=b_j\left(\sum_i \partial_i a_i\right)+\left(\sum_i a_i \partial_i\right)b_j=\left(\mathbf{b}\left(\nabla\cdot\mathbf{a}\right)+(\mathbf{a}\cdot\nabla)\mathbf{b}\right)_j$$