Cofactor Matrix Calculator
Calculate the cofactor matrix of a given matrix with step-by-step solutions.
Cofactor Matrix Results
Original Matrix:
Cofactor Matrix:
Calculation Steps:
How to Calculate Cofactor Matrix
For a matrix A, the cofactor matrix C is calculated as:
C[i][j] = (-1)^(i+j) × det(M[i][j])
Where:
- 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:
- Original: [[a, b], [c, d]]
- Cofactor: [[d, -c], [-b, a]]