Determinants
Determinant of a 2x2 Matrix
Compute the determinant of a 2x2 matrix A using the formula det(A) = ad - bc. The two diagonal products are computed first, then subtracted. The state panel tracks each product and the final result.
Example
determinant formula (2x2)
For A = [[a,b],[c,d]], det(A) = a*d - b*c. The two terms correspond to the main diagonal product and the anti-diagonal product.