Matrix Inverse Calculator
Find the inverse of a 2×2 through 6×6 square matrix with MiniWebtool’s Matrix Inverse Calculator. Gauss-Jordan working and the determinant explain invertibility, while multiplication by the result checks for the identity matrix.
For Gemini, paste the copied question into the chat. You can also copy it below.Need help using this tool? Ask AI
View the question
Enter a square matrix from 2×2 to 6×6 to get its inverse by Gauss-Jordan elimination, the determinant, and a check that A times A⁻¹ is I.
About Matrix Inverse Calculator
The Matrix Inverse Calculator computes the inverse of any square matrix using Gauss-Jordan elimination, showing every row operation step by step. Enter a 2×2, 3×3, 4×4, 5×5, or 6×6 matrix and get the exact inverse with fractional arithmetic — no rounding errors. The tool also calculates the determinant and verifies the result by confirming A × A⁻¹ = I.
At a Glance
Matrix Inverse Calculator finds the inverse of a 2×2 to 6×6 square matrix using Gauss-Jordan elimination. It shows every row operation, the determinant, and a check that A × A⁻¹ equals the identity matrix.
| Feature | What you get | Good for |
|---|---|---|
| Matrix size and entries | Set 2×2 to 6×6 with the plus and minus buttons. Entries can be integers, decimals or fractions like 1/3 or -5/2. | Exact inputs from textbook problems |
| Exact or decimal | View the inverse as exact fractions or as decimals, using fractional arithmetic with no rounding error. | Getting answers in the form your course expects |
| Gauss-Jordan steps | Row-reduces [A|I] to [I|A⁻¹], with each row operation shown. Click through the steps or press Play. | Learning the elimination method |
| Verification | Calculates the determinant and confirms A × A⁻¹ = I. A singular matrix, with determinant 0, is reported as having no inverse. | Checking an answer and spotting non-invertible matrices |
| Heatmap and examples | A heatmap shows the size and sign of each entry. Quick examples include 2×2, 3×3, symmetric, 4×4, singular and fraction cases. | Reading a large inverse at a glance |
What Is a Matrix Inverse?
The inverse of a square matrix \(A\), written \(A^{-1}\), is the unique matrix satisfying:
$$A \times A^{-1} = A^{-1} \times A = I$$
where \(I\) is the identity matrix. Only non-singular matrices (those with a nonzero determinant) have an inverse.
How to Find the Inverse Using Gauss-Jordan Elimination
Step 1. Choose the size of your square matrix (2×2 to 6×6) using the +/− buttons, or click a quick example to load a preset matrix.
Step 2. Enter your matrix values into the grid. You can type integers, decimals, or fractions like 1/3 or -5/2. Use Tab, Enter, or arrow keys to navigate between cells. Diagonal cells are highlighted with a blue tint.
Step 3. Click Calculate Inverse. The calculator augments your matrix with the identity [A|I] and applies Gauss-Jordan elimination to transform it into [I|A⁻¹].
Step 4. Review the inverse in both exact fractional and decimal forms. Switch between views using the tabs. The heatmap visualization shows the magnitude and sign of each entry at a glance.
Step 5. Explore the step-by-step solution by clicking through each row operation, or press Play for animated playback. The verification section confirms that A × A⁻¹ = I.
The 2×2 Matrix Inverse Formula
For a 2×2 matrix \(\begin{pmatrix} a & b \\ c & d \end{pmatrix}\), the inverse is:
$$A^{-1} = \frac{1}{ad - bc} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix}$$
This formula works only when \(ad - bc \neq 0\). For larger matrices, Gauss-Jordan elimination (the method this calculator uses) is the standard approach.
Methods for Computing Matrix Inverses
| Method | How It Works | Best For |
|---|---|---|
| Gauss-Jordan Elimination | Row-reduce [A|I] to [I|A⁻¹] | General purpose, any size |
| 2×2 Formula | \(\frac{1}{\det}\begin{pmatrix}d&-b\\-c&a\end{pmatrix}\) | Quick 2×2 calculations |
| Adjugate Method | \(A^{-1} = \frac{1}{\det(A)} \text{adj}(A)\) | Theoretical, symbolic work |
| LU Decomposition | Factor A = LU, solve LUX = I | Numerical computing, large matrices |
Properties of Inverse Matrices
| Property | Formula |
|---|---|
| Involution | \((A^{-1})^{-1} = A\) |
| Transpose | \((A^T)^{-1} = (A^{-1})^T\) |
| Scalar Multiple | \((kA)^{-1} = \frac{1}{k} A^{-1}\) |
| Product | \((AB)^{-1} = B^{-1} A^{-1}\) |
| Determinant | \(\det(A^{-1}) = \frac{1}{\det(A)}\) |
Applications of Matrix Inverses
Frequently Asked Questions
What is the inverse of a matrix?
The inverse of a square matrix A, denoted A⁻¹, is the unique matrix such that A × A⁻¹ = A⁻¹ × A = I, where I is the identity matrix. Only square matrices with a nonzero determinant (non-singular matrices) have inverses.
How do you find the inverse using Gauss-Jordan elimination?
Form the augmented matrix [A|I] by placing the identity matrix next to A. Then apply row operations to reduce the left side to the identity matrix. The right side automatically becomes A⁻¹. This works because each row operation is equivalent to left-multiplying by an elementary matrix.
When does a matrix not have an inverse?
A matrix is singular (non-invertible) when its determinant equals zero. This happens when the rows or columns are linearly dependent, meaning one row can be written as a combination of the others. During Gauss-Jordan elimination, this shows up as a zero pivot.
What is the relationship between the determinant and the inverse?
A matrix has an inverse if and only if its determinant is nonzero. For a 2×2 matrix [[a,b],[c,d]], the inverse is (1/det) × [[d,-b],[-c,a]] where det = ad - bc. For larger matrices, the adjugate formula gives A⁻¹ = (1/det(A)) × adj(A).
Can non-square matrices have inverses?
Non-square matrices do not have true two-sided inverses. However, they may have left inverses (if they have full column rank) or right inverses (if they have full row rank). The Moore-Penrose pseudoinverse generalizes the concept to all matrices.
Reference this content, page, or tool as:
"Matrix Inverse Calculator" at https://MiniWebtool.com/matrix-inverse-calculator/ from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: 2026-04-09
Chat with your favorite AI
For Gemini, paste the copied question into the chat. You can also copy it below.
View the question
Linear Algebra:
- Angle Between Vectors Calculator New
- Characteristic Polynomial Calculator New
- Cholesky Decomposition Calculator New
- Column Space Calculator New
- Cramer's Rule Calculator New
- Cross Product Calculator New
- Determinant Calculator
- Dot Product Calculator New
- Eigenvalue and Eigenvector Calculator
- Gram-Schmidt Calculator
- Jacobian Matrix Calculator New
- Jordan Normal Form Calculator New
- Matrix Calculator
- Matrix Diagonalization Calculator New
- Matrix Exponential Calculator New
- Matrix Inverse Calculator New
- Matrix LU Decomposition Calculator
- Matrix Multiplication Calculator New
- Matrix Power Calculator New
- Matrix Rank Calculator
- Matrix Trace Calculator
- Null Space Calculator New
- Partial Fraction Decomposition Calculator
- QR Decomposition Calculator New
- RREF Calculator (Row Echelon Form) New
- Singular Value Decomposition (SVD) Calculator
- Tensor Product Calculator New
- Unit Vector Calculator New
- Vector Calculator
- Vector Magnitude Calculator New
- Vector Projection Calculator