Example 1: Inverse of a 2 × 2 matrix
Find the inverse of A = [2 1; 5 3].
|A| = (2)(3) − (1)(5) = 1 ≠ 0- Swap the diagonal entries and change the sign of the other two:
[3 −1; −5 2] A⁻¹ = (1/1) [3 −1; −5 2]- Check:
[2 1; 5 3][3 −1; −5 2] = [1 0; 0 1]✓
Answer: A⁻¹ = [3 −1; −5 2]