Inverse of a 2x2 Matrix
Linear Algebra
Matrix Inverse
Medium
Hint 1
For a matrix , the inverse is .
Hint 2
Compute the determinant first, then swap and negate as needed.
Show worked solution
1. Compute the determinant
The determinant is .
2. Apply the 2x2 inverse formula
Swap the diagonal entries, negate the off-diagonal entries, and divide by the determinant.
Answer: [[1,-1],[-1,2]]
Related roles: Browse quant jobs