Logarithm of a matrix: Difference between revisions

Content deleted Content added
m Existence: The real-valued 2x2 case was written by User:Rgdboer and last appeared in the [22:01, 28 January 2021](https://en.wikipedia.org/w/index.php?title=Logarithm_of_a_matrix&oldid=1003417720), before someone deleted it
Tag: Reverted
Restore particulars for 2x2 case Undid revision 1007746721 by XOR'easter (talk)
Line 211:
An important corollary of [[Jacobi's formula]] then is
:<math>\log (\det(A)) = \mathrm{tr}(\log A)~. </math>
 
==Constraints in the 2 &times; 2 case==
If a 2 × 2 real matrix has a negative [[determinant]], it has no real logarithm. Note first that any [[2 × 2 real matrices|2&nbsp;&times;&nbsp;2 real matrix]] can be considered one of the three types of the complex number ''z'' = ''x'' + ''y'' ε, where ε² ∈ { −1, 0, +1 }. This ''z'' is a point on a complex subplane of the [[ring (mathematics)|ring]] of matrices.
 
The case where the determinant is negative only arises in a plane with ε² =+1, that is a [[split-complex number]] plane. Only one quarter of this plane is the image of the exponential map, so the logarithm is only defined on that quarter (quadrant). The other three quadrants are images of this one under the [[Klein four-group]] generated by ε and −1.
 
For example, let ''a'' = log 2 ; then cosh ''a'' = 5/4 and sinh ''a'' = 3/4.
For matrices, this means that
:<math>A=\exp \begin{pmatrix}0 & a \\ a & 0 \end{pmatrix} =
\begin{pmatrix}\cosh a & \sinh a \\ \sinh a & \cosh a \end{pmatrix} =
\begin{pmatrix}1.25 & .75\\ .75 & 1.25 \end{pmatrix}</math>.
So this last matrix has logarithm
:<math>\log A = \begin{pmatrix}0 & \log 2 \\ \log 2 & 0 \end{pmatrix}</math>.
 
These matrices, however, do not have a logarithm:
:<math>\begin{pmatrix}3/4 & 5/4 \\ 5/4 & 3/4 \end{pmatrix},\
\begin{pmatrix}-3/4 & -5/4 \\ -5/4 & -3/4\end{pmatrix}, \
\begin{pmatrix}-5/4 & -3/4\\ -3/4 & -5/4 \end{pmatrix}</math>.
They represent the three other conjugates by the four-group of the matrix above that does have a logarithm.
 
A non-singular 2 x 2 matrix does not necessarily have a logarithm, but it is conjugate by the four-group to a matrix that does have a logarithm.
 
It also follows, that, e.g., a [[Square root of a 2 by 2 matrix|square root of this matrix]] ''A'' is obtainable directly from exponentiating (log''A'')/2,
:<math>\sqrt{A}= \begin{pmatrix}\cosh ((\log 2)/2) & \sinh ((\log 2)/2) \\ \sinh ((\log 2)/2) & \cosh ((\log 2)/2) \end{pmatrix} =
\begin{pmatrix}1.06 & .35\\ .35 & 1.06 \end{pmatrix} ~. </math>
 
For a richer example, start with a [[pythagorean triple]] (''p,q,r'')
and let {{math|''a'' {{=}} log(''p'' + ''r'') &minus; log ''q''}}. Then
:<math>e^a = \frac {p + r} {q} = \cosh a + \sinh a</math>.
 
Now
:<math>\exp \begin{pmatrix}0 & a \\ a & 0 \end{pmatrix} =
\begin{pmatrix}r/q & p/q \\ p/q & r/q \end{pmatrix}</math>.
Thus
:<math>\tfrac{1}{q}\begin{pmatrix}r & p \\ p & r \end{pmatrix}</math>
has the logarithm matrix
:<math>\begin{pmatrix}0 & a \\ a & 0 \end{pmatrix}</math> ,
where {{math| ''a'' {{=}} log(''p'' + ''r'') &minus; log ''q''}}.
 
==See also==