We can do this by using the cofactor expansion method.
The determinant of a 3x3 matrix is given by:
$$
\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)
$$
where a, b, c, d, e, f, g, h, and i are the elements of the matrix:
$$
\begin{pmatrix}
a & b & c \\
d & e
Show more…