Problem: The square matrix $A\in\mathbf{R}^{n\times n}$ is not function of $x\in \mathbf{N}$. Then, how do to calculate the following matrix derivative? $$\frac{\partial}{\partial x} \ A^x $$
I could not find such calculus on any website and materials as far as I know. Do you know any documents, papers or theorems which are related with this? Or how is derivation shown?
My main interest: Furthermore, I have already shown a proof when the matrix $A$ is able to diagonalize. But, I cannot find how to approach in other cases or the general case.
Let $A\in GL_n(\mathbb{C}),x\in \mathbb{C}$. By definition, $A^x$ is $e^{x\log(A)}$; yet, how $\log(A)$ is defined ? We write the Jordan Chevalley decomposition of $A$: $A=D(I+N)$ ($D$ diagonalizable, $N$ nilpotent, $DN=ND$) and we put $\log(A)=\log(D)+N-N^2/2+\cdots+N^{n-1}(-1)^n/(n-1)$; yet, how to define $\log(D)=\log(P\Delta P^{-1})$ where $\Delta=diag((\lambda_i))$ ? We put $\log(D)=Pdiag((\log(\lambda_i))P^{-1}$ and it suffices to define the function $\log$ over $\mathbb{C}$. The simplest way is to consider the principal log defined on $\mathbb{C}\setminus (-\infty,0]$ by $\log(re^{i\theta})=\log(r)+i\theta$ where $\theta\in (-\pi,\pi)$. Note that (even if $x\in \mathbb{R}$) $\log(a^x)\not= x\log(a)$.
Finally, $\log(A)$ is defined when $A$ has no eigenvalues in $(-\infty,0]$.
It can be proved that $\log(A)$ is well defined, is a polynomial in $A$, is a real matrix when $A$ is a real matrix. In particular, $A^x$ is a polynomial in $\log(A)$, then a polynomial in $A$; for example, if $A\in GL_3(\mathbb{C)}$, $A^x=f_0(x)I_3+f_1(x)A+f_2(x)A^2$ (where the $f_i$ are holomorphic functions). Of course, $\log(A^x)\not= x\log(A)$; If you do not want any such trouble, then consider the following particular case:
The case when $A$ is symmetric $>0$ is straightforward. $A=Pdiag((\lambda_i))P^{-1}$, where $\lambda_i>0$. Then $\log(A)=Pdiag((\log(\lambda_i))P^{-1}$ with the standard $\log$ over $(0,+\infty)$ ($\log(A)$ does not depend on the choice of $P$).
Then our function $A^x=e^{x\log(A)}$ is holomorphic and its complex derivative is $\log(A)e^{x\log(A)}=\log(A)A^x$, the product being commutative.