2×2 Determinant
det(A) = ad − bcCalculates the determinant of a 2×2 matrix [[a,b],[c,d]] by multiplying the main diagonal and subtracting the anti-diagonal product.
Where:
a, d= Main diagonal elements (top-left, bottom-right)b, c= Anti-diagonal elements (top-right, bottom-left)