Matrix Inverter
A matrix inverse calculator using Gauss-Jordan algorithm.
This calculator computes the inverse matrix of any given matrix using the Gauss-Jordan algorithm. While it is possible to find the inverse of a small matrix (up to 4x4) manually (see the adjugate matrix section below the calculator), for larger matrices, a calculator that uses the Gauss-Jordan algorithm is necessary.
The Gauss-Jordan algorithm is an extension of the Gaussian elimination algorithm used to solve a system of linear equations. It is an iterative process where the given matrix is transformed into an identity matrix by performing elementary row operations. In the end, the identity matrix is transformed into the inverse matrix of the given matrix.
The algorithm works by combining the given matrix with an identity matrix to form an augmented matrix. The augmented matrix is then manipulated using elementary row operations to transform the given matrix into an identity matrix, while the identity matrix transforms into the inverse of the original matrix. If the original matrix is singular (non-invertible), the algorithm will terminate without finding an inverse matrix.
The inverse matrix can be used to solve systems of linear equations, and is used in many applications such as computer graphics, physics, and engineering.
Manually calculating the inverse matrix using the adjugate matrix
The inverse of a square matrix A, sometimes called a reciprocal matrix, is a matrix such that
For manual calculation you can use the adjugate matrix to compute the matrix inverse using this formula:
The adjugate matrix is the transpose of the cofactor matrix of A.
The cofactor of of A is defined as
where is a minor of .
You can use this method relatively easy for small matrices, 2x2, 3x3, or, maybe, 4x4. For bigger matrices, it is easier to use the Gauss-Jordan algorithm implemented by the calculator.
Comentários