The matrix logarithm is the inverse operation to the matrix exponential. For a nonsingular matrix , such that is called . One way to compute it for 2x2 matrices with distinct positive eigenvalues is via eigendecomposition. Write where is diagonal. Then , applying the ordinary logarithm to the eigenvalues.
This calculator performs exactly that. Given entries of , it finds the eigenvalues using the quadratic formula applied to the characteristic equation where is the trace 11
Because the eigenvectors may be badly scaled, we normalize them before inversion to avoid numerical instability. If the matrix has repeated eigenvalues or complex eigenvalues, the logarithm may not be unique. This simple implementation handles only distinct positive eigenvalues, which covers many symmetric or positive-definite cases encountered in practice.
Matrix logarithms appear in differential geometry and control theory. They map a transformation back to a generator so that exponentiating the generator reproduces the original action. In computer graphics, this idea enables interpolation of rotations through the Lie algebra of the rotation group. By studying the logarithm of a matrix, we uncover how repeated infinitesimal actions combine to form the overall transformation.
After entering a 2x2 matrix, press the button to compute . The output displays the resulting matrix with each entry rounded to six decimal places. If the eigenvalues are not positive real numbers, the calculator warns that the method is inapplicable.
Build a natural cubic spline through a set of data points and evaluate it.
Test the Cauchy-Schwarz inequality for two vectors and explore its geometric interpretation with an in-depth explanation.
Use Lagrange multipliers to locate extrema of a function subject to an equality constraint.