I have a matrix $(A^2)^k.$ I know that $A$ is a diagonal $n \times n$-matrix. I'm looking to take the derivative of this matrix with respect to $A$.
$\frac{d}{dA} (A^2)^k = ???$
I'm not sure the chain rule applies here; if so does $\frac{d}{dA} (A^2)^k = k(A^2)^{(k-1)}(2A)$
If the chain rule does apply, I guess I'm not sure how to simplify that - or if it can be simplified any further.
I'm keeping the exponents separate because $A$ is not guaranteed to be positive. Also, $k$ does not need to be a whole number (I'm looking at $0.6$). Is there a better way of dealing with exponents?
This is not a true claim. Derivative of a scalar relative to matrix is a matrix. Derivative of a vector relative to a matrix is a three-dimensional array and derivative of a matrix relative to a matrix can be defined as a set of these three-dimensional array over the vectors which forming the matrix. So you considered a set of 3 dimensional arrays equal to a 2-dimensional matrix which is not true. I think you should study more about vectors,matrixes and their derivative and dimensions.