How to Find the Determinant and Inverse Matrix (2×2 and 3×3) with Examples
The determinant tells you whether a matrix is invertible, and the inverse is used to solve systems of equations such as the currents in a multi-loop circuit. This article walks through the hand calculations with examples checked by multiplying back.
3×3: expand along the first row with cofactors (alternating signs +−+)
Inverse: A−1=detA1adj(A), which exists only when detA=0
The 2×2 determinant
det(acbd)=ad−bc
Example: det(4276)=4⋅6−7⋅2=24−14=10
The 3×3 determinant by cofactors
Expand along the first row: multiply each entry by the 2×2 determinant that remains when its row and column are removed, with alternating signs +,−,+.
detA=a11M11−a12M12+a13M13
Example
A=2011−12345
detA=2−1245−10145+301−12
=2(−5−8)−1(0−4)+3(0+1)=−26+4+3
detA=−19 (not zero, so the inverse exists)
For 3×3 you can also use the Sarrus rule: copy the first two columns to the right, add the products along the three downward diagonals and subtract the products along the three upward diagonals. The result is the same.
The 2×2 inverse (shortcut formula)
(acbd)−1=ad−bc1(d−c−ba)
Swap a and d, change the signs of b and c, then divide by the determinant.
Example
N=(4276)
N−1=101(6−2−74)=(0.6−0.2−0.70.4)
Check: the first row of N times the first column of N−1
4(0.6)+7(−0.2)=2.4−1.4=1
And 4(−0.7)+7(0.4)=0, 2(0.6)+6(−0.2)=0, 2(−0.7)+6(0.4)=1, so NN−1=I ✓
The 3×3 inverse with the adjugate
Steps: (1) find the cofactor matrix C; (2) swap rows and columns (transpose) to get adj(A)=CT; (3) divide by detA.
Continuing the example A above
Find A−1
Cofactors Cij=(−1)i+jMij
C=−131747−81−3−2
Transpose
adj(A)=CT=−134117−37−8−2
Divide by detA=−19
A−1=19113−4−1−1−73−782
Check: the first row of A times the first column of A−1: 191(2(13)+1(−4)+3(−1))=1919=1 ✓ and the first row times the second column: 191(2(−1)+1(−7)+3(3))=0 ✓
What it is used for
Solving systems of equations:Ax=b⇒x=A−1b, for example the loop currents in a multi-loop electric circuit.
Checking for a unique solution: if detA=0 the system has exactly one solution.
Eigenvalues: found from det(A−λI)=0, used in the stability analysis of state-space systems.
Keep learning in the library
The full lessons are in Thai, with English technical terms and the same formulas.
The matrix is singular and has no inverse, and the system Ax=b does not have a unique solution: it has either no solution or infinitely many. The rows or columns of the matrix are linearly dependent.
Can the Sarrus rule be used for a 4×4 matrix?
No. The Sarrus rule (drawing diagonals) works only for 3×3. Larger matrices use cofactor expansion or row operations down to a triangular matrix.
Why do we divide by the determinant when finding the inverse?
Because Aadj(A)=det(A)I, so we must divide by det(A) to get the identity matrix. That is impossible when det(A)=0.
Which method is preferred for finding an inverse in practice?
By hand, use the shortcut formula for 2×2, and the adjugate or row operations (Gauss–Jordan) for 3×3. In computer programs one usually solves Ax=b by factorisation without forming the inverse explicitly, for better accuracy.