Invert a matrix
Online calculator for inverting a 3x3 matrix
The calculator on this page inverts a matrix with 3 x 3 elements. To calculate, enter the matrix to be inverted and then click the “Calculate” button.
|
Description of a matrix inversion
Cramer's rule
A matrix cannot always be inverted. The following article describes this on a 2 x 2 matrix.
There is a quick way to get an inverse for a 2 x 2 matrix. This is a special case of Cramer's rule, which is used to solve systems of equations.
Die Inverse von \(\displaystyle \begin{bmatrix}a & b \\ c & d \end{bmatrix}\) ist \(\displaystyle \begin{bmatrix}a & b \\ c & d \end{bmatrix}^{-1} = \frac{1}{ad-bc}\begin{bmatrix}d & -b\\-c & a\end{bmatrix}\)
There are three steps to inverting a 2x2 matrix:
Swap the diagonal elements
Change the sign of the other elements
Divide each element by \(ad-bc \)
A matrix cannot always be inverted
Assume \(ad = bc \) in the formula above. Then we get \(ad - bc \) = 0, and we would try to divide by zero. So there is consequently no reversal. In this case the original matrix A is called a singular matrix. If the matrix has an inverse, the matrix is not singular.
Another way to get \(ad = bc \) is if the second row of the matrix is a multiple of the first.
Without actually calculating the inverse matrix, one can decide whether an inverse exists by simply calculating a single number, the denominator in the formula. This denominator is called the determinant.
If the determinant is zero, it is a singular matrix, so it cannot be inverted.
The Cramers rule also exists for larger matrices, but is computationally very inefficient. It is therefore helpful, especially for large matrices, to be able to determine whether the inverse exists before starting. This can be done by defining the determinant of the matrix for large matrices as well.
Matrix 3x3 Functions
Addition • Subtraction • Multiplication • Scalar Multiplication • Rotation X axis • Rotation Y axis • Rotation Z axis • Y, P, R Rotation quaternion • Y, P, R Rotation Euler angles • Invert • DeterminantMatrix 4x4 Functions
Addition • Subtraction • Multiplication • Scalar Multiplication • Rotation X axis • Rotation Y axis • Rotation Z axis • Y, P, R Rotation • Vector Rotation • Invert • Determinant • interpolation
|