what is the best approach to compute $\text{div}(A\, Du)$ where $Du$ is the gradient vector of a scalar function $u:\Bbb R^n\to \Bbb R$ and $A$ is a $n\times n$ matrix?
The entries of $A$ are functions defined over $\Bbb R^n$ as well. Do you simply do the same as you would if the expression was $\text{div}(Du)$? Cant think of anything else, but it becomes extremely cumbersome when I am supposed to show that its equal to zero (I have an expression for both $u$ and $A$ but I dont think they are needed to give an answer to my question).
$A$ is symmetric and the associated differential operator is elliptic, in case that should be useful, but I primarily want to know the general approach. Thanks in advance.