Matrix Inverse (A¹) Engine

Select matrix dimension and enter matrix elements.

Matrix Inverse Output

Inverse Matrix Expression A¹ [[0.6, -0.7], [-0.2, 0.4]]
Matrix Dimension 2 × 2 Matrix
Determinant det(A) det(A) = 10
Invertibility Status Non-Singular (Invertible, A⁻¹ exists)
Adjugate Matrix adj(A) [[6, -7], [-2, 4]]
Inverse Matrix Grid A¹

Quick Summary

Our inverse matrix calculator 2x2 3x3 steps adjugate tool computes the inverse matrix $A^{-1}$ for square matrices. It calculates the determinant $\det(A)$, forms the cofactor matrix, transposes it to find the adjugate matrix $\text{adj}(A)$, and evaluates $A^{-1} = \1 / \det(A) \text{adj}(A)$.

How It Works: Adjugate Method & Invertibility

The matrix inverse satisfies the identity relationship $A \cdot A^{-1} = I$:
1. **Compute Determinant:** Calculate $\det(A)$. If $\det(A) = 0$, Matrix A is singular and has NO inverse.
2. **2×2 Inverse Shortcut:** Swap main diagonal elements, negate off-diagonal elements, divide by $\det(A)$.
3. **3×3 Cofactor Matrix:** Find cofactor $C_{ij} = (-1)^{i+j} M_{ij}$ for all 9 elements.
4. **Transpose Cofactors (Adjugate):** Transpose cofactor matrix $C^T$ to get adjugate matrix $\text{adj}(A)$.
5. **Divide by Determinant:** Multiply adjugate matrix by scalar $\1 / \det(A)$ to get $A^{-1}$.

Formula Explanation

Your matrix inverse calculations follow classic adjugate formulas:

A^{-1} = \1 / \det(A) \text{adj}(A) \quad (\det(A) \neq 0)
\begin{pmatrix}a&b\\c&d\end{pmatrix}^{-1} = \1 / ad - bc \begin{pmatrix}d&-b\\-c&a\end{pmatrix}

Step-by-Step Worked Example

Here is a detailed 5-step breakdown for finding the inverse of 2×2 matrix $A = \begin{pmatrix} 4 & 7 \\ 2 & 6 \end{pmatrix}$:

  1. Step 1 (Compute Determinant): $\det(A) = (4)(6) - (7)(2) = 24 - 14 = \mathbf{10} \neq 0 \implies$ Invertible!
  2. Step 2 (Swap Main Diagonal Elements): Swap $a_{11}$ and $a_{22} \implies \begin{pmatrix} 6 & \dots \\ \dots & 4 \end{pmatrix}$.
  3. Step 3 (Negate Off-Diagonal Elements): Negate $a_{12}$ and $a_{21} \implies \text{adj}(A) = \mathbf{\begin{pmatrix} 6 & -7 \\ -2 & 4 \end{pmatrix}}$.
  4. Step 4 (Divide by Determinant 10): $A^{-1} = \1 / 10 \begin{pmatrix} 6 & -7 \\ -2 & 4 \end{pmatrix} = \mathbf{\begin{pmatrix} 0.6 & -0.7 \\ -0.2 & 0.4 \end{pmatrix}}$.
  5. Step 5 (Verify Identity A × A⁻¹ = I): $\begin{pmatrix} 4 & 7 \\ 2 & 6 \end{pmatrix} \begin{pmatrix} 0.6 & -0.7 \\ -0.2 & 0.4 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}$, delivering **A⁻¹ = [[0.6, -0.7], [-0.2, 0.4]]**!

Calculation Examples: Real-World Scenario Comparison

Compare matrix inputs, determinants, adjugate matrices, and calculated inverses:

Matrix A det(A) Adjugate Matrix adj(A) Inverse Matrix A¹ Verification A × A¹
[[4, 7], [2, 6]] 10 [[6, -7], [-2, 4]] [[0.6, -0.7], [-0.2, 0.4]] [[1, 0], [0, 1]] (I)
[[2, 4], [1, 2]] 0 N/A Singular (No A¹) Undefined
[[1, 0, 0], [0, 1, 0], [0, 0, 1]] 1 [[1, 0, 0], [0, 1, 0], [0, 0, 1]] [[1, 0, 0], [0, 1, 0], [0, 0, 1]] Identity Matrix I
[[1, 0, 2], [2, -1, 3], [4, 1, 8]] 1 [[-11, 2, 2], [-4, 0, 1], [6, -1, -1]] [[-11, 2, 2], [-4, 0, 1], [6, -1, -1]] [[1, 0, 0], [0, 1, 0], [0, 0, 1]]

Benefits of Using the Inverse Matrix Calculator

Utilizing this calculator provides essential matrix linear equation solving ($X = A^{-1} B$), cryptography, and 3D camera inverse view transformation advantages:

  • Solves Linear Systems ($AX = B \implies X = A^{-1}B$): Computes variable solutions instantly via matrix inversion.
  • 3D Graphics Inverse View Matrices: Converts world coordinates back to object local space in game engines.
  • Hill Cipher Cryptography: Decrypts encrypted matrix ciphertext using mod-26 inverse key matrices.
  • Verifies Matrix Identity ($A \cdot A^{-1} = I$): Validates matrix inversion results.

Frequently Asked Questions (FAQ)

What is an inverse matrix?

The inverse matrix A^-1 of a square matrix A is a unique matrix such that A × A^-1 = A^-1 × A = I (the identity matrix).

Do all matrices have an inverse?

NO. Only square non-singular matrices with non-zero determinants (det(A) ≠ 0) have an inverse.

What is an adjugate matrix?

The adjugate matrix adj(A) is the transpose of the cofactor matrix C of matrix A.

How do you find the inverse of a 2x2 matrix?

Swap main diagonal elements, negate off-diagonal elements, and divide all elements by det(A) = ad - bc.

What is the inverse of the identity matrix (I^-1)?

The inverse of the identity matrix is the identity matrix itself: I^-1 = I.

What is (A^-1)^-1?

(A^-1)^-1 = A.

What is the inverse of a matrix product (A × B)^-1?

(A × B)^-1 = B^-1 × A^-1 (order of multiplication reverses!).

How is inverse matrix used to solve systems of linear equations?

If AX = B, multiplying both sides by A^-1 yields X = A^-1 * B.

What is the inverse of an orthogonal matrix?

For an orthogonal matrix Q (where rows/columns are orthonormal), Q^-1 = Q^T (inverse equals transpose!).

How is inverse matrix used in Hill cipher encryption?

Encryption multiplies plaintext vectors by key matrix K; decryption multiplies ciphertext vectors by K^-1 (mod 26).