I have always been wondering about this. How does one actually differentiate a polynomial/function in matrices? I can see for elementary functions such as $f(X)=AX+B$ where $X$ is the matrix as a variable, you get $f'(X)=A$, but what about functions such as $$ f(X)=AXA^{-1}, $$ how can I calculate the derivative?
2026-04-25 05:16:20.1777094180
How to differentiate functions in matrices
92 Views Asked by user63181 https://math.techqa.club/user/user63181/detail At
1
There are 1 best solutions below
Related Questions in LIE-ALGEBRAS
- Holonomy bundle is a covering space
- Computing the logarithm of an exponentiated matrix?
- Need help with notation. Is this lower dot an operation?
- On uniparametric subgroups of a Lie group
- Are there special advantages in this representation of sl2?
- $SU(2)$ adjoint and fundamental transformations
- Radical of Der(L) where L is a Lie Algebra
- $SU(3)$ irreps decomposition in subgroup irreps
- Given a representation $\phi: L \rightarrow \mathfrak {gl}(V)$ $\phi(L)$ in End $V$ leaves invariant precisely the same subspaces as $L$.
- Tensors transformations under $so(4)$
Related Questions in MATRIX-EQUATIONS
- tensor differential equation
- Can it be proved that non-symmetric matrix $A$ will always have real eigen values?.
- Real eigenvalues of a non-symmetric matrix $A$ ?.
- How to differentiate sum of matrix multiplication?
- Do all 2-variable polynomials split into linear factors over the space of $2 \times 2$ complex matrices?
- Big picture discussion for iterative linear solvers?
- Matrix transformations, Eigenvectors and Eigenvalues
- Jordan chevaley decomposition and cyclic vectors
- If $A$ is a $5×4$ matrix and $B$ is a $4×5$ matrix
- Simplify $x^TA(AA^T+I)^{-1}A^Tx$
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Your function $f$ is still linear, so it's still its own derivative. In general you can do it by plugging in an infinitesimal matrix $X \mapsto X + \epsilon$ such that the coefficients of $\epsilon$ all square to zero. This is, to my mind, by far the fastest and cleanest way, and I don't know why it isn't taught like this. It is more or less equivalent to using big-O notation and expanding everything out to $O(\| \epsilon \|^2)$ but saves some notation.
Example #0: The derivative of $X^2$ is given by writing
$$(X + \epsilon)^2 = X^2 + \epsilon X + X \epsilon$$
so the derivative at $X$ is the linear map $\epsilon \mapsto \epsilon X + X \epsilon$ (you might have guessed that it's $2X \epsilon$ but this only works if $X$ and $\epsilon$ commute).
Example #1: The derivative of $X^{-1}$ is given by writing
$$(X + \epsilon)^{-1} = \left( X(1 + X^{-1} \epsilon) \right)^{-1} = (1 + X^{-1} \epsilon)^{-1} X^{-1} = (1 - X^{-1} \epsilon) X^{-1}$$
so the derivative at $X$ is the linear map $\epsilon \mapsto -X^{-1} \epsilon X^{-1}$ (you might have guessed that it's $-X^{-2} \epsilon$ but again this only works if $X$ and $\epsilon$ commute).
Example #2: The derivative of $\det(X)$ is given by writing
$$\det(X + \epsilon) = \det(X) \det(1 + X^{-1} \epsilon) = \det(X) \left( 1 + \text{tr}(X^{-1} \epsilon) \right)$$
so the derivative at $X$ is the linear map $\epsilon \mapsto \det(X) \text{tr}(X^{-1} \epsilon)$, and in particular when $X = 1$ it's the linear map $\epsilon \mapsto \text{tr}(\epsilon)$.
Example #3: The derivative of $\exp(X)$ is given by writing
$$\exp(X + \epsilon) = \sum_{n=0}^{\infty} \frac{(X + \epsilon)^n}{n!} = \sum_{n=0}^{\infty} \frac{X^n + \sum_{k=1}^n X^{k-1} \epsilon X^{n-k}}{n!}$$
so the derivative at $X$ is the linear map
$$\epsilon \mapsto \sum_{n \ge 0} \frac{\sum_{k=1}^n X^{k-1} \epsilon X^{n-k}}{n!}$$
which I don't believe can be simplified in general, although it ought to have some nice expression in terms of commutators, maybe after multiplying by $\exp(-X)$. If $X$ and $\epsilon$ commute this simplifies to $\exp(X) \epsilon$, and in particular if $X = 0$ this simplifies to $\epsilon$. Formalizing this example would require proving various things about convergence and exchange of limits but it can be done.