Inverse matrices and solving Ax=b
An inverse reverses a square linear map. To find it, apply the same row operations to [A|I] until the left block is I. For solving one system, elimination usually avoids computing a whole inverse.
What you will learn
- Check invertibility
- Compute a 3×3 inverse from [A|I₃]
- Use the 2×2 inverse formula
- Solve Ax=b by the inverse map
Work through one complete example
- I₃=[[1,0,0],[0,1,0],[0,0,1]] leaves every input unchanged. An inverse must satisfy AA⁻¹=A⁻¹A=I₃.
- Start with [A|I₃]=\(\left[\begin{array}{ccc|ccc}1&2&0&1&0&0\\0&1&1&0&1&0\\0&0&1&0&0&1\end{array}\right]\).
- Apply R₂←R₂−R₃ to BOTH blocks: \(\left[\begin{array}{ccc|ccc}1&2&0&1&0&0\\0&1&0&0&1&-1\\0&0&1&0&0&1\end{array}\right]\).
- Apply R₁←R₁−2R₂ using the UPDATED row 2: \(\left[\begin{array}{ccc|ccc}1&0&0&1&-2&2\\0&1&0&0&1&-1\\0&0&1&0&0&1\end{array}\right]\).
- The left block is I₃. Read the right block: A⁻¹=[[1,−2,2],[0,1,−1],[0,0,1]].
- Check AA⁻¹: its rows are (1,0,0), (0,1,0), (0,0,1). For example entry (1,3) is 1·2+2·(−1)+0·1=0.
- For b=(5,3,1), x=A⁻¹b=(5−6+2,3−1,1)=(1,2,1). Then Ax=(5,3,1).
- For a brief 2×2 warm-up, [[a,b],[c,d]]⁻¹=(ad−bc)⁻¹[[d,−b],[−c,a]], only when ad−bc≠0.
Objective 1: Check invertibility
- Is [[1,2],[2,4]] invertible?
- No. Subtract twice row 1 from row 2 to obtain a zero row.
Objective 2: Compute a 3×3 inverse from [A|I₃]
- After R₂←R₂−R₃, what is right-block row 2?
- [0,1,−1]. Apply each operation to both blocks.
Objective 3: Use the 2×2 inverse formula
- Invert [[1,2],[0,1]].
- Its determinant is 1, giving [[1,−2],[0,1]]. Multiply to check I.
Objective 4: Solve Ax=b by the inverse map
- For b=(5,3,1), compute A⁻¹b.
- It is (5−6+2,3−1,1)=(1,2,1). Multiplication by A returns b.
A common mistake
Only a square matrix with full rank has a two-sided inverse. The 3×3 example is the main method; the 2×2 formula is a warm-up.
Review first
Continue learning
Matrix operations and inverses · Transposes and inverse identities
Interactive diagnosis and practice load in the learning app. You can read these lesson notes without JavaScript.