The natural logarithm is the inverse operation of the exponential. The following equation defines the natural logarithm of a matrix A: eB = A, where matrix B is the natural logarithm of matrix A. A matrix has a logarithm if and only if its inverse matrix exists. For a real matrix A, its logarithm matrix B can be complex, and the conjugate of matrix B is also the natural logarithm of A.
To obtain the logarithm of a diagonal matrix, you can calculate the logarithm of each diagonal element of the matrix. For example, if
then
Thus, a common method of calculating the logarithm of a matrix is first to diagonalize the matrix and then to calculate the logarithm of each diagonal element of the new matrix. For example, consider the following:
If the previous two requirements are true, you can use the following equation to calculate the logarithm of A: ln(A) = V(lnλ)V-1.
If you cannot diagonalize a matrix, you can use other methods, such as the Jordan Canonical Form or Taylor series expansion, to calculate the logarithm of the matrix.
The matrix logarithm satisfies the following properties: