Cofactor Expansion Calculator
Calculate the determinant of a matrix using cofactor expansion with step-by-step solutions.
Cofactor Expansion Results
Original Matrix:
Determinant:
Calculation Steps:
How to Calculate Determinant using Cofactor Expansion
For a matrix A, the determinant using cofactor expansion along row i is:
det(A) = Σ(-1)^(i+j) × a[i][j] × det(M[i][j])
Where:
- a[i][j] is the element at position (i,j)
- M[i][j] is the minor matrix obtained by removing row i and column j
- (-1)^(i+j) is the cofactor sign
For a 2×2 matrix:
- det([[a, b], [c, d]]) = ad - bc