Derivatives of matrix-valued functions of one variable
Library · Source module
Derivatives of matrix-valued functions of one variable
Derivatives of the product, the powers, the determinant (Jacobi's formula), the inverse and the trace of powers of a differentiable one-parameter family of matrices. Hypotheses and matrix-valued conclusions are entrywise (each entry s \mapsto \mathbf{A}(s)_{i,j} has derivative \mathbf{A}'_{i,j} at t), so the statements do not depend on a choice of matrix norm. Upstream candidates for a file Mathlib.Analysis.Calculus.Deriv.Matrix.
Main results
* Matrix.hasDerivAt_iff_forall_apply: the entrywise form of a derivative. * Matrix.hasDerivAt_mul_apply, Matrix.hasDerivAt_pow_succ_apply: products and powers. * Matrix.hasDerivAt_det: Jacobi's formula (\det \mathbf{A})' = \operatorname{tr}(\operatorname{adj}(\mathbf{A}) \mathbf{A}'). * Matrix.hasDerivAt_log_det: (\log \det \mathbf{A})' = \operatorname{tr}(\mathbf{A}^{-1} \mathbf{A}'). * Matrix.hasDerivAt_inv_apply: (\mathbf{A}^{-1})' = -\mathbf{A}^{-1} \mathbf{A}' \mathbf{A}^{-1}. * Matrix.hasDerivAt_trace_pow_succ: (\operatorname{tr} \mathbf{A}^{k+1})' = (k + 1) \operatorname{tr}(\mathbf{A}' \mathbf{A}^k).