# Inverse of 2x2 Matrix - Formula, Steps, Examples

## TL;DR
The inverse of a 2×2 matrix A=(abcd) is given by a clean formula: A⁻¹=1/(ad−bc) * (d −b; -c a). The denominator ad−bc is the determinant — if it's zero, the inverse doesn't exist.

## What Is the Inverse of a Matrix?
The **inverse** of a square matrix A — written A⁻¹ — is the unique matrix such that:

A ⋅ A⁻¹ = A⁻¹ ⋅ A = I, where I is the **identity matrix** (1s on the diagonal, 0s elsewhere). It's the matrix-multiplication equivalent of _"the reciprocal of a number"_ — 5 × 1/5 = 1.

Not every matrix has an inverse. A matrix is **invertible** (or _non-singular_) if and only if its **determinant** is non-zero.

## The Formula for the Inverse of a 2×2 Matrix
For a matrix A=(abcd) with det(A)=ad−bc≠0:

A⁻¹=1/(ad−bc) * (d −b; -c a)

In words: _swap the diagonal entries, negate the off-diagonal entries, then divide every element by the determinant._

## When Does the Inverse Exist?
The inverse A⁻¹ exists if and only if:
det(A)=ad−bc≠0
If ad−bc=0, the matrix is **singular** — it has no inverse, and the formula's division would be undefined.

Geometrically, det(A)=0 means the two column vectors of A are _parallel_ — the matrix collapses a 2D plane onto a 1D line (or onto the origin), and you can't reverse that collapse.

## Step-by-Step Calculation
For any 2×2 matrix A=(abcd):
1. **Compute the determinant**: det(A)=ad−bc.
2. **If det(A)=0**, stop — the inverse doesn't exist.
3. **Swap** the diagonal entries: a↔d.
4. **Negate the off-diagonal entries**: b→−b, c→−c.
5. **Divide** every element by det(A).

## Three Worked Examples — Quick, Standard, Stretch

### Quick — Simple Numbers
Find the inverse of A=(4312).

det(A)=(4)(2)−(3)(1)=5.

A⁻¹=(1/5) * (2 −3; -1 4).

**Verify.** A⋅A⁻¹=(1 0; 0 1).

### Standard — Determinant with Negatives
Find the inverse of B=(2−531).

det(B)=17.

B⁻¹=(1/17) * (1 5; -3 2).

### Stretch — Singular Matrix
Try to find the inverse of C=(2412).

det(C)=0.
Determinant is zero ⇒ **the inverse doesn't exist**. The matrix is singular.

## Why Does the Matrix Inverse Matter?
The matrix inverse is the workhorse of every system of linear equations and every linear transformation:
- **Solving systems of equations.** Ax=x has solution x=A⁻¹b (when A is invertible).
- **Computer graphics.** To _undo_ the transformation, you invert the matrix.
- **Robotics.** Inverse kinematics problem uses the matrix inverse.
- **Cryptography.** Decryption inverts the matrix.
- **Statistics.** Linear regression coefficients involve matrix inversion.

The 2×2 inverse formula is the simplest non-trivial case.

## What Are the Most Common Mistakes With 2x2 Inverses?

### **Mistake 1: Forgetting to swap the diagonal**
**The fix:** a and d trade places. Negate b and c, but _swap_ a and d.

### **Mistake 2: Sign errors in b and c**
**The fix:** Only the off-diagonal entries get a negative sign.

### **Mistake 3: Forgetting to divide by the determinant**
**The fix:** The _whole matrix_ gets divided by det(A). Forgetting this gives a matrix that's |det(A)| times too large.

## Key Takeaways
- The formula for A⁻¹ is A⁻¹=1/(ad - bc)*(d −b; −c a).
- The determinant must be non-zero for the inverse to exist.
- Always verify by computing A⋅A⁻¹ — should equal the identity.
- Singular matrices (det=0) have no inverse; their columns are linearly dependent.

## A Practical Next Step
Try these three before moving on to 3x3 inverses.
1. Find the inverse of (5231).
2. Check whether (4623) is invertible.
3. Find the inverse of (1234) and verify by multiplication.
