- categories: Linear algebra, Definition
Definition
A matrix function is a function that operates on matrices, analogous to scalar functions. Given a matrix and a scalar function (e.g., , , ), the matrix function is defined in a way consistent with acting on the eigenvalues or through a power series expansion.
Key Methods for Defining Matrix Functions
-
Power Series Expansion: If has a convergent power series:
then:
where is the -th power of the matrix .
Example: For the exponential function:
-
Eigenvalue Decomposition: If is diagonalizable:
where , then:
where applies to each eigenvalue:
-
Jordan Normal Form: If is not diagonalizable, use its Jordan decomposition:
where is the Jordan form. Then:
Here, involves handling blocks corresponding to repeated eigenvalues.
-
Numerical Approximation: For large matrices or matrices without explicit decompositions, numerical methods (e.g., Padé approximants, Krylov subspace methods) are used.
Examples of Matrix Functions
1. Exponential of a Matrix ()
The matrix exponential is defined as:
It is used in solving systems of differential equations:
2. Logarithm of a Matrix ()
The matrix logarithm is the inverse of the matrix exponential:
For diagonalizable :
3. Square Root of a Matrix ()
The matrix square root satisfies:
For diagonalizable :
where .
4. Trigonometric Matrix Functions
-
Sine:
-
Cosine:
Properties
-
Commutativity with Diagonalizable Matrices:
If and commute (), then: -
Similarity Invariance:
For any invertible matrix : -
Taylor Series Consistency:
Matrix functions extend scalar Taylor series expansions to matrices.
Applications
-
Differential Equations:
Solving linear systems involves . -
Quantum Mechanics:
Time evolution of quantum states uses matrix exponentials. -
Control Theory:
Stability analysis uses functions like . -
Data Science and Machine Learning:
Regularization (e.g., or ) in covariance estimation.