I am trying to compute the partial derivative of $|Du|^{p-2}$ with respect to the variables $x_{i}$ but the index notation is kinda wrecking my thought process. If one converts $|Du|^{p-2}$ to summation notation, then we should have
$$|Du|^{p-2}=\left(\sum_{i=1}^{n}u_{x_i}u_{x_i}\right)^{(p-2)/2}$$
Then the partial derivative of this with respect to $x_{i}$ would be
$$\frac{\partial}{\partial x_{i}}|Du|^{p-2}=\frac{p-2}{2}\left(\sum_{i=1}^{n}u_{x_i}u_{x_i}\right)^{(p-4)/2}\left(\frac{\partial}{\partial x_{i}}\sum_{i}^{n}u_{x_i}u_{x_i}\right)$$
Recasting the sum in terms of $D$ and taking the derivative of the sum on the right we get we get
$$\frac{\partial}{\partial x_{i}}|Du|^{p-2}=\frac{p-2}{2}|Du|^{p-4}\left(\sum_{i}^{n}2u_{x_ix_i}u_{x_i}\right) = (p-2)|Du|^{p-4}\left(\sum_{i}^{n}u_{x_ix_i}u_{x_i}\right)$$
If I've gotten this correct, recasting the sum on the right in terms of $D$ has me lost. Any ideas from here would be greatly appreciated!