Matrix Inverse
Inverse of a 2x2 Matrix (Adjugate Method)
Compute A⁻¹ = (1/det) adj(A) for a 2x2 matrix. The adjugate swaps the diagonal entries and negates the off-diagonal entries; dividing by the determinant gives the inverse. Verified by computing A · A⁻¹.
Example
adjugate formula
For A = [[a,b],[c,d]], adj(A) = [[d,-b],[-c,a]]. Dividing by det(A) gives A⁻¹ = (1/det) adj(A). Requires det(A) ≠ 0.