For any invertible square matrix, A−1=det(A)1adj(A). The adjoint is the transpose of the cofactor matrix; for a 2×2, the formula collapses to the swap-and-negate shortcut. For larger matrices, you compute cofactors explicitly.
If det(A)=0, the matrix is singular and has no inverse. Always compute the determinant first as a quick sanity check.
Alternative Method
For 2×2, use row-reduction on [A∣I] to get [I∣A−1]. Slower than the adjoint shortcut for 2×2 but more general (and faster for n≥3, where computing the full adjoint is tedious).
Forgetting to negate the off-diagonals in the adjoint shortcut is the most common error. The pattern is: swap a↔d, negate b and c. Drill this until it’s reflex.
Once you have A−1, you can solve any system Ax=b as x=A−1b. JEE Main loves to embed this inside a “find the value of x+y” question — recognize the matrix structure first.
Want to master this topic?
Read the complete guide with more examples and exam tips.